@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #F8ECE0;
  --navy: #162144;
  --navy-dark: #0D1529;
  --rose: #E2CEC3;
  --rose-soft: #F0E3DB;
  --peach: #FACDBE;
  --pink: #FA6EA0;

  --bg: var(--cream);
  --card: #ffffff;
  --text: var(--navy);
  --text-secondary: rgba(22, 33, 68, 0.72);
  --text-tertiary: rgba(22, 33, 68, 0.55);
  --border: var(--rose-soft);
  --accent: var(--navy);
  --accent-soft: var(--rose);
  --link-hover: var(--pink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--navy-dark);
    --card: #232C4A;
    --text: var(--cream);
    --text-secondary: rgba(248, 236, 224, 0.78);
    --text-tertiary: rgba(248, 236, 224, 0.6);
    --border: rgba(248, 236, 224, 0.14);
    --accent: var(--cream);
    --accent-soft: rgba(250, 205, 190, 0.35);
    --link-hover: var(--peach);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 900px 500px at 50% -10%, var(--rose-soft), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  body { background-image: none; }
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 96px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 28px;
  width: auto;
  display: block;
}

@media (prefers-color-scheme: dark) {
  .brand img { filter: invert(1) brightness(1.5); }
}

.brand .tagline {
  font-size: 12px;
  color: var(--text-tertiary);
  border-left: 1px solid var(--border);
  padding-left: 12px;
  letter-spacing: 0.02em;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}

.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--text);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--cream);
}

@media (prefers-color-scheme: dark) {
  .lang-toggle button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 40px 40px 12px;
  box-shadow: 0 20px 60px -30px rgba(22, 33, 68, 0.25);
}

@media (max-width: 560px) {
  .card { padding: 28px 22px 8px; border-radius: 20px; }
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}

.updated {
  color: var(--text-tertiary);
  font-size: 13px;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  margin: 32px 0 10px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h2::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
}

p, li {
  font-size: 15.5px;
  color: var(--text);
}

p { color: var(--text-secondary); }

ul {
  padding-left: 20px;
  margin: 10px 0;
}

li { margin-bottom: 6px; color: var(--text-secondary); }
li strong { color: var(--text); }

a {
  color: var(--accent);
  text-decoration-color: var(--accent-soft);
  text-underline-offset: 3px;
  font-weight: 500;
}

a:hover { color: var(--link-hover); }

.lang-block[hidden] { display: none; }

footer.page-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
}

.crosslink {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.crosslink a {
  display: inline-block;
  background: var(--rose-soft);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
}

.crosslink a:hover {
  background: var(--peach);
}

@media (prefers-color-scheme: dark) {
  .crosslink a { background: rgba(250, 205, 190, 0.18); color: var(--cream); }
  .crosslink a:hover { background: rgba(250, 205, 190, 0.3); }
}

/* Landing page cards */
.link-cards {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  list-style: none;
  padding: 0;
}

.link-cards a {
  display: block;
  background: var(--rose-soft);
  border-radius: 18px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 15.5px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.link-cards a:hover {
  background: var(--peach);
  transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
  .link-cards a { background: rgba(250, 205, 190, 0.14); color: var(--cream); }
  .link-cards a:hover { background: rgba(250, 205, 190, 0.24); }
}

/* =====================================================================
   Daily Habits — marketing site layer (nav, hero, journey, features,
   premium, trust, FAQ, footer). Built on the same tokens as above; adds
   accent colors that mirror the app's Brand enum for feature theming.
   ===================================================================== */

:root {
  --green: #7DBCA8;
  --green-soft: #D9ECE5;
  --green-deep: #4E8C78;
  --yellow: #EFD653;
  --yellow-soft: #FAF1C7;
  --yellow-deep: #B39A24;
  --orange: #F2963E;
  --orange-soft: #FBDFC5;
  --orange-deep: #BE6D22;
  --panel-shadow: 0 24px 70px -34px rgba(22, 33, 68, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Plain rgba, not color-mix() — color-mix silently fails to parse on
     older WebKit (pre iOS 16.2), which drops the whole `background`
     declaration and leaves the sticky header with NO backdrop at all,
     so scrolled content shows through/overlaps the nav. rgba works
     everywhere Safari does. */
  --header-bg: rgba(248, 236, 224, 0.86);
}

@media (prefers-color-scheme: dark) {
  :root {
    --green-soft: rgba(125, 188, 168, 0.18);
    --yellow-soft: rgba(239, 214, 83, 0.16);
    --orange-soft: rgba(242, 150, 62, 0.18);
    --panel-shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.55);
    --header-bg: rgba(13, 21, 41, 0.82);
  }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce), (update: slow) {
  html { scroll-behavior: auto; }
}
.reduce-motion * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 12px; }

.site { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px -24px rgba(22,33,68,0.4); }

.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  /* Longhand on purpose: this element also carries .site (padding: 0 24px).
     A shorthand `padding: 16px 0` here would win the cascade (same
     specificity, declared later) and zero out .site's left/right padding
     entirely — invisible above the 1180px max-width (auto-margin masks
     it) but a real edge-to-edge overflow below it, which is what was
     cutting off the nav on real phones. */
  padding-top: 16px; padding-bottom: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 24px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { .nav-brand img { filter: invert(1) brightness(1.6); } }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--text-secondary);
  text-decoration: none; padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--pink); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(0.55); }
.nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14.5px;
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.28) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.reduce-motion .btn::after { display: none; }
.btn-primary { background: var(--navy); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(22,33,68,0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(22,33,68,0.6); }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--cream); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.55); } }
.btn-ghost { background: transparent; color: var(--text); border: 1.3px solid var(--border); }
.btn-ghost:hover { background: var(--rose-soft); }
@media (prefers-color-scheme: dark) { .btn-ghost:hover { background: rgba(248,236,224,0.08); } }
.btn-light { background: var(--cream); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.4); }
.btn-light:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn svg { flex-shrink: 0; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); cursor: pointer; color: var(--text);
}
.nav-toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

#mobile-nav {
  border-top: 1px solid var(--border);
  /* longhand — this element also carries .site (padding: 0 24px); an ID
     selector shorthand here would beat it outright and zero the sides. */
  padding-top: 18px; padding-bottom: 24px;
}
#mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
#mobile-nav ul a {
  display: block; padding: 12px 4px; font-size: 16px; font-weight: 600;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border);
}
#mobile-nav .nav-right { flex-wrap: wrap; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-row .nav-right .btn-primary { display: none; }
  /* The header's own TR/EN toggle competes with the hamburger for space
     and doesn't reliably fit alongside the logo below ~490px (measured) —
     it moves into the mobile panel instead (added there, same
     [data-lang-btn] markup, site.js already targets every instance). */
  .nav-row .nav-right .lang-toggle { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 861px) { #mobile-nav { display: none !important; } }

.lang-toggle button { font-family: inherit; }

/* ---------- hero ---------- */
/* padding-top/bottom only everywhere below (never the `padding` shorthand)
   — this element also carries .site (padding: 0 24px). A shorthand here
   would win the cascade and zero out .site's left/right padding, invisible
   above the 1180px max-width (auto-margin masks it) but edge-to-edge on
   real phones below it. Same fix applied to .value-strip and .section. */
.hero {
  position: relative;
  padding-top: 64px; padding-bottom: 80px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; gap: 36px; } }
@media (max-height: 780px) and (min-width: 901px) { .hero { padding-top: 40px; padding-bottom: 56px; } }

/* Slow-drifting aurora blobs behind the whole hero — decorative, never
   interactive, fully contained (bounded box, not a bleeding pseudo-element)
   so it can't cause the horizontal-scroll bug that plain radial glows did. */
