:root {
  --orange: #fe7e4f;
  --orange-dark: #a43c12;
  --terracotta: #3e1500;
  --cream: #fff8ef;
  --cream-2: #f5efe6;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --line: #e9e2d3;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange-dark);
}

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(254, 126, 79, 0.18);
}

.nav a {
  margin-left: 22px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover {
  color: var(--orange-dark);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 88px 0 64px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero h1 .accent {
  color: var(--orange);
}

.hero p {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 32px;
}

.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.badge small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
}

.badge.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ── Feature grid ── */
.features {
  padding: 64px 0;
}

.features h2 {
  text-align: center;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.card .ico {
  font-size: 26px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ── Legal / content pages ── */
.doc {
  padding: 56px 0 72px;
}

.doc h1 {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.doc .updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 36px;
}

.doc h2 {
  font-size: 21px;
  margin: 38px 0 12px;
  letter-spacing: -0.01em;
}

.doc h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.doc p,
.doc li {
  color: #2a2622;
  font-size: 16px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.doc th {
  background: var(--cream-2);
}

.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 22px 0;
}

.callout p {
  margin: 0;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  margin-top: 8px;
}

.btn:hover {
  background: var(--orange-dark);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
  padding: 36px 0;
  margin-top: 24px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  margin-right: 18px;
}

.site-footer a:hover {
  color: var(--orange-dark);
}

.site-footer .copy {
  color: var(--ink-soft);
  font-size: 13px;
}

/* ════════════════════════════════════════════════════════════════════
   Landing page: the "Global Curator" editorial system.
   Scoped under .landing so the legal/support pages are untouched.
   ════════════════════════════════════════════════════════════════════ */

.landing {
  /* Brand tokens (mobile theme: packages/mobile/src/theme/colors.ts) */
  --navy: #000613;
  --navy-2: #001f3f;
  --coral: #fe7e4f;
  --coral-deep: #a43c12;
  --coral-soft: #ffd4c2;
  --warm: #fff8ef;
  --warm-2: #f5efe6;
  --warm-3: #efe9e0;
  --on-navy: #c8d6e5;
  --on-navy-soft: rgba(200, 214, 229, 0.62);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --max-wide: 1160px;

  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm);
}

.landing .wrap {
  max-width: var(--max-wide);
}

.landing h1,
.landing h2,
.landing h3,
.landing h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 14px;
}

.eyebrow-center {
  display: block;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  text-align: center;
  margin: 0 auto 52px;
  max-width: 760px;
}

/* ── Buttons ── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-coral {
  background: linear-gradient(180deg, #ff9168 0%, var(--coral) 48%, var(--coral-deep) 100%);
  color: #fff;
  box-shadow:
    0 10px 26px rgba(164, 60, 18, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-coral:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px rgba(164, 60, 18, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ── Header (glassy, sticky) ── */
.landing .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: none;
  background: rgba(255, 248, 239, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

.landing .site-header .wrap {
  height: 72px;
  gap: 18px;
}

.landing .nav {
  margin-left: auto;
  margin-right: 8px;
  display: flex;
}

.landing .nav a {
  margin-left: 26px;
  font-weight: 500;
  color: var(--ink-soft);
}

.landing .nav a:hover {
  color: var(--navy-2);
}

.nav-cta {
  height: 42px;
  padding: 0 20px;
  font-size: 14.5px;
  background: var(--navy);
  color: #fff;
}

.nav-cta:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 78% 8%, #032a52 0%, var(--navy-2) 38%, var(--navy) 78%);
  color: #fff;
  padding: 76px 0 88px;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(254, 126, 79, 0.42) 0%, rgba(254, 126, 79, 0) 66%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero .eyebrow {
  color: var(--coral);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04;
  margin: 0 0 22px;
  color: #fff;
}

.hero h1 .accent {
  color: var(--coral);
}

.hero .lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--on-navy);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-beta {
  margin: 0 0 26px;
  font-size: 13.5px;
  color: var(--on-navy);
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--on-navy-soft);
}

.hero-proof li {
  position: relative;
  padding-left: 22px;
}

.hero-proof li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.hero-proof strong {
  color: #fff;
  font-weight: 600;
}

/* App Store badge */
.badge-glyph {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--coral) 0%, var(--coral-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 16px;
}

.hero .badge.disabled,
.cta .badge.disabled {
  opacity: 0.62;
}

/* ── Hero phone mockup ── */
.hero-art {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 268px;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(155deg, #0a1a30 0%, #000613 100%);
  box-shadow:
    0 40px 90px rgba(0, 6, 19, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--warm);
}

.card-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(150deg, rgba(255, 179, 143, 0.25) 0%, rgba(122, 47, 134, 0.25) 100%),
    url("/images/profile-card.jpg") center 20% / cover no-repeat,
    linear-gradient(150deg, #ffb38f 0%, #fe7e4f 42%, #7a2f86 100%);
}

.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 6, 19, 0) 38%,
    rgba(0, 6, 19, 0.55) 70%,
    rgba(0, 6, 19, 0.86) 100%
  );
}

