/* ============================================================================
   Taylor. Standalone stylesheet, no shared design system.
   Cool paper, one blue, Bricolage Grotesque for headlines, Geist for everything
   else, Geist Mono for money and counts.
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@500;600&display=swap');

:root {
  /* palette */
  --white: #FFFFFF;
  --paper-100: #F5F6F9;
  --paper-200: #EEF0F5;
  --zinc-100: #EEF0F5;
  --zinc-150: #E4E7EE;
  --zinc-200: #DCE0E9;
  --zinc-300: #C9CEDB;
  --zinc-400: #A3A9BA;
  --zinc-500: #7A8094;
  --zinc-600: #4E5468;
  --zinc-700: #363B4E;
  --zinc-800: #22263A;
  --zinc-900: #171A2B;
  --zinc-950: #0F1222;
  --stone-600: #4E5468;

  --blue: #2D4BFF;
  --blue-hover: #1F3AE6;
  --blue-deep: #1730C4;
  --blue-soft: #E9EDFF;
  --blue-soft-fg: #1E36C2;

  /* semantic */
  --bg-app: var(--paper-100);
  --bg-surface: var(--white);
  --bg-raised: var(--paper-200);
  --bg-muted: var(--zinc-100);
  --bg-hover: rgba(15,18,34,0.04);
  --bg-active: rgba(15,18,34,0.06);
  --fg: var(--zinc-950);
  --fg-secondary: var(--zinc-600);
  --fg-muted: var(--zinc-500);
  --fg-on-dark: var(--white);
  --fg-on-accent: var(--white);
  --border: var(--zinc-200);
  --border-strong: var(--zinc-300);
  --border-frame: var(--zinc-150);
  --accent: var(--blue);
  --accent-hover: var(--blue-hover);
  --solid: var(--zinc-900);
  --talin-green: var(--blue);            /* legacy names some inline styles still use */
  --talin-green-hover: var(--blue-hover);
  --talin-green-dark: var(--blue-deep);

  --green-subtle-bg: var(--blue-soft);   /* "signed off" style pills */
  --green-subtle-fg: var(--blue-soft-fg);
  --amber-subtle-bg: #FFF3D6;
  --amber-subtle-fg: #8A5A00;
  --blue-subtle-bg: var(--blue-soft);
  --blue-subtle-fg: var(--blue-soft-fg);
  --red-subtle-bg: #FDE8E8;
  --red-subtle-fg: #A32020;
  --viz-blue: var(--blue);
  --viz-indigo: #5B4BFF;
  --viz-orange: #F08A24;

  --radius-xs: 5px;
  --radius-sm: 7px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --shadow-xs: 0 0 1px 0 rgba(15,18,34,0.28);
  --shadow-sm: 0 2px 4px 0 rgba(15,18,34,0.08), 0 0 1px 0 rgba(15,18,34,0.28);
  --shadow-md: 0 4px 10px 0 rgba(15,18,34,0.09), 0 0 1px 0 rgba(15,18,34,0.28);
  --shadow-lg: 0 8px 18px 0 rgba(15,18,34,0.10), 0 0 1px 0 rgba(15,18,34,0.28);
  --shadow-green: inset 0 0 1px 1px rgba(255,255,255,0.18), 0 1px 2px rgba(23,48,196,0.35);
  --lift-sm: 0 1px 2px rgba(15,18,34,.05), 0 4px 12px -6px rgba(15,18,34,.10);
  --lift-md: 0 1px 2px rgba(15,18,34,.04), 0 10px 24px -10px rgba(15,18,34,.14);
  --lift-lg: 0 1px 1px rgba(15,18,34,.04), 0 12px 28px -12px rgba(15,18,34,.16), 0 40px 72px -32px rgba(15,18,34,.20);
  --hair: 1px solid var(--border-frame);

  /* type */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Geist', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: var(--font-display);       /* legacy hook */
  --text-2xl: 24px; --text-xl: 20px; --text-lg: 18px; --text-md: 16px;
  --text-sm: 14px; --text-xs: 12px; --text-2xs: 10px;
  --weight-regular: 400; --weight-medium: 500; --weight-semibold: 600; --weight-bold: 700;
  --leading-tight: 1.2; --leading-snug: 1.4; --leading-body: 1.5;

  --maxw: 1200px;
  --gut: 32px;
  --display: clamp(44px, 6.4vw, 82px);
  --h2: clamp(31px, 3.7vw, 47px);
  --lead: clamp(17px, 1.35vw, 20px);
}