.hero-aurora {
  /* Zero horizontal bleed on purpose: the container's own box counts
     toward the page's scrollWidth even though overflow:hidden clips its
     children — a horizontal inset here reintroduces the exact
     off-screen-shift bug already fixed once for the hero glow. Only
     bleeds vertically, which never triggers horizontal scroll. */
  position: absolute; inset: -40px 0 auto 0; height: 620px;
  z-index: -1; overflow: hidden; pointer-events: none; border-radius: 40px;
}
.hero-aurora span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55;
  animation: aurora-drift 22s ease-in-out infinite;
}
.hero-aurora span:nth-child(1) { width: 380px; height: 380px; left: 4%; top: -10%; background: var(--rose-soft); animation-delay: 0s; }
.hero-aurora span:nth-child(2) { width: 300px; height: 300px; right: 8%; top: 6%; background: var(--peach); opacity: 0.35; animation-delay: -7s; animation-duration: 26s; }
.hero-aurora span:nth-child(3) { width: 260px; height: 260px; right: 26%; bottom: -14%; background: var(--green-soft); opacity: 0.4; animation-delay: -14s; animation-duration: 30s; }
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, 4%) scale(1.08); }
  66% { transform: translate(-3%, -2%) scale(0.96); }
}
@media (prefers-color-scheme: dark) {
  .hero-aurora span:nth-child(1) { background: rgba(250,205,190,0.14); }
  .hero-aurora span:nth-child(2) { background: rgba(250,205,190,0.1); }
  .hero-aurora span:nth-child(3) { background: rgba(125,188,168,0.12); }
}
.reduce-motion .hero-aurora span { animation: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--pink-deep, #C74B7A);
  background: var(--pink-soft, #FDD8E4); padding: 6px 14px 6px 8px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow img { width: 20px; height: 20px; border-radius: 6px; display: block; }
@media (prefers-color-scheme: dark) { .eyebrow { background: rgba(250,205,190,0.14); color: var(--peach); } }

.hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 20px; color: var(--text);
}
.brand-emph {
  position: relative; white-space: nowrap;
  background: linear-gradient(180deg, transparent 62%, var(--pink-soft, #FDD8E4) 62%);
}
@media (prefers-color-scheme: dark) { .brand-emph { background: linear-gradient(180deg, transparent 62%, rgba(250,205,190,0.22) 62%); } }

.hero .lede {
  font-size: 17.5px; line-height: 1.6; color: var(--text-secondary); max-width: 46ch;
  margin: 0 0 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.coming-soon {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--text-tertiary);
}
.pulse-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep);
  flex-shrink: 0;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--green-deep); opacity: 0.6;
  animation: pulse-ring 2.2s var(--ease) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.reduce-motion .pulse-dot::after { animation: none; opacity: 0.25; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-row span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-tertiary); font-weight: 600;
}
.trust-row svg { flex-shrink: 0; color: var(--green-deep); }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 65% 65% at 50% 40%, var(--rose-soft), transparent 72%);
}
@media (prefers-color-scheme: dark) { .hero-visual::before { background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(250,205,190,0.12), transparent 70%); } }

/* ---------- device mockup (CSS-only, built from real app tokens) ---------- */
.device {
  position: relative; z-index: 1;
  width: min(280px, 72vw); aspect-ratio: 300 / 620;
  background: var(--navy-dark, #0D1529);
  border-radius: 46px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(22,33,68,0.5), 0 0 0 1px rgba(22,33,68,0.08);
  animation: device-float 6s ease-in-out infinite;
}
@keyframes device-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.reduce-motion .device { animation: none; }
.device-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: var(--cream); border-radius: 34px; display: flex; flex-direction: column;
}
.device-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; background: var(--navy-dark, #0D1529); border-radius: 14px; z-index: 3;
}
.device-status { display: flex; justify-content: space-between; padding: 16px 20px 0; font-size: 11px; font-weight: 700; color: var(--navy); }
.device-body { flex: 1; padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 12px; }

.mock-card {
  background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 10px 24px -16px rgba(22,33,68,0.3);
}
.mock-card h4 { margin: 0 0 8px; font-family: 'Fraunces', Georgia, serif; font-size: 14px; font-weight: 500; color: var(--navy); }
.mock-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(22,33,68,0.45); margin-bottom: 4px; display: block; }

.mock-ring { display: flex; align-items: center; justify-content: center; padding: 6px 0; }
.mock-ring svg { width: 92px; height: 92px; }
.mock-ring circle[stroke-dasharray] {
  transition: stroke-dashoffset 1.1s var(--ease);
}
.mock-ring:not(.is-drawn) circle[stroke-dasharray] { stroke-dashoffset: 264 !important; }

.mock-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chip {
  font-size: 10.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px;
  background: var(--rose-soft); color: var(--navy);
}
.mock-chip.on { background: var(--navy); color: var(--cream); }

.mock-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.mock-grid i { display: block; aspect-ratio: 1; border-radius: 3px; background: rgba(22,33,68,0.08); }
.mock-grid i.on { background: var(--green); }
.mock-grid i.on2 { background: var(--pink); }

.mock-streak { display: flex; align-items: baseline; gap: 6px; }
.mock-streak strong { font-family: 'Fraunces', Georgia, serif; font-size: 28px; color: var(--navy); font-variant-numeric: tabular-nums; }
.mock-streak span { font-size: 11.5px; color: rgba(22,33,68,0.55); font-weight: 600; }