.chip {
  position: absolute;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.chip-verified {
  top: 14px;
  left: 14px;
  background: rgba(254, 126, 79, 0.92);
  color: #fff;
  box-shadow: 0 4px 12px rgba(164, 60, 18, 0.4);
}

.chip-stamp {
  top: 14px;
  right: 14px;
  background: rgba(0, 31, 63, 0.78);
  color: var(--coral-soft);
}

.card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px;
  color: #fff;
}

.card-meta .card-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.card-meta .card-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

.card-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 16px 0 20px;
  background: var(--warm);
}

.dot-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 6px 16px rgba(0, 6, 19, 0.12);
}

.dot-btn.pass {
  background: #fff;
  color: var(--ink-soft);
}

.dot-btn.like {
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff;
}

/* ── Trust strip ── */
.trust {
  background: var(--navy);
  color: var(--on-navy-soft);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 18px 24px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.trust .sep {
  color: var(--coral);
}

/* ── How it works ── */
.how {
  padding: 88px 0;
  background: var(--warm);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  box-shadow: 0 18px 40px rgba(0, 6, 19, 0.05);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--coral);
  letter-spacing: 0.04em;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── Feature blocks ── */
.features {
  padding: 30px 0 60px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 46px 0;
}

.feature-rev .feature-copy {
  order: 2;
}

.feature-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  margin: 0 0 16px;
}

.feature-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 440px;
}

.feature-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 6, 19, 0.14);
}

.feature-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 6, 19, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* ── Safety band ── */
.band {
  background: radial-gradient(120% 140% at 12% 0%, #04203f 0%, var(--navy) 70%);
  color: #fff;
  padding: 84px 0;
}

.band-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.band .eyebrow {
  color: var(--coral);
}

.band-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

.band-copy p {
  margin: 0;
  color: var(--on-navy);
  font-size: 16.5px;
  line-height: 1.7;
}

.band-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: inset 0 0 0 1px rgba(200, 214, 229, 0.12);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: var(--coral);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--on-navy);
  line-height: 1.5;
}

/* ── Story ── */
.story {
  padding: 88px 0;
  text-align: center;
}

.story .section-title {
  margin-bottom: 22px;
}

.story-lede {
  max-width: 660px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ── FAQ ── */
.faq {
  padding: 30px 0 90px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border-radius: var(--r-md);
  padding: 4px 24px;
  margin-bottom: 12px;
  box-shadow: 0 12px 30px rgba(0, 6, 19, 0.05);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 24px;
  color: var(--coral-deep);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 620px;
}

.faq-more {
  text-align: center;
  margin: 32px 0 0;
  color: var(--ink-soft);
}

.faq-more a {
  color: var(--coral-deep);
  font-weight: 600;
}

/* ── Final CTA ── */
.cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(110% 130% at 50% 0%, #04203f 0%, var(--navy) 72%);
  color: #fff;
  padding: 92px 0;
  text-align: center;
}

.cta-glow {
  position: absolute;
  bottom: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(circle, rgba(254, 126, 79, 0.36) 0%, rgba(254, 126, 79, 0) 66%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  margin: 0 0 16px;
  color: #fff;
}

.cta p {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-navy);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Footer (landing, dark) ── */
.landing .site-footer {
  background: var(--navy);
  border-top: none;
  color: var(--on-navy-soft);
  padding: 64px 0 36px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.brand-light {
  color: #fff;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 280px;
  color: var(--on-navy-soft);
}

.footer-col h4 {
  margin: 4px 0 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-navy);
}

.footer-col a {
  display: block;
  margin: 0 0 11px;
  color: var(--on-navy-soft);
  font-size: 14.5px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 214, 229, 0.12);
}

.landing .footer-base .copy {
  color: var(--on-navy-soft);
  font-size: 13px;
}

.footer-made {
  font-size: 13px;
  color: var(--on-navy-soft);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner,
  .feature,
  .band-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-rev .feature-copy {
    order: 0;
  }
  .hero-art {
    order: -1;
  }
  .feature-copy p {
    max-width: none;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .landing .nav {
    display: none;
  }
  .hero {
    padding: 52px 0 64px;
    text-align: center;
  }
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-proof {
    justify-content: center;
  }
  .steps,
  .band-stats {
    grid-template-columns: 1fr;
  }
  .how,
  .band,
  .story,
  .cta {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing * {
    transition: none !important;
  }
}
