/* ============================================================
   Purple Wallet — marketing page sections (home / feature / pricing).
   Loaded only on the three static page types (pushed per-page on
   top of the global skeleton site.css). Composes on tokens.css.
   Ported verbatim from the Claude Design concept
   (public/test_designs/1: landing.css + feature.css + pricing.css).
   The shared chrome (header / footer / cookie / buttons / lang /
   theme-toggle / glow base / container / eyebrow / grad-text) lives
   in site.css and is NOT redeclared here.
   ============================================================ */

/* ── Shared section primitives (missing from skeleton) ─────── */
.pw-section--tight { padding: 72px 0; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: 1.15;
  margin: 14px 0 0;
  text-wrap: balance;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 16px 0 0;
  text-wrap: pretty;
}
.bg-glow.mint { background: radial-gradient(circle, rgba(0,212,170,.16), transparent 70%); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px; align-items: center; position: relative; z-index: 2;
}
@media (min-width: 993px) {
  .hero { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; align-items: center; }
  .hero .pw-container { width: 100%; }
  /* product frame bleeds past the right viewport edge for scale */
  .hero__visual .web-frame { width: calc(100% + clamp(60px, 12vw, 180px)); max-width: none; }
  .hero .slider__arrow { display: none; }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05; font-weight: 700;
  letter-spacing: var(--tracking-display);
  margin: 20px 0 0; text-wrap: balance;
}
.hero__sub {
  font-size: 1.18rem; color: var(--text-secondary);
  line-height: 1.55; margin: 22px 0 0; max-width: 30em; text-wrap: pretty;
}
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero__note {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 28px; font-size: .85rem; color: var(--text-muted);
}
.hero__note .item { display: inline-flex; align-items: center; gap: 7px; }
.hero__note .material-icons { font-size: 17px; color: var(--income-strong); }

.link-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .95rem; color: var(--text-primary);
  padding: 8px 4px;
}
.link-cta .material-icons {
  font-size: 20px; transition: transform .25s var(--ease-out-expo);
}
.link-cta:hover .material-icons { transform: translateX(4px); }

/* float on product mockups */
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.floaty { animation: floaty 7s var(--ease-out-expo) infinite; }

/* ── Proof strip ───────────────────────────────────────────── */
.proof {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.proof__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 30px 0; flex-wrap: wrap;
}
.proof__label { font-size: .95rem; color: var(--text-secondary); max-width: 18em; }
.proof__items { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; }
.proof__item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 600; color: var(--text-primary);
}
.proof__item .material-icons { font-size: 20px; color: var(--accent); }

