/* Kerbrank inner pages (pricing, method, contact, sign-in, guides, blog,
   privacy, terms), 22 Sep 2026. Brings them into the homepage v4 style:
   Inter 760 headlines with an Instrument Serif italic accent, night-green
   bands, 22px cards, hairlines, tabular numbers. home.css is not loaded
   here, so the few homepage pieces we need are re-made below with an in-
   prefix. Loaded after site.css and nav.css; never loaded on the homepage. */

.site {
  --h-radius: 22px;
  --h-night: #07170F;
  --h-night-2: #0B2219;
  --h-cream: #F4F1E8;
  --h-cream-2: #B9C8C0;
  --h-amber: #E9B869;
  --h-mint: #4FD1A0;
  --h-line-d: rgba(244, 241, 232, .12);
  --in-brass: #8A5A14;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site { --h-night: #0B2A1E; --h-night-2: #10362A; --in-brass: #E0A63F; }
}
:root[data-theme="dark"] .site { --h-night: #0B2A1E; --h-night-2: #10362A; --in-brass: #E0A63F; }

/* ---------- type: bold sans headlines, serif italic accents */
.site main h1, .site main h2 { font-family: var(--sans); font-weight: 760; letter-spacing: -.035em; text-wrap: balance; }
.site main h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: .98; letter-spacing: -.045em; }
.site main h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.04; }
.site main h1 em, .site main h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--brand-2); font-size: 1.04em; }
.site main h3 { letter-spacing: -.015em; }
.site .lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); max-width: 58ch; }
.site .eyebrow { font-weight: 700; letter-spacing: .12em; font-size: .72rem; }

/* the small pill above a page title */
.in-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin-bottom: 24px; box-shadow: 0 1px 2px rgba(15, 26, 22, .04); }
.in-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand-2) 18%, transparent); }

/* ---------- page heads: paper, a faint street grid, a soft glow */
.site .page-head { position: relative; overflow: hidden; isolation: isolate; padding: clamp(52px, 8vw, 112px) 0 clamp(40px, 6vw, 76px);
  background: radial-gradient(55% 90% at 88% 0%, color-mix(in oklab, var(--brand-2) 10%, transparent), transparent 70%), radial-gradient(40% 70% at 100% 100%, color-mix(in oklab, var(--accent) 7%, transparent), transparent 70%), linear-gradient(var(--paper), var(--s-wash)); }
