/* ============================================================
   Leeway — innovatism.app
   Handcrafted, dependency-free. Brand tokens mirror the app's
   Palette.swift: evergreen accent, periwinkle committed,
   blue spent, green free; identity ramp for category marks.
   ============================================================ */

:root {
  /* brand */
  --green: #1F8A5B;          /* healthyGreen light */
  --green-bright: #2BAB72;   /* freeGreen light */
  --green-soft: #4CC38A;     /* dark-mode evergreen, used on dark bands */
  --ink-green: #0C231A;      /* deep evergreen ink (hero, privacy, cta) */
  --ink-green-2: #0F2E22;
  --periwinkle: #8C94E6;     /* committed */
  --blue: #3389FF;           /* spent */
  --reserved: #9499A3;       /* reserved / set-aside (neutral slate) */
  --red: #E5484D;

  /* identity ramp (dark-tuned values for dark surfaces) */
  --id-indigo: #8B85FF;
  --id-lime: #A8D944;
  --id-coral: #FF8459;
  --id-ocean: #4DA0FF;
  --id-violet: #B889F2;

  /* surfaces */
  --paper: #F7F6F1;
  --card: #FFFFFF;
  --ink: #15211B;
  --muted: #5A6B61;
  --hairline: rgba(21, 33, 27, 0.08);

  --radius: 26px;
  --radius-sm: 14px;
  --shadow-soft: 0 1px 2px rgba(16,32,24,.05), 0 12px 32px -12px rgba(16,32,24,.14);
  --shadow-lift: 0 2px 4px rgba(16,32,24,.06), 0 24px 48px -16px rgba(16,32,24,.22);

  /* Apple devices render real SF Pro via -apple-system; everyone else gets Inter (very close). */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 650; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* the accent words inside headings — brand green, same weight (clean, not serif) */
.serif-it {
  color: var(--green);
  font-style: normal;
  font-weight: inherit;
}

/* ---------- type scale ---------- */
h1 {
  font-size: clamp(3.2rem, 7.2vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h3 { font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 650; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--green-bright); border-radius: 2px; }
.kicker-light { color: var(--green-soft); }

.section-sub {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

section { padding: 110px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn:active { transform: scale(.98); }
.btn-small { padding: 9px 20px; font-size: .92rem; }
.btn-solid { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(31,138,91,.55); }
.btn-solid:hover { background: #1B7A50; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--hairline); background: var(--card); color: var(--ink); }
.btn-outline:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.btn-ghost { color: #fff; opacity: .85; padding-left: 10px; }
.btn-ghost:hover { opacity: 1; }
.btn-ghost .arrow { transition: transform .2s; display: inline-block; }
.btn-ghost:hover .arrow { transform: translateY(3px); }

.appstore-badge { display: inline-block; border-radius: 9px; transition: transform .18s ease, box-shadow .18s ease; }
.appstore-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 32px -12px rgba(0,0,0,.5); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.nav-logo img { border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .95rem; font-weight: 550; }
.nav-links a { opacity: .75; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav .btn { margin-left: 6px; }
/* over the dark hero, nav text is light until scroll */
body:not(.nav-light) .nav:not(.scrolled) { color: #fff; }
body:not(.nav-light) .nav:not(.scrolled) .btn-solid { background: #fff; color: var(--ink-green); box-shadow: none; }

/* language switcher */
.lang { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
.lang-globe { opacity: .7; flex: none; }
.lang-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: transparent; border: 0; color: inherit; cursor: pointer;
  font-family: inherit; font-size: .9rem; font-weight: 550; letter-spacing: -.01em;
  padding: 6px 2px; border-radius: 8px; max-width: 9.5rem;
}
.lang-select:hover { opacity: .8; }
.lang-select:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }
.lang-select option { color: #15211B; background: #fff; }  /* legible in the OS-drawn list */

/* right-to-left (Arabic) */
[dir="rtl"] .hero-sub em { border-bottom: none; }
[dir="rtl"] .checklist li { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }
[dir="rtl"] .price-card li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .price-card li::before { left: auto; right: 0; }
[dir="rtl"] .kicker::before { margin-right: 0; }
[dir="rtl"] .faq summary { text-align: right; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(43,171,114,.28), transparent 60%),
    radial-gradient(900px 480px at -8% 28%, rgba(140,148,230,.20), transparent 55%),
    linear-gradient(178deg, #081A12 0%, var(--ink-green) 46%, #0E2A1F 100%);
  color: #fff;
  padding: 188px 0 130px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 380px at 64% 62%, rgba(76,195,138,.16), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, 3%, 0); } }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(900px 600px at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(900px 600px at 50% 20%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .84rem; font-weight: 600; letter-spacing: .02em;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 28px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 0 rgba(76,195,138,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(76,195,138,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,138,0); } }
.hero h1 .serif-it { color: var(--green-soft); }
.hero-sub {
  margin: 26px 0 36px;
  max-width: 520px;
  font-size: 1.22rem;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.hero-sub strong, .hero-sub em { color: #fff; font-style: normal; }
.hero-sub em { border-bottom: 2px solid var(--green-soft); padding-bottom: 1px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: .9rem; color: rgba(255,255,255,.45); }

/* ----- hero phone mock ----- */
.hero-visual { position: relative; justify-self: center; }

/* hero product film — clean screen card */
.hero-video {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 886 / 1920;
  border-radius: 40px;
  overflow: hidden;
  background: #0a0e0c;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 0 0 7px rgba(255,255,255,.04),
    0 40px 80px -24px rgba(0,0,0,.6),
    0 90px 150px -50px rgba(8,26,18,.85);
  transform: rotate(2deg);
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.phone {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 392 / 800;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(160deg, #3e453f, #171c18 30%, #2c322d 85%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 40px 80px -24px rgba(0,0,0,.65),
    0 80px 140px -40px rgba(8,26,18,.8);
  transform: rotate(2.2deg);
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 44px; overflow: hidden;
  background: #101513;
}
.shot-img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.phone:not(.mock-mode) .mock { display: none; }

.mock { position: absolute; inset: 0; padding: 64px 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.mock-head { display: flex; flex-direction: column; gap: 2px; }
.mock-date { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; }
.mock-title { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; color: #fff; }

/* hero fallback mock — matches the real Today: big balance number + segmented bar */
.mock-amount { display: flex; align-items: baseline; gap: 1px; color: var(--green-soft); font-weight: 760; font-size: 1.1rem; letter-spacing: -.02em; margin-top: 2px; }
.mock-amount b { font-size: 3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.mock-amount span { margin-left: 10px; align-self: flex-end; font-size: .72rem; font-weight: 550; color: rgba(255,255,255,.5); }
.mock-bar { display: flex; height: 13px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); margin-top: 14px; }
.mock-bar i { display: block; height: 100%; }

.mock-legend { display: flex; justify-content: flex-start; gap: 14px; font-size: .68rem; color: rgba(255,255,255,.55); font-weight: 550; margin-top: 12px; }
.mock-legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-committed { background: var(--periwinkle); }
.dot-spent { background: var(--id-ocean); }
.dot-free { background: var(--green-soft); }

.mock-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.mock-row {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 11px 13px;
}
.cat { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cat-indigo { background: var(--id-indigo); }
.cat-lime { background: var(--id-lime); }
.cat-coral { background: var(--id-coral); }
.cat-ocean { background: var(--id-ocean); }
.cat-violet { background: var(--id-violet); }
.mock-row-text { display: flex; flex-direction: column; min-width: 0; }
.mock-row-text b { font-size: .83rem; color: #fff; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row-text small { font-size: .68rem; color: rgba(255,255,255,.45); }
.chip {
  margin-left: auto; flex: none;
  font-size: .72rem; font-weight: 650;
  color: var(--green-soft);
  background: rgba(76,195,138,.13);
  border-radius: 999px; padding: 4px 10px;
  font-variant-numeric: tabular-nums;
}

/* floating cards */
.float-card {
  position: absolute;
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(16, 26, 21, .72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 14px 18px;
  color: #fff;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
  animation: floaty 7s ease-in-out infinite;
}
.float-insight { top: 45%; left: -112px; max-width: 216px; }
.float-earn { bottom: 10%; right: -74px; animation-delay: -3.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-eyebrow { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-soft); font-weight: 700; }
.float-card b { font-size: .88rem; font-weight: 640; line-height: 1.35; }
.float-action { font-size: .78rem; color: rgba(255,255,255,.6); }
.float-earn b { font-size: 1.3rem; letter-spacing: -.02em; color: var(--green-soft); }
.float-earn span:last-child { font-size: .74rem; color: rgba(255,255,255,.55); }
.earn-badge {
  align-self: flex-start; font-size: .6rem; font-weight: 800; letter-spacing: .14em;
  color: #06140D; background: var(--green-soft); border-radius: 6px; padding: 2px 7px;
}

/* ---------- model ---------- */
.model { padding-top: 130px; }
.model h2, .model .section-sub { max-width: 700px; }
.model-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 64px;
}
.model-step {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}
.step-num {
  display: inline-block;
  font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  font-size: 1.5rem; color: var(--green-bright);
  margin-bottom: 14px;
}
.model-step h3 { margin-bottom: 10px; }
.model-step p { color: var(--muted); font-size: .98rem; }

.verbs { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.verb {
  flex: 1 1 220px;
  display: flex; flex-direction: column; gap: 3px;
  font-weight: 800; letter-spacing: .14em; font-size: .82rem;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #fff;
}
.verb small { font-weight: 500; letter-spacing: 0; font-size: .85rem; opacity: .92; }
.verb-spend { background: linear-gradient(135deg, #0A6CF0, #3389FF); }
.verb-save  { background: linear-gradient(135deg, #0F968A, #2FD0BE); }
.verb-earn  { background: linear-gradient(135deg, #1F8A5B, #2BAB72); }

/* ---------- promise ---------- */
.promise { background: linear-gradient(180deg, var(--paper), #EFF3EC 60%, var(--paper)); }
.promise-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.promise-copy p { color: var(--muted); font-size: 1.1rem; margin-top: 18px; max-width: 480px; }
.promise-copy em { color: var(--ink); font-style: normal; border-bottom: 2px solid var(--green-bright); }
.checklist { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; color: var(--ink); }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(43,171,114,.14); color: var(--green);
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.add-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 30px;
  max-width: 440px;
  justify-self: center;
  width: 100%;
  transform: rotate(-1.2deg);
}
.add-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; letter-spacing: -.01em; }
.add-field {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--ink); font-size: .98rem;
  background: #FBFBF8;
}
.add-duration-row { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; }
.add-dur-label { color: var(--muted); font-size: .92rem; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.stepper u { width: 30px; height: 30px; border-radius: 50%; background: #F0F1EC; color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; }
.stepper b { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 38px; text-align: center; }
.add-readout {
  background: rgba(43,171,114,.1); color: var(--green);
  border-radius: 12px; padding: 11px 14px;
  font-size: .92rem; font-weight: 650; text-align: center;
  font-variant-numeric: tabular-nums;
  animation: readoutPulse 2.4s ease-in-out infinite;
}
@keyframes readoutPulse { 50% { background: rgba(43,171,114,.18); } }
.add-when { display: flex; gap: 6px; background: #F0F1EC; border-radius: 12px; padding: 4px; margin: 16px 0 14px; }
.seg { flex: 1; text-align: center; font-size: .85rem; font-weight: 600; color: var(--muted); padding: 7px 0; border-radius: 9px; }
.seg-on { background: var(--green); color: #fff; box-shadow: 0 4px 10px -4px rgba(31,138,91,.6); }
.add-days { display: flex; gap: 8px; }
.day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 0; border-radius: 12px; border: 1.5px solid var(--hairline); }
.day b { font-size: 1rem; font-weight: 700; }
.day small { font-size: .64rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.day-on { border-color: var(--green); background: rgba(43,171,114,.08); }
.day-on b, .day-on small { color: var(--green); }

/* ---------- features bento ---------- */
.features h2 { max-width: 700px; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card-wide { grid-column: span 2; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card p b { color: var(--ink); }
.card-art { margin-top: auto; padding-top: 26px; }

/* week columns art */
.week-art { display: flex; gap: 12px; align-items: flex-end; height: 130px; }
.wk { flex: 1; display: flex; flex-direction: column; gap: 7px; align-items: center; height: 100%; justify-content: flex-end; }
/* committed (periwinkle) → spent (blue) → reserved (gray) → free (green) → empty track */
.wk i {
  width: 100%; flex: 1; border-radius: 9px;
  background: linear-gradient(
    to top,
    var(--periwinkle) 0 var(--c),
    var(--blue) var(--c) calc(var(--c) + var(--s)),
    var(--reserved) calc(var(--c) + var(--s)) calc(var(--c) + var(--s) + var(--r)),
    var(--green-bright) calc(var(--c) + var(--s) + var(--r)) calc(var(--c) + var(--s) + var(--r) + var(--f)),
    #EEF0EA calc(var(--c) + var(--s) + var(--r) + var(--f)) 100%
  );
}
.wk.over i { box-shadow: inset 0 6px 0 0 var(--red); }
.wk b { font-size: .68rem; color: var(--muted); font-weight: 600; }

/* goals art — a floor (≥) and a cap (≤), the way the app frames them */
.goal-art { display: flex; flex-direction: column; gap: 12px; }
.goal-bar { position: relative; display: flex; align-items: center; gap: 10px; }
.goal-bar > b { font-size: .82rem; color: var(--ink); font-weight: 600; white-space: nowrap; }
.goal-bar span { flex: 1; height: 8px; border-radius: 999px; background: #EEF0EA; position: relative; overflow: hidden; }
.goal-bar span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, var(--green), var(--green-bright)); border-radius: 999px; }
.goal-bar.cap span::after { background: linear-gradient(90deg, #BD7E00, #F0B43C); }
.goal-bar em { font-style: normal; font-size: .76rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.goal-bar em.met { color: var(--green); }

/* capture art — voice transcript with parsed entities */
.voice-art { display: flex; flex-direction: column; gap: 14px; }
.voice-line { font-size: .98rem; line-height: 1.6; color: var(--ink); }
.ve { border-radius: 6px; padding: 1px 5px; font-weight: 600; }
.ve-cat { background: rgba(140,148,230,.2); color: #4F46E5; }
.ve-dur { background: rgba(43,171,114,.16); color: var(--green); }
.ve-date { background: rgba(51,137,255,.16); color: #0A6CF0; }
.voice-parsed { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { font-size: .8rem; font-weight: 650; border-radius: 999px; padding: 6px 12px; }
.vchip-cat { background: rgba(140,148,230,.16); color: #4F46E5; }
.vchip-dur { background: rgba(43,171,114,.14); color: var(--green); }
.vchip-date { background: rgba(51,137,255,.14); color: #0A6CF0; }

/* focus art — a Lock Screen Live Activity */
.focus-art .lock {
  background: linear-gradient(160deg, #1a2620, #0B0F0D);
  border-radius: 20px; padding: 16px 16px 16px;
  box-shadow: 0 14px 28px -12px rgba(0,0,0,.5);
}
.lock-time { display: block; text-align: center; color: #fff; font-size: 1.9rem; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.la { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.1); border-radius: 14px; padding: 11px 13px; }
.la .cat { width: 22px; height: 22px; border-radius: 7px; }
.la-text { display: flex; flex-direction: column; min-width: 0; }
.la-text b { font-size: .82rem; color: #fff; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-text small { font-size: .68rem; color: var(--green-soft); }
.la-time { margin-left: auto; color: #fff; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* trends art — time earned & lost trio */
.earned-art { display: flex; gap: 10px; }
.el { flex: 1; display: flex; flex-direction: column; gap: 3px; background: #F4F5F1; border-radius: 14px; padding: 14px 12px; }
.el span { font-size: .72rem; color: var(--muted); font-weight: 600; }
.el b { font-size: 1.05rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.el .neg, .el .warn { color: #D9822B; }
.el .pos { color: var(--green); }

/* projects art */
.proj-art { display: flex; flex-direction: column; gap: 12px; }
.proj { display: flex; align-items: center; gap: 11px; font-size: .9rem; }
.proj b { font-weight: 620; flex: none; }
.proj-meter { flex: 1; height: 8px; border-radius: 999px; background: #EEF0EA; overflow: hidden; }
.proj-meter u { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--green), var(--green-bright)); border-radius: 999px; }
.proj small { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- screenshots rail ---------- */
.shots { padding-bottom: 70px; }
.shots-rail {
  display: flex; gap: 30px;
  padding: 56px max(28px, calc((100vw - 1180px) / 2 + 28px)) 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(21,33,27,.2) transparent;
}
.shot { flex: none; width: 252px; scroll-snap-align: center; }
/* Custom modern card — not a fake phone. Screenshots are pre-cropped of the OS
   status bar, so there's no Dynamic Island to clash with the frame. */
.shot-frame {
  position: relative;
  aspect-ratio: 1320 / 2703;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(16,32,24,.07),
    0 2px 6px rgba(16,32,24,.05),
    0 30px 60px -22px rgba(16,32,24,.30);
}
.shot-frame img, .shot-frame video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-ph { display: none; }
.shot-frame.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, #131A16, #0D1410);
}
.shot-frame.placeholder .shot-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  position: absolute; inset: 0;
  color: rgba(255,255,255,.45);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-align: center; line-height: 1.7;
}
.shot-frame.placeholder::after {
  content: ""; position: absolute; inset: 14px;
  border: 1.5px dashed rgba(255,255,255,.18); border-radius: 28px;
}
.play {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  position: relative;
}
.play::after {
  content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%,-50%);
  border-left: 14px solid rgba(255,255,255,.7);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.shot figcaption { margin-top: 20px; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.shot figcaption b { font-size: .98rem; letter-spacing: -.01em; }
.shot figcaption span { font-size: .86rem; color: var(--muted); }

/* ---------- platforms ---------- */
.platforms { padding-top: 70px; }
.plat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 56px;
}
.plat {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 24px 26px;
  box-shadow: var(--shadow-soft);
}
.plat-icon { font-size: 1.5rem; margin-bottom: 10px; color: var(--green); }
.plat b { font-size: 1.02rem; }
.plat span:last-child { color: var(--muted); font-size: .88rem; }

/* ---------- privacy band ---------- */
.privacy {
  position: relative; overflow: clip;
  background:
    radial-gradient(900px 460px at 85% 0%, rgba(76,195,138,.16), transparent 60%),
    linear-gradient(180deg, #081A12, var(--ink-green-2));
  color: #fff;
}
.privacy-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 10% 100%, rgba(140,148,230,.13), transparent 65%);
}
.privacy-inner { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 64px; align-items: center; }
.privacy h2 .serif-it { color: var(--green-soft); }
.privacy-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.privacy-points li {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  color: rgba(255,255,255,.66);
  font-size: .95rem;
}
.privacy-points b { color: #fff; font-size: 1.02rem; }
.privacy-link { display: inline-block; margin-top: 30px; color: var(--green-soft); font-weight: 650; }
.privacy-link:hover { text-decoration: underline; }

/* ---------- pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 64px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(170deg, #0E2A1F, var(--ink-green));
  color: #fff; border-color: transparent;
  box-shadow: 0 32px 64px -20px rgba(12,35,26,.55);
  transform: scale(1.04);
  z-index: 1;
}
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--green-bright); color: #06140D;
  font-size: .74rem; font-weight: 750; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px -6px rgba(43,171,114,.7);
}
.early-bird {
  position: absolute; top: 26px; right: 26px;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em;
  color: #7A4F00; background: linear-gradient(135deg, #FFD978, #F0B43C);
  padding: 4px 9px; border-radius: 7px;
}
.price-card h3 { font-size: 1.05rem; opacity: .8; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 4px; }
.price .amount { font-size: 2.7rem; font-weight: 760; letter-spacing: -.04em; }
.price .per { color: inherit; opacity: .55; font-weight: 550; }
.price-note { font-size: .85rem; opacity: .65; margin-bottom: 6px; }
.price-card ul { list-style: none; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { padding-left: 26px; position: relative; font-size: .94rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green-bright); font-weight: 800; }
.price-card.featured li::before { color: var(--green-soft); }
.price-card .btn { justify-content: center; }
.price-card.featured .btn-solid { background: #fff; color: var(--ink-green); box-shadow: none; }
.price-card.featured .btn-solid:hover { background: #E9F5EE; }
.price-fine { margin-top: 40px; text-align: center; color: var(--muted); font-size: .85rem; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- faq ---------- */
.faq-inner { max-width: 760px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 0 26px;
  margin-top: 14px;
  box-shadow: var(--shadow-soft);
}
.faq details:first-of-type { margin-top: 48px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  font-weight: 650; font-size: 1.05rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43,171,114,.12); color: var(--green);
  font-size: 1.1rem; font-weight: 500;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; font-size: .98rem; }

/* ---------- final cta ---------- */
.cta {
  position: relative; overflow: clip; text-align: center;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(43,171,114,.3), transparent 60%),
    linear-gradient(180deg, #081A12, var(--ink-green) 70%);
  color: #fff;
  padding: 130px 0;
}
.cta-glow { position: absolute; inset: 0; background: radial-gradient(560px 320px at 50% 100%, rgba(140,148,230,.14), transparent 65%); pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-icon { border-radius: 22px; box-shadow: 0 20px 44px -14px rgba(0,0,0,.6); margin-bottom: 22px; }
.cta h2 .serif-it { color: var(--green-soft); }
.cta p { color: rgba(255,255,255,.65); font-size: 1.15rem; }
.cta .appstore-badge { margin-top: 30px; }
.cta-note { margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.4) !important; }

/* ---------- footer ---------- */
.footer { background: #06140D; color: rgba(255,255,255,.62); padding: 56px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .nav-logo { color: #fff; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.5); }
.footer-links { display: flex; gap: 28px; margin-left: auto; font-size: .92rem; font-weight: 550; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; font-size: .78rem; color: rgba(255,255,255,.34); margin-top: 10px; }

/* ---------- legal pages (privacy / terms) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 150px 28px 90px; }
.legal-kicker { font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: 10px 0 6px; }
.legal .legal-date { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.legal .legal-note { color: var(--muted); font-size: .85rem; font-style: italic; margin: 0 0 18px; padding: 9px 14px; background: rgba(43,171,114,.07); border-radius: 10px; }
.legal .legal-note:empty { display: none; }
.legal-summary {
  background: rgba(43,171,114,.09);
  border: 1px solid rgba(43,171,114,.25);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 26px 0 10px;
  font-size: .98rem;
}
.legal h2 { font-size: 1.45rem; margin: 44px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #3D4A42; font-size: 1rem; }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--green); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal .footer-back { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: .92rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
}
.delay-1.in { transition-delay: .12s; }
.delay-2.in { transition-delay: .24s; }
.delay-3.in { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-glow, .float-card, .eyebrow-dot, .bp-new, .focus-art .island i { animation: none; }
  .ring-seg { animation-duration: .01s; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .float-insight { left: -40px; }
  .float-earn { right: -20px; }
}
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .hero { padding: 150px 0 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 80px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 560px; }
  .hero-cta { justify-content: center; }
  .float-insight { left: -8px; top: 6%; }
  .float-earn { right: -8px; }
  .model-steps, .bento, .price-grid, .plat-grid { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }
  .promise-inner, .privacy-inner { grid-template-columns: 1fr; gap: 48px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .lang-select { max-width: 7rem; }
  .nav-inner { padding: 12px 20px; }
  .container { padding: 0 20px; }
  h1 { font-size: clamp(2.7rem, 12vw, 3.4rem); }
  .model-steps, .bento, .price-grid, .plat-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .week-art { gap: 7px; }
  .float-insight { display: none; }
  .float-earn { right: -6px; bottom: -16px; padding: 11px 15px; }
  .shots-rail { gap: 20px; padding-left: 20px; padding-right: 20px; }
  .shot { width: 218px; }
  .footer-links { margin-left: 0; }
}
