/* Homepage (2026-11-29 redesign), ported from the approved prototype outputs/ampost-landing-impeccable.
   Served from public/ (tests import the page, so no CSS import there). Every rule is scoped to .home-v2 so nothing leaks into other pages after a client-side navigation.
   The homepage is dark only: these tokens mirror the .dark tokens in globals.css. Generated, then hand-tuned at the end. */
.home-v2 { color-scheme: dark; --surface: oklch(0.13 0.005 160); --surface-2: oklch(0.155 0.007 160); --panel: oklch(0.175 0.008 160); --tertiary: oklch(0.21 0.01 160); --elevated: oklch(0.24 0.012 160); --deep: #060807; --text: oklch(0.96 0.008 150); --text-2: oklch(0.76 0.02 155); --text-3: oklch(0.66 0.02 155); --code: oklch(0.84 0.03 150); --accent: oklch(0.54 0.14 156); --accent-hover: oklch(0.49 0.13 156); --accent-light: oklch(0.74 0.10 156); --accent-muted: oklch(0.54 0.14 156 / 0.15); --emerald: oklch(0.66 0.17 158); --on-accent: #ffffff; --border: oklch(0.85 0.06 155 / 0.10); --border-strong: oklch(0.85 0.06 155 / 0.18); --success-bg: oklch(0.2 0.05 156); --warning: oklch(0.78 0.15 80); --warning-bg: oklch(0.21 0.045 80); --font: "Geist", ui-sans-serif, system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace; --r-pill: 999px; --r-lobe: 56px; --r-soft: 24px; --gutter: clamp(16px, 3vw, 40px); --page: 1200px; --ease: cubic-bezier(0.16, 1, 0.3, 1); --shadow: 0 18px 48px -12px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3); }
.home-v2 *, .home-v2 *::before, .home-v2 *::after { box-sizing: border-box; }
html:has(.home-v2) { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html:has(.home-v2) { scroll-behavior: auto; }
}
.home-v2 { margin: 0; background: var(--surface); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.home-v2 ::selection { background: var(--accent); color: var(--on-accent); }
html:has(.home-v2) { scrollbar-color: var(--elevated) var(--surface); }
.home-v2 a { color: inherit; }
.home-v2 :focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 12px; }
.home-v2 img, .home-v2 svg { display: block; }
.home-v2 h1, .home-v2 h2, .home-v2 h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.home-v2 p { margin: 0; text-wrap: pretty; }
.home-v2 ul { margin: 0; padding: 0; list-style: none; }
.home-v2 code, .home-v2 pre, .home-v2 .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.home-v2 .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-v2 .wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.home-v2 .icon { width: 1em; height: 1em; flex: none; }
.home-v2 .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 600 16px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.home-v2 .btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8); }
.home-v2 .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.home-v2 .btn-primary .disc { display: grid; place-items: center; width: 28px; height: 28px; margin-right: -10px; border-radius: 50%; background: oklch(0.96 0.008 150 / 0.16); transition: transform 0.3s var(--ease); }
.home-v2 .btn-primary:hover .disc { transform: translateX(3px); }
.home-v2 .btn-quiet { color: var(--text); background: oklch(0.96 0.008 150 / 0.06); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .btn-quiet:hover { background: oklch(0.96 0.008 150 / 0.1); }
.home-v2 .btn:active { transform: translateY(0) scale(0.98); }
.home-v2 .nav { position: sticky; top: 16px; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(calc(100% - 2 * var(--gutter)), var(--page)); margin: 16px auto 0; pointer-events: none; }
.home-v2 .nav > * { pointer-events: auto; }
.home-v2 .brand { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.home-v2 .brand img { width: 32px; height: 32px; border-radius: 22%; }
.home-v2 .nav-links { display: flex; gap: 2px; }
.home-v2 .nav-links a { padding: 9px 14px; border-radius: var(--r-pill); font-size: 15px; color: var(--text-2); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.home-v2 .nav-links a:hover { color: var(--text); background: oklch(0.96 0.008 150 / 0.06); }
.home-v2 .nav-cta { display: flex; gap: 8px; align-items: center; }
.home-v2 .nav-cta .btn { min-height: 46px; box-shadow: var(--shadow); }
.home-v2 .nav-login { padding: 12px 18px; border-radius: var(--r-pill); font-size: 15px; color: var(--text-2); text-decoration: none; background: oklch(0.175 0.008 160 / 0.86); box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(14px); }
.home-v2 .nav-login:hover { color: var(--text); }
.home-v2 .nav-menu { display: none; position: relative; }
.home-v2 .nav-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .nav-menu summary::-webkit-details-marker { display: none; }
.home-v2 .nav-menu[open] summary { background: var(--tertiary); }
.home-v2 .nav-menu ul { position: absolute; right: 0; top: 54px; min-width: 200px; padding: 8px; border-radius: var(--r-soft); background: var(--panel); box-shadow: inset 0 0 0 1px var(--border-strong), var(--shadow); }
.home-v2 .nav-menu a { display: block; padding: 11px 14px; border-radius: 14px; text-decoration: none; color: var(--text-2); }
.home-v2 .nav-menu a:hover { background: var(--tertiary); color: var(--text); }
.home-v2 .hero { position: relative; padding: 44px 0 72px; isolation: isolate; }
.home-v2 .contours { position: absolute; inset: -120px 0 0; z-index: -2; width: 100%; height: calc(100% + 120px); color: oklch(0.85 0.06 155 / 0.05); pointer-events: none; }
.home-v2 .hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); gap: 32px 56px; align-items: start; }
.home-v2 .hero-copy { position: relative; z-index: 2; padding-top: 28px; }
.home-v2 .hero h1 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.01; letter-spacing: -0.04em; max-width: 15ch; }
.home-v2 .tagline { margin-top: 22px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--text); }
.home-v2 .tagline span { color: var(--emerald); }
.home-v2 .hero-body { margin-top: 14px; max-width: 56ch; color: var(--text-2); }
.home-v2 .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-v2 .micro { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 14px; color: var(--text-2); }
.home-v2 .micro li { display: inline-flex; align-items: center; gap: 7px; }
.home-v2 .micro svg { color: var(--emerald); }
.home-v2 .channels { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.home-v2 .channels .bed { fill: none; stroke: oklch(0.54 0.14 156 / 0.16); stroke-width: 12; stroke-linecap: round; transition: stroke 0.4s var(--ease); }
.home-v2 .channels .water { fill: none; stroke: var(--emerald); stroke-width: 2.5; stroke-linecap: round; opacity: 0.9; }
.home-v2 .channels .bed.lit { stroke: oklch(0.54 0.14 156 / 0.36); }
.home-v2 .channels .spring { fill: var(--emerald); }
.home-v2 .mouths { position: relative; z-index: 2; grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 96px; }
.home-v2 .mouth { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; padding: 6px 7px 6px 6px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong), 0 12px 30px -14px rgba(0,0,0,0.7); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.home-v2 .mouth:hover, .home-v2 .mouth.lit { box-shadow: inset 0 0 0 1px oklch(0.74 0.10 156 / 0.5), 0 12px 30px -14px rgba(0,0,0,0.7); transform: translateY(-2px); }
.home-v2 .pf { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tertiary); font-size: 20px; }
.home-v2 .mouth-name { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; }
.home-v2 .mouth-place { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--text-2); font-family: var(--mono); white-space: nowrap; }
.home-v2 .status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; flex: none; min-width: 0; justify-content: center; padding: 5px 8px; border-radius: var(--r-pill); font: 600 11px/1 var(--mono); transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
.home-v2 .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.home-v2 .status[data-s="queued"] { background: var(--tertiary); color: var(--text-2); }
.home-v2 .status[data-s="publishing"] { background: var(--warning-bg); color: var(--warning); }
.home-v2 .status[data-s="publishing"]::before { animation: home-blink 0.9s steps(2, jump-none) infinite; }
.home-v2 .status[data-s="published"] { background: var(--success-bg); color: var(--emerald); }
@keyframes home-blink { 50% { opacity: 0.25; } }
.home-v2 .platforms { position: relative; padding: 40px 0 112px; }
.home-v2 .platforms h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; max-width: 20ch; }
.home-v2 .platforms .lede { margin-top: 14px; color: var(--text-2); max-width: 60ch; }
.home-v2 .c-instagram { color: oklch(0.72 0.20 350); }
.home-v2 .c-facebook { color: oklch(0.70 0.16 260); }
.home-v2 .c-threads { color: oklch(0.86 0.01 260); }
.home-v2 .c-x { color: oklch(0.92 0 0); }
.home-v2 .c-youtube { color: oklch(0.70 0.19 27); }
.home-v2 .c-pinterest { color: oklch(0.68 0.18 15); }
.home-v2 .c-bluesky { color: oklch(0.76 0.14 215); }
.home-v2 .c-telegram { color: oklch(0.76 0.12 235); }
.home-v2 .c-discord { color: oklch(0.72 0.15 275); }
.home-v2 .lobe { position: relative; background: var(--surface-2); }
.home-v2 .lobe-a, .home-v2 .lobe-b { margin-inline: max(var(--gutter), calc((100vw - var(--page)) / 2 - 40px)); }
.home-v2 .lobe-a { border-radius: var(--r-lobe) var(--r-lobe) var(--r-lobe) var(--r-soft); }
.home-v2 .lobe-b { border-radius: var(--r-lobe) var(--r-lobe) var(--r-soft) var(--r-lobe); }
.home-v2 .uses { padding: 120px 0 112px; }
.home-v2 .uses h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; max-width: 16ch; }
.home-v2 .side-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 88px; }
.home-v2 .side-cases h3 { font-size: 20px; letter-spacing: -0.02em; }
.home-v2 .side-cases p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
.home-v2 .link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--accent-light); text-decoration: none; }
.home-v2 .link svg { transition: transform 0.25s var(--ease); }
.home-v2 .link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-v2 .link:hover svg { transform: translateX(3px); }
.home-v2 .pricing { padding: 120px 0 128px; }
.home-v2 .pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.home-v2 .pricing h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; max-width: 15ch; }
.home-v2 .pricing .lede { margin-top: 14px; color: var(--text-2); max-width: 52ch; }
.home-v2 .interval { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .interval button { min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-2); font: 600 14px/1 var(--font); cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.home-v2 .interval button:hover { color: var(--text); }
.home-v2 .interval button[aria-pressed="true"] { background: var(--elevated); color: var(--text); }
.home-v2 .plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.home-v2 .plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px 32px; }
.home-v2 .plan + .plan::before { content: ""; position: absolute; left: 0; top: 40px; bottom: 40px; width: 1px; background: var(--border); }
.home-v2 .plan.pro { margin: -18px 0; padding-top: 52px; padding-bottom: 50px; border-radius: 40px; background: var(--panel); box-shadow: inset 0 0 0 1.5px oklch(0.54 0.14 156 / 0.75), 0 24px 60px -24px rgba(0, 0, 0, 0.85); }
.home-v2 .plan.pro::before, .home-v2 .plan.pro + .plan::before { display: none; }
.home-v2 .plan-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.home-v2 .badge { padding: 5px 10px; border-radius: var(--r-pill); font: 600 12px/1 var(--mono); background: var(--tertiary); color: var(--text-2); }
.home-v2 .pro .badge { background: var(--accent); color: var(--on-accent); }
.home-v2 .plan-tag { margin-top: 8px; font-size: 15px; color: var(--text-2); min-height: 46px; }
.home-v2 .price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.home-v2 .price .amt { font-size: 46px; font-weight: 600; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.home-v2 .price .per { color: var(--text-2); font-size: 15px; }
.home-v2 .save { min-height: 22px; margin-top: 2px; font-size: 13px; color: var(--accent-light); }
.home-v2 .plan .btn { justify-content: center; margin-top: 18px; }
.home-v2 .plan ul { display: grid; gap: 11px; margin-top: 24px; font-size: 15px; color: var(--text-2); }
.home-v2 .plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.home-v2 .plan li svg { margin-top: 4px; width: 16px; height: 16px; color: var(--accent-light); }
.home-v2 .plan li.minus svg { color: var(--text-3); }
.home-v2 .plan li.minus { color: var(--text-3); }
.home-v2 .tax { margin-top: 28px; font-size: 14px; color: var(--text-3); }
.home-v2 .faq { padding: 120px 0 80px; }
.home-v2 .faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.home-v2 .faq h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; }
.home-v2 .faq h2 + p { margin-top: 14px; color: var(--text-2); }
.home-v2 .qa { display: grid; gap: 8px; }
.home-v2 .qa details { border-radius: 28px; transition: background-color 0.3s var(--ease); }
.home-v2 .qa details[open] { background: var(--surface-2); }
.home-v2 .qa summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 24px; cursor: pointer; border-radius: 28px; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.home-v2 .qa summary::-webkit-details-marker { display: none; }
.home-v2 .qa summary:hover { background: oklch(0.96 0.008 150 / 0.04); }
.home-v2 .qa summary .pm { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tertiary); transition: transform 0.35s var(--ease), background-color 0.3s; }
.home-v2 .qa details[open] .pm { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.home-v2 .qa .ans { padding: 0 24px 24px; color: var(--text-2); max-width: 66ch; }
.home-v2 .close { position: relative; margin-top: 64px; padding: 120px 0 112px; text-align: left; overflow: hidden; }
.home-v2 .close .sea { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; color: oklch(0.54 0.14 156 / 0.22); }
.home-v2 .close .wrap { position: relative; z-index: 1; }
.home-v2 .close h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; max-width: 18ch; }
.home-v2 .close .micro { margin-top: 20px; }
.home-v2 .footer { padding: 56px 0 48px; background: var(--deep); }
.home-v2 .footer p { margin-top: 12px; color: var(--text-3); font-size: 15px; max-width: 32ch; }
.home-v2 .footer h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.home-v2 .footer ul { display: grid; gap: 10px; margin-top: 14px; }
.home-v2 .footer ul a { color: var(--text-3); text-decoration: none; font-size: 15px; }
.home-v2 .footer ul a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .home-v2 .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home-v2 .hero h1 { max-width: 16ch; }
  .home-v2 .mouths { flex-direction: column; gap: 12px; margin-top: 36px; padding-left: 40px; }
  .home-v2 .mouth { max-width: 420px; margin-top: 0 !important; }
  .home-v2 .mouth:nth-child(even) { margin-left: 22px; }
  .home-v2 .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .home-v2 .faq h2 { position: static; }
  .home-v2 .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2 .plan.pro { margin: 0; }
  .home-v2 .plan + .plan::before { display: none; }
  .home-v2 .side-cases { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 64px; }
}
@media (max-width: 760px) {
  .home-v2 .nav-links, .home-v2 .nav-login { display: none; }
  .home-v2 .nav-menu { display: block; }
  .home-v2 .brand { padding-right: 10px; }
  .home-v2 .hero { padding-top: 24px; }
  .home-v2 .hero-copy { padding-top: 12px; }
  .home-v2 .actions .btn { width: 100%; justify-content: center; }
  .home-v2 .mouths { padding-left: 34px; }
  .home-v2 .mouth:nth-child(even) { margin-left: 0; }
  .home-v2 .status { min-width: 0; }
  .home-v2 .plans { grid-template-columns: minmax(0, 1fr); border-radius: 36px; }
  .home-v2 .plan { padding: 30px 22px; }
  .home-v2 .plan-tag { min-height: 0; }
  .home-v2 .lobe-a, .home-v2 .lobe-b { margin: 0 10px; border-radius: 40px; }
  .home-v2 .qa summary { padding: 18px 18px; font-size: 17px; }
  .home-v2 .qa .ans { padding: 0 18px 20px; }
  .home-v2 .uses, .home-v2 .pricing, .home-v2 .faq { padding-top: 80px; }
  .home-v2 .uses, .home-v2 .pricing { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-v2 *, .home-v2 *::before, .home-v2 *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
.home-v2 .hero::before { content: ""; position: absolute; inset: -140px 0 auto; height: 760px; z-index: -1; pointer-events: none; background: radial-gradient(620px 340px at 74% 26%, oklch(0.54 0.14 156 / 0.30), transparent 70%), radial-gradient(420px 260px at 16% 8%, oklch(0.54 0.14 156 / 0.12), transparent 70%); }
@media (min-width: 1101px) and (max-width: 1320px) {
  .home-v2 .mouth .status { font-size: 0; gap: 0; padding: 7px; }
}
@media (min-width: 1101px) {
  .home-v2 .mouths { align-items: flex-start; }
  .home-v2 .mouth:nth-child(2), .home-v2 .mouth:nth-child(4) { margin-top: 64px; }
}
.home-v2 .nav-bar { pointer-events: auto; padding: 6px; gap: 16px; border-radius: var(--r-pill); background: oklch(0.14 0.006 160 / 0.94); box-shadow: inset 0 0 0 1px var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.home-v2 .nav-bar .nav-links { flex: 1; justify-content: center; align-items: center; gap: 2px; }
.home-v2 .nav-bar .nav-links a { padding: 8px 12px; font-size: 14.5px; font-weight: 500; }
.home-v2 .nav-sep { width: 1px; height: 20px; margin: 0 8px; background: var(--border-strong); }
.home-v2 .nav-docs { display: inline-flex; gap: 2px; margin-left: 8px; padding: 3px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--border); }
.home-v2 .nav-docs a { padding: 6px 11px !important; }
.home-v2 .nav-bar .nav-cta .btn { min-height: 42px; box-shadow: none; }
.home-v2 .nav-bar .nav-login { padding: 10px 16px; background: transparent; backdrop-filter: none; color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 1180px) {
  .home-v2 .nav-bar .nav-links { display: none; }
  .home-v2 .nav-bar .nav-menu { display: block; }
  .home-v2 .nav-bar { justify-content: space-between; }
}
.home-v2 .pgrid { margin-top: 44px; }
.home-v2 .pgrid ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-v2 .pcard { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px 20px; border-radius: var(--r-soft); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow 0.2s ease, background 0.2s ease; }
.home-v2 .pcard:hover { background: var(--panel); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .pcard .pf { flex: none; width: 44px; height: 44px; font-size: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .pcard h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.home-v2 .pcard .shape { margin: 0; font: 500 13px/1.45 var(--mono); color: var(--emerald); }
.home-v2 .pcard .extra { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--text-3); }
.home-v2 .pgrid .note { margin-top: 28px; font-size: 15px; color: var(--text-3); }
@media (max-width: 1000px) {
  .home-v2 .pgrid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2 .pgrid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .home-v2 .pgrid ul { grid-template-columns: 1fr; }
  .home-v2 .pcard { padding: 16px; }
}
.home-v2 .relay { position: relative; z-index: 2; margin: 4px 0 0; display: flex; flex-direction: column; align-items: center; }
.home-v2 .agents-in { display: flex; justify-content: space-between; width: 100%; gap: 6px; }
.home-v2 .ag { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; cursor: default; }
.home-v2 .ag-i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text-2); transition: color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.home-v2 .ag-i .icon { width: 22px; height: 22px; }
.home-v2 .ag-n { font: 500 12px/1.2 var(--mono); color: var(--text-3); white-space: nowrap; transition: color 0.3s var(--ease); }
.home-v2 .ag.on .ag-i { color: var(--text); background: var(--elevated); box-shadow: inset 0 0 0 1px var(--emerald), 0 0 24px oklch(0.54 0.14 156 / 0.35); }
.home-v2 .ag.on .ag-n { color: var(--text); }
.home-v2 .hub { position: relative; width: 100%; max-width: 340px; margin-top: 128px; border-radius: 26px; border: 1px solid var(--emerald); background: var(--panel); box-shadow: 0 0 0 6px oklch(0.54 0.14 156 / 0.10), 0 0 60px oklch(0.54 0.14 156 / 0.25), var(--shadow); }
.home-v2 .hub-top { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 20px 4px; }
.home-v2 .hub-top img { border-radius: 11px; }
.home-v2 .hub-name { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.home-v2 .channels .feed { fill: none; stroke: oklch(0.54 0.14 156 / 0.12); stroke-width: 8; stroke-linecap: round; }
.home-v2 .channels .feed-water { fill: none; stroke: var(--emerald); stroke-width: 2; stroke-linecap: round; opacity: 0.9; }
@media (max-width: 1100px) {
  .home-v2 .relay { max-width: 560px; }
  .home-v2 .hub { max-width: none; margin-top: 96px; }
}
@media (max-width: 760px) {
  .home-v2 .ag-i { width: 40px; height: 40px; border-radius: 13px; }
  .home-v2 .ag-i .icon { width: 19px; height: 19px; }
  .home-v2 .ag-n { font-size: 10.5px; }
  .home-v2 .hub { margin-top: 80px; }
}
.home-v2 .relay .mouths { grid-column: auto; width: 100%; flex-direction: row !important; justify-content: space-between; align-items: flex-start !important; gap: 6px; margin-top: 128px; padding-left: 0 !important; }
.home-v2 .relay .mouth { flex: 0 0 auto; flex-direction: column; gap: 8px; margin: 0 !important; max-width: none; padding: 0; border-radius: 0; background: none; box-shadow: none; min-width: 0; }
.home-v2 .relay .mouth:hover, .home-v2 .relay .mouth.lit { box-shadow: none; transform: none; }
.home-v2 .relay .mouth .pf { position: relative; width: 48px; height: 48px; border-radius: 16px; font-size: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border-strong); transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease); }
.home-v2 .relay .mouth:hover .pf, .home-v2 .relay .mouth.lit .pf { background: var(--elevated); }
.home-v2 .relay .mouth:has(.status[data-s="publishing"]) .pf { box-shadow: inset 0 0 0 1px var(--warning); }
.home-v2 .relay .mouth:has(.status[data-s="published"]) .pf { box-shadow: inset 0 0 0 1px var(--emerald), 0 0 22px oklch(0.54 0.14 156 / 0.28); }
.home-v2 .relay .mouth .status { position: absolute; top: -5px; right: -5px; margin: 0; padding: 3px; font-size: 0; gap: 0; border-radius: 50%; box-shadow: 0 0 0 3px var(--surface); }
.home-v2 .relay .mouth .status::before { width: 6px; height: 6px; }
.home-v2 .relay .mouth-place { font: 500 12px/1.2 var(--mono); color: var(--text-3); text-align: center; }
.home-v2 .relay .mouth:has(.status[data-s="published"]) .mouth-place { color: var(--text-2); }
@media (max-width: 1100px) {
  .home-v2 .relay .mouths { margin-top: 96px; }
}
@media (max-width: 760px) {
  .home-v2 .relay .mouth .pf { width: 40px; height: 40px; border-radius: 13px; font-size: 19px; }
  .home-v2 .relay .mouth-place { font-size: 10.5px; }
  .home-v2 .relay .mouths { margin-top: 80px; }
}
.home-v2 .agents-in, .home-v2 .relay .mouths { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); justify-items: center; gap: 0; }
@media (min-width: 1101px) {
  .home-v2 .hero-grid { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); }
}
.home-v2 .agents-in, .home-v2 .relay .mouths { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.home-v2 .ag-i, .home-v2 .relay .mouth .pf { width: 46px; height: 46px; border-radius: 15px; }
.home-v2 .ag-n, .home-v2 .relay .mouth-place { font-size: 11px; }
@media (min-width: 1101px) and (max-width: 1320px) {
  .home-v2 .ag-n, .home-v2 .relay .mouth-place { font-size: 10px; }
  .home-v2 .ag-i, .home-v2 .relay .mouth .pf { width: 42px; height: 42px; }
}
@media (max-width: 760px) {
  .home-v2 .ag-i, .home-v2 .relay .mouth .pf { width: 34px; height: 34px; border-radius: 11px; font-size: 16px; }
  .home-v2 .ag-i .icon { width: 17px; height: 17px; }
  .home-v2 .ag-n { display: none; }
  .home-v2 .relay .mouth-place { font-size: 9.5px; }
}
.home-v2 .relay .hub { width: auto; max-width: none !important; padding: 0; border-radius: 24px; }
.home-v2 .relay .hub-top { padding: 20px 30px; }
.home-v2 .breaks { padding: 104px 0 96px; }
.home-v2 .breaks-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.home-v2 .breaks h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; max-width: 14ch; }
.home-v2 .breaks .lede { color: var(--text-2); font-size: 18px; max-width: 32ch; justify-self: end; }
.home-v2 .hits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.home-v2 .hits li { padding: 30px 32px 32px; border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); }
.home-v2 .hit-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.home-v2 .hit-tag .icon { width: 15px; height: 15px; color: var(--text-3); }
.home-v2 .hits h3 { margin-top: 18px; font-size: 23px; line-height: 1.2; letter-spacing: -0.025em; }
.home-v2 .hits p { margin-top: 12px; color: var(--text-2); line-height: 1.6; max-width: 52ch; }
.home-v2 .breaks-cta { display: flex; align-items: center; gap: 18px; margin-top: 40px; color: var(--text-3); font-size: 15px; }
@media (max-width: 900px) {
  .home-v2 .breaks { padding: 80px 0; }
  .home-v2 .breaks-head { grid-template-columns: 1fr; gap: 14px; }
  .home-v2 .breaks .lede { justify-self: start; }
  .home-v2 .hits { grid-template-columns: 1fr; margin-top: 36px; }
  .home-v2 .hits li { padding: 24px 22px 26px; border-radius: 22px; }
  .home-v2 .hits h3 { font-size: 20px; }
}
@media (max-width: 480px) {
  .home-v2 .breaks-cta { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 480px) {
  .home-v2 .breaks-cta .btn { justify-content: center; }
}
.home-v2 .platforms { padding-bottom: 32px; }
.home-v2 .setup { padding: 104px 0 96px; }
.home-v2 .setup-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.home-v2 .setup h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.04; max-width: 14ch; }
.home-v2 .setup .lede { color: var(--text-2); font-size: 18px; max-width: 34ch; justify-self: end; }
.home-v2 .setup-tabs { display: flex; gap: 8px; margin-top: 48px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.home-v2 .setup-tabs::-webkit-scrollbar { display: none; }
.home-v2 .setup-tabs button { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border-radius: var(--r-pill); border: 0; cursor: pointer; font: 500 15px/1 var(--font); color: var(--text-2); background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.home-v2 .setup-tabs button .icon { width: 20px; height: 20px; }
.home-v2 .setup-tabs button:hover { color: var(--text); background: var(--tertiary); }
.home-v2 .setup-tabs button[aria-selected="true"] { color: var(--text); background: var(--elevated); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .setup-tabs button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.home-v2 .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.home-v2 .steps > li { display: flex; flex-direction: column; min-width: 0; padding: 28px 28px 30px; border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); }
.home-v2 .step-n { font-size: 13px; color: var(--accent-light); }
.home-v2 .steps h3 { margin-top: 14px; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.home-v2 .steps p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.home-v2 .snip { position: relative; margin-top: auto; padding-top: 18px; }
.home-v2 .snip pre { margin: 0; padding: 16px 64px 16px 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); color: var(--code); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.home-v2 .snip .copy { position: absolute; top: 28px; right: 10px; padding: 5px 10px; border: 0; border-radius: var(--r-pill); cursor: pointer; font: 500 12px/1.2 var(--mono); color: var(--text-2); background: var(--tertiary); }
.home-v2 .snip .copy:hover { color: var(--text); }
.home-v2 .snip .copy:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.home-v2 .setup + .platforms { padding-top: 112px; }
.home-v2 .platforms { padding-bottom: 104px; }
.home-v2 .hits .verified { background: var(--success-bg); box-shadow: inset 0 0 0 1px var(--border-strong); }
.home-v2 .hits .verified .hit-tag, .home-v2 .hits .verified .hit-tag .icon { color: var(--accent-light); }
.home-v2 .vlist { margin-top: 16px; display: grid; gap: 12px; }
.home-v2 .vlist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); line-height: 1.45; }
.home-v2 .vlist .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-light); }
.home-v2 .uses { padding: 104px 0 24px; }
.home-v2 .uses h2 { font-size: clamp(28px, 3vw, 40px); max-width: 22ch; }
.home-v2 .uses .side-cases { margin-top: 32px; gap: 16px; }
.home-v2 .uses .side-cases > div { display: flex; flex-direction: column; gap: 0; padding: 26px 26px 24px; border-radius: 24px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); }
.home-v2 .uses .side-cases .link { margin-top: auto; padding-top: 16px; }
.home-v2 .uses + .pricing { padding-top: 104px; }
@media (max-width: 900px) {
  .home-v2 .setup { padding: 80px 0; }
  .home-v2 .setup-head { grid-template-columns: 1fr; gap: 14px; }
  .home-v2 .setup .lede { justify-self: start; }
  .home-v2 .setup-tabs { margin-top: 32px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .home-v2 .steps { grid-template-columns: 1fr; }
  .home-v2 .steps > li { padding: 24px 22px 24px; border-radius: 22px; }
  .home-v2 .setup + .platforms { padding-top: 80px; }
  .home-v2 .platforms { padding-bottom: 80px; }
  .home-v2 .uses { padding: 80px 0 16px; }
  .home-v2 .uses + .pricing { padding-top: 80px; }
  .home-v2 .uses .side-cases { margin-top: 24px; }
}
.home-v2 .steps { padding: 0; list-style: none; }
.home-v2 .hits .vlist li { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.home-v2 .footer { padding: 72px 0 40px; }
.home-v2 .footer-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; padding: 40px 0 48px; }
.home-v2 .footer-col { display: grid; align-content: start; gap: 32px; }
.home-v2 .footer h3 { font: 600 12px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.home-v2 .footer ul { gap: 9px; }
.home-v2 .footer ul a { font-size: 14.5px; }
.home-v2 .footer .soon { margin-left: 6px; font-size: 11px; color: var(--text-3); padding: 2px 6px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--border); }
.home-v2 .footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.home-v2 .footer-bottom p { margin-top: 0; max-width: none; font-size: 13.5px; }
@media (max-width: 1100px) {
  .home-v2 .footer-links { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 760px) {
  .home-v2 .footer { padding-top: 56px; }
  .home-v2 .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; padding: 32px 0 40px; }
  .home-v2 .footer-bottom { flex-direction: column; gap: 6px; }
}
.home-v2 .footer-links { padding-top: 0; }

/* Font: Bricolage Grotesque for the homepage (owner, 2026-11-28), Geist Mono for code. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/home/bricolage-grotesque-latin.woff2") format("woff2"); }
.home-v2 { --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; --mono: var(--font-geist-mono), ui-monospace, monospace; min-height: 100vh; overflow-x: clip; }
.home-v2 h1, .home-v2 h2 { letter-spacing: -0.03em; }
@media (min-width: 900px) { .home-v2 .hero h1 { max-width: 690px; } }
html:has(.home-v2), body:has(.home-v2) { background: oklch(0.13 0.005 160); }
.home-v2 .close-title { margin: 0; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; max-width: 18ch; }
.home-v2 .plan .btn { width: 100%; border: 0; cursor: pointer; }
.home-v2 .plan .btn[disabled] { cursor: wait; opacity: 0.6; }
.home-v2 .checkout-error { margin-top: 16px; color: oklch(0.72 0.17 25); }
.home-v2 .badge.x { background: var(--success-bg); color: var(--accent-light); }

/* The homepage header and footer on every other public page (site-chrome.tsx): the scope wrapper makes no box,
   so the header sticks to the page. The page itself (.site-v2) is always dark and set in Bricolage Grotesque. */
.home-v2.site-chrome { display: contents; }
.site-v2 { --font-sans: "Bricolage Grotesque", var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif; font-family: var(--font-sans); color-scheme: dark; }
.site-v2 :is(h1, h2) { letter-spacing: -0.03em; }
html:has(.site-v2), body:has(.site-v2) { background: oklch(0.13 0.005 160); }