.site .page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 90% at 80% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(60% 90% at 80% 10%, #000 10%, transparent 70%); }
.site .page-head h1 { max-width: 17ch; margin-bottom: .3em; }
.site .page-head .lede { margin-bottom: 0; }
.in-head-center { text-align: center; }
.in-head-center h1, .in-head-center .lede { margin-inline: auto; }

/* ---------- night bands (principle, final CTA) */
.site .band { background: var(--h-night); color: var(--h-cream); }
.site .band p { color: var(--h-cream-2); }
.site .band .eyebrow { color: var(--h-amber); }
.site main .band h2 { color: var(--h-cream); }
.site main .band h2 em { color: var(--h-amber); }
.site .band :focus-visible { outline: 2px solid var(--h-amber); outline-offset: 3px; }
.in-cta { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(45% 70% at 80% 0%, rgba(46, 154, 99, .26), transparent 70%), radial-gradient(35% 60% at 10% 100%, rgba(200, 134, 43, .16), transparent 70%), var(--h-night) !important; }
.in-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--h-line-d) 1px, transparent 1px), linear-gradient(90deg, var(--h-line-d) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(60% 80% at 50% 50%, #000 10%, transparent 75%); }
.site main .in-cta h2 { max-width: 18ch; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1; }
.site .cta .btn:not(.btn-ghost) { background: var(--h-cream); color: var(--h-night); box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.site .cta .btn:not(.btn-ghost):hover { background: #fff; color: var(--h-night); }
.site .cta .btn-ghost { background: rgba(244, 241, 232, .04); color: var(--h-cream); border-color: rgba(244, 241, 232, .28); }
.site .cta .btn-ghost:hover { background: rgba(244, 241, 232, .1); color: var(--h-cream); }
.in-cta-note { margin: 22px 0 0 !important; font-size: .9rem !important; }
.in-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: .9rem; color: var(--h-cream-2); }
.in-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.in-ticks li::before { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--h-mint); border-bottom: 2px solid var(--h-mint); transform: rotate(-45deg) translate(1px, -2px); }

/* buttons: a little weight when pressed */
.site .btn { transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; }
.site .btn:active { transform: translateY(1px); }

/* ======================= PRICING ======================= */
.in-plans { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .in-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .in-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; } }
.in-plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--h-radius); padding: 28px 24px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
@media (hover: hover) { .in-plan:not(.in-plan-pick):hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(7, 23, 15, .35); border-color: color-mix(in oklab, var(--brand-2) 28%, var(--line)); } }
.site main .in-plan h2 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 4px; }
.in-plan .for { font-size: .9rem; line-height: 1.5; color: var(--ink-2); margin: 0 0 20px; min-height: 3em; }
.in-price { font-family: var(--sans); font-weight: 760; font-size: 3.2rem; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.in-price small { font-size: .9rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.in-plan .tick { margin: 22px 0 0; font-size: .94rem; }
.in-plan .tick li { margin: 10px 0; }
.in-plan .tick b { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.in-plan-extra { margin: 16px 0 24px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--ink-2); }
.in-plan .btn { margin-top: auto; width: 100%; }
.in-plan .btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.in-plan-pick { background: var(--h-night-2); color: var(--h-cream); border-color: var(--h-night-2); box-shadow: 0 30px 60px -20px rgba(7, 23, 15, .5); }
.site main .in-plan-pick h2, .in-plan-pick .tick b { color: var(--h-cream); }
.in-plan-pick .for, .in-plan-pick .in-price small, .in-plan-pick .tick, .in-plan-pick .in-plan-extra { color: var(--h-cream-2); }
.in-plan-pick .in-plan-extra { border-top-color: var(--h-line-d); }
.in-plan-pick .tick li::before { border-color: var(--h-mint); }
.in-plan-pick .btn { background: var(--h-cream); color: var(--h-night); border-color: var(--h-cream); }
.in-plan-pick .btn:hover { background: #fff; color: var(--h-night); }
.in-plan-pick :focus-visible { outline: 2px solid var(--h-amber); outline-offset: 3px; }
.in-plan-pick .plan-flag { background: var(--h-amber); color: var(--h-night); }
@media (min-width: 1080px) { .in-plan-pick { margin-top: -12px; margin-bottom: 12px; } }
.in-plans-note { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .92rem; color: var(--ink-2); }
.in-plans-note li { display: inline-flex; align-items: center; gap: 8px; }
.in-plans-note li::before { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand-2); transform: rotate(-45deg) translate(1px, -2px); }
.in-plans-sec { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }

/* comparison table */
.in-compare { background: var(--s-wash); border-block: 1px solid var(--line); }
.in-table { position: relative; }
.in-table .ptable-wrap { border-radius: var(--h-radius); box-shadow: 0 1px 2px rgba(15, 26, 22, .04); }
.in-table .ptable { font-size: .95rem; }
.in-table .ptable th, .in-table .ptable td { padding: 15px 18px; }
.in-table .ptable thead th { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.in-table .ptable thead th small { display: block; margin-top: 2px; font-size: .92rem; font-weight: 600; letter-spacing: -.01em; text-transform: none; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.in-table .ptable tbody th { font-weight: 560; color: var(--ink); }
.in-table .ptable tbody tr:last-child th, .in-table .ptable tbody tr:last-child td { border-bottom: 0; }
.in-table .ptable td { color: var(--ink); font-weight: 560; }
.in-table .ptable .pick { background: color-mix(in oklab, var(--brand-2) 7%, var(--surface)); }
.in-table .ptable thead .pick { box-shadow: inset 0 3px 0 var(--brand-2); background: color-mix(in oklab, var(--brand-2) 9%, var(--paper)); }
.in-table .ptable .yes { color: var(--brand-2); }
.in-table .ptable .no { color: var(--ink-3); font-weight: 500; }
.ptable .yes::before { content: ""; display: inline-block; width: 10px; height: 5px; margin-right: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-3px); }
.in-swipe { display: none; }
@media (max-width: 759px) {
  .in-table .ptable { min-width: 540px; font-size: .9rem; }
  .in-table .ptable td { padding-inline: 8px; }
  .in-table .ptable th, .in-table .ptable td { padding: 13px 12px; }
  .in-table .ptable thead th:first-child, .in-table .ptable tbody th { position: sticky; left: 0; z-index: 1; width: 148px; min-width: 148px; background: var(--surface); box-shadow: 1px 0 0 var(--line), 8px 0 12px -10px rgba(7, 23, 15, .35); }
  .in-table .ptable thead th:first-child { background: var(--paper); }
  .in-table .ptable tbody th { font-size: .86rem; line-height: 1.35; }
  .in-table::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 44px; pointer-events: none; border-radius: 0 var(--h-radius) var(--h-radius) 0; background: linear-gradient(90deg, color-mix(in oklab, var(--surface) 0%, transparent), var(--surface)); transition: opacity .2s ease; }
  .in-table.at-end::after { opacity: 0; }
  .in-swipe { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); }
  .in-swipe svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
}

/* FAQ with the help box */
.site .faq summary { transition: color .15s ease; }
.site .faq summary:hover { color: var(--brand-2); }
.in-help { margin-top: 28px; padding: 24px; border-radius: 20px; background: var(--h-night-2); color: var(--h-cream); max-width: 420px; }
.in-help-title { font-weight: 760; font-size: 1.15rem; letter-spacing: -.01em; margin: 0 0 6px; color: var(--h-cream); }
.in-help p { color: var(--h-cream-2); margin: 0 0 16px; font-size: .95rem; }
.in-help .in-help-title { color: var(--h-cream); }
.in-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.in-help .btn:not(.btn-ghost) { background: var(--h-cream); color: var(--h-night); }
.in-help .btn:not(.btn-ghost):hover { background: #fff; }
.in-help .btn-ghost { color: var(--h-cream); border-color: rgba(244, 241, 232, .28); background: transparent; }
.in-help .btn-ghost:hover { background: rgba(244, 241, 232, .1); color: var(--h-cream); }
.in-help :focus-visible { outline: 2px solid var(--h-amber); outline-offset: 3px; }
.in-faq-links { display: grid; gap: 4px; margin-top: 24px; }
.in-faq-links a { padding: 6px 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.in-faq-links a:hover { text-decoration-color: currentColor; }

/* ======================= LONG-FORM: method, guides, blog, privacy, terms ======================= */
.site .doc { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }
.site .doc p, .site .doc li { color: var(--ink-2); }
.site .doc > p, .site .doc > ul, .site .doc > ol { margin: 0 0 1.1em; }
.site .doc li { margin: 8px 0; padding-left: 4px; }
.site .doc li::marker { color: var(--brand-2); font-weight: 700; }
.site main .doc h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -.035em; margin: 64px 0 18px; padding-top: 0; }
.site main .doc h2:first-child { margin-top: 0; }
.site .doc h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin: 36px 0 10px; color: var(--ink); }
.site .doc strong { color: var(--ink); font-weight: 650; }
.site .doc a { color: var(--brand-2); font-weight: 560; text-decoration-color: color-mix(in oklab, var(--brand-2) 40%, transparent); }
.site .doc a:hover { text-decoration-color: currentColor; }
.site .doc hr { margin: 48px 0; }
.site .doc code { font-family: var(--mono); font-size: .85em; background: color-mix(in oklab, var(--brand-2) 8%, var(--surface)); border: 1px solid var(--line-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); }
.site .doc blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35; color: var(--ink); }
.site .doc .callout { border-left: 3px solid var(--brand-2); background: color-mix(in oklab, var(--brand-2) 6%, var(--surface)); border-radius: 0 16px 16px 0; padding: 20px 24px; margin: 28px 0; }
.site .doc .callout p { color: var(--ink); margin: 0; }
.site .doc .table-wrap { border-radius: 16px; margin: 28px 0; box-shadow: 0 1px 2px rgba(15, 26, 22, .04); }
.site .doc table { font-size: .95rem; line-height: 1.55; }
.site .doc table th { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); border-bottom: 1px solid var(--line); }
.site .doc table th, .site .doc table td { padding: 13px 16px; }
.site .doc table td { border-bottom: 1px solid var(--line-2); }
.site .doc table tbody tr:last-child td { border-bottom: 0; }
.site .doc table td:first-child { color: var(--ink); font-weight: 650; }
.site .prose { padding-top: clamp(44px, 6vw, 80px); }
@media (min-width: 1000px) { .site .prose-grid { grid-template-columns: 210px minmax(0, 1fr); gap: 80px; } }
.site .toc ol { gap: 2px; border-left: 1px solid var(--line); }
.site .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.35; }
.site .toc a:hover { color: var(--ink); border-left-color: var(--brand-2); }
.site .toc-title { font-weight: 700; letter-spacing: .12em; }

