/* GENERATED by app/_build/build_site.py — tokens from styles.css + _build/site-src.css */
:root {
  /* color — neutrals (warm paper) */
  --paper: #F7F5F0;
  --paper-2: #F1EEE6;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #12201D;
  --ink-2: #33423E;
  --muted: #5B6A66;          /* 5.6:1 on white */
  --faint: #8A9592;
  --line: #E7E3D9;
  --line-2: #D8D3C6;

  /* brand */
  --brand-900: #062E28;
  --brand-800: #0A3F37;
  --brand-700: #0B4F44;      /* primary */
  --brand-600: #116152;
  --brand-500: #1A7A68;
  --brand-100: #D5EAE3;
  --brand-50: #EBF5F1;
  --gold-500: #E5A93B;
  --gold-400: #F2B544;
  --gold-100: #FBEFD4;
  --gold-50: #FDF7E9;

  /* semantic */
  --good: #137A4C;  --good-50: #E8F5EE; --good-100: #CBE9D8;
  --bad: #B23A26;   --bad-50: #FCEDE9;  --bad-100: #F4D2C9;
  --warn: #8A5A00;  --warn-50: #FEF5DF; --warn-100: #F6E1AE;
  --info: #24589F;  --info-50: #EBF1FA; --info-100: #CCDCF1;
  --violet: #5B44A8; --violet-50: #F0ECFA;

  --chart-line: var(--brand-600);

  /* type */
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --fs-xs: 0.75rem;   /* 12 */
  --fs-sm: 0.8125rem; /* 13 */
  --fs-base: 0.9375rem;/* 15 */
  --fs-md: 1rem;      /* 16 */
  --fs-lg: 1.125rem;  /* 18 */
  --fs-xl: 1.375rem;  /* 22 */
  --fs-2xl: 1.75rem;  /* 28 */
  --fs-3xl: 2.25rem;  /* 36 */
  --fs-4xl: 3rem;     /* 48 */
  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.55;

  /* space (4px grid) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  /* radius */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;

  /* shadow */
  --sh-1: 0 1px 2px rgba(18, 32, 29, .06);
  --sh-2: 0 1px 2px rgba(18, 32, 29, .05), 0 4px 12px -2px rgba(18, 32, 29, .07);
  --sh-3: 0 2px 4px rgba(18, 32, 29, .04), 0 12px 32px -8px rgba(18, 32, 29, .16);
  --sh-focus: 0 0 0 3px rgba(26, 122, 104, .28);
  --ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-500);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --t-fast: 120ms; --t: 200ms; --t-slow: 420ms;

  --topbar-h: 64px;
  --rail-w: 264px;
  --aside-w: 340px;
}
/* YearlyRaise marketing pages. Tokens (:root) are copied from ../styles.css at build time — edit them there. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand-700); text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.center .lede { margin-left: auto; margin-right: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font: 600 15px/1 var(--font-ui); text-decoration: none; white-space: nowrap; transition: transform var(--t-fast) var(--ease), background var(--t), box-shadow var(--t), border-color var(--t); cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 79, 68, .55); }
.btn-primary:hover { background: var(--brand-800); }
.btn-secondary { background: var(--surface); color: var(--brand-700); border-color: var(--line-2); box-shadow: var(--sh-1); }
.btn-secondary:hover { border-color: var(--brand-500); background: var(--brand-50); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* top bar */
.site-top { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 240, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark rect { fill: var(--brand-700); } .brand-mark path { fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; } .brand-mark circle { fill: var(--gold-400); }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--brand-800); } .brand-word span { color: var(--gold-500); }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top-nav a:hover { color: var(--brand-700); }