/* ── Feature grid ──────────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}
.feature-card {
  position: relative; background: var(--gradient-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 28px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary);
  opacity: 0; transition: opacity .3s var(--ease-out-expo);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card:hover::before { opacity: 1; }
.feature-chip {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-chip .material-icons { font-size: 25px; }
.feature-card h3 { font-size: 1.18rem; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.feature-card p { font-size: .95rem; color: var(--text-secondary); line-height: 1.55; margin: 0; text-wrap: pretty; }

.feature-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
  font-size: .9rem; font-weight: 600; color: var(--accent);
}
.feature-link .material-icons { font-size: 18px; transition: transform .25s var(--ease-out-expo); }
.feature-link:hover .material-icons { transform: translateX(4px); }

.feature-more { margin-top: 40px; }
.feature-more__label {
  font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--tracking-caption);
  font-weight: 600; color: var(--text-muted); text-align: center; margin-bottom: 22px;
}
.feature-more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-more__item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-lg);
  background: var(--gradient-card); border: 1px solid var(--border-color);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.feature-more__item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-more__ic {
  width: 34px; height: 34px; flex: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: var(--accent);
}
.feature-more__ic .material-icons { font-size: 19px; }
.feature-more__t { font-size: .92rem; font-weight: 600; }
.feature-more__d { font-size: .82rem; color: var(--text-secondary); margin-top: 2px; line-height: 1.45; }

/* ── Principles ────────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; }
.principle { position: relative; padding-top: 26px; border-top: 2px solid var(--border-color); }
.principle__num {
  font-size: .8rem; font-weight: 700; color: var(--accent);
  font-feature-settings: 'tnum' 1; letter-spacing: .04em;
}
.principle h3 { font-size: 1.35rem; font-weight: 600; margin: 14px 0 10px; letter-spacing: -.01em; }
.principle p { font-size: 1rem; color: var(--text-secondary); line-height: 1.55; margin: 0; text-wrap: pretty; }

/* ── How it works (steps; static — fully lit) ──────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.steps__track {
  position: absolute; top: 28px; left: 16.6%; right: 16.6%; height: 3px;
  background: var(--border-color); border-radius: 999px; overflow: hidden; z-index: 0;
}
.steps__fill { height: 100%; background: var(--gradient-primary); border-radius: 999px; transition: width .55s var(--ease-out-expo); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step__node { position: relative; width: 56px; height: 56px; margin: 0 auto 18px; }
.step__chip {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: color .4s var(--ease-out-expo), border-color .4s, box-shadow .4s, background .4s;
}
.step__chip .material-icons { font-size: 26px; }
.step.active .step__chip { color: #fff; background: var(--gradient-primary); border-color: transparent; box-shadow: var(--shadow-accent); }
.step__num {
  position: absolute; top: -10px; right: -10px; z-index: 2;
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  background: var(--bg-primary); padding: 2px 6px; border-radius: 999px;
  font-feature-settings: 'tnum' 1; transition: color .4s;
}
.step.active .step__num { color: var(--accent); }
.step h3 { font-size: 1.12rem; font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; text-wrap: balance; }
.step p { font-size: .94rem; color: var(--text-secondary); line-height: 1.55; margin: 0; text-wrap: pretty; }

/* ── Finn band (forced dark on the homepage) ───────────────── */
.force-dark {
  color-scheme: dark;
  --accent-light: rgba(108, 99, 255, 0.16);
  --income-bg: rgba(0, 212, 170, 0.16);
  --expense-bg: rgba(255, 107, 107, 0.16);
  --bg-primary: #0f0f23; --bg-secondary: #1a1a2e; --bg-tertiary: #16213e;
  --bg-card: #1a1a2e; --bg-hover: #252540;
  --text-primary: #e6e6ee; --text-secondary: #a6a6b8; --text-muted: #74748a;
  --border-color: #2a2a4a; --border-light: #3a3a5a;
  --gradient-card: linear-gradient(145deg, #1e1e3f 0%, #1a1a2e 100%);
  --glass-bg: rgba(22, 22, 50, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

/* Finn band inverts by theme (TZ-05 §2): a dark spotlight in the light theme
   (the .force-dark block above), a light spotlight in the dark theme — so the
   band stays an accent pocket in both. The override is scoped to the homepage
   Finn band, leaving .force-dark a plain "force dark" utility elsewhere. The
   values mirror the canonical light palette in tokens.css. */
html:not([data-theme='light']) .finn-band.force-dark {
  color-scheme: light;
  --accent-light: rgba(108, 99, 255, 0.08);
  --income-bg: rgba(0, 212, 170, 0.1);
  --expense-bg: rgba(255, 107, 107, 0.1);
  --bg-primary: #f0f2f8; --bg-secondary: #ffffff; --bg-tertiary: #e8ecf4;
  --bg-card: #ffffff; --bg-hover: #f5f6fa;
  --text-primary: #1a1a2e; --text-secondary: #5a5a7a; --text-muted: #9a9ab0;
  --border-color: #e2e6f0; --border-light: #d0d5e2;
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 2px 8px rgba(108,99,255,.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,.06), 0 4px 16px rgba(108,99,255,.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.08), 0 8px 32px rgba(108,99,255,.08);
}

.band-secondary {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.finn-band {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #0c0c1e 0%, #14132e 55%, #190f2e 100%);
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.finn-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.92fr; gap: 56px; align-items: center; }
html:not([data-theme='light']) .finn-band { background: linear-gradient(165deg, #eef0f8 0%, #f1eefb 55%, #f5edfb 100%); }
.finn-copy .section-title { color: #f4f3fb; }
html:not([data-theme='light']) .finn-copy .section-title { color: var(--text-primary); }
html:not([data-theme='light']) .finn-bullets__ic { color: var(--accent); }
html:not([data-theme='light']) .finn-insight__label { color: var(--accent); }
.finn-bullets { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 16px; }
.finn-bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; color: var(--text-secondary); line-height: 1.5; }
.finn-bullets__ic {
  width: 36px; height: 36px; flex: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: #b9b2ff;
}
.finn-bullets__ic .material-icons { font-size: 20px; }

/* Finn chat demo card (static final state) */
.finn-demo {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 18px; max-width: 460px; margin: 0 auto;
}
.finn-demo__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border-color); margin-bottom: 14px; }
.finn-demo__name { font-weight: 600; color: var(--text-primary); }
.finn-demo__status { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-muted); }
.finn-demo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--income); }
.finn-demo__thread { display: flex; flex-direction: column; gap: 12px; }
.finn-demo__botrow { display: flex; gap: 8px; align-items: flex-end; }
.finn-demo__botrow > span:first-child { margin-bottom: 2px; }
.finn-demo__botrow > div:last-child { flex: 1; }

.finn-insight {
  flex: 1; padding: 12px 14px; border-radius: var(--radius-lg); border-bottom-left-radius: 4px;
  background: linear-gradient(135deg, rgba(108,99,255,.20), rgba(168,85,247,.14));
  border: 1px solid rgba(168,85,247,.35); box-shadow: 0 0 24px rgba(108,99,255,.25);
}
.finn-insight__label { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; color: #c9b8ff; text-transform: uppercase; letter-spacing: .04em; }
.finn-insight__label .material-icons { font-size: 15px; }
.finn-insight__text { font-size: .9rem; color: var(--text-primary); margin-top: 4px; line-height: 1.45; }

.finn-demo__input {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 14px;
  border-radius: var(--radius-pill); background: var(--bg-hover); border: 1px solid var(--border-color);
}
.finn-demo__input-text { flex: 1; font-size: .88rem; color: var(--text-muted); }
.finn-demo__input .material-icons { font-size: 20px; color: var(--text-muted); }
.finn-demo__disclaimer { font-size: .76rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* Finn avatar + chat bubble (ported from the design-system components) */
.pw-finn-avatar {
  flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); color: #fff; font-weight: 600;
  user-select: none;
}
.pw-finn-avatar--glow { box-shadow: var(--shadow-accent); }
.pw-bubble { display: flex; justify-content: flex-start; }
.pw-bubble--user { justify-content: flex-end; }
.pw-bubble__body {
  max-width: 78%; padding: 0.7rem 0.9rem;
  border-radius: var(--radius-lg); border-bottom-left-radius: 4px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  color: var(--text-primary); font-size: 0.9rem; line-height: 1.45;
}
.pw-bubble--user .pw-bubble__body {
  border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: 4px;
  background: var(--gradient-primary); -webkit-backdrop-filter: none; backdrop-filter: none;
  border-color: transparent; color: #fff;
}
.pw-bubble__time { font-size: 0.65rem; margin-top: 4px; text-align: right; color: var(--text-muted); font-feature-settings: 'tnum' 1; }
.pw-bubble--user .pw-bubble__time { color: rgba(255,255,255,.75); }

/* ── Three input methods ───────────────────────────────────── */
.inputs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.input-card {
  position: relative; overflow: hidden; padding: 24px;
  background: var(--gradient-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.input-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.input-card__viz {
  height: 92px; border-radius: var(--radius-md); margin-bottom: 18px; overflow: hidden;
  background: var(--bg-hover); border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.input-card__chip {
  width: 44px; height: 44px; border-radius: var(--radius-sm); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: var(--accent);
}
.input-card__chip .material-icons { font-size: 23px; }
.input-card h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.input-card p { font-size: .92rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }

.viz-voice { display: flex; align-items: center; gap: 5px; height: 44px; }
.viz-voice span { width: 5px; border-radius: 999px; background: var(--gradient-primary); height: 30%; animation: eq 1.1s var(--ease-out-expo) infinite; }
@keyframes eq { 0%, 100% { height: 22%; } 50% { height: 92%; } }

.viz-receipt {
  position: relative; width: 76px; height: 72px; background: var(--bg-secondary);
  border-radius: 6px; border: 1px solid var(--border-color); padding: 12px 11px;
  display: flex; flex-direction: column; gap: 7px; box-shadow: var(--shadow-sm);
}
.viz-receipt__line { height: 5px; border-radius: 999px; background: var(--border-light); }
.viz-receipt__line.w50 { width: 50%; } .viz-receipt__line.w70 { width: 70%; }
.viz-receipt__line.w80 { width: 80%; } .viz-receipt__line.w90 { width: 90%; }
.viz-receipt__scan {
  position: absolute; left: 6px; right: 6px; height: 14px;
  background: linear-gradient(180deg, rgba(108,99,255,0), rgba(108,99,255,.35), rgba(108,99,255,0));
  box-shadow: 0 0 10px rgba(108,99,255,.5); border-radius: 4px;
  animation: scan 2.4s var(--ease-out-expo) infinite;
}
@keyframes scan { 0% { top: 6px; } 50% { top: 52px; } 100% { top: 6px; } }

.viz-text { display: flex; align-items: center; font-size: .95rem; color: var(--text-primary); font-feature-settings: 'tnum' 1; }
.viz-text__sample { font-weight: 500; }
.viz-text__caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); margin-left: 3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.inputs-note {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 32px auto 0; max-width: 640px; text-align: center;
  font-size: .92rem; color: var(--text-secondary);
}
.inputs-note .material-icons { font-size: 18px; color: var(--income-strong); }

/* ── Forecast ──────────────────────────────────────────────── */
.forecast-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center; }
.forecast-visual {
  position: relative; background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 28px 24px 20px;
}
.forecast-chart { position: relative; }
.forecast-chart text { font-family: var(--font-sans); }
.fc-axis { font-size: 12px; }
.fc-val { font-size: 12.5px; }
.forecast-chart__gaplabel {
  position: absolute; transform: translate(-50%, 4px); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .74rem; font-weight: 600; color: var(--expense-strong);
  background: var(--expense-bg); border: 1px solid var(--expense); border-radius: 999px;
  padding: 3px 9px;
}
.forecast-chart__gaplabel .material-icons { font-size: 14px; }
.forecast-legend { display: flex; gap: 22px; justify-content: center; margin-top: 8px; }
.forecast-legend__item { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--text-secondary); }
.forecast-legend .sw { width: 18px; height: 4px; border-radius: 999px; }
.forecast-legend .sw.actual { background: linear-gradient(90deg, var(--income), var(--accent)); }
.forecast-legend .sw.forecast { background: repeating-linear-gradient(90deg, var(--accent) 0 3px, transparent 3px 7px); }

/* ── Security (enriched) ───────────────────────────────────── */
.security {
  position: relative; overflow: hidden;
  background: var(--gradient-card);
  border: 1px solid var(--border-color); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.security__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px;
  align-items: center; padding: 56px; position: relative; z-index: 2;
}
.security__intro .shield-visual { min-height: 240px; margin-top: 28px; }
.shield-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.shield-visual .ring { position: absolute; border: 1px solid var(--border-light); border-radius: 50%; }
.shield-visual .ring.r1 { width: 130px; height: 130px; }
.shield-visual .ring.r2 { width: 190px; height: 190px; opacity: .7; }
.shield-visual .ring.r3 { width: 250px; height: 250px; opacity: .4; }
.shield-visual .node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: orbit 1.8s var(--ease-out-expo) infinite alternate;
}
.shield-visual .node.n1 { top: calc(50% - 95px); left: 50%; }
.shield-visual .node.n2 { top: 50%; left: calc(50% + 95px); background: var(--income); box-shadow: 0 0 10px var(--income); animation-delay: .3s; }
.shield-visual .node.n3 { top: calc(50% + 95px); left: 50%; background: var(--goal); box-shadow: 0 0 10px var(--goal); animation-delay: .6s; }
.shield-visual .node.n4 { top: 50%; left: calc(50% - 95px); animation-delay: .9s; }
@keyframes orbit { from { transform: translate(-50%, -50%) scale(.85); opacity: .6; } to { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } }
.shield-core {
  position: relative; z-index: 2; width: 100px; height: 100px; border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary); box-shadow: var(--shadow-accent);
}
.shield-core .material-icons { font-size: 50px; color: #fff; }
.security__points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.security__point {
  display: flex; gap: 13px; align-items: flex-start; padding: 16px;
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.security__point:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.security__point .ic {
  width: 38px; height: 38px; flex: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: var(--accent);
}
.security__point .ic .material-icons { font-size: 21px; }
.security__point h4 { margin: 2px 0 4px; font-size: .98rem; font-weight: 600; }
.security__point p { margin: 0; font-size: .86rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Trust signals ─────────────────────────────────────────── */
.trust { text-align: center; }
.trust__title {
  font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--tracking-caption);
  font-weight: 600; color: var(--text-muted); margin-bottom: 20px;
}
.trust__badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: var(--radius-pill); font-size: .9rem; font-weight: 600; color: var(--text-primary);
  background: var(--gradient-card); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.trust__badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trust__badge .material-icons { font-size: 18px; color: var(--accent); }

/* ── Roadmap ───────────────────────────────────────────────── */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; position: relative; }
.roadmap__item { position: relative; }
.roadmap__marker { display: flex; align-items: center; margin-bottom: 18px; }
.roadmap__marker::after { content: ""; flex: 1; height: 2px; background: var(--border-color); margin-left: 6px; }
.roadmap__dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.roadmap__dot.progress { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
.roadmap__dot.planned { background: var(--bg-card); border: 2px solid var(--border-light); }
.roadmap__card {
  padding: 22px; background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.roadmap__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.roadmap__status {
  display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.roadmap__status.progress { color: var(--accent); background: var(--accent-light); }
.roadmap__status.planned { color: var(--text-muted); background: var(--bg-hover); }
.roadmap__card h4 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.roadmap__card p { margin: 0; font-size: .9rem; color: var(--text-secondary); line-height: 1.5; }

/* ── Pricing teaser (homepage) ─────────────────────────────── */
.pricing-teaser {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border-color); border-radius: var(--radius-xl);
  background: var(--bg-secondary); padding: 64px 40px;
}
.pricing-teaser .plans { display: inline-flex; gap: 10px; margin-bottom: 26px; }
.plan-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 600; border: 1px solid var(--border-color);
}
.plan-pill.free { color: var(--income-strong); background: var(--income-bg); border-color: transparent; }
.plan-pill.pro { color: var(--accent); background: var(--accent-light); border-color: transparent; }

/* ── Access-request form (home + pricing) ──────────────────── */
.app-grid {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 24px 56px; align-items: start;
  grid-template-areas: "copy visual" "form visual";
}
.app-copy { grid-area: copy; }
.app-visual { grid-area: visual; align-self: center; }
.app-formcol { grid-area: form; align-self: start; }
.app-formcol .access-form { margin-top: 0; }

.access-form { margin-top: 28px; max-width: 440px; }
.access-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.access-field { display: flex; flex-direction: column; gap: 6px; }
.access-field__label {
  font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: var(--tracking-caption);
  font-weight: 600; color: var(--text-muted);
}
.access-field__input {
  font-family: var(--font-sans); font-size: .95rem; color: var(--text-primary);
  background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  padding: 11px 13px;
  transition: border-color .2s var(--ease-out-expo), box-shadow .2s var(--ease-out-expo);
}
.access-field__input::placeholder { color: var(--text-muted); }
.access-field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.access-field__input:disabled { opacity: .6; }
.access-form__btn {
  margin-top: 14px; width: 100%; height: 48px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: #fff;
  background: var(--gradient-primary); border-radius: var(--radius-md); box-shadow: var(--shadow-accent);
  transition: transform .2s var(--ease-out-back), box-shadow .3s, background .3s;
}
.access-form__btn:hover:not(:disabled) { transform: translateY(-1px); }
.access-form__btn .material-icons { font-size: 20px; }
.access-form__btn.is-done { background: var(--gradient-income); box-shadow: var(--shadow-income); cursor: default; }
.access-form__note { margin-top: 12px; font-size: .8rem; color: var(--text-muted); }
.access-field__input.is-invalid { border-color: var(--expense); box-shadow: 0 0 0 3px var(--expense-bg); }
.access-form__error { margin-top: 8px; font-size: .85rem; color: var(--expense-strong); }
@media (max-width: 480px) { .access-form__row { grid-template-columns: 1fr; } }

/* Inline "thank you" — replaces the form in place on a successful request. */
.access-done {
  max-width: 440px; margin-top: 28px; padding: 28px 26px;
  background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.access-done__icon { font-size: 40px; color: var(--income-strong); }
.access-done__title { font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; margin: 12px 0 6px; }
.access-done__text { font-size: .94rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }

/* ── Final CTA ─────────────────────────────────────────────── */
.final-cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #2a2766 0%, #4b2c7a 100%);
  padding: 88px 40px; box-shadow: var(--shadow-lg);
}
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700;
  letter-spacing: var(--tracking-display); line-height: 1.1;
  color: #fff; margin: 0; position: relative; z-index: 2; text-wrap: balance;
}
.final-cta .grad-text { background: linear-gradient(135deg,#c4b5fd,#f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final-cta p { color: rgba(255,255,255,.72); margin: 18px auto 0; max-width: 30em; position: relative; z-index: 2; }
.final-cta .wrap { margin-top: 34px; position: relative; z-index: 2; display: flex; justify-content: center; }

/* ── FAQ accordion (native <details>) ──────────────────────── */
.faq { max-width: 760px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--gradient-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .3s var(--ease-out-expo);
}
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-size: 1.05rem; font-weight: 600; color: var(--text-primary);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { color: var(--text-muted); transition: transform .3s var(--ease-out-expo); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); color: var(--accent); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { margin: 0; font-size: .96rem; color: var(--text-secondary); line-height: 1.6; text-wrap: pretty; }

/* ── Sticky mobile CTA ─────────────────────────────────────── */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-top: 1px solid var(--border-color);
}
.sticky-cta__btn {
  width: 100%; height: 50px; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: #fff;
  background: var(--gradient-primary); border-radius: var(--radius-md); box-shadow: var(--shadow-accent);
}
.sticky-cta__btn .material-icons { font-size: 20px; }

/* ── Slider (screenshot carousel) ──────────────────────────── */
.slider { position: relative; }
.slider__viewport { position: relative; }
.slider__stack { position: relative; overflow: hidden; border-radius: 0 0 14px 14px; }
.web-frame .slider__stack { aspect-ratio: 1440 / 900; border-radius: 0; }
.phone-frame .slider__stack { aspect-ratio: 1080 / 2392; border-radius: 30px; }
.slider__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity .8s var(--ease-out-expo);
}
.slider__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider__img.active { opacity: 1; }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border); color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease-out-back), color .2s;
}
.slider__arrow:hover { color: var(--accent); transform: translateY(-50%) scale(1.08); }
.slider__arrow.prev { left: -18px; }
.slider__arrow.next { right: -18px; }
.slider__caption { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--text-secondary); }
.slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.slider__dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--border-light); transition: width .25s var(--ease-out-expo), background .25s;
}
.slider__dot.active { width: 24px; border-radius: 999px; background: var(--gradient-primary); }