/* article heads */
.site .article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 22ch; line-height: 1.02; letter-spacing: -.04em; }
.site .article-head .crumbs a { font-weight: 560; }
.site .article-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .82rem; font-weight: 560; font-variant-numeric: tabular-nums; }

/* the call to action at the foot of an article: a small night band */
.site .article-cta { position: relative; overflow: hidden; isolation: isolate; margin-top: 72px; padding: clamp(28px, 4vw, 44px); border-radius: var(--h-radius); color: var(--h-cream);
  background: radial-gradient(60% 90% at 100% 0%, rgba(46, 154, 99, .3), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(200, 134, 43, .16), transparent 70%), var(--h-night); box-shadow: 0 30px 60px -30px rgba(7, 23, 15, .5); }
.site .article-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; pointer-events: none;
  background-image: linear-gradient(var(--h-line-d) 1px, transparent 1px), linear-gradient(90deg, var(--h-line-d) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 90% at 90% 10%, #000 10%, transparent 75%); mask-image: radial-gradient(70% 90% at 90% 10%, #000 10%, transparent 75%); }
.site main .doc .article-cta h2 { color: var(--h-cream); font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 12px; max-width: 20ch; }
.site main .doc .article-cta h2 em { color: var(--h-amber); }
.site .doc .article-cta p { color: var(--h-cream-2); font-size: 1rem; line-height: 1.6; }
.site .article-cta .btn:not(.btn-ghost) { background: var(--h-cream); color: var(--h-night); }
.site .article-cta .btn:not(.btn-ghost):hover { background: #fff; color: var(--h-night); }
.site .article-cta .btn-ghost { background: transparent; color: var(--h-cream); border-color: rgba(244, 241, 232, .28); }
.site .article-cta .btn-ghost:hover { background: rgba(244, 241, 232, .1); color: var(--h-cream); }
.site .doc .article-cta a { font-weight: 600; text-decoration: none; }
.site .article-cta :focus-visible { outline: 2px solid var(--h-amber); outline-offset: 3px; }

/* guide and blog cards */
.site main .related h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 28px; }
.site .related { border-top-color: var(--line); }
.site .post-grid { gap: 16px; }
.site .post-card { position: relative; overflow: hidden; gap: 12px; padding: 30px 26px 24px; border-radius: var(--h-radius); box-shadow: 0 1px 2px rgba(15, 26, 22, .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site .post-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-2), var(--h-mint)); }
.site .post-card[href^="/blog"]::before { background: linear-gradient(90deg, var(--accent), var(--h-amber)); }
.site .post-card::after { content: "Read →"; margin-top: auto; padding-top: 6px; font-size: .88rem; font-weight: 650; color: var(--brand-2); transition: transform .2s ease; }
.site .post-card[href^="/guides"]::after { content: "Read the guide →"; }
.site .post-card[href^="/blog"]::after { content: "Read the article →"; }
@media (hover: hover) { .site .post-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(7, 23, 15, .35); border-color: color-mix(in oklab, var(--brand-2) 28%, var(--line)); } }
.site .post-kicker { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, var(--brand-2) 10%, var(--surface)); color: var(--brand-2); font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.site .post-card[href^="/blog"] .post-kicker { background: color-mix(in oklab, var(--accent) 12%, var(--surface)); color: var(--in-brass); }
.site .post-title { font-family: var(--sans); font-weight: 740; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.028em; text-wrap: balance; }
.site .post-desc { font-size: .95rem; }
/* guides index: the getting-started guide leads, on the night green */
@media (min-width: 900px) {
  .site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child { grid-column: span 2; }
}
.site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child { background: radial-gradient(60% 100% at 100% 0%, rgba(46, 154, 99, .3), transparent 70%), var(--h-night-2); border-color: var(--h-night-2); color: var(--h-cream); justify-content: flex-end; min-height: 250px; }
.site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child .post-title { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 22ch; }
.site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child .post-desc { color: var(--h-cream-2); max-width: 56ch; }
.site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child .post-kicker { background: rgba(233, 184, 105, .16); color: var(--h-amber); }
.site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child::after { content: "Start here →"; color: var(--h-amber); }
.site .prose > .post-grid:first-child > a.post-card[href="/guides/getting-started"]:first-child:focus-visible { outline-color: var(--h-amber); }