/* hero */
.hero { padding: 64px 0 72px; background: radial-gradient(90% 80% at 85% 10%, var(--brand-50), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow-l { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 14px 0 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.center-row { justify-content: center; }
.trust-inline { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.trust-inline li::before { content: "✓"; color: var(--good); font-weight: 700; margin-right: 6px; }

/* product visual */
.hero-visual { margin: 0; }
.hv-window { background: var(--surface); border-radius: 20px; box-shadow: var(--sh-3), 0 0 0 1px var(--line); overflow: hidden; transform: rotate(-.6deg); }
.hv-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.hv-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.hv-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.hv-body { padding: 18px; display: grid; gap: 14px; }
.hv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hv-card { border-radius: 12px; padding: 12px; }
.hv-card small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.hv-card b { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.hv-card.then { background: var(--brand-50); color: var(--brand-800); }
.hv-card.now { background: var(--bad-50); color: var(--bad); }
.hv-card.after { background: var(--brand-700); color: #fff; }
.hv-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.hv-table th, .hv-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.hv-table thead th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hv-table tbody th { font-weight: 600; }
.hv-table td:nth-child(4) { color: var(--muted); font-size: 12px; }
.hv-letter { background: #FFFDF8; border: 1px solid #EEE7D6; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); }
.hv-letter small { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hv-letter p { margin: 4px 0 0; }
.hero-visual figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }

/* sections */
main > section { padding: 72px 0; }
main > section:nth-of-type(even) { background: var(--surface-2); }
main > section h2 { margin-bottom: 28px; text-align: center; }
.steps3 { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 li, .feat, .sample-card, .price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--sh-1); }
.steps3 .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-700); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps3 h3, .feat h3 { margin-bottom: 8px; }
.steps3 p, .feat p { color: var(--ink-2); margin: 0; font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.file-badges { list-style: none; padding: 0; margin: 18px auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.file-badges li { padding: 10px 18px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.trade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trade-tile { display: grid; gap: 4px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--sh-1); transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.trade-tile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--brand-100); }
.trade-tile b::after { content: " →"; color: var(--brand-600); }
.trade-tile span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sample-card h3 { margin-bottom: 14px; }
table.mini { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
table.mini th, table.mini td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: right; }
table.mini th:first-child { text-align: left; font-weight: 500; }
table.mini thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.mini tfoot th, table.mini tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; }
.letter-sample { background: #FFFDF8; border: 1px solid #EEE7D6; border-radius: 12px; padding: 20px 22px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.letter-sample p:last-child { margin: 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.price-card { display: grid; gap: 14px; align-content: start; }
.price-card.featured { border: 2px solid var(--brand-600); box-shadow: var(--sh-3); }
.price b { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--brand-800); letter-spacing: -.02em; }
.price { margin: 0; } .price span { color: var(--muted); }
.ticks-l { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks-l li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 16px; }
.ticks-l li::before { content: "✓"; position: absolute; left: 2px; color: var(--good); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand-600); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h3 { font-size: 17px; }
.faq-a { padding: 0 20px 6px; color: var(--ink-2); }
.s-final { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)) !important; color: #fff; }
.s-final h2, .s-final .lede { color: #fff; }
.s-final .btn-primary { background: var(--gold-400); color: var(--brand-900); }

/* article pages */
.page-hero { padding: 48px 0 24px !important; background: radial-gradient(80% 100% at 90% 0%, var(--brand-50), transparent 70%) !important; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.1; margin: 12px 0 14px; }
.crumbs { font-size: 14px; color: var(--muted); } .crumbs a { color: var(--muted); }
.prose { padding-bottom: 56px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin: 40px 0 12px; text-align: left; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.formula { font-family: var(--font-display); font-size: 1.2rem; background: var(--surface); border-left: 4px solid var(--brand-600); padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink) !important; }
.cta-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; margin: 48px 0 8px; padding: 28px; border-radius: 20px; background: var(--brand-800); color: #fff; }
.cta-box h2 { color: #fff; margin: 0 0 8px !important; font-size: 1.5rem !important; }
.cta-box p { color: rgba(255,255,255,.8); margin: 0; }
.cta-actions { display: grid; gap: 8px; justify-items: start; }
.cta-actions .btn-primary { background: var(--gold-400); color: var(--brand-900); }
.cta-actions .fine { color: rgba(255,255,255,.7); }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-block; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 15px; }
.s-faq { background: var(--surface-2) !important; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; margin: 8px 0 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-2); overflow: hidden; }
.calc-form { padding: 24px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cf em { font-style: normal; font-weight: 500; color: var(--faint); }
.cf input, .cf select { font: 500 16px var(--font-ui); padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); color: var(--ink); width: 100%; }
.cf input:focus, .cf select:focus { outline: none; border-color: var(--brand-500); box-shadow: var(--sh-focus); }
.calc-out { padding: 24px; background: var(--brand-800); color: #fff; display: grid; gap: 14px; align-content: start; }
.co-big small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.co-big b { font-family: var(--font-display); font-size: 52px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.co-rows { margin: 0; display: grid; gap: 8px; }
.co-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 8px; }
.co-rows dt { opacity: .75; } .co-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-out .btn-primary { background: var(--gold-400); color: var(--brand-900); margin-top: 6px; }
.calc noscript { grid-column: 1 / -1; padding: 0 24px 16px; }

/* footer */
.site-foot { background: var(--brand-900); color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h2 { color: #fff; font-family: var(--font-ui); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; text-align: left; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.site-foot a { color: rgba(255,255,255,.85); }
.site-foot .brand-word { color: #fff; }
.foot-brand p { margin: 12px 0 16px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-legal p { margin: 0; max-width: 70ch; }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .top-nav { display: none; }
  .top-in .btn { margin-left: auto; }
}
@media (max-width: 720px) {
  body.site { font-size: 16px; }
  .wrap { padding: 0 16px; }
  main > section { padding: 52px 0; }
  .hero { padding: 36px 0 48px; }
  .steps3, .grid3, .sample-grid, .price-grid, .calc, .calc-grid, .cta-box { grid-template-columns: 1fr; }
  .hv-window { transform: none; }
  .hv-card b { font-size: 22px; }
  .hv-table td:nth-child(4), .hv-table th:nth-child(4) { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .trade-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .top-in { height: 58px; gap: 12px; }
  .brand-word { font-size: 19px; }
  .co-big b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* yearly habit */
.habit-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.s-habit h2 { text-align: left !important; }
.habit-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.habit-tl li { display: grid; gap: 2px; padding: 0 0 22px 34px; position: relative; }
.habit-tl li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-700); box-shadow: 0 0 0 4px var(--brand-50); }
.habit-tl li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 22px; bottom: 0; width: 2px; background: var(--brand-100); }
.habit-tl li:nth-child(3)::before { background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-100); }
.habit-tl b { font-family: var(--font-display); font-size: 1.15rem; }
.habit-tl span { color: var(--ink-2); }
.price-sub { margin: -6px 0 0; color: var(--ink-2); font-weight: 600; }
.foot-legal a { color: rgba(255,255,255,.85); }
@media (max-width: 980px) { .habit-in { grid-template-columns: 1fr; gap: 28px; } }

/* sign-in link: visible at every width (mobile nav has no menu) */
.top-signin { font-size: 15px; font-weight: 600; color: var(--brand-700); text-decoration: none; padding: 8px 4px; white-space: nowrap; }
.top-signin:hover { text-decoration: underline; }
@media (max-width: 980px) { .top-signin { margin-left: auto; } .top-in .btn { margin-left: 0; } }
@media (max-width: 420px) { .top-in .btn-sm { padding: 0 12px; font-size: 13px; } .top-signin { font-size: 14px; } }

.brand, .brand-mark { flex: none; }
@media (max-width: 420px) { .brand-word { font-size: 18px; } .top-in { gap: 10px; } }
@media (max-width: 390px) { .top-in .btn-sm { display: none; } .top-signin { margin-left: auto; } }