.web-frame {
  border-radius: 14px; overflow: hidden; background: var(--bg-secondary);
  border: 1px solid var(--border-color); box-shadow: var(--shadow-lg);
}
.web-frame__bar {
  height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  background: var(--bg-tertiary); border-bottom: 1px solid var(--border-color);
}
.web-frame__bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-light); }

.phone-frame {
  width: 300px; max-width: 84vw; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1a1a2e, #0f0f23); box-shadow: var(--shadow-lg);
}
.phone-frame__screen { border-radius: 32px; overflow: hidden; background: #000; }

/* ════════════════════════════════════════════════════════════
   Feature page template (ported from feature.css)
   ════════════════════════════════════════════════════════════ */
.fshot { position: relative; }
.fshot--web {
  border-radius: 16px; overflow: hidden; background: var(--bg-secondary);
  border: 1px solid var(--border-color); box-shadow: var(--shadow-lg);
}
.fshot--web .fshot__bar {
  height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 16px;
  background: var(--bg-tertiary); border-bottom: 1px solid var(--border-color);
}
.fshot--web .fshot__bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-light); }
.fshot--web img { display: block; width: 100%; height: auto; }

.fshot--phone {
  width: 280px; max-width: 76vw; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1a1a2e, #0f0f23); box-shadow: var(--shadow-lg);
}
.fshot--phone .fshot__screen { border-radius: 32px; overflow: hidden; background: #000; }
.fshot--phone img { display: block; width: 100%; height: auto; }

.fhero { position: relative; overflow: hidden; padding: 40px 0 80px; }
.fcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .85rem; color: var(--text-muted); margin-bottom: 28px;
}
.fcrumb a { color: var(--text-secondary); transition: color .2s; }
.fcrumb a:hover { color: var(--accent); }
.fcrumb .material-icons { font-size: 16px; opacity: .6; }
.fcrumb__cur { color: var(--text-primary); font-weight: 500; }