.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; }
.mock-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--peach); }

.mock-list { display: grid; gap: 7px; }
.mock-list-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--navy); }
.mock-list-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.device-tabbar {
  display: flex; justify-content: space-around; padding: 10px 8px 14px; margin-top: auto;
}
.device-tabbar i { width: 20px; height: 20px; border-radius: 6px; background: rgba(22,33,68,0.12); }
.device-tabbar i.on { background: var(--navy); }

/* ---------- value strip ---------- */
.value-strip { padding-top: 8px; padding-bottom: 72px; }
.value-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-item { display: flex; flex-direction: column; gap: 10px; }
.value-item .icon-badge { width: 40px; height: 40px; }
.value-item h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); }
.value-item p { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px; background: var(--rose-soft); color: var(--navy); flex-shrink: 0;
}
@media (prefers-color-scheme: dark) { .icon-badge { background: rgba(250,205,190,0.14); color: var(--cream); } }
.icon-badge.green { background: var(--green-soft); color: var(--green-deep); }
.icon-badge.yellow { background: var(--yellow-soft); color: var(--yellow-deep); }
.icon-badge.orange { background: var(--orange-soft); color: var(--orange-deep); }
.icon-badge.pink { background: var(--pink-soft, #FDD8E4); color: var(--pink-deep, #C74B7A); }
@media (prefers-color-scheme: dark) {
  .icon-badge.green { background: rgba(125,188,168,0.16); color: #9FD3C0; }
  .icon-badge.yellow { background: rgba(239,214,83,0.14); color: #EFD653; }
  .icon-badge.orange { background: rgba(242,150,62,0.16); color: #F2AB66; }
  .icon-badge.pink { background: rgba(250,205,190,0.14); color: var(--peach); }
}

/* ---------- section shell ---------- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.section-kicker {
  display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 10px;
}
.section-head h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.01em; margin: 0 0 12px; color: var(--text);
}
.section-head p { margin: 0; font-size: 15.5px; color: var(--text-secondary); line-height: 1.6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }

/* ---------- journey ---------- */
.journey { background: var(--card); border-radius: 32px; padding: 56px 40px; box-shadow: var(--panel-shadow); }
@media (max-width: 640px) { .journey { padding: 36px 20px; border-radius: 24px; } }

.journey-body { display: grid; grid-template-columns: 28px 1fr; gap: 28px; }
@media (max-width: 760px) { .journey-body { grid-template-columns: 1fr; } }

.journey-rail { position: relative; width: 4px; margin: 6px 0; background: var(--border); border-radius: 4px; justify-self: center; }
.journey-rail-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--pink); border-radius: 4px; transition: height 0.4s var(--ease); }
@media (max-width: 760px) { .journey-rail { display: none; } }

.journey-steps { display: grid; gap: 64px; }
.journey-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  opacity: 0.45; transition: opacity 0.4s var(--ease);
}
.journey-step.is-active { opacity: 1; }
@media (max-width: 760px) { .journey-step { grid-template-columns: 1fr; gap: 20px; opacity: 1; } }

.journey-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--rose-soft); color: var(--navy);
  font-size: 13px; font-weight: 800; margin-bottom: 14px;
}
@media (prefers-color-scheme: dark) { .journey-step .num { background: rgba(250,205,190,0.16); color: var(--cream); } }
.journey-step.is-active .num { background: var(--pink); color: #fff; }
.journey-step h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 21px; margin: 0 0 8px; color: var(--text); }
.journey-step p { margin: 0; font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; max-width: 40ch; }
.journey-step:nth-child(even) .journey-visual { order: -1; }
@media (max-width: 760px) { .journey-step:nth-child(even) .journey-visual { order: 0; } }
.journey-visual { display: flex; justify-content: center; }
.journey-visual .mini-device {
  width: 190px; aspect-ratio: 300/500; background: var(--navy-dark, #0D1529);
  border-radius: 30px; padding: 8px; box-shadow: 0 20px 44px -22px rgba(22,33,68,0.45);
}
.journey-visual .mini-device .device-screen { border-radius: 22px; }
.journey-visual .device-body { padding: 22px 12px 12px; }

/* ---------- features ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  grid-column: span 2; background: var(--card); border: 1px solid var(--border); border-radius: 22px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--panel-shadow); border-color: transparent; }
.feature-card.lg { grid-column: span 3; }
@media (max-width: 900px) { .feature-card, .feature-card.lg { grid-column: span 2; } }
@media (max-width: 560px) { .feature-card, .feature-card.lg { grid-column: span 1; } }

.feature-card h3 { margin: 0; font-size: 16.5px; font-weight: 700; color: var(--text); }
.feature-card p { margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.feature-card .icon-badge { margin-bottom: 4px; transition: transform 0.25s var(--ease); }
.feature-card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-row span {
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  background: var(--rose-soft); padding: 7px 13px; border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .tag-row span { background: rgba(250,205,190,0.12); } }

/* ---------- premium ---------- */
.premium-panel {
  background: var(--navy); color: var(--cream); border-radius: 32px;
  padding: 56px 44px; position: relative; overflow: hidden;
}
@media (prefers-color-scheme: dark) { .premium-panel { background: #0A0F20; } }
@media (max-width: 640px) { .premium-panel { padding: 36px 22px; border-radius: 24px; } }
.premium-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 85% -10%, rgba(250,205,190,0.16), transparent 65%);
  pointer-events: none;
}
.premium-head { max-width: 560px; margin-bottom: 40px; position: relative; }
.premium-head .section-kicker { color: rgba(248,236,224,0.6); }
.premium-head h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 14px; color: var(--cream); }
.premium-head p { margin: 0; color: rgba(248,236,224,0.78); font-size: 15.5px; line-height: 1.6; }