html, body { overflow-x: clip; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-app); color: var(--fg);
  font-family: var(--font-sans); -webkit-font-smoothing: antialiased;
  font-weight: var(--weight-medium);
  background-image:
    radial-gradient(110% 70% at 85% -10%, rgba(45,75,255,0.06), transparent 60%),
    radial-gradient(80% 50% at -10% 0%, rgba(15,18,34,0.03), transparent 55%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(45,75,255,.20); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
section { padding: 112px 0; position: relative; }
.section-tight { padding: 76px 0; }

/* ---- headings: Bricolage for the big words, blue for the one that matters ---- */
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
.display, .h2, h1, h2 { font-family: var(--font-display); font-variation-settings: "opsz" 96; }
h3 { font-family: var(--font-sans); }
.ink { font-style: normal; color: var(--accent); font-family: inherit; font-weight: inherit; }
.display { font-weight: 800; font-size: var(--display); line-height: 0.96; letter-spacing: -0.035em; }
.h2 { font-weight: 700; font-size: var(--h2); line-height: 1.04; letter-spacing: -0.03em; }
.lead { font-size: var(--lead); line-height: 1.55; color: var(--fg-secondary); font-weight: var(--weight-regular); text-wrap: pretty; }

/* eyebrow: mono, no ornament */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 1px; }

/* ---- the signature: a blue strike drawn through the fee ---- */
.strike { position: relative; display: inline-block; white-space: nowrap; }
.strike::after {
  content: ""; position: absolute; left: -0.04em; right: -0.04em; top: 52%; height: 0.075em;
  background: var(--accent); border-radius: 2px; transform: scaleX(1) rotate(-2.5deg); transform-origin: 0 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .strike::after { animation: strikeDraw 1.5s cubic-bezier(.6,0,.25,1); }
  @keyframes strikeDraw { 0%, 63% { transform: scaleX(0) rotate(-2.5deg); } 100% { transform: scaleX(1) rotate(-2.5deg); } }
}

/* ---- buttons: squared, weighty ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 10px;
  font: var(--weight-semibold) 15px/1 var(--font-sans); cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, transform .14s ease, box-shadow .16s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; transition: transform .18s ease; }
.btn .ph { font-size: 17px; line-height: 0; transition: transform .18s ease; }
.btn-green { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 1px 2px rgba(23,48,196,.35); }
.btn-green:hover { background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -8px rgba(45,75,255,.55); }
.btn-green:hover svg, .btn-green:hover .ph { transform: translateX(2px); }
.btn-dark { background: var(--solid); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,.7); color: var(--fg); border-color: var(--border); backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; border-color: var(--border-strong); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--bg-muted); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 12px; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245,246,249,0.78);
  backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease; }
.nav.scrolled { border-bottom-color: var(--border-frame); background: rgba(255,255,255,0.86); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav-links a { position: relative; font: var(--weight-medium) 14.5px/1 var(--font-sans); color: var(--fg-secondary); padding: 4px 0; }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background: var(--accent); transition: right .22s ease; }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 9px; }
.wordmark .mark { width: 26px; height: 26px; flex: 0 0 auto; }
.wordmark .name { font: 700 20px/1 var(--font-display); letter-spacing: -0.035em; color: var(--fg); font-variation-settings: "opsz" 96; }
.wordmark.sm .mark { width: 21px; height: 21px; }
.wordmark.sm .name { font-size: 17px; }

/* ---- hero ---- */
.hero { padding: 100px 0 92px; overflow: visible; }
.hero h1 { margin-bottom: 4px; }
.hero .display { font-size: clamp(46px, 7vw, 90px); line-height: 0.94; letter-spacing: -0.04em; }
.hero .lead { margin: 28px 0 34px; font-size: clamp(18px, 1.5vw, 21px); }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font: var(--weight-regular) 13px/1.5 var(--font-sans); color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 9px; }
.hero-note::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(45,75,255,.16); }
@media (prefers-reduced-motion: no-preference) {
  .hero [data-rise] { animation: heroRise .7s cubic-bezier(.22,.61,.36,1); }
  .hero [data-rise="1"] { animation-delay: .05s; }
  .hero [data-rise="2"] { animation-delay: .13s; }
  .hero [data-rise="3"] { animation-delay: .21s; }
  .hero [data-rise="4"] { animation-delay: .29s; }
  @keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}

/* ---- stats strip ---- */
.stat-row { display: grid; grid-template-columns: 0.8fr 1.55fr; gap: 56px; align-items: center; }
.stat-head .eyebrow { margin-bottom: 14px; }
.stat-head .h2 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.12; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 6px 24px; position: relative; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: var(--hair); }
.stat .num { font: 800 clamp(36px,3.4vw,48px)/1 var(--font-display); letter-spacing: -0.045em; color: var(--fg);
  font-variant-numeric: tabular-nums; white-space: nowrap; font-variation-settings: "opsz" 96; }
.stat .num .accent { color: var(--accent); font-family: var(--font-mono); font-weight: 600; font-style: normal !important; letter-spacing: 0; }
.stat p { margin: 10px 0 0; color: var(--fg-secondary); font-size: 13.5px; font-weight: var(--weight-regular); max-width: 20ch; line-height: 1.45; }

