/* Credit Owl — web styles · "Quiet Premium"
   Refined editorial minimalism. True black & white, hairline rules,
   generous whitespace, Geist type. Theme controlled by data-theme on
   <html> (seeded before paint by an inline script and persisted to
   localStorage). The site is MONOCHROME — the only color lives baked
   inside the phone screenshot. */

/* ───────── Tokens ───────── */
:root {
  --paper:    #FFFFFF;
  --paper-2:  #F7F7F5;
  --paper-3:  #EFEFEC;

  --ink:      #0A0A0A;
  --ink-2:    rgba(10, 10, 10, .62);
  --ink-3:    rgba(10, 10, 10, .40);

  --hairline:   rgba(10, 10, 10, .12);
  --hairline-2: rgba(10, 10, 10, .07);

  --btn:     #0A0A0A;
  --btn-ink: #FFFFFF;

  --ok: #29D16B; /* single tiny "on-track" whisper, used at most once */

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-phone: drop-shadow(0 30px 60px rgba(10, 10, 10, .18));
  --shadow-soft:  0 1px 2px rgba(10,10,10,.04), 0 18px 40px -28px rgba(10,10,10,.30);

  --max: 1080px;
  --pad: clamp(20px, 4vw, 28px);
  --section-y: clamp(72px, 11vw, 150px);

  --sans: "Geist", "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

[data-theme="dark"] {
  --paper:    #000000;
  --paper-2:  #0C0C0C;
  --paper-3:  #161616;

  --ink:      #FFFFFF;
  --ink-2:    rgba(255, 255, 255, .66);
  --ink-3:    rgba(255, 255, 255, .42);

  --hairline:   rgba(255, 255, 255, .14);
  --hairline-2: rgba(255, 255, 255, .08);

  --btn:     #FFFFFF;
  --btn-ink: #0A0A0A;

  --shadow-phone: drop-shadow(0 30px 70px rgba(0, 0, 0, .65));
  --shadow-soft:  0 1px 2px rgba(0,0,0,.5), 0 18px 44px -28px rgba(0,0,0,.7);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

/* Whisper-quiet full-page grain for depth */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity .2s ease;
}
a:hover { opacity: .62; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ───────── Type ───────── */
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 16px; }
h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.03;
}
h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p  { margin: 0 0 16px; color: var(--ink-2); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
strong { font-weight: 600; color: var(--ink); }

/* ───────── Layout shells ───────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: var(--section-y) 0; position: relative; z-index: 2; }
section.tinted { background: var(--paper-2); }
section.tinted + section.tinted { border-top: 1px solid var(--hairline-2); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); margin: 0; }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink); border-bottom: 0;
  font-size: 16px; letter-spacing: -0.01em;
}
.nav-brand:hover { opacity: 1; }
.nav-brand .mark { width: 22px; height: 22px; color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 28px; align-items: center; margin-right: 8px; }
.nav-links a {
  color: var(--ink-2); font-size: 14px; font-weight: 450;
  border-bottom: 0; letter-spacing: -0.005em;
}
.nav-links a:hover { color: var(--ink); opacity: 1; }

.nav-cta {
  background: var(--btn);
  color: var(--btn-ink) !important;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; border: 0;
  border-bottom: 0 !important;
  transition: transform .15s ease, opacity .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: .88; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* Theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  cursor: pointer; flex-shrink: 0;
  transition: color .2s ease, border-color .2s ease, transform .15s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); transform: translateY(-1px); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  border: 0; cursor: pointer; border-bottom: 0;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease, background .2s ease;
}
.btn:hover { opacity: 1; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { transform: translateY(-1px); border-color: var(--ink-3); }
.btn svg { width: 18px; height: 18px; }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 72px);
  overflow: hidden;
}
/* Faint oversized feather watermark behind the hero */
.hero-watermark {
  position: absolute;
  top: -6%; right: -8%;
  width: clamp(360px, 48vw, 720px);
  color: var(--ink);
  opacity: .035;
  pointer-events: none;
  transform: rotate(8deg);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
}
.hero-meta span {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta .sep { color: var(--hairline); }

/* Hero phone image */
.hero-phone-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 2;
}
.hero-phone {
  width: auto;
  max-height: clamp(400px, 52vw, 560px);
  height: auto;
  /* shadow + a faint hairline so the white phone edge reads on a white page */
  filter: var(--shadow-phone) drop-shadow(0 0 1px rgba(15, 15, 20, 0.28));
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { order: 1; }
  .hero-phone-wrap { order: 2; margin-top: 18px; }
  .hero-phone { max-height: clamp(420px, 78vw, 500px); }
  .hero-sub { margin-bottom: 28px; }
}

/* ───────── Trust strip ───────── */
.trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 12px;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  font-size: 13px; font-weight: 450; color: var(--ink-2);
  letter-spacing: -0.005em;
}
[data-theme="dark"] .trust-pill { background: var(--paper-2); }
.trust-pill svg { width: 15px; height: 15px; color: var(--ink); }