.fhero__grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px; align-items: center; position: relative; z-index: 2;
}
.fhero__eyeicon { font-size: 18px !important; vertical-align: -4px; margin-right: 6px; }
.fhero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; font-weight: 700;
  letter-spacing: var(--tracking-display); margin: 16px 0 0; text-wrap: balance;
}
.fhero__sub {
  font-size: 1.12rem; color: var(--text-secondary); line-height: 1.55;
  margin: 20px 0 0; max-width: 30em; text-wrap: pretty;
}
.fhero__cta { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ps-card {
  padding: 26px; background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.ps-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ps-card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: var(--accent);
}
.ps-card__icon .material-icons { font-size: 24px; }
.ps-card__pain, .ps-card__gain {
  display: flex; gap: 9px; align-items: flex-start; margin: 0; line-height: 1.5; font-size: .95rem;
}
.ps-card__pain { color: var(--text-muted); margin-bottom: 12px; }
.ps-card__pain .material-icons { font-size: 18px; color: var(--expense-strong); margin-top: 1px; flex: none; }
.ps-card__gain { color: var(--text-primary); font-weight: 500; }
.ps-card__gain .material-icons { font-size: 18px; color: var(--income-strong); margin-top: 1px; flex: none; }

.subs { display: flex; flex-direction: column; gap: 72px; margin-top: 52px; }
.sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sub-row.reverse .sub-row__copy { order: 2; }
.sub-row.reverse .sub-row__visual { order: 1; }
.sub-row--phone { grid-template-columns: 1fr 0.7fr; }
.sub-row.reverse.sub-row--phone { grid-template-columns: 0.7fr 1fr; }
.sub-row__num {
  font-size: .8rem; font-weight: 700; color: var(--accent);
  font-feature-settings: 'tnum' 1; letter-spacing: .04em; margin-bottom: 12px;
}
.sub-row__copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.01em;
  margin: 0 0 12px; text-wrap: balance;
}
.sub-row__copy p { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.6; margin: 0; max-width: 32em; text-wrap: pretty; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.related-card {
  display: flex; align-items: center; gap: 16px; padding: 22px;
  background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo), border-color .3s;
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent); }
.related-card__icon {
  width: 44px; height: 44px; flex: none; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light); color: var(--accent);
}
.related-card__icon .material-icons { font-size: 23px; }
.related-card__body { flex: 1; min-width: 0; }
.related-card__body h4 { margin: 0 0 3px; font-size: 1rem; font-weight: 600; }
.related-card__body p { margin: 0; font-size: .88rem; color: var(--text-secondary); line-height: 1.45; }
.related-card__arrow { color: var(--text-muted); font-size: 20px !important; transition: transform .25s var(--ease-out-expo), color .25s; flex: none; }
.related-card:hover .related-card__arrow { color: var(--accent); transform: translateX(4px); }