/* ======================= METHOD ======================= */
.in-principle { display: grid; gap: 10px; margin: 0 0 40px; padding: 26px 28px; border-radius: var(--h-radius); background: var(--h-night-2); color: var(--h-cream); }
.in-principle b { font-family: var(--sans); font-weight: 760; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.03em; line-height: 1.1; color: var(--h-cream); }
.in-principle b em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--h-amber); }
.site .doc .in-principle p { color: var(--h-cream-2); margin: 0; font-size: 1rem; line-height: 1.6; }
.in-fig { margin: 30px 0 34px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--h-radius); background: var(--surface); display: grid; gap: 22px; align-items: center; }
@media (min-width: 640px) { .in-fig { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); } }
.in-fig svg { width: 100%; height: auto; display: block; max-width: 280px; margin-inline: auto; }
.in-fig .g-line { stroke: var(--line); stroke-width: 1; }
.in-fig .g-dot { fill: var(--brand-2); }
.in-fig .g-dot-o { fill: color-mix(in oklab, var(--brand-2) 55%, var(--surface)); }
.in-fig .g-pin { fill: var(--accent); }
.in-fig .g-pin-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.in-fig .g-dim { stroke: var(--ink-2); stroke-width: 1.4; }
.in-fig .g-lbl { fill: var(--ink-2); font: 600 12px var(--sans); }
.in-fig figcaption { font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.in-fig figcaption b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1rem; }
.in-fig .in-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; padding: 0; list-style: none; }
.site .doc .in-fig .in-chips li { margin: 0; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .82rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.site .doc .in-fig .in-chips li::marker { content: none; }
.in-closing { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ======================= SIGN-IN AND RESET ======================= */
.site .auth-side { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(60% 50% at 80% 20%, rgba(46, 154, 99, .28), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(200, 134, 43, .18), transparent 70%), var(--h-night); color: var(--h-cream); gap: 36px; }
.site .auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--h-line-d) 1px, transparent 1px), linear-gradient(90deg, var(--h-line-d) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 75%); }
.site .auth-side .logo { color: var(--h-cream); }
.site .auth-side blockquote { font-family: var(--sans); font-weight: 760; letter-spacing: -.04em; font-size: clamp(2.3rem, 3.4vw, 3.3rem); line-height: 1; color: var(--h-cream); max-width: 14ch; }
.site .auth-side blockquote em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--h-amber); }
.site .auth-side p { color: var(--h-cream-2); }
.site .auth-side :focus-visible { outline: 2px solid var(--h-amber); outline-offset: 3px; }
.in-auth-copy { display: grid; gap: 18px; }
.in-auth-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--h-cream-2); }
.in-auth-ticks li { display: flex; align-items: center; gap: 10px; }
.in-auth-ticks li::before { content: ""; flex: none; width: 11px; height: 6px; border-left: 2px solid var(--h-mint); border-bottom: 2px solid var(--h-mint); transform: rotate(-45deg) translate(1px, -2px); }
/* the example map card */
.in-heatcard { position: relative; width: min(100%, 380px); background: var(--surface); color: var(--ink); border: 1px solid rgba(255, 255, 255, .5); border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.in-heatcard-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.in-heatcard-bar b { color: var(--ink); font-weight: 650; }
.in-ex { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 16%, var(--surface)); color: var(--in-brass); }
.in-heat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 18px 18px 14px; }
.in-heat i { aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: .82rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .28); }
.in-heat i.rx { color: var(--ink-3); text-shadow: none; }
.in-heat i.me { outline: 2px solid var(--ink); outline-offset: 2px; }
.in-heat-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.in-heat-stat b { display: block; font-weight: 760; font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.in-heat-stat span { font-size: .74rem; color: var(--ink-2); }
.in-heat-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; font-size: .72rem; color: var(--ink-2); }
.in-heat-legend span { display: inline-flex; align-items: center; gap: 5px; }
.in-heat-legend i { width: 9px; height: 9px; border-radius: 2px; }
.site .auth-box h1 { font-size: clamp(2.3rem, 5vw, 3rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; }
.site .auth-tabs { border-radius: 14px; }
.site .auth-tabs button { border-radius: 10px; min-height: 40px; }
.site .auth-box input { border-radius: 11px; }
.site .auth-main { background: radial-gradient(50% 40% at 100% 0%, color-mix(in oklab, var(--brand-2) 7%, transparent), transparent 70%), var(--paper); }

/* ======================= CONTACT ======================= */
.site .c-hero { position: relative; isolation: isolate; }
.site .c-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(50% 60% at 15% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(50% 60% at 15% 10%, #000 10%, transparent 70%); }

/* dark mode: night surfaces keep an edge against the dark page */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site .band, :root:not([data-theme="light"]) .site .article-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-block: 1px solid var(--h-line-d); }
  :root:not([data-theme="light"]) .site .article-cta, :root:not([data-theme="light"]) .in-help, :root:not([data-theme="light"]) .in-principle { border: 1px solid var(--h-line-d); }
  :root:not([data-theme="light"]) .in-plan-pick { outline: 1px solid color-mix(in oklab, var(--h-amber) 40%, transparent); }
  :root:not([data-theme="light"]) .in-heatcard { border-color: var(--line); }
}
:root[data-theme="dark"] .site .band, :root[data-theme="dark"] .site .article-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-block: 1px solid var(--h-line-d); }
:root[data-theme="dark"] .in-plan-pick { outline: 1px solid color-mix(in oklab, var(--h-amber) 40%, transparent); }