/* ───────── Personas / who it's for ───────── */
.personas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px; margin: 0 auto;
}
.persona {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px 28px 30px;
  transition: border-color .3s ease, transform .3s ease;
}
[data-theme="dark"] .persona { background: var(--paper-2); }
.persona:hover { border-color: var(--ink-3); transform: translateY(-3px); }
.persona-plan {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  padding: 5px 11px; border-radius: 999px;
  margin-bottom: 20px;
}
.persona-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline);
  color: var(--ink);
  margin-bottom: 18px;
}
.persona-ico svg { width: 22px; height: 22px; }
.persona h3 { font-size: 20px; margin-bottom: 10px; }
.persona p { font-size: 15px; margin: 0 0 18px; }
.persona-for {
  margin-top: auto;
  font-size: 13px; color: var(--ink-3);
  border-top: 1px solid var(--hairline-2);
  padding-top: 16px;
}
.persona-for strong { color: var(--ink); font-weight: 500; }
@media (max-width: 720px) { .personas { grid-template-columns: 1fr; } }

/* ───────── Features ───────── */
/* Overlapping app-style credit cards */
.feature-hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.feature-hero-copy { max-width: 42ch; }
.feature-hero-copy h3 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em; line-height: 1.12;
  margin-bottom: 14px;
}
.feature-hero-copy p { font-size: 17px; margin: 0; }

