:root {
  --bg: #0b1120;
  --bg-deep: #070b14;
  --surface: #141d31;
  --surface-raised: #1b2740;
  --border: rgba(154, 168, 200, 0.14);
  --border-strong: rgba(154, 168, 200, 0.28);
  --text: #f2f6fc;
  --text-secondary: #9ba8c2;
  --text-tertiary: #7e8ca8;
  --accent: #ffb020;
  --accent-bright: #ffc24d;
  --on-accent: #231603;
  --accent-soft: rgba(255, 176, 32, 0.14);
  --accent-soft-border: rgba(255, 176, 32, 0.32);
  --radius-button: 16px;
  --radius-sheet: 28px;
  --max: 1080px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 176, 32, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(80, 110, 180, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 70%, rgba(255, 176, 32, 0.05), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Shell —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: none;
}

.header-inner,
.footer-inner,
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.nav a:link,
.nav a:visited,
.nav a:hover,
.nav a:active,
.nav a:focus,
.nav a[aria-current="page"] {
  color: #9ba8c2;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.nav .nav-cta,
.nav .nav-cta:link,
.nav .nav-cta:visited,
.nav .nav-cta:hover,
.nav .nav-cta:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.nav .nav-cta:hover {
  background: var(--accent-bright);
  color: var(--on-accent);
  text-decoration: none;
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: min(100vh, 860px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(720px, 120vw);
  height: min(720px, 120vw);
  transform: translate(-50%, -35%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.22) 0%, rgba(255, 176, 32, 0.06) 35%, transparent 68%);
  pointer-events: none;
  animation: glow-breathe 4.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .logo-pulse,
  .reveal {
    animation: none !important;
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -35%) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -35%) scale(1.04);
  }
}

.logo-pulse {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  animation: pulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(255, 176, 32, 0.35));
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-tagline {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-bright);
  color: var(--on-accent);
}

.btn-secondary {
  background: rgba(154, 168, 200, 0.08);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(154, 168, 200, 0.14);
  color: var(--text);
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0.55rem 1.15rem 0.55rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(242, 246, 252, 0.18);
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.btn-app-store:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  border-color: rgba(242, 246, 252, 0.35);
}

.btn-app-store.is-soon {
  cursor: default;
  opacity: 0.88;
}

.btn-app-store.is-soon:hover {
  transform: none;
}

.apple-mark {
  flex-shrink: 0;
}

.btn-app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.btn-app-store-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.85;
}

.btn-app-store-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-note {
  margin: 1.35rem 0 0;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* —— Sections —— */

.section {
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  max-width: 40rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 0.9rem;
  align-items: start;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 176, 32, 0.55);
}

.privacy-band {
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--accent-soft-border);
  border-radius: var(--radius-sheet);
  background: var(--accent-soft);
  color: var(--text-secondary);
  max-width: 40rem;
}

.privacy-band strong {
  color: var(--text);
}

/* —— Legal / support pages —— */

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
}

.page-meta {
  margin: 0.75rem 0 0;
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 0.92rem;
}

.prose {
  padding: 0 0 4.5rem;
  max-width: 44rem;
}

.prose h2 {
  margin: 2.4rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--text-secondary);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.support-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.support-item {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(20, 29, 49, 0.65);
}

.support-item h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.support-item p {
  margin: 0;
  color: var(--text-secondary);
}

.support-item a.mail {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 700;
}

/* —— Footer —— */

.site-footer {
  border-top: none;
  padding: 2.25rem 0 2.75rem;
  background: transparent;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:active {
  color: #9ba8c2;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

/* —— Reveal —— */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 0.8s ease forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}

.reveal-delay-2 {
  animation-delay: 0.24s;
}

.reveal-delay-3 {
  animation-delay: 0.36s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 60px;
  }

  .nav .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 3.25rem 0 4rem;
  }

  .logo-pulse {
    width: 96px;
    height: 96px;
  }

  .section {
    padding: 3.5rem 0;
  }
}
