:root {
  --bg: #f5f1e7;
  --paper: #fbf9f3;
  --surface: #ffffff;
  --sunken: #ede8db;
  --ink: #1b2026;
  --muted: #5d6670;
  --line: #e2dccd;
  --accent: #0f5c4e;
  --accent-2: #0b4a3f;
  --accent-soft: #dcefe8;
  --gold: #b8892a;
  --gold-bright: #e8c36a;
  --gold-soft: #f7ecd2;
  --tony: #2f63c7;
  --maria: #b83a68;
  --maria-soft: #f9e1ea;
  --tony-soft: #e2eafb;
  --shadow: 0 1px 2px rgb(27 32 38 / 7%), 0 14px 40px rgb(27 32 38 / 10%);
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1418;
    --paper: #12181d;
    --surface: #19212a;
    --sunken: #141a20;
    --ink: #e9edf1;
    --muted: #9ba6b1;
    --line: #2a333d;
    --accent: #5fd3b5;
    --accent-2: #0b4a3f;
    --accent-soft: #173a33;
    --gold: #e8c36a;
    --gold-soft: #3a3016;
    --tony: #8fb2ff;
    --maria: #f39abb;
    --maria-soft: #3f1e2b;
    --tony-soft: #1d2a45;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 16px 40px rgb(0 0 0 / 40%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: hidden; }
h1, h2, h3, p, ol, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Brand mark */
.mark { width: 26px; height: 26px; border-radius: 8px; flex: none; background: #0f5c4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 44 L30 28 L38 36 L50 20' fill='none' stroke='%23e8c36a' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.mark.sm { width: 22px; height: 22px; border-radius: 7px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; font-size: 17px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 16px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 99px; }
.eyebrow.plain { background: none; padding: 0; margin-bottom: 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
h1 { font-family: var(--serif); font-weight: 650; font-size: clamp(40px, 6.2vw, 70px); line-height: 1.03; letter-spacing: -0.025em; margin: 22px 0 22px; }
h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
h2 { font-family: var(--serif); font-weight: 650; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 34em; }
.body { color: var(--muted); max-width: 34em; }
.body + .body { margin-top: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; display: block; }
.narrow { max-width: 38em; }

/* Hero */
.hero { padding: 64px 0 72px; background: radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--gold-bright) 22%, transparent), transparent 70%), radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.badge.gold { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 40%, transparent); color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }

.hero-art { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.phone { position: relative; background: var(--bg); border: 10px solid #1b2026; border-radius: 42px; padding: 16px 14px 20px; box-shadow: 0 30px 80px rgb(15 40 35 / 28%); display: grid; gap: 12px; transform: rotate(1.5deg); }
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 4px; }
.who { display: inline-flex; background: var(--sunken); border-radius: 99px; padding: 3px; font-size: 13px; font-weight: 600; color: var(--muted); }
.who > * { padding: 5px 12px; border-radius: 99px; }
.who .t { background: var(--tony); color: #fff; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card.coach { background: linear-gradient(180deg, var(--gold-soft), var(--surface) 46%); }
.k { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 8px; }
.k span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.gold-k { color: var(--gold); }
.nudge { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.nudge:first-of-type { border-top: 0; padding-top: 4px; }
.nudge b { font-size: 14px; line-height: 1.3; display: block; }
.nudge p { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; }
.ic.warn { background: var(--gold-soft); color: var(--gold); }
.ic.spark { background: var(--accent-soft); color: var(--accent); }
.ic.ok { background: var(--accent); color: #fff; }
.big { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.bar { height: 9px; background: var(--sunken); border-radius: 99px; margin: 10px 0 8px; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.fine { font-size: 12.5px; color: var(--muted); }

.float { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 10px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; max-width: 210px; animation: bob 6s ease-in-out infinite; }
.f1 { left: -64px; bottom: -30px; }
.f2 { right: -40px; top: -34px; animation-delay: -3s; }
.pill { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; }
.pill.maria { background: var(--maria-soft); color: var(--maria); }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

/* Strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 22px 16px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; }
.strip-grid b { font-family: var(--serif); font-size: 20px; font-weight: 650; }
.strip-grid span { color: var(--muted); font-size: 14.5px; }

/* Sections */
.section { padding: 96px 0; }
.section.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.ticks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230f5c4e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.ticks b { color: var(--ink); }

.stack { display: grid; gap: 16px; }
.stack .card:nth-child(2) { margin-left: 32px; }
.stack .card:nth-child(3) { margin-left: 12px; }
.nudge-card { display: flex; gap: 14px; padding: 18px 20px; }
.nudge-card b { display: block; font-size: 16px; line-height: 1.3; }
.nudge-card p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.acts { display: flex; gap: 8px; margin-top: 12px; }
.btn-s { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.btn-s.primary { background: #0f5c4e; color: #fff; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feat { padding: 22px; display: flex; flex-direction: column; }
.feat p { color: var(--muted); font-size: 15.5px; }
.mini { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 20px; display: grid; gap: 10px; min-height: 168px; align-content: center; font-size: 14px; }
.txn, .env { display: flex; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.hint { display: flex; flex-direction: column; gap: 8px; color: var(--muted); padding: 2px 2px 0; }
.hint .btn-s { align-self: flex-start; }
.env.left { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.bubble { padding: 9px 13px; border-radius: 14px; max-width: 88%; line-height: 1.35; }
.bubble.tony { background: var(--tony-soft); color: color-mix(in srgb, var(--tony) 75%, var(--ink)); border-bottom-left-radius: 4px; }
.bubble.maria { background: var(--maria-soft); color: color-mix(in srgb, var(--maria) 75%, var(--ink)); justify-self: end; border-bottom-right-radius: 4px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.g { background: var(--surface); padding: 26px 24px; }
.g p { color: var(--muted); font-size: 15.5px; }
.gi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }

/* Dark band */
.section.dark { background: #0d3f36; color: #eef3ef; }
.dark .body { color: #b9cbc4; }
.dark h2 { color: #fff; }
.gold-t { color: var(--gold-bright); }
.timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid rgb(232 195 106 / 45%); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #e8c36a; box-shadow: 0 0 0 5px #0d3f36; }
.timeline span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #e8c36a; }
.timeline b { display: block; font-size: 19px; margin: 2px 0 4px; color: #fff; }
.timeline p { color: #b9cbc4; font-size: 15.5px; }

/* Footer */
.foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { color: var(--muted); font-size: 14px; }
.private { font-size: 13.5px; color: var(--muted); text-decoration: none; border: 1px dashed var(--line); padding: 7px 12px; border-radius: 10px; }
.private span { opacity: 0.8; }
.private:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 340px; }
  .f1 { left: -10px; bottom: -64px; }
  .f2 { right: -10px; top: -30px; }
  .trio { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .stack .card:nth-child(n) { margin-left: 0; }
  .phone { transform: none; }
  .f1, .f2 { max-width: 180px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
