:root {
  color-scheme: light;
  --navy: #00041c;
  --pitch-green: #15a34a;
  --coral: #f0522f;
  --coral-strong: #d1401f;
  --gold: #f5a623;
  --sky: #2e90e5;
  --pink: #e84b8a;
  --bg: #ffffff;
  --fg: #1c2024;
  --muted: #6a7077;
  --line: #e8eaed;
  --panel: #ffffff;
  --surface: #f6f7f8;
  --focus: #2e90e5;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: var(--coral-strong);
  text-underline-offset: 3px;
}

button,
a.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 22px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

a.button.secondary {
  background: var(--panel);
  color: var(--coral-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

button:hover,
a.button:hover {
  background: var(--coral-strong);
}

a.button.secondary:hover {
  background: var(--surface);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 24px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  padding: 22px 0;
}

.brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.language-switcher a[aria-current="true"] {
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}

/* Hero — dark navy band matching the app icon background */

.hero-band {
  background: var(--navy);
  color: #fff;
}

.hero-band .topbar {
  color: #fff;
}

.hero-band .language-switcher {
  color: rgba(255, 255, 255, 0.6);
}

.hero-band .language-switcher a[aria-current="true"] {
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(20px, 6vw, 56px) 0 clamp(56px, 9vw, 104px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.02em;
}

h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero .lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.note {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero .note {
  color: rgba(255, 255, 255, 0.55);
}

.hero-icon {
  display: flex;
  justify-content: center;
}

.hero-icon img {
  width: min(100%, 260px);
  aspect-ratio: 1;
  border-radius: 22.5%;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Differentiator cards */

.differentiators {
  padding: clamp(48px, 9vw, 96px) 0 clamp(16px, 4vw, 32px);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--coral-strong);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.differentiators h2 {
  max-width: 640px;
}

.differentiators > p.lead {
  max-width: 640px;
}

.diff-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.diff-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--panel);
}

.diff-card .diff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.diff-card[data-accent="coral"] .diff-icon {
  background: #fdeae4;
  color: var(--coral-strong);
}

.diff-card[data-accent="gold"] .diff-icon {
  background: #fef1dc;
  color: #9e6608;
}

.diff-card[data-accent="sky"] .diff-icon {
  background: #e4f1fc;
  color: #155fa0;
}

.diff-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--fg);
}

.diff-card p {
  margin: 0;
  font-size: 0.98rem;
}

/* Secondary feature list */

.also {
  padding: clamp(16px, 4vw, 32px) 0 clamp(48px, 9vw, 96px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  min-height: 64px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.35;
}

/* Signup / waitlist */

.signup {
  padding: clamp(16px, 4vw, 32px) 0 clamp(56px, 9vw, 104px);
}

.signup-panel {
  border: 1px solid #c6dfd2;
  border-radius: 20px;
  padding: clamp(24px, 5vw, 40px);
  background:
    radial-gradient(circle at top right, rgba(21, 163, 74, 0.12), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
  box-shadow: 0 18px 60px rgba(18, 31, 24, 0.08);
}

.signup-panel h2 {
  max-width: 620px;
}

.signup-panel > p.lead {
  max-width: 560px;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.signup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signup-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fg);
}

.signup-field input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--fg);
}

.signup-field input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.signup-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.signup-status {
  min-height: 1.4em;
  font-size: 0.94rem;
  font-weight: 650;
}

.signup-status[data-state="ok"] {
  color: #0e7a37;
}

.signup-status[data-state="error"] {
  color: var(--coral-strong);
}

.signup-privacy {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Shared content pages (privacy, exchange fallback) */

.content {
  max-width: 760px;
  padding: clamp(48px, 9vw, 104px) 0;
}

.policy-meta {
  margin: 0 0 30px;
  color: var(--fg);
  font-size: 0.96rem;
  font-weight: 700;
}

.policy-section + .policy-section {
  margin-top: 28px;
}

.policy-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.store-panel {
  margin: 30px 0;
  border: 1px solid #c6dfd2;
  border-radius: 18px;
  padding: clamp(20px, 4vw, 30px);
  background:
    radial-gradient(circle at top right, rgba(9, 118, 74, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
  box-shadow: 0 18px 60px rgba(18, 31, 24, 0.08);
}

.store-panel h2 {
  max-width: 620px;
  margin-bottom: 12px;
}

.store-kicker {
  margin: 0 0 10px;
  color: #0e7a37;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.store-actions {
  margin-top: 22px;
}

.store-link[data-primary-store="true"] {
  order: -1;
}

html[data-store-platform="ios"] [data-store-link="android"],
html[data-store-platform="android"] [data-store-link="ios"] {
  display: none;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.benefit-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--panel);
}

.benefit-list strong,
.benefit-list span {
  display: block;
}

.benefit-list strong {
  margin-bottom: 6px;
  color: var(--fg);
  line-height: 1.25;
}

.benefit-list span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.link-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.link-label {
  margin: 0 0 8px;
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 800;
}

.current-link {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
}

.copy-status {
  min-height: 1.4em;
  margin-top: 10px;
  color: #0e7a37;
  font-size: 0.94rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
}

.footer p {
  max-width: 640px;
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .page {
    padding: 0 18px;
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switcher {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-icon {
    order: -1;
  }

  .hero-icon img {
    width: min(100%, 160px);
  }

  .diff-list,
  .feature-list,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }
}