/* ════════════════════════════════════════════════════════════
   Pricing page (ported from pricing.css)
   ════════════════════════════════════════════════════════════ */
.price-hero { position: relative; overflow: hidden; padding: 56px 0 8px; }
.price-hero__inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.price-hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; font-weight: 700;
  letter-spacing: var(--tracking-display); margin: 14px 0 0; text-wrap: balance;
}
.price-hero__sub { font-size: 1.12rem; color: var(--text-secondary); line-height: 1.55; margin: 18px 0 0; text-wrap: pretty; }

.plans-wrap { position: relative; z-index: 2; }
.plan-toggle {
  display: inline-flex; align-items: center; gap: 4px; margin: 40px auto 0;
  padding: 4px; border-radius: var(--radius-pill); background: var(--bg-hover);
  border: 1px solid var(--border-color); position: relative; left: 50%; transform: translateX(-50%);
}
.plan-toggle__btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0;
  font-family: var(--font-sans); font-size: .92rem; font-weight: 600; color: var(--text-secondary);
  background: transparent; padding: 9px 18px; border-radius: var(--radius-pill);
  transition: color .2s var(--ease-out-expo), background .2s var(--ease-out-expo), box-shadow .2s;
}
.plan-toggle__btn:hover { color: var(--text-primary); }
.plan-toggle__btn.active { color: var(--text-primary); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.plan-toggle__badge {
  font-size: .72rem; font-weight: 600; color: var(--income-strong);
  background: var(--income-bg); padding: 3px 8px; border-radius: var(--radius-pill); white-space: nowrap;
}

.plans-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px;
  max-width: 820px; margin: 32px auto 0; align-items: stretch;
}
.plan-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card .pw-btn { width: 100%; margin-top: auto; }

