/* The public site at ri7u4l.com. Tokens from src/index.css (docs/STYLE.md, S-Tier UI): the same surfaces, ink, hairlines
   and brand indigo as the app, so the site and the product read as one thing. No script: the theme follows the OS. */
@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/geist.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light dark;
  --background: oklch(99.38% 0.001 105.51);
  --foreground: oklch(14.1% 0.005 285.823);
  --card: oklch(100% 0 0);
  --primary: oklch(21% 0.006 285.885);
  --primary-foreground: oklch(98.5% 0 0);
  --muted: oklch(96.7% 0.001 286.375);
  --muted-foreground: oklch(55.2% 0.016 285.938);
  --border: oklch(92% 0.004 286.32);
  --border-faint: oklch(95.5% 0.003 286.32);
  --border-strong: oklch(86% 0.005 286.32);
  --ring: oklch(76.53% 0.104 283.68);
  --theme-50: oklch(95.86% 0.016 286.17);
  --theme-300: oklch(76.53% 0.104 283.68);
  --theme-400: oklch(68.99% 0.145 281.92);
  --theme-500: oklch(61.7% 0.186 279.47);
  --theme-700: oklch(46.76% 0.271 269.36);
  --theme-950: oklch(25.86% 0.175 264.82);
  --brand-ink: var(--theme-950);
  --brand-highlight: var(--theme-500);
  --brand-text: var(--theme-700);
  --brand-tint: var(--theme-50);
  --success-text: oklch(52% 0.13 155);
  --elevation-prompt: 0 1px 2px oklch(0% 0 0 / 0.04), 0 8px 24px -8px oklch(30% 0.1 280 / 0.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: oklch(18.6% 0.006 85);
    --foreground: oklch(94.9% 0.002 85);
    --card: oklch(23.5% 0.007 85);
    --primary: oklch(83.98% 0.068 284.85);
    --primary-foreground: oklch(15.6% 0.006 85);
    --muted: oklch(26.2% 0.006 85);
    --muted-foreground: oklch(78% 0.004 85);
    --border: oklch(100% 0 0 / 0.1);
    --border-faint: oklch(100% 0 0 / 0.06);
    --border-strong: oklch(100% 0 0 / 0.18);
    --brand-ink: oklch(92.28% 0.031 285.81);
    --brand-highlight: var(--theme-300);
    --brand-text: oklch(83.98% 0.068 284.85);
    --brand-tint: oklch(30% 0.05 284);
    --success-text: oklch(76% 0.13 155);
    --elevation-prompt: 0 1px 2px oklch(0% 0 0 / 0.3), 0 8px 24px -8px oklch(0% 0 0 / 0.5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.6 "Geist Variable", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--card); padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted-foreground); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in oklab, var(--background) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border-faint); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: 0.01em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--primary); color: var(--primary-foreground); display: inline-grid; place-items: center; font: 600 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -0.04em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--muted-foreground); padding: 6px 10px; border-radius: 8px; }
.nav a:hover { color: var(--foreground); background: var(--muted); }
.nav a[aria-current="page"] { color: var(--foreground); }
.nav .btn { margin-left: 6px; color: var(--primary-foreground); }
.nav .btn:hover { color: var(--primary-foreground); background: var(--primary); }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }

/* Buttons (primitives.tsx: 8px radius controls; the brand pill for the one hero call to action) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: filter .15s, background-color .15s, border-color .15s; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.08); }
.btn-primary:hover { filter: brightness(1.15); }
.btn-outline { background: var(--card); border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--border-strong); background: var(--muted); }
.btn-brand { height: 44px; padding: 0 22px; font-size: 15px; border-radius: 999px; color: oklch(100% 0 0); background: linear-gradient(135deg, var(--theme-400), var(--theme-700) 55%, var(--theme-950)); box-shadow: 0 1px 2px oklch(0% 0 0 / 0.12), inset 0 1px 0 oklch(100% 0 0 / 0.18); }
.btn-brand:hover { filter: brightness(1.1); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }

/* Hero */
.hero { padding: 88px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 520px; background: radial-gradient(closest-side, color-mix(in oklab, var(--theme-300) 28%, transparent), transparent); pointer-events: none; z-index: -1; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--theme-300) 50%, transparent); background: var(--brand-tint); color: var(--brand-text); font-weight: 500; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; margin: 22px auto 0; max-width: 18ch; color: var(--brand-ink); }
.hero h1 em { font-style: normal; color: var(--brand-highlight); }
.hero .lede { font-size: clamp(17px, 2vw, 19px); color: var(--muted-foreground); max-width: 37rem; margin: 20px auto 0; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero .fine { margin-top: 14px; font-size: 13px; color: var(--muted-foreground); }

/* The prompt illustration (the app's hero composer, drawn) */
.composer { max-width: 760px; margin: 56px auto 0; text-align: left; border: 1px solid var(--border); background: var(--card); border-radius: 16px; box-shadow: var(--elevation-prompt); padding: 18px 18px 14px; }
.composer .prompt { font-size: 17px; line-height: 1.5; min-height: 3em; }
.composer .caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.15em; background: var(--brand-highlight); margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .composer .caret { animation: none; } }
.composer .bar { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.chip { font-size: 12px; color: var(--muted-foreground); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }
.composer .go { margin-left: auto; height: 34px; font-size: 14px; padding: 0 16px; pointer-events: none; }

/* Sections */
section.block { padding: 88px 0; border-top: 1px solid var(--border-faint); }
.kicker { font-size: 14px; font-weight: 500; color: var(--brand-text); }
.block h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin-top: 10px; max-width: 22ch; }
.block .sub { color: var(--muted-foreground); font-size: 17px; max-width: 38rem; margin-top: 14px; }
.center { text-align: center; }
.center h2, .center .sub { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; counter-reset: step; }
.step { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 24px; }
.step .n { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--brand-tint); color: var(--brand-text); }
.step h3 { font-size: 18px; margin-top: 18px; }
.step p { color: var(--muted-foreground); margin-top: 8px; font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); }
.feature { padding: 26px 24px; border-right: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature .icon { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--brand-text); background: var(--background); }
.feature .icon svg { width: 18px; height: 18px; }
.feature h3 { font-size: 16px; margin-top: 16px; }
.feature p { color: var(--muted-foreground); font-size: 15px; margin-top: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 999px; background: var(--brand-tint) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f39f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.panel { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 22px; }
.meter { display: grid; gap: 14px; }
.meter .row { display: flex; justify-content: space-between; font-size: 14px; }
.meter .row b { font-weight: 600; }
.bar-track { height: 8px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--theme-400), var(--theme-700)); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.plan { border: 1px solid var(--border); border-radius: 12px; background: var(--card); padding: 24px; display: flex; flex-direction: column; }
.plan.featured { border-color: color-mix(in oklab, var(--theme-500) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--theme-300) 22%, transparent); }
.plan .name { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.plan .tag { font-size: 12px; font-weight: 500; color: var(--brand-text); background: var(--brand-tint); border-radius: 999px; padding: 2px 8px; }
.plan .price { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; margin-top: 14px; line-height: 1; }
.plan .price small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted-foreground); }
.plan .yearly { font-size: 13px; color: var(--muted-foreground); margin-top: 8px; min-height: 1.6em; }
.plan .for { font-size: 14px; color: var(--muted-foreground); margin-top: 12px; }
.plan .btn { margin-top: 20px; width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; border-top: 1px solid var(--border-faint); padding-top: 18px; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--brand-text); font-weight: 600; }

.faq { max-width: 760px; margin: 40px auto 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted-foreground); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted-foreground); padding: 0 0 18px; font-size: 15px; }

/* Closing call to action */
.cta { margin: 0 auto; max-width: 1120px; border-radius: 20px; padding: 64px 24px; text-align: center; color: oklch(98% 0 0); background: radial-gradient(120% 140% at 50% 0%, var(--theme-700), var(--theme-950) 70%); }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; max-width: 20ch; margin: 0 auto; }
.cta p { opacity: .82; margin: 14px auto 0; max-width: 34rem; }
.cta .btn { margin-top: 28px; background: oklch(100% 0 0); color: var(--theme-950); height: 44px; padding: 0 22px; font-size: 15px; border-radius: 999px; }
.cta .btn:hover { filter: brightness(0.95); }
.cta-wrap { padding: 24px 20px 88px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: 14px; color: var(--muted-foreground); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--foreground); text-decoration: underline; }
.site-footer .legal { margin-top: 20px; font-size: 13px; }

/* Plain pages (404) */
.plain { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.plain h1 { font-size: 40px; }
.plain p { color: var(--muted-foreground); margin-top: 12px; }
.plain .btn { margin-top: 24px; }

@media (max-width: 960px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3n) { border-right: 1px solid var(--border-faint); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--border-faint); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .hero { padding: 56px 0 48px; }
  section.block { padding: 64px 0; }
  .steps, .plans, .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n), .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3), .feature:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-faint); }
  .feature:last-child { border-bottom: 0; }
  .composer .chip.opt { display: none; }
}
.after-list { margin-top: 28px; }
.bar-fill.full { width: 100%; }
.bar-fill.part { width: 62%; }
.small { font-size: 14px; }
.plans-block { padding-top: 8px; border-top: 0; }
.plans-block .plans { margin-top: 0; }
.nav a { white-space: nowrap; }
@media (max-width: 420px) { .nav { gap: 0; } .nav a { padding: 6px 8px; } .brand { gap: 8px; } }