/* ---- cards and mocks ---- */
.card { background: #fff; border: var(--hair); border-radius: var(--radius-lg); box-shadow: var(--lift-md); }
.mock { background: #fff; border: var(--hair); border-radius: 16px; box-shadow: var(--lift-lg); overflow: hidden; }
.mock-cap { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-bottom: var(--hair); background: var(--paper-200); }
.mock-cap .d { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.mock-cap .t { font: 600 11.5px/1 var(--font-mono); color: var(--fg-muted); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mock-body { padding: 24px; }

/* ---- checklist ---- */
.checklist { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.checklist li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; color: var(--fg); font-weight: var(--weight-medium);
  padding: 15px 0; border-bottom: 1px solid var(--border-frame); }
.checklist li:last-child { border-bottom: none; }
.checklist li .ck { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-soft-fg);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.checklist li .ck svg { width: 13px; height: 13px; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; align-items: start; }
.price { background: #fff; border: var(--hair); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--lift-sm);
  transition: transform .18s ease, box-shadow .18s ease; }
.price:hover { transform: translateY(-3px); box-shadow: var(--lift-md); }
.price.feat { border: 1.5px solid var(--accent); box-shadow: var(--lift-lg); position: relative; }
.price .tier { font: 600 12px/1 var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.price .amt { font: 800 38px/1 var(--font-display); letter-spacing: -0.035em; margin: 12px 0 2px; font-variation-settings: "opsz" 96; }
.price .amt span { font: var(--weight-medium) 15px/1 var(--font-sans); color: var(--fg-muted); letter-spacing: 0; }
.price .credits { color: var(--fg-secondary); font-weight: var(--weight-regular); font-size: 13px; margin-bottom: 16px; }
.price .btn { width: 100%; }
.price-tag { position: absolute; top: -13px; right: 24px; background: var(--accent); color: #fff;
  font: 600 10.5px/1 var(--font-mono); padding: 7px 12px; border-radius: 6px; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; }
.price ul { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border-frame); display: flex; flex-direction: column; gap: 10px; }
.price ul li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg); font-weight: var(--weight-medium); }
.price ul li .ck { color: var(--accent); display: inline-flex; }
.price ul li .ck svg { width: 15px; height: 15px; }

/* ---- faq ---- */
.faq { max-width: 800px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border-frame); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  background: none; border: none; cursor: pointer; padding: 24px 4px; text-align: left;
  font: var(--weight-semibold) 18px/1.4 var(--font-sans); color: var(--fg); transition: color .15s ease; }
.faq-q:hover { color: var(--accent); }
.faq-q svg { width: 20px; height: 20px; color: var(--fg-muted); flex: 0 0 auto; transition: transform .2s ease, color .15s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { margin: 0 4px 24px; font-size: 16px; line-height: 1.65; color: var(--fg-secondary); font-weight: var(--weight-regular); }

/* ---- CTA band: ink with a blue glow ---- */
.cta-band { position: relative; background: var(--zinc-950); color: #fff; border-radius: 22px; padding: 88px 64px; text-align: center;
  overflow: hidden; box-shadow: var(--lift-lg), 0 40px 80px -36px rgba(15,18,34,.6); }
.cta-band::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(64% 120% at 50% -18%, rgba(45,75,255,.7), transparent 58%),
    radial-gradient(50% 80% at 88% 8%, rgba(120,140,255,.22), transparent 60%); }
.cta-band::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(120% 100% at 50% 0%, #000, transparent 75%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(34px, 4.2vw, 56px); }
.cta-band .ink { color: #B9C6FF; }
.cta-band .lead { color: rgba(255,255,255,0.82); margin: 18px auto 34px; max-width: 46ch; }
.cta-band .lead a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 1px; }
.cta-band .lead a:hover { border-bottom-color: #fff; }
.cta-band .btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-green { background: #fff; color: var(--zinc-950); box-shadow: 0 8px 24px -10px rgba(0,0,0,.4); }
.cta-band .btn-green:hover { background: #EDF0FF; transform: translateY(-1px); }

/* ---- footer ---- */
.footer { background: var(--bg-app); border-top: 1px solid var(--border-frame); padding: 64px 0 44px; }
.footer p, .footer a { font: var(--weight-regular) 14px/1.6 var(--font-sans); color: var(--fg-secondary); }
.footer a:hover { color: var(--fg); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border-frame);
  font: var(--weight-regular) 13px/1.5 var(--font-sans); color: var(--fg-muted); }
.foot-bottom a { color: var(--fg-muted); }
.foot-bottom a:hover { color: var(--fg); }

.center { text-align: center; max-width: 760px; margin: 0 auto; }
.center .eyebrow { display: inline-flex; }
.center .h2 { font-size: clamp(30px, 3.4vw, 44px); }

/* ---- scroll reveal ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }
}

/* ---- responsive ---- */
@media (max-width: 920px) {
  section { padding: 76px 0; }
  .hero { padding: 56px 0 64px; }
  .stat-row { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; }
  .stat + .stat { border-left: none; border-top: var(--hair); }
  .price-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-band { padding: 56px 28px; }
}