.premium-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; position: relative; }
@media (max-width: 860px) { .premium-body { grid-template-columns: 1fr; } }

.premium-list { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.premium-list li { display: flex; gap: 14px; list-style: none; }
.premium-list .check {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(250,205,190,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.premium-list strong { display: block; font-size: 14.5px; color: var(--cream); margin-bottom: 2px; }
.premium-list span { font-size: 13px; color: rgba(248,236,224,0.7); line-height: 1.5; }

.compare {
  background: rgba(248,236,224,0.06); border: 1px solid rgba(248,236,224,0.14);
  border-radius: 20px; overflow: hidden;
}
.compare-row { display: grid; grid-template-columns: 1fr 70px 70px; gap: 4px; padding: 12px 16px; font-size: 12.5px; }
.compare-row + .compare-row { border-top: 1px solid rgba(248,236,224,0.1); }
.compare-row.head { font-weight: 700; color: rgba(248,236,224,0.55); text-transform: uppercase; letter-spacing: 0.04em; font-size: 10.5px; }
.compare-row span:first-child { color: rgba(248,236,224,0.9); }
.compare-row span:nth-child(2) { color: rgba(248,236,224,0.45); text-align: center; }
.compare-row span:nth-child(3) { color: var(--peach); font-weight: 700; text-align: center; }

.premium-note {
  margin-top: 30px; font-size: 12.5px; color: rgba(248,236,224,0.55); position: relative; max-width: 60ch;
}

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.trust-list li { display: flex; gap: 14px; list-style: none; }
.trust-list strong { display: block; font-size: 14.5px; color: var(--text); margin-bottom: 2px; }
.trust-list span { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.trust-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  box-shadow: var(--panel-shadow);
}
.trust-panel h3 { margin: 0 0 10px; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 18px; color: var(--text); }
.trust-panel p { margin: 0 0 16px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-size: 15px; font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--text-tertiary); flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.faq-item p { margin: 0 0 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ---------- final CTA ---------- */
.final-cta {
  text-align: center; padding-top: 20px; padding-bottom: 8px;
}
.final-cta h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 14px; color: var(--text); }
.final-cta p { margin: 0 auto 28px; max-width: 46ch; font-size: 15.5px; color: var(--text-secondary); }
.final-cta .btn { margin: 0 auto; }
.final-cta-icon { margin: 0 auto 20px; width: 64px; height: 64px; }

/* ---------- footer (marketing) ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand img { height: 22px; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .footer-brand img { filter: invert(1) brightness(1.6); } }
.footer-brand p { font-size: 13.5px; color: var(--text-secondary); max-width: 34ch; line-height: 1.6; margin: 0; }
.footer-col h4 { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-tertiary); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--link-hover); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: var(--text-tertiary);
}

/* ---------- legal page site chrome tie-in ---------- */
.legal-shell .wrap { padding-top: 32px; }