.feature-hero-stack {
  position: relative;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.appcard {
  position: absolute;
  width: clamp(248px, 30vw, 320px);
  aspect-ratio: 1.586;
  border-radius: 18px;
  padding: 20px 22px;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 40px -16px rgba(10, 10, 10, .45);
  transition: transform .4s ease;
}
.appcard-sapphire {
  background: linear-gradient(150deg, #2b3566, #1b2342);
  color: #FFFFFF;
}
.appcard-gold {
  background: linear-gradient(150deg, #e9b84b, #cf972c);
  color: #2a1f08;
}
.appcard-coral {
  background: linear-gradient(150deg, #f0875a, #e26038);
  color: #FFFFFF;
}
/* Front card lowest & largest; others peek behind */
.appcard-3 { transform: translate(0, 22%) rotate(-3deg); z-index: 3; }
.appcard-2 { transform: translate(15%, -10%) rotate(7deg); z-index: 2; }
.appcard-1 { transform: translate(-15%, -10%) rotate(-9deg); z-index: 1; }
.feature-hero-stack:hover .appcard-1 { transform: translate(-19%, -12%) rotate(-11deg); }
.feature-hero-stack:hover .appcard-2 { transform: translate(19%, -12%) rotate(9deg); }

.appcard-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: auto;
}
.appcard-mark { width: 24px; height: 24px; color: #FFFFFF; }
.appcard-gold .appcard-mark { color: #FFFFFF; }
.appcard-used {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: inherit;
}
.appcard-gold .appcard-used { background: rgba(42, 31, 8, .14); }
.appcard-chip {
  width: 30px; height: 22px; border-radius: 5px;
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.45));
  border: 1px solid rgba(255,255,255,.5);
  margin: 10px 0 12px;
}
.appcard-gold .appcard-chip {
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
  border-color: rgba(42,31,8,.2);
}
.appcard-digits {
  font-family: var(--mono); font-size: 15px; letter-spacing: 0.16em;
  color: inherit; margin-bottom: 6px;
}
.appcard-name {
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  color: inherit; opacity: .92;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px; margin: 0 auto;
}
.feature {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  transition: border-color .3s ease, transform .3s ease;
}
[data-theme="dark"] .feature { background: var(--paper-2); }
.feature:hover { border-color: var(--ink-3); transform: translateY(-3px); }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.feat-ico svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 10px; font-size: 19px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .feature-hero { grid-template-columns: 1fr; gap: 8px; }
  .feature-hero-copy { order: 1; }
  .feature-hero-stack { order: 2; min-height: 280px; margin-top: 12px; }
  .appcard { width: clamp(210px, 62vw, 270px); }
  .appcard-1 { transform: translate(-22%, -10%) rotate(-9deg); }
  .appcard-2 { transform: translate(22%, -10%) rotate(7deg); }
}

/* ───────── Deep dive ───────── */
.deepdive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dd-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px;
}
[data-theme="dark"] .dd-card { background: var(--paper-2); }
.dd-card.wide { grid-column: span 2; }
.dd-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.dd-kicker svg { width: 15px; height: 15px; color: var(--ink); }
.dd-card h3 { font-size: 21px; margin-bottom: 12px; line-height: 1.25; }
.dd-card p { font-size: 15px; margin: 0; }
.dd-card p + p { margin-top: 12px; }

/* Mini timeline: statement close vs due */
.dd-timeline {
  margin-top: 28px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.dd-timeline::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: var(--hairline);
}
.dd-mark {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
}
.dd-mark .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--paper);
}
.dd-mark.due .dot { background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.dd-mark .lab { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.dd-mark .sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-3); }

/* Sweet-spot band: grayscale scale with highlighted 1–8% zone */
.dd-band { margin-top: 26px; }
.dd-band-bar {
  height: 12px; border-radius: 999px; position: relative;
  background: var(--paper-3);
  border: 1px solid var(--hairline);
}
[data-theme="dark"] .dd-band-bar { background: var(--paper-3); }
.dd-band-window {
  position: absolute; top: -1px; bottom: -1px;
  left: 1%; width: 7%;
  border-radius: 6px;
  background: var(--ink);
}
.dd-band-flag {
  position: absolute; left: 50%; bottom: calc(100% + 9px);
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--btn-ink);
  background: var(--ink);
  padding: 3px 7px; border-radius: 999px;
  white-space: nowrap;
}
.dd-band-flag::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%);
  border: 4px solid transparent; border-top-color: var(--ink);
}
.dd-band-ticks {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.02em;
}
.dd-band-ticks .sweet { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .deepdive { grid-template-columns: 1fr; }
  .dd-card.wide { grid-column: span 1; }
}

/* ───────── Simulator ───────── */
.sim {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  max-width: 920px; margin: 0 auto;
}
[data-theme="dark"] .sim { background: var(--paper-2); }
@media (max-width: 820px) { .sim { grid-template-columns: 1fr; } }