@media (prefers-reduced-motion: reduce) { .in-plan, .site .post-card { transition: none; } }
@media (max-width: 639px) { .in-plans { gap: 26px; } .in-plan .for { min-height: 0; } }
.site .auth-side blockquote em { display: block; }
.in-heatcard-wrap { position: relative; }
.in-heatcard-wrap::before { content: ""; position: absolute; inset: 10% 0 10% 0; width: min(100%, 380px); background: radial-gradient(closest-side, rgba(79, 209, 160, .32), transparent); filter: blur(30px); }
@media (min-width: 1200px) { .in-heatcard-wrap { perspective: 1400px; } .in-heatcard { transform: rotateY(6deg) rotateX(2deg); transform-origin: 30% 50%; } }
.in-heatcard { width: min(100%, 340px); }
.in-heat { gap: 5px; padding: 16px 16px 12px; }
@media (min-width: 960px) { .site .auth-side { padding: 40px 56px; } }
.site .auth-side blockquote { font-size: clamp(2.1rem, 3vw, 2.9rem); }
.in-heatcard-bar > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-ex { flex: none; }
.in-heat-foot { flex-direction: column; align-items: stretch; gap: 10px; }
.in-heat-stat { display: flex; align-items: baseline; gap: 8px; }
.in-heat-stat b { display: inline; }
.in-heat-stat span { font-size: .8rem; white-space: nowrap; }
.in-heat-legend { justify-content: flex-start; }
/* four related cards: one row of four rather than three and an orphan */
@media (min-width: 1100px) { .site .related .post-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .site .related .post-grid:has(> :nth-child(4):last-child) .post-card { padding-inline: 22px; } }
/* The sign-in box sits from the top, so the demo note that appears after load never shifts it. */
.site .auth-main { align-items: start; padding-top: clamp(32px, 9vh, 110px); }

/* ---------- Sign in with Google (v6) */
.auth-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #1F1F1F; font-weight: 600; font-size: .98rem; text-decoration: none; box-shadow: 0 1px 2px rgb(7 23 15 / .06); transition: border-color .15s ease, box-shadow .15s ease; }
.auth-google:hover { border-color: color-mix(in oklab, var(--ink) 30%, var(--line)); box-shadow: 0 4px 14px -6px rgb(7 23 15 / .25); }
.auth-google:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.auth-google svg { flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 6px; color: var(--ink-2); font-size: .82rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-pw { position: relative; }
.auth-pw input { padding-right: 48px; }
.auth-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.auth-eye:hover { background: var(--line-2); color: var(--ink); }
.auth-eye[aria-pressed="true"] svg { opacity: .55; }
.auth-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.in-auth-promise { margin: 18px 0 0; font-size: .86rem; color: var(--h-cream-2, #B9C8C0); letter-spacing: .01em; }