.plan-card--pro {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    var(--gradient-primary) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-accent);
}
.plan-card--pro:hover { box-shadow: var(--shadow-accent), var(--shadow-md); }
.plan-card__pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: .74rem; font-weight: 700; letter-spacing: .03em; color: #fff;
  background: var(--gradient-primary); padding: 5px 14px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-accent); white-space: nowrap;
}
.plan-card__name { font-size: 1.15rem; font-weight: 600; margin: 0; }
.plan-card__tag { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.plan-card__head { margin-bottom: 20px; }
.plan-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.plan-card__amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; font-feature-settings: 'tnum' 1; }
.plan-card__unit { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.plan-card__lead { font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.plan-card__list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-secondary); line-height: 1.45; }
.plan-card__list .material-icons { font-size: 19px; color: var(--income-strong); flex: none; margin-top: 1px; }
.plan-card--pro .plan-card__list .material-icons { color: var(--accent); }

.plans-note {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  max-width: 720px; margin: 26px auto 0; text-align: center;
  font-size: .9rem; color: var(--text-secondary);
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 14px 18px;
}
.plans-note .material-icons { font-size: 18px; color: var(--accent); flex: none; }

.compare-section { padding-top: 8px; }
.compare-shell {
  max-width: 760px; margin: 0 auto;
  background: var(--gradient-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  padding: 30px 30px 12px; overflow: hidden;
}
.compare-shell__title { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 18px; }
.compare { margin: 0 -30px; }
.compare__row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center;
  padding: 12px 30px; border-top: 1px solid var(--border-color);
}
.compare__row--head { border-top: 0; }
.compare__row--head .compare__col { font-size: .8rem; text-transform: uppercase; letter-spacing: var(--tracking-caption); color: var(--text-muted); font-weight: 600; }
.compare__row--head .compare__col--pro { color: var(--accent); }
.compare__group {
  padding: 16px 30px 8px; border-top: 1px solid var(--border-color); background: var(--bg-secondary);
}
.compare__grouplink {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-caption);
  color: var(--accent);
}
.compare__grouplink .material-icons { font-size: 16px; transition: transform .25s var(--ease-out-expo); }
.compare__grouplink:hover .material-icons { transform: translateX(3px); }
.compare__feat { font-size: .94rem; color: var(--text-primary); font-weight: 500; }
.compare__col { text-align: center; font-size: .92rem; color: var(--text-secondary); font-feature-settings: 'tnum' 1; }
.compare__col--pro { font-weight: 600; color: var(--text-primary); }
.compare__dash { color: var(--text-muted); }
.compare__yes { display: inline-flex; align-items: center; gap: 5px; color: var(--income-strong); font-weight: 600; }
.compare__yes .material-icons { font-size: 17px; }
.compare__row:not(.compare__row--head):hover { background: var(--bg-hover); }