.sim-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sim-ring-wrap { position: relative; width: min(70vw, 220px); aspect-ratio: 1; }
.sim-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.sim-ring-track { fill: none; stroke: var(--paper-3); stroke-width: 12; }
[data-theme="dark"] .sim-ring-track { stroke: var(--hairline); }
.sim-ring-fill {
  fill: none; stroke-width: 12; stroke-linecap: round;
  stroke: var(--ink);
  transition: stroke-dashoffset .55s cubic-bezier(.2,.7,.3,1);
}
.sim-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sim-ring-pct {
  font-family: var(--mono);
  font-size: clamp(36px, 6vw, 48px); font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1;
}
.sim-ring-cap {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 8px;
}
.sim-controls { display: flex; flex-direction: column; gap: 22px; }
.sim-field-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 11px;
}
.sim-field-head label { font-size: 13.5px; font-weight: 450; color: var(--ink-2); }
.sim-field-val {
  font-family: var(--mono);
  font-size: 15px; font-weight: 500; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sim-field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) var(--fill, 30%), var(--paper-3) var(--fill, 30%), var(--paper-3) 100%);
  cursor: pointer;
}
[data-theme="dark"] .sim-field input[type="range"] {
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) var(--fill, 30%), var(--hairline) var(--fill, 30%), var(--hairline) 100%);
}
.sim-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0 1px 4px rgba(10,10,10,.25);
  transition: transform .15s ease;
}
.sim-field input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); }
.sim-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0 1px 4px rgba(10,10,10,.25);
}
.sim-field input[type="range"]::-moz-range-track { background: transparent; }

.sim-result {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r);
  border: 1px solid var(--hairline);
  background: var(--paper-2);
  margin-top: 2px;
  transition: border-color .3s ease;
}
[data-theme="dark"] .sim-result { background: var(--paper-3); }
.sim-result[data-state="good"] { border-color: var(--ink); }
.sim-result-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--hairline);
  color: var(--ink);
}
.sim-result-icon svg { width: 22px; height: 22px; }
.sim-result-label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.sim-result-amount {
  font-family: var(--mono);
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1;
  margin: 3px 0;
}
.sim-result-sub { font-size: 13px; color: var(--ink-2); }
.sim-disclaimer { font-size: 12px; color: var(--ink-3); margin: 0; }

/* ───────── How it works (steps) ───────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
[data-theme="dark"] .step-card { background: var(--paper-2); }
.step-card:hover { border-color: var(--ink-3); transform: translateY(-3px); }
.step-ghost {
  position: absolute; right: 16px; top: -18px;
  font-family: var(--mono);
  font-size: 104px; font-weight: 500; line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  opacity: .05;
  pointer-events: none; user-select: none;
}
.step-badge {
  position: relative; z-index: 1;
  font-family: var(--mono);
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 10px; font-size: 19px; }
.step-card p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ───────── Pricing ───────── */
.pricing-controls {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin: 0 auto clamp(36px, 5vw, 48px);
}
.plan-toggle {
  display: none; /* desktop: both tiers side-by-side, no plan switch */
  align-items: center; gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
[data-theme="dark"] .plan-toggle { background: var(--paper-2); }
.plan-toggle button {
  border: 0; cursor: pointer;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px; font-weight: 450; letter-spacing: -0.005em;
  padding: 9px 24px; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.plan-toggle button.active { background: var(--btn); color: var(--btn-ink); }
.pricing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
[data-theme="dark"] .pricing-toggle { background: var(--paper-2); }
.pricing-toggle button {
  border: 0; cursor: pointer;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px; font-weight: 450; letter-spacing: -0.005em;
  padding: 9px 20px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s ease, background .2s ease;
}
.pricing-toggle button.active { background: var(--btn); color: var(--btn-ink); }
.pricing-toggle .save-tag {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--ink-3);
}
.pricing-toggle button.active .save-tag { border-color: color-mix(in srgb, var(--btn-ink) 40%, transparent); color: var(--btn-ink); }

.tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 760px; margin: 0 auto;
}
.tier {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 32px 30px 34px;
  transition: border-color .3s ease, transform .3s ease;
}
[data-theme="dark"] .tier { background: var(--paper-2); }
.tier:hover { border-color: var(--ink-3); transform: translateY(-3px); }
.tier.featured { border-color: var(--ink); box-shadow: var(--shadow-soft); }
.tier-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--btn-ink); white-space: nowrap;
  padding: 6px 14px; border-radius: 999px;
  background: var(--btn);
}
.tier-name {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
}
.tier-tagline { font-size: 14px; color: var(--ink-3); margin: 6px 0 20px; min-height: 20px; }
.tier-price {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.tier-price .amount {
  font-family: var(--mono);
  font-size: 46px; font-weight: 500; letter-spacing: -0.03em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1;
}
.tier-price .period { font-size: 14px; font-weight: 450; color: var(--ink-3); }
.tier-sub { font-size: 13px; color: var(--ink-3); min-height: 18px; margin-bottom: 22px; }
.tier-sub .em { color: var(--ink); font-weight: 500; }
.tier-features { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.tier-features li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14.5px; color: var(--ink-2);
}
.tier-features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--ink); }
.tier-cta { margin-top: auto; }
.tier-cta .btn { width: 100%; justify-content: center; }
.tier-foot { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 18px; }
@media (max-width: 720px) {
  .plan-toggle { display: inline-flex; }
  .tiers { grid-template-columns: 1fr; max-width: 440px; }
  .tier.plan-hidden { display: none; }
}
.pricing-note {
  text-align: center; font-size: 13px; color: var(--ink-3);
  max-width: 60ch; margin: 32px auto 0;
}

