/* InferSense Labs — site styles */
:root {
  --ink: #0d1012;
  --ink-2: #15191c;
  --ink-3: #1e2327;
  --paper: #f5f4f0;
  --white: #ffffff;
  --text: #1a1d1f;
  --muted: #62676b;
  --line: #e2e0d8;
  --signal: #c5f24a;
  --signal-ink: #263300;
  --on-dark: #eceee9;
  --on-dark-muted: #9aa19c;
  --on-dark-line: rgba(255, 255, 255, .1);
  --max: 1200px;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono, .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.label { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 7px; height: 7px; background: var(--signal); border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.dark .label { color: var(--on-dark-muted); }
.dark .label::before { box-shadow: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid #5b7cff; outline-offset: 3px; border-radius: 6px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo .tile { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; background: var(--ink); border-radius: 10px; color: var(--signal); }
.logo .tile .mark { width: 28px; height: 28px; }
.logo .word { font: 700 16px/1 "Montserrat", var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.mark { width: 28px; height: 28px; flex-shrink: 0; background: currentColor; -webkit-mask: url(/images/mark.png?v=dafdd1d9) center / contain no-repeat; mask: url(/images/mark.png?v=dafdd1d9) center / contain no-repeat; }
.logo .labs { font-weight: 500; }
.dark .logo .tile { background: var(--ink-3); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); 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); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(13,16,18,.05); }
.nav .btn { margin-left: 10px; }
.nav a.btn-ink, .nav a.btn-ink:hover { color: #fff; background: var(--ink); }
.nav a.btn-ink:hover { background: #000; }
.nav a.btn-ink .arrow { color: var(--signal); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 15px/1 var(--sans); padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { box-shadow: 0 10px 30px -10px rgba(197,242,74,.55); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost { border-color: rgba(255,255,255,.22); color: var(--on-dark); }
.dark .btn-ghost:hover { border-color: #fff; }
.nav .btn { padding: 10px 16px; font-size: 14px; }

/* Dark stage (hero / CTA) */
.dark { background: var(--ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.stage { margin: 8px 16px 0; border-radius: 28px; position: relative; overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--on-dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%); opacity: .55; }
.stage::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(197,242,74,.16), transparent 62%); }

/* Home hero */
.hero { padding: 96px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin: 22px 0 24px; }
.hero h1 .soft { color: var(--on-dark-muted); }
.hero .sub { font-size: 19px; color: var(--on-dark-muted); max-width: 54ch; margin-bottom: 34px; }
.hero .sub strong { color: var(--on-dark); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pipeline visual */
.pipeline { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--on-dark-line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.pipeline-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; border-bottom: 1px solid var(--on-dark-line); margin-bottom: 8px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.pipeline-top .mono { color: var(--on-dark-muted); font-size: 11px; }
.step { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 8px; border-radius: 12px; position: relative; animation: step 10s infinite; }
.step + .step::before { content: ""; position: absolute; left: 20px; top: -9px; height: 18px; width: 1px; background: var(--on-dark-line); }
.step .node { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--on-dark-line); display: grid; place-items: center; font: 500 11px var(--mono); color: var(--on-dark-muted); background: var(--ink-2); }
.step b { display: block; font: 500 12px var(--mono); letter-spacing: .08em; color: var(--on-dark); }
.step span { display: block; font-size: 13.5px; color: var(--on-dark-muted); margin-top: 2px; }
.step em { font: 500 11px var(--mono); font-style: normal; color: var(--on-dark-muted); border: 1px solid var(--on-dark-line); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.step:nth-child(3) { animation-delay: 1.4s; } .step:nth-child(4) { animation-delay: 3.4s; } .step:nth-child(5) { animation-delay: 5.4s; } .step:nth-child(6) { animation-delay: 7.4s; } .step:nth-child(7) { animation-delay: 9.4s; }
@keyframes step { 0%, 18% { background: rgba(197,242,74,.08); } 0%, 18% { box-shadow: inset 0 0 0 1px rgba(197,242,74,.25); } 22%, 100% { background: transparent; box-shadow: none; } }
/* Hero entrance: blur-in text and a lime grid ripple */
.js .hero .rise, .js .start .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } to { opacity: 1; filter: none; transform: none; } }
.ripple { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ripple i { position: absolute; width: 55px; height: 55px; border-radius: 4px; background: var(--signal); opacity: 0; animation: cell-in 1.8s cubic-bezier(.2,.7,.2,1) both; }
.ripple i.origin { animation: origin-in 2.4s ease-out both; }
@keyframes cell-in { 0% { opacity: 0; transform: scale(.35); } 22% { opacity: calc(.36 * var(--o)); transform: scale(1.06); box-shadow: 0 0 22px 3px rgba(197,242,74,.3); } 50% { opacity: calc(.1 * var(--o)); transform: scale(1); box-shadow: none; } 100% { opacity: 0; transform: scale(1); } }
@keyframes origin-in { 0% { opacity: 0; transform: scale(.9); } 15% { opacity: .9; transform: scale(1); box-shadow: 0 0 32px 6px rgba(197,242,74,.45); } 60% { opacity: .35; box-shadow: none; } 100% { opacity: 0; transform: scale(1); } }
.query { font: 400 13px var(--mono); color: var(--on-dark); background: var(--ink-2); border: 1px solid var(--on-dark-line); border-radius: 10px; padding: 10px 12px; margin: 6px 0 4px; }
.query::before { content: "› "; color: var(--signal); }

/* Proof strip */
.proof { padding: 40px 0 8px; }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; }
.proof .names { display: flex; flex-wrap: wrap; gap: 14px 40px; font-weight: 600; font-size: 19px; color: #8a8e90; letter-spacing: -.02em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.stat { padding: 28px 24px 26px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: block; }

/* Sections */
.section { padding: 112px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 16px; max-width: 18ch; }
.section-head p { color: var(--muted); max-width: 44ch; margin: 0; font-size: 17px; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card { text-decoration: none; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-3px); border-color: #cfccc2; box-shadow: 0 24px 48px -28px rgba(13,16,18,.25); }
.card .tag { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; display: flex; justify-content: space-between; }
.card h3 { font-size: 24px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .more { margin-top: auto; padding-top: 28px; font-weight: 500; font-size: 15px; color: var(--ink); display: inline-flex; gap: 8px; }
a.card:hover .more .arrow { transform: translateX(3px); }
.more .arrow { transition: transform .2s; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { font-size: 14.5px; color: var(--muted); padding: 7px 0; border-top: 1px dashed var(--line); }
.card li:first-child { border-top: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--signal); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.process > div { padding: 30px 28px 34px; }
.process > div + div { border-left: 1px solid var(--line); }
.process .mono { color: var(--muted); }
.process h3 { font-size: 21px; margin: 44px 0 10px; }
.process p { color: var(--muted); font-size: 15px; margin: 0; }

/* Dark section */
.band { margin: 0 16px; border-radius: 28px; padding: 104px 0; }
.band .card { background: var(--ink-2); border-color: var(--on-dark-line); }
.band .card h3 { color: #fff; }
.band .card p, .band .card li { color: var(--on-dark-muted); }
.band .card li { border-top-color: var(--on-dark-line); }
.band .card .tag { color: var(--on-dark-muted); }
.band .section-head p { color: var(--on-dark-muted); }
.note { margin-top: 28px; color: var(--on-dark-muted); font-size: 15px; display: flex; gap: 10px; align-items: center; }

/* Founder */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); filter: grayscale(.15) contrast(1.02); }
.founder h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 22px; }
.founder p { color: var(--muted); font-size: 17.5px; max-width: 60ch; }
.founder .role { font: 500 13px var(--mono); color: var(--ink); letter-spacing: .04em; margin: 26px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.chip { font: 500 12.5px var(--mono); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }

/* Blog teaser + list */
.posts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-row:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-row time, .post-row .mono { color: var(--muted); }
.post-row h3 { font-size: 22px; margin-bottom: 8px; }
.post-row p { color: var(--muted); margin: 0; font-size: 15.5px; }
.empty { border: 1px dashed #cfccc2; border-radius: var(--radius); padding: 40px; color: var(--muted); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.empty h3 { font-size: 22px; margin-bottom: 8px; }
.empty p { margin: 0; max-width: 60ch; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* CTA */
.cta { padding: 112px 0 104px; text-align: center; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; margin: 18px auto 22px; }
.cta p { color: var(--on-dark-muted); font-size: 18.5px; max-width: 54ch; margin: 0 auto 36px; }
.cta .actions { justify-content: center; }
.cta .email { margin-top: 26px; font: 500 14px var(--mono); color: var(--on-dark-muted); }
.cta .email a { color: var(--on-dark); text-underline-offset: 4px; }

/* Footer */
.site-footer { padding: 72px 0 48px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.foot p { color: var(--muted); font-size: 15px; margin: 16px 0 0; max-width: 34ch; }
.foot h4 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 10px; }
.foot li a { text-decoration: none; font-size: 15px; color: var(--ink); }
.foot li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--muted); font: 400 13px var(--mono); }

/* Inner page hero */
.page-hero { padding: 80px 0 72px; }
.crumbs { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 70px); margin: 26px 0 22px; max-width: 18ch; }
.page-hero .sub { font-size: 19.5px; color: var(--on-dark-muted); max-width: 62ch; margin-bottom: 34px; }

/* Long-form layout (service + about) */
.split { display: grid; grid-template-columns: 300px 1fr; gap: 72px; }
.split aside { position: sticky; top: 100px; align-self: start; }
.split aside h2 { font-size: 30px; margin-top: 14px; }
.toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; text-decoration: none; color: var(--muted); font-size: 14.5px; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.block + .block { margin-top: 88px; }
.block h2 { font-size: clamp(28px, 3vw, 38px); margin: 14px 0 20px; }
.block > p { font-size: 18px; color: #3d4245; max-width: 66ch; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16.5px; color: #3d4245; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c5f24a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 10.5 3 3 6-7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.deliver { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.deliver div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.deliver b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.deliver span { color: var(--muted); font-size: 15px; }
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 26px var(--mono); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #3d4245; padding: 0 40px 22px 0; margin: 0; max-width: 70ch; }

.timeline { margin-top: 24px; border-top: 1px solid var(--line); }
.timeline div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline time { font: 500 13px var(--mono); color: var(--muted); padding-top: 3px; }
.timeline b { font-weight: 600; color: var(--ink); }
.timeline span { color: var(--muted); }

/* Article */
.article-hero { padding: 72px 0 64px; }
.article-hero h1 { font-size: clamp(36px, 4.8vw, 60px); max-width: 22ch; margin: 24px 0 22px; }
.article-hero .meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font: 500 13px var(--mono); color: var(--on-dark-muted); }
.byline { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.prose { max-width: 720px; margin: 0 auto; font-size: 18.5px; line-height: 1.72; color: #2a2e31; }
.prose h2 { font-size: 32px; margin: 2.2em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 23px; margin: 1.8em 0 .5em; scroll-margin-top: 90px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose a { color: var(--ink); text-decoration-color: #9db63a; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose code { font: 400 .86em var(--mono); background: #ebe9e2; padding: .15em .4em; border-radius: 6px; }
.prose pre { background: var(--ink); color: #e6e9e3; padding: 22px 24px; border-radius: 16px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; margin: 1.6em 0; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--signal); color: var(--muted); }
.prose img { border-radius: 14px; margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.author-box { max-width: 720px; margin: 72px auto 0; display: grid; grid-template-columns: 72px 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.author-box b { color: var(--ink); }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.author-box a { color: var(--ink); }

/* Book-a-call page */
.start { padding: 88px 0 104px; text-align: center; }
.start h1 { font-size: clamp(44px, 6.2vw, 84px); max-width: 16ch; text-wrap: balance; margin: 22px auto 20px; }
.start .lead { font-size: 19.5px; color: var(--muted); max-width: 46ch; text-wrap: balance; margin: 0 auto 64px; }
.howto { list-style: none; padding: 0; margin: 0 auto 56px; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.howto .shot { position: relative; height: 230px; border-radius: 18px; background: var(--ink); overflow: hidden; display: grid; place-items: center; padding: 24px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.5); isolation: isolate; }
.howto .shot::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--on-dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--on-dark-line) 1px, transparent 1px); background-size: 28px 28px; opacity: .5; }
.howto .step-label { display: block; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 20px 0 6px; }
.howto p { font-size: 15.5px; color: var(--muted); max-width: 32ch; margin: 0 auto; }
.howto p b { color: var(--ink); font-weight: 600; }
.cal { width: 100%; max-width: 230px; text-align: left; }
.cal-head { display: flex; justify-content: space-between; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 10px; }
.slot { border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 9px 12px; font: 500 13.5px var(--sans); color: var(--on-dark); margin-bottom: 8px; text-align: center; }
.slot.pick { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.mail { width: 100%; max-width: 250px; text-align: left; background: var(--ink-2); border: 1px solid var(--on-dark-line); border-radius: 12px; padding: 14px; font-size: 12.5px; color: var(--on-dark); }
.mail .to { font: 400 11px var(--mono); color: var(--on-dark-muted); padding-bottom: 9px; border-bottom: 1px solid var(--on-dark-line); }
.howto .mail .note { margin: 10px 0 12px; max-width: none; font-size: 12.5px; line-height: 1.5; color: var(--on-dark); }
.send { display: inline-block; background: var(--signal); color: var(--signal-ink); border-radius: 999px; padding: 5px 14px; font: 600 12px var(--sans); }
.call { display: flex; align-items: center; gap: 0; }
.call img, .call .you { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--signal); }
.call .you { display: grid; place-items: center; background: var(--ink-3); color: var(--on-dark); font: 500 13px var(--sans); border-color: rgba(255,255,255,.25); }
.call .wire { width: 86px; height: 2px; background: repeating-linear-gradient(90deg, var(--signal) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: wire 1s linear infinite; }
@keyframes wire { to { background-position: 24px 0; } }
.call-meta { position: absolute; bottom: 22px; left: 0; right: 0; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.cursor { position: absolute; width: 22px; height: 24px; fill: #fff; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.js .howto .cursor { animation: cursor-in 1.1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0s) + .5s); }
@keyframes cursor-in { from { opacity: 0; transform: translate(34px, 30px); } 70% { opacity: 1; transform: none; } 82% { transform: scale(.88); } to { transform: none; } }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.trouble { margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.trouble a { color: var(--ink); }

.draft-banner { position: sticky; top: 68px; z-index: 40; margin: 0 16px 8px; padding: 10px 16px; border-radius: 12px; background: #ffd84a; color: #3a2e00; font: 600 12px var(--mono); letter-spacing: .08em; text-align: center; }

.post-toc { max-width: 720px; margin: 0 auto 48px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.post-toc .mono { color: var(--muted); }
.post-toc ul { list-style: none; margin: 12px 0 0; padding: 0; columns: 2; column-gap: 32px; font-size: 15px; line-height: 1.5; }
.post-toc li { break-inside: avoid; margin-bottom: 6px; }
.post-toc a { color: var(--text); text-decoration: none; }
.post-toc a:hover { text-decoration: underline; }
@media (max-width: 760px) { .post-toc ul { columns: 1; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .step { animation: none; }
  .js .hero .rise, .js .start .rise, .js .howto .cursor, .call .wire { animation: none; }
  .btn, a.card { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid, .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 360px; }
  .grid-4, .process { grid-template-columns: repeat(2, 1fr); }
  .process > div:nth-child(3) { border-left: 0; }
  .process > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split aside { position: static; }
  .toc { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .howto { grid-template-columns: 1fr; gap: 40px; }
  .start { padding: 56px 0 72px; }
  .wrap { padding: 0 20px; }
  .stage, .band { margin-left: 8px; margin-right: 8px; border-radius: 22px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 2px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 80px 0; }
  .band { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .grid-2, .grid-3, .grid-4, .process, .deliver { grid-template-columns: 1fr; }
  .process > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 32px; }
  .post-row { grid-template-columns: 1fr; gap: 6px; }
  .post-row .mono:last-child { display: none; }
  .foot { grid-template-columns: 1fr; }
  .timeline div { grid-template-columns: 1fr; gap: 4px; }
  .step em { display: none; }
  .author-box { grid-template-columns: 1fr; }
}
