/* Viralhooks public site: minimal, warm, handwritten (17 Oct 2026 direction).
   All public tokens live here. Pixel art (brand.css) is for the internal /office panel only. */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600&family=Caveat:wght@600;700&display=swap");

:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --ink: #111111;
  --muted: #6B6A66;
  --line: #E9E6DE;
  --sky: #CFE6FA;
  --sky-soft: #EAF4FD;
  --sky-strong: #3B8FE0;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --r-card: 20px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(17,17,17,.04), 0 12px 32px rgba(17,17,17,.07);
  --shadow-lift: 0 2px 4px rgba(17,17,17,.05), 0 20px 44px rgba(17,17,17,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2.5px solid var(--sky-strong); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1140px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2, .serif { font-family: var(--serif); letter-spacing: -0.015em; line-height: 1.04; }
h1 { font-size: clamp(46px, 8.4vw, 96px); }
h2 { font-size: clamp(36px, 5.6vw, 60px); }
h3 { font: 600 18px/1.35 var(--sans); }
.hand { font-family: var(--hand); font-weight: 700; color: var(--sky-strong); letter-spacing: 0; display: inline-block; margin: 0 .12em; transform: rotate(-3deg); font-size: 1.08em; line-height: 0.9; position: relative; }
.hand.ul::after { content: ""; position: absolute; left: 4%; right: 2%; bottom: -0.08em; height: 0.18em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C30 2 60 2 118 6' fill='none' stroke='%233B8FE0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.eyebrow { font: 600 13px var(--sans); letter-spacing: .02em; color: var(--muted); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-strong); }
.muted { color: var(--muted); }
.lede { font-size: 19px; color: var(--muted); max-width: 600px; margin: 18px auto 0; }

/* Buttons: black pill + sky arrow chip (Misso) ---------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 8px 8px 8px 22px; border-radius: var(--r-pill); border: 0; background: var(--ink); color: #fff; font: 500 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn .arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .18s ease; }
.btn .arrow svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(17,17,17,.18); }
.btn:hover .arrow { transform: translateX(2px) rotate(-8deg); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); padding: 8px 20px; }
.btn-ghost:hover { background: var(--surface); box-shadow: none; }
.btn-sm { min-height: 40px; font-size: 14px; padding: 6px 6px 6px 16px; }
.btn-sm .arrow { width: 28px; height: 28px; }
.btn-sm.btn-ghost { padding: 6px 16px; }
.btn-block { width: 100%; }
.link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--sky-strong); font-weight: 500; }
.link:hover { color: var(--sky-strong); }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; }
/* auth.js renders its sign-in button with this class */
.vh-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 500 14px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; }
.vh-btn:hover { background: var(--ink); color: #fff; }
.vh-btn, .vh-btn:active { box-shadow: none; transform: none; }

/* Header ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251,250,247,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { height: 66px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand .char { width: 30px; height: auto; display: block; }
.brand [data-char] { display: inline-flex; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
#vh-auth { display: inline-flex; align-items: center; min-height: 38px; }
#vh-auth > * { margin-right: 0 !important; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 18px; height: 18px; }
.mobile-nav { padding: 6px 20px 18px; border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: inline-grid; }
}

/* Sections ---------------------------------------------------------------- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p:last-child:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 560px; }
.sky-band { background: linear-gradient(180deg, var(--bg) 0%, var(--sky-soft) 18%, var(--sky-soft) 82%, var(--bg) 100%); }

/* Brand character: the line-art creator (inline SVG from site.js) -------- */
.char { display: inline-block; vertical-align: middle; overflow: visible; }
.char .ln { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.char .fill-bg { fill: var(--bg); }
.char .fill-white { fill: #fff; }
.char .fill-ink { fill: var(--ink); }
.char .fill-sky { fill: var(--sky); }
.char .pupils, .char .dots { transform-box: fill-box; }
.char .pupils { animation: vh-glance 6s ease-in-out infinite; }
.char .pupils.still { animation: none; }
.char .dots { animation: vh-dots 1.8s ease-in-out infinite; }
@keyframes vh-glance { 0%, 38%, 100% { transform: translate(0, 0); } 45%, 80% { transform: translate(2.6px, 2.2px); } }
@keyframes vh-dots { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Hero (Fastwork pattern) ------------------------------------------------- */
.hero { position: relative; text-align: center; padding-top: 80px; padding-bottom: 40px; min-height: 860px; }
.hero-copy { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.hero .lede { font-size: 19px; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.hero-note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.hero-note b { color: var(--ink); font-weight: 600; }
.float-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-field .floater { position: absolute; width: 200px; pointer-events: auto; will-change: transform; animation: vh-float 7s ease-in-out infinite; isolation: isolate; }
.float-field .floater:nth-child(2n) { animation-duration: 8.5s; animation-delay: -2s; }
.float-field .floater:nth-child(3n) { animation-duration: 9.5s; animation-delay: -4s; }
@keyframes vh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.slot-0 { left: -1%; top: 36px; rotate: -6deg; }
.slot-1 { left: 5%; top: 330px; rotate: 4deg; }
.slot-2 { right: -1%; top: 36px; rotate: 5deg; }
.slot-3 { right: 5%; top: 340px; rotate: -4deg; }
.slot-4 { left: 21%; top: 600px; rotate: -3deg; }
.slot-5 { right: 21%; top: 612px; rotate: 3deg; }
.slot-6, .slot-7 { display: none; }
.hero-strip { display: none; }
@media (max-width: 1080px) {
  .hero { min-height: 0; padding-top: 44px; }
  .float-field { display: none; }
  .hero-strip { display: block; margin: 22px -20px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .hero-strip .track { display: flex; gap: 14px; width: max-content; padding: 14px 20px 18px; animation: vh-marquee 46s linear infinite; }
  .hero-strip:hover .track, .hero-strip:focus-within .track { animation-play-state: paused; }
  .hero-strip .hook-card { width: 200px; flex: none; }
  .hero-strip .hook-card:nth-child(odd) { rotate: -2deg; } .hero-strip .hook-card:nth-child(even) { rotate: 2deg; }
}
@keyframes vh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hook cards --------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.hook-card { position: relative; display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; min-width: 0; padding: 0; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
button.hook-card { cursor: pointer; width: 100%; font: inherit; }
button.hook-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-soft); }
.hook-card.compact .thumb { aspect-ratio: 16 / 8; }
.thumb img.real { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(60% 50% at 20% 30%, rgba(255,255,255,.9) 0 40%, transparent 41%),
  radial-gradient(40% 32% at 34% 26%, rgba(255,255,255,.9) 0 50%, transparent 51%),
  radial-gradient(55% 45% at 85% 78%, rgba(255,255,255,.75) 0 40%, transparent 41%),
  linear-gradient(160deg, var(--sky-soft), var(--sky)); }
.ph.t1 { background:
  radial-gradient(50% 40% at 78% 24%, rgba(255,255,255,.9) 0 42%, transparent 43%),
  radial-gradient(36% 30% at 64% 30%, rgba(255,255,255,.9) 0 50%, transparent 51%),
  radial-gradient(60% 45% at 15% 85%, rgba(255,255,255,.75) 0 40%, transparent 41%),
  linear-gradient(200deg, #F4EEDF, var(--sky-soft)); }
.ph-play { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(17,17,17,.08); }
.ph-play svg { width: 16px; height: 16px; margin-left: 2px; }
.thumb .tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 1; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); background: rgba(255,255,255,.92); border-radius: var(--r-pill); padding: 6px 10px; white-space: nowrap; color: var(--ink); }
.chip svg { width: 13px; height: 13px; }
.chip.new { background: var(--ink); color: #fff; }
.chip.views { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: var(--ink); color: #fff; font-weight: 600; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.hook { font: 400 21px/1.22 var(--serif); margin: 0; overflow-wrap: anywhere; }
.hook-card.compact .hook { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.who { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who svg { width: 14px; height: 14px; flex: none; }
.meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; }
.why-teaser { font-size: 13px; color: var(--sky-strong); font-weight: 500; }
.hook-card.locked .hook-blur { filter: blur(6px); user-select: none; color: var(--muted); font: 400 20px/1.25 var(--serif); }
.lock-pill { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: #fff; font: 500 13px var(--sans); padding: 8px 14px; border-radius: var(--r-pill); white-space: nowrap; z-index: 2; }
.lock-pill svg { width: 13px; height: 13px; }
.skeleton .thumb { background: var(--line); }
.skeleton .hook, .skeleton .meta { background: var(--line); color: transparent; border-radius: 6px; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); grid-column: 1 / -1; }
.empty .char { width: 120px; display: block; margin: 0 auto 10px; }

/* Ticker ------------------------------------------------------------------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker .track { display: flex; gap: 12px; width: max-content; animation: vh-marquee 60s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.tick b { font-weight: 600; }
.tick .n { color: var(--sky-strong); font-weight: 600; }

/* Steps -------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.step .art { height: 132px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 18px; background: var(--sky-soft); border-radius: 14px; overflow: hidden; }
.step .art .char { height: 118px; width: auto; }
.step .num { font: 700 26px/1 var(--hand); color: var(--sky-strong); }
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.mini-card { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); width: 72%; margin-bottom: 16px; text-align: left; font: 400 15px/1.2 var(--serif); }
.mini-card small { display: block; font: 500 11px var(--sans); color: var(--sky-strong); margin-top: 6px; }

/* Pricing ------------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 22px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.featured .muted, .plan.featured li { color: rgba(255,255,255,.78); }
.plan.featured .btn { background: #fff; color: var(--ink); }
.plan .badge { position: absolute; top: 18px; right: 18px; background: var(--sky); color: var(--ink); font: 600 12px var(--sans); padding: 6px 12px; border-radius: var(--r-pill); }
.plan h3 { font: 500 16px var(--sans); }
.price { font: 400 64px/1 var(--serif); letter-spacing: -0.02em; }
.price small { font: 400 16px var(--sans); color: var(--muted); letter-spacing: 0; }
.plan.featured .price small { color: rgba(255,255,255,.7); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan .btn { margin-top: auto; }
.fine { font-size: 14px; color: var(--muted); text-align: center; max-width: 640px; margin: 24px auto 0; }
.sign-wrap { display: flex; justify-content: center; margin-bottom: 8px; }
.sign-wrap .char { width: 210px; }

/* Waitlist ----------------------------------------------------------------- */
.waitlist { max-width: 520px; margin: 26px auto 0; text-align: left; }
.waitlist form { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px; box-shadow: var(--shadow); }
.waitlist input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; font-size: 16px; outline-offset: 0; }
.waitlist .msg { font-size: 14px; margin: 10px 4px 0; color: var(--muted); min-height: 1.4em; text-align: center; }
.waitlist .msg.ok { color: var(--ink); }
.waitlist .msg.err { color: #B4232A; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plan .waitlist { margin-top: auto; }
.plan .waitlist form { border-radius: 16px; flex-direction: column; box-shadow: none; }
.plan.featured .waitlist form { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.plan.featured .waitlist input { color: #fff; }
.plan.featured .waitlist .msg { color: rgba(255,255,255,.75); }
@media (max-width: 480px) {
  .waitlist form { flex-direction: column; border-radius: 18px; }
  .waitlist .btn { width: 100%; }
}

/* Alternatives / business / FAQ / closing ---------------------------------- */
.alts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow); }
.alt .tag { font: 700 22px/1 var(--hand); color: var(--muted); display: block; margin-bottom: 8px; }
.alt h3 { font: 400 28px/1.1 var(--serif); }
.alt ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.alt li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.alt li::before { content: "\00d7"; position: absolute; left: 0; top: -2px; width: 18px; height: 18px; font: 600 18px/1 var(--sans); color: #C2412F; }
.alt.ours { background: var(--sky-soft); border-color: var(--sky); }
.alt.ours li { color: var(--ink); }
.alt.ours li::before { content: ""; top: 3px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.biz { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.biz-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.biz-item h3 { font: 400 24px/1.1 var(--serif); }
.biz-item p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.biz-item .n { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--sky-strong); font-weight: 600; }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; font: 400 23px/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23111' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 660px; }
.closing { text-align: center; padding-top: 90px; padding-bottom: 100px; }
.closing .lead-in { font: 700 30px/1.1 var(--hand); color: var(--sky-strong); display: block; margin-bottom: 12px; transform: rotate(-2deg); }
.closing .duo { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin-top: 36px; }
.closing .duo .char { width: 110px; }

/* Footer ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 34px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-left: auto; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--ink); text-decoration: underline; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: var(--surface); }
.socials svg { width: 17px; height: 17px; }
.footer-note { margin: 16px 0 0; font-size: 13px; }
.footer-note .hand { font-size: 20px; transform: none; }

/* Library page ------------------------------------------------------------- */
.lib-head { padding-top: 44px; padding-bottom: 10px; }
.lib-head h1 { font-size: clamp(42px, 6.4vw, 68px); }
.lib-head p { color: var(--muted); margin: 10px 0 0; font-size: 17px; }
.access-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; background: var(--sky-soft); border: 1px solid var(--sky); border-radius: 18px; padding: 14px 16px 14px 20px; margin-top: 22px; }
.access-bar p { margin: 0; font-size: 15px; }
.toolbar { position: sticky; top: 66px; z-index: 10; background: rgba(251,250,247,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 14px 0; border-bottom: 1px solid var(--line); }
.search { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 14px; font-size: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.filters select { appearance: none; -webkit-appearance: none; padding: 8px 32px 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; font-size: 14px; max-width: 100%; min-width: 0; cursor: pointer; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: var(--r-pill); cursor: pointer; }
.toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--sky-strong); }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 16px; font-size: 14px; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 34px 0 70px; font-size: 14px; color: var(--muted); }

/* Drawer ------------------------------------------------------------------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(17,17,17,.32); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--bg); z-index: 41; overflow-y: auto; box-shadow: -20px 0 50px rgba(17,17,17,.12); display: flex; flex-direction: column; border-radius: 22px 0 0 22px; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; position: sticky; top: 0; background: rgba(251,250,247,.95); z-index: 1; border-bottom: 1px solid var(--line); }
.drawer-top h2 { font: 400 24px var(--serif); }
.drawer-body { padding: 20px 20px 44px; display: grid; gap: 20px; }
.drawer .thumb { border-radius: 16px; }
.drawer .hook { font-size: 30px; }
.field h3 { font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field p { margin: 0; overflow-wrap: anywhere; }
.why-box { background: var(--sky-soft); border: 1px solid var(--sky); border-radius: 18px; padding: 16px 18px; }
.why-box .hand { font-size: 24px; transform: none; margin-bottom: 4px; }
.why-box.locked { background: var(--surface); border-color: var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; }
.stat b { display: block; font: 400 28px/1 var(--serif); }
.stat span { font-size: 12px; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list .chip { background: var(--surface); border: 1px solid var(--line); }
.credit { font-size: 13px; color: var(--muted); margin: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 16px; height: 16px; }

/* Legal / 404 -------------------------------------------------------------- */
.prose { max-width: 740px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(44px, 7vw, 64px); margin-bottom: 10px; }
.prose h2 { font: 400 30px/1.15 var(--serif); margin: 38px 0 10px; }
.prose p, .prose li { color: #33322F; }
.prose ul { padding-left: 22px; }
.prose .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.notfound { text-align: center; padding-top: 60px; padding-bottom: 100px; }
.notfound .char { width: 170px; margin: 0 auto 10px; display: block; }
.notfound .lede { margin-bottom: 30px; }

.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 60; font-size: 14px; max-width: calc(100% - 32px); }

@media (max-width: 860px) {
  .steps, .alts { grid-template-columns: 1fr; }
  .plans { grid-template-columns: minmax(0, 440px); }
}
@media (max-width: 560px) {
  .section { padding-top: 68px; padding-bottom: 68px; }
  .hero .lede, .lede { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .filters select, .filters .toggle { flex: 1 1 calc(50% - 8px); }
  .toolbar { position: static; }
  .faq summary { font-size: 20px; }
  .price { font-size: 56px; }
  .footer-row nav { margin-left: 0; }
  .drawer { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-strip { overflow-x: auto; }
  .ticker { overflow-x: auto; }
}

/* Checkout mode switches (site.js sets body.checkout-live or body.waitlist-mode) */
body:not(.checkout-live) [data-mode="live"] { display: none !important; }
body.checkout-live [data-mode="waitlist"] { display: none !important; }