/* ───────── Privacy panel ───────── */
.privacy-panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
[data-theme="dark"] .privacy-panel { background: var(--paper-2); }
.privacy-shield {
  width: 72px; height: 72px; border-radius: 20px;
  display: grid; place-items: center;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.privacy-shield svg { width: 34px; height: 34px; }
.privacy-body .eyebrow { color: var(--ink-3); }
.privacy-body h2 { margin-bottom: 16px; }
.privacy-body > p { max-width: 60ch; margin-bottom: 24px; font-size: 16px; }
.privacy-guards { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.guard-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--hairline);
  font-size: 13px; font-weight: 450; color: var(--ink-2);
}
.guard-chip svg { width: 14px; height: 14px; color: var(--ink); }
.privacy-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 680px) {
  .privacy-panel { grid-template-columns: 1fr; gap: 24px; }
  .privacy-shield { width: 60px; height: 60px; border-radius: 16px; }
}

/* ───────── CTA card ───────── */
.cta-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.cta-card .eyebrow { color: color-mix(in srgb, var(--paper) 46%, transparent); }
.cta-card h2 { color: var(--paper); max-width: 18ch; margin: 0 auto 18px; }
.cta-card p { color: color-mix(in srgb, var(--paper) 72%, transparent); max-width: 52ch; margin: 0 auto 30px; font-size: 17px; }
.cta-card .btn-primary { background: var(--paper); color: var(--ink); }
.cta-card .btn-primary:hover { box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.cta-feather {
  width: 52px; height: 52px; margin: 0 auto 22px;
  color: var(--paper);
  opacity: .9;
}
.cta-watermark {
  position: absolute; bottom: -14%; right: -4%;
  width: clamp(220px, 30vw, 360px);
  color: var(--paper); opacity: .04;
  transform: rotate(-12deg); pointer-events: none;
}

/* ───────── FAQ ───────── */
.faq { display: grid; gap: 0; max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hairline); }
details.faq-item {
  position: relative;
  border-bottom: 1px solid var(--hairline);
}
details.faq-item > summary {
  list-style: none; cursor: pointer;
  padding: 22px 8px 22px 0;
  font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-size: 16px; letter-spacing: -0.01em;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: ""; flex-shrink: 0;
  width: 13px; height: 13px;
  background:
    linear-gradient(var(--ink), var(--ink)) center/13px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center/1.5px 13px no-repeat;
  transition: transform .25s ease, opacity .2s ease;
}
details.faq-item[open] > summary::after { transform: rotate(135deg); }
details.faq-item .answer {
  padding: 0 36px 24px 0; color: var(--ink-2); font-size: 15px; line-height: 1.6;
  max-width: 62ch;
}
details.faq-item .answer a { color: var(--ink); }