body .compare-section.pw-section { padding: 40px 0; }
body #access.pw-section { padding: 44px 0; }
body #faq.pw-section { padding: 44px 0 8px; }

/* ── Theme-aware product screenshots (light/dark swap) ─────── */
/* Scope the swap to .fshot / .slider so it outranks `.fshot--web img { display:block }`
   (0,1,1) and `.slider__img > img` (0,1,1). A bare `.ts-dark { display:none }`
   (0,1,0) loses to those, so in the light theme both frames showed at once — the
   swap looked broken (TZ-05 §1). Feature shots and slider slides share it. */
.fshot img.ts-dark,
.slider .ts-dark { display: none; }
html:not([data-theme='light']) .fshot img.ts-light,
html:not([data-theme='light']) .slider .ts-light { display: none; }
html:not([data-theme='light']) .fshot img.ts-dark,
html:not([data-theme='light']) .slider .ts-dark { display: block; }

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive (landing) ──────────────────────────────────── */
@media (max-width: 992px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 520px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .security__grid { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
  .app-grid { grid-template-columns: 1fr; gap: 32px; grid-template-areas: "copy" "visual" "form"; }
  .app-formcol .access-form { margin-inline: auto; }
  .principles { gap: 32px; }
  .finn-grid { grid-template-columns: 1fr; gap: 40px; }
  .forecast-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-more__grid { grid-template-columns: repeat(2, 1fr); }
  .security__points { grid-template-columns: 1fr 1fr; }
  .inputs-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 768px) {
  .pw-section--tight { padding: 64px 0; }
  .principles { grid-template-columns: 1fr; }
  .proof__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 420px; margin-inline: auto; }
  .steps__track { display: none; }
  .roadmap { grid-template-columns: 1fr; }
  .roadmap__marker::after { display: none; }
  .feature-more__grid { grid-template-columns: 1fr; }
  .security__points { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 74px; }
  .slider__arrow.prev { left: -6px; } .slider__arrow.next { right: -6px; }
  .fc-axis { font-size: 19px; }
  .fc-val { font-size: 18px; }
  .forecast-visual { padding: 20px 14px 16px; }
  .forecast-chart__gaplabel { left: auto !important; right: 2px; transform: translateY(2px); font-size: .72rem; }
  .final-cta { padding: 56px 22px; }
  .final-cta .wrap { display: block; }
  .final-cta .wrap > * { width: 100%; }
  .finn-demo { max-width: 100%; }
  .finn-grid { gap: 32px; }
  .trust__badges { gap: 10px; }
  .pricing-teaser { padding: 48px 22px; }
  .hero__note { gap: 12px 18px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero__cta { gap: 12px; }
  .hero__cta > * { width: 100%; }
  .final-cta { padding: 60px 24px; }
  .security__grid { padding: 28px; }
}

/* ── Responsive (feature) ──────────────────────────────────── */
@media (max-width: 992px) {
  .fhero__grid { grid-template-columns: 1fr; gap: 40px; }
  .fhero__visual { max-width: 560px; }
  .ps-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .related-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .sub-row, .sub-row.reverse, .sub-row--phone, .sub-row.reverse.sub-row--phone {
    grid-template-columns: 1fr; gap: 28px;
  }
  .sub-row.reverse .sub-row__copy, .sub-row.reverse .sub-row__visual { order: initial; }
  .sub-row__copy { order: 1; }
  .sub-row__visual { order: 2; }
  .subs { gap: 56px; }
}
@media (max-width: 768px) {
  .fhero { padding: 28px 0 64px; }
  .fhero__cta { gap: 12px; }
  .fhero__cta > * { width: 100%; }
}

/* ── Responsive (pricing) ──────────────────────────────────── */
@media (max-width: 768px) {
  .plans-row { grid-template-columns: 1fr; max-width: 440px; }
  .plan-card--pro { order: -1; }
  .compare-shell { padding: 22px 18px 10px; }
  .compare { margin: 0 -18px; }
  .compare__row { grid-template-columns: 1.4fr 1fr 1fr; padding: 11px 18px; }
  .compare__group { padding: 14px 18px 7px; }
  .compare__feat { font-size: .86rem; }
  .compare__col { font-size: .84rem; }
  .price-hero { padding: 36px 0 4px; }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .floaty { animation: none; }
}