/* ───────── Footer ───────── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 64px 0 44px;
  background: var(--paper);
  position: relative; z-index: 2;
}
[data-theme="dark"] footer { background: var(--paper); }
.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .foot { grid-template-columns: 1fr 1fr; gap: 28px; } }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.foot-brand-row { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.foot-brand-row .mark { width: 20px; height: 20px; color: var(--ink); }
.foot-brand p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.55; }
.foot h4 {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3); margin: 2px 0 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot ul a { color: var(--ink-2); font-size: 14px; border-bottom: 0; }
.foot ul a:hover { color: var(--ink); opacity: 1; }
.foot-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--hairline-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--ink-3);
}

/* ───────── Legal pages ───────── */
.legal { padding: clamp(72px, 9vw, 120px) 0; position: relative; z-index: 2; }
.legal-inner { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 10px; }
.legal .updated { font-family: var(--mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.04em; margin-bottom: 56px; }
.legal section { padding: 28px 0 0; margin: 0; border-top: 1px solid var(--hairline); }
.legal section:first-of-type { border-top: 0; padding-top: 0; }
.legal section + section { margin-top: 28px; }
.legal section h2 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 12px;
}
.legal section p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.legal section p:last-child { margin-bottom: 0; }
.legal section p strong { color: var(--ink); font-weight: 600; }
.legal .back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--ink-2); border-bottom: 0;
  margin-bottom: 28px;
}
.legal .back:hover { color: var(--ink); opacity: 1; }

/* ───────── Reveal-on-scroll ───────── */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ───────── Hero load animation ───────── */
.load-fade {
  opacity: 0;
  animation: loadUp .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.load-1 { animation-delay: .05s; }
.load-2 { animation-delay: .15s; }
.load-3 { animation-delay: .25s; }
.load-4 { animation-delay: .35s; }
.load-5 { animation-delay: .30s; }
@keyframes loadUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .load-fade { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ───────── QR modal ───────── */
.qr-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.qr-modal.open { opacity: 1; pointer-events: auto; }
.qr-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.qr-sheet {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 34px 32px 30px;
  max-width: 380px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  border: 1px solid var(--hairline);
  transform: translateY(10px) scale(.98);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.qr-modal.open .qr-sheet { transform: translateY(0) scale(1); }
.qr-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 1px solid var(--hairline);
  width: 32px; height: 32px; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer;
  color: var(--ink-2);
  transition: color .15s ease, border-color .15s ease;
}
.qr-close:hover { color: var(--ink); border-color: var(--ink-3); }
.qr-close svg { width: 15px; height: 15px; }
.qr-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: 15px; overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.qr-icon img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.qr-sheet h3 { margin: 4px 0 10px; font-size: 22px; }
.qr-sub { font-size: 14px; color: var(--ink-2); margin: 0 auto 22px; max-width: 32ch; }
.qr-code {
  display: grid; place-items: center;
  padding: 16px;
  background: #FFFFFF;
  border-radius: var(--r);
  border: 1px solid var(--hairline);
  margin: 0 auto;
  width: fit-content;
}
.qr-code canvas, .qr-code img { display: block; border-radius: 4px; }
.qr-code canvas[hidden], .qr-code img[hidden] { display: none; }
.qr-store-btn {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 20px auto 0;
  padding: 13px 22px;
  background: var(--btn); color: var(--btn-ink);
  border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; border-bottom: 0;
  transition: transform .18s ease, opacity .2s ease;
}
.qr-store-btn svg { width: 18px; height: 18px; }
.qr-store-btn:hover { transform: translateY(-1px); opacity: .9; }

/* ── Real feather brand mark: CSS mask of the actual app feather, tinted by currentColor ── */
.mark,
.hero-watermark,
.cta-watermark,
.cta-feather,
.appcard-mark {
  -webkit-mask: url("assets/feather-mark.png") center / contain no-repeat;
  mask: url("assets/feather-mark.png") center / contain no-repeat;
  background-color: currentColor;
  display: inline-block;
}
/* watermarks set width only → derive height from the real feather's aspect ratio */
.hero-watermark,
.cta-watermark { height: auto; aspect-ratio: 663 / 847; }
