/* System: Tessel (tessel-template.framer.website): type, button, spacing, frame, text motion.
   Colour: The Undercurrent palette (ink #1B1F38, reading-mark indigo #353A86). */
@property --d { syntax: "<length>"; inherits: true; initial-value: 0px; }

:root {
  --paper: #FFFFFF;
  --paper-2: #F6F7FB;
  --ink: #1B1F38;
  --ink-2: #3F456B;
  --muted: #8C91B0;
  --line: rgba(27, 31, 56, .09);
  --line-2: rgba(27, 31, 56, .22);
  --accent: #353A86;
  --accent-2: #232765;
  --accent-tint: rgba(53, 58, 134, .07);
  --side-soft: #EEF0F8;
  --side-soft-2: #DCDFEC;
  --night: #12152A;
  --night-ink: #F3F4FB;
  --night-muted: #9DA2C6;

  --serif: "Fraunces", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --rise: cubic-bezier(.19, 1, .22, 1);

  --gutter: clamp(16px, 4.5vw, 64px);
  --pad: clamp(20px, 2.9vw, 42px);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: .6875rem; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; font-variation-settings: "wdth" 87.5; font-weight: 400; margin: 0; }
.display { font-family: var(--serif); font-weight: 360; font-variation-settings: "opsz" 72, "SOFT" 0, "WONK" 0; margin: 0; text-wrap: balance; }
.dim { color: var(--muted); }
.h2 { font-size: clamp(2.25rem, 4.6vw, 4.125rem); line-height: 1; letter-spacing: -.03em; }
.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 30em; }
.label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.label i { width: 14px; height: 2px; background: var(--accent); display: block; transform-origin: left; transition: transform .6s var(--ease); }
.js .label:not(.is-shown) i { transform: scaleX(0); }

/* ---------- text motion (Tessel) ---------- */
.w-m { display: inline-block; vertical-align: top; padding: .06em 0 .16em; margin: -.06em 0 -.16em; clip-path: inset(0 -.5em); }
.w-i { display: inline-block; animation: rise 1.1s var(--rise) both; animation-delay: var(--dl, 0s); }
@keyframes rise { from { transform: translateY(115%); } }
.ln { display: block; overflow: hidden; padding-block: .06em .16em; margin-block: -.06em -.16em; }
.ln-i { display: block; transform: translateY(115%); transition: transform 1.1s var(--rise); transition-delay: var(--dl, 0s); }
.is-shown .ln-i { transform: none; }
.js .fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--dl, 0s); }
.js .fade.is-shown { opacity: 1; transform: none; }
.scrub .w { opacity: .16; transition: opacity .25s linear; }
.js [data-type] .ch { opacity: 0; }
.js [data-type].is-shown .ch { opacity: 1; transition: opacity .01s linear calc(var(--c) * 22ms); }
.js [data-stagger] > * { transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--base, 0ms) + var(--i, 0) * var(--gap, 90ms)); }
.js [data-stagger]:not(.is-shown) > * { opacity: 0; translate: 0 14px; }
.qw { display: inline-block; animation: qw .55s var(--ease) both; animation-delay: calc(var(--i) * 20ms); }
@keyframes qw { from { opacity: 0; transform: translateY(5px); } }
.js [data-words]:not(.is-split), .js [data-lines]:not(.is-split) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .w-i { animation: none; }
  .ln-i { transform: none; transition: none; }
  .js .fade { opacity: 1; transform: none; transition: none; }
  .scrub .w { opacity: 1; }
  .js [data-type] .ch, .js [data-stagger] > *, .qw { opacity: 1; translate: none; transition: none; animation: none; }
  .js .label i, .swap .no::after, .swap .yes { transition: none; }
  .js .label:not(.is-shown) i, .js .prow:not(.is-shown) .swap .no::after { transform: none; }
  .js .prow:not(.is-shown) .swap .yes, .js [data-stagger]:not(.is-shown) > *, .js [data-type]:not(.is-shown) .ch { opacity: 1; translate: none; }
  .js [data-words], .js [data-lines] { visibility: visible; }
}

/* ---------- button (Tessel isometric extrude) ---------- */
.btn {
  --d: 6px; --face: var(--ink); --fg: #FFFFFF; --side: var(--accent); --side-2: var(--accent-2); --edge: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.75rem; padding-inline: 1.125rem; margin: 0 6px 6px 0;
  font-family: var(--sans); font-size: .9375rem; line-height: 1; font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap; text-decoration: none; background: var(--face); color: var(--fg);
  border: 1px solid var(--edge); border-radius: 0; cursor: pointer;
  transform: translate(calc(6px - var(--d)), calc(6px - var(--d)));
  transition: --d .3s var(--ease), background-color .25s, color .25s;
}
.btn::before, .btn::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--edge); box-sizing: border-box; }
.btn::before { top: -1px; left: calc(100% + 1px); width: calc(var(--d) + 1px); height: calc(100% + 2px); background: var(--side-2); border-left: 0; transform-origin: 0 0; transform: skewY(45deg); }
.btn::after { left: -1px; top: calc(100% + 1px); width: calc(100% + 2px); height: calc(var(--d) + 1px); background: var(--side); border-top: 0; transform-origin: 0 0; transform: skewX(45deg); }
.btn:hover { --d: 2px; }
.btn:active { --d: 0px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn .arrow { width: .6875rem; height: .6875rem; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn.is-secondary { --face: #FFFFFF; --fg: var(--ink); --side: var(--side-soft); --side-2: var(--side-soft-2); }
.btn.is-secondary:hover { --side: var(--accent); --side-2: var(--accent-2); }

/* ---------- frame ---------- */
.rail { margin-inline: var(--gutter); border-inline: 1px solid var(--line); position: relative; }
.seam { position: relative; height: 0; border-top: 1px solid var(--line); }
.block { padding: clamp(80px, 9vw, 132px) var(--pad) clamp(64px, 7vw, 104px); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 20px clamp(32px, 5vw, 80px); align-items: start; }
.head .lead { margin-top: 24px; }
.lead.wide { max-width: none; }

/* ---------- logo drift ---------- */
svg[data-drift] { overflow: visible; }
svg[data-drift] .drift-u { transform-box: fill-box; transform-origin: 50% 50%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 64px; margin-inline: var(--gutter); padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; line-height: 0; }
.logo svg { height: 22px; width: auto; display: block; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-link:hover { color: var(--ink); }
.nav .btn { height: 2.5rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 5.4vw, 78px) var(--pad) clamp(56px, 6vw, 88px); }
.eyebrow-row { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.hero h1 { margin-top: clamp(32px, 4vw, 56px); font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: .96; letter-spacing: -.035em; max-width: 15.5em; }
.hero-body { margin-top: clamp(28px, 2.8vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.optin { margin-top: 28px; max-width: 480px; }
.optin form { display: flex; gap: 10px; align-items: flex-start; }
.field { flex: 1 1 auto; position: relative; }
.field input { width: 100%; height: 2.75rem; padding: 0 14px; font: 400 15px/1 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 0; outline: none; transition: border-color .2s; }
.field input::placeholder { color: var(--muted); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.optin .note { margin-top: 14px; color: var(--muted); }
.optin .done { display: none; margin-top: 14px; color: var(--accent); }
.optin.is-done form, .optin.is-done .note { display: none; }
.optin.is-done .done { display: block; }
.optin .err { margin-top: 14px; color: var(--ink-2); }
.optin .err:empty { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.specimen { --d: 10px; position: relative; background: var(--paper); border: 1px solid var(--ink); margin: 0 var(--d) var(--d) 0; }
.specimen::before, .specimen::after { content: ""; position: absolute; border: 1px solid var(--ink); box-sizing: border-box; }
.specimen::before { top: -1px; left: calc(100% + 1px); width: calc(var(--d) + 1px); height: calc(100% + 2px); background: var(--side-soft-2); border-left: 0; transform-origin: 0 0; transform: skewY(45deg); }
.specimen::after { left: -1px; top: calc(100% + 1px); width: calc(100% + 2px); height: calc(var(--d) + 1px); background: var(--side-soft); border-top: 0; transform-origin: 0 0; transform: skewX(45deg); }
.sp-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.sp-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.sp-head .live i { width: 6px; height: 6px; background: var(--accent); display: block; }
.sp-body { padding: 22px 20px 20px; }
.sp-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.sp-body p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sp-rows { border-top: 1px solid var(--line); }
.sp-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 20px; border-bottom: 1px solid var(--line); }
.sp-row .n { color: var(--accent); }
.sp-row .k { font-size: 14px; }
.sp-row .v { color: var(--muted); text-align: right; }
.sp-cal { padding: 16px 20px 18px; display: grid; gap: 6px; }
.sp-cal .mono { color: var(--accent); }
.sp-cal .verdict { font-size: 14px; color: var(--ink-2); }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec { display: flex; justify-content: space-between; gap: 12px; padding: 15px var(--pad); border-left: 1px solid var(--line); color: var(--ink-2); }
.spec:first-child { border-left: 0; }
.spec .mono:last-child { color: var(--muted); text-align: right; }

/* ---------- 01 manifesto (Tessel about: scroll-read paragraph) ---------- */
.manifesto { padding: clamp(96px, 11vw, 168px) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 24px clamp(32px, 5vw, 80px); }
.scrub { font-family: var(--serif); font-weight: 360; font-variation-settings: "opsz" 72; font-size: clamp(1.75rem, 3.6vw, 3.25rem); line-height: 1.16; letter-spacing: -.025em; margin: 0; max-width: 21em; }

/* ---------- 02 before / after (Tessel home-2) ---------- */
.ba { margin-top: clamp(48px, 5.4vw, 78px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ba-card { background: var(--paper); border: 1px solid var(--line-2); display: grid; grid-template-rows: auto 1fr; }
.ba-card.is-with { border-color: var(--accent); box-shadow: 6px 6px 0 var(--accent); margin: 0 6px 6px 0; }
.ba-vis { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); min-height: 330px; display: grid; place-items: center; padding: 36px 28px 52px; overflow: hidden; }
.ba-card.is-with .ba-vis { border-bottom-color: rgba(53, 58, 134, .25); }
.ba-vis .cap { position: absolute; left: 18px; bottom: 14px; color: var(--muted); }
.ba-body { padding: 22px 24px 28px; display: grid; gap: 10px; align-content: start; }
.ba-body .mono { color: var(--muted); }
.ba-card.is-with .ba-body .mono { color: var(--accent); }
.ba-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.625rem; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.ba-body p { margin: 0; color: var(--ink-2); max-width: 30em; }

.serp { width: min(100%, 380px); position: relative; height: 262px; }
.serp-q { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; background: var(--paper); border: 1px solid var(--line-2); font-size: 14px; }
.serp-q svg { width: 13px; height: 13px; color: var(--muted); }
.serp-r { position: absolute; left: var(--x); top: var(--y); width: 74%; background: var(--paper); border: 1px solid var(--line-2); padding: 12px 14px; transform: rotate(var(--r)); box-shadow: 0 10px 24px -14px rgba(27, 31, 56, .35); display: grid; gap: 4px; }
.serp-r .mono { color: var(--muted); }
.serp-r b { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; letter-spacing: -.01em; }

.weigh { width: min(100%, 380px); background: var(--paper); border: 1px solid var(--line-2); }
.weigh-top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.weigh-top .mono:first-child { color: var(--ink-2); }
.weigh-row { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.weigh-cal { display: grid; gap: 4px; padding: 12px 14px; font-family: var(--serif); font-size: 15px; }
.weigh-cal .mono { color: var(--accent); }
.weigh-row small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ---------- 03 five kinds: tabs (Tessel home-2 use cases) ---------- */
.kp { margin-top: clamp(48px, 5.4vw, 78px); display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); border: 1px solid var(--line); }
.kp-list { border-right: 1px solid var(--line); display: grid; align-content: start; }
.kp-tab { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; cursor: pointer; transition: background-color .25s; }
.kp-tab:last-child { border-bottom: 0; }
.kp-tab .n { color: var(--muted); padding-top: 3px; }
.kp-tab b { font-weight: 500; font-size: 16px; color: var(--ink); }
.kp-tab span:last-child { grid-column: 2; color: var(--muted); }
.kp-tab:hover { background: var(--paper-2); }
.kp-tab[aria-selected="true"] { background: var(--paper-2); box-shadow: inset 2px 0 0 var(--accent); }
.kp-tab[aria-selected="true"] .n { color: var(--accent); }
.kp-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.kp-detail { padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; align-content: start; min-height: 380px; }
.kp-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.kp-top .mono:first-child { color: var(--accent); }
.kp-say { font-family: var(--serif); font-weight: 360; font-variation-settings: "opsz" 72; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.18; letter-spacing: -.02em; margin: 0; max-width: 22em; }
.kp-rows { border-top: 1px solid var(--line); }
.kp-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kp-row .mono:first-child { color: var(--muted); }
.kp-row .mono:last-child { color: var(--muted); }
.kp-detail.is-swap > * { animation: swap .5s var(--ease) both; }
.kp-detail.is-swap > *:nth-child(2) { animation-delay: .04s; } .kp-detail.is-swap > *:nth-child(3) { animation-delay: .08s; } .kp-detail.is-swap > *:nth-child(4) { animation-delay: .12s; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 04 edition inspector (Tessel home-2 run inspector) ---------- */
.insp { margin-top: clamp(48px, 5.4vw, 78px); border: 1px solid var(--ink); }
.insp-bar { background: var(--night); color: var(--night-muted); display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; }
.insp-bar .ok { color: var(--night-ink); display: inline-flex; align-items: center; gap: 8px; }
.insp-bar .ok i { width: 6px; height: 6px; background: #A9AEF4; display: block; }
.insp-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.insp-table { border-right: 1px solid var(--line); }
.insp-head, .insp-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 36px; gap: 14px; align-items: center; padding: 0 18px; }
.insp-head { height: 40px; border-bottom: 1px solid var(--line); color: var(--muted); }
.insp-row { width: 100%; height: 50px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; transition: background-color .2s; }
.insp-row:hover { background: var(--paper-2); }
.insp-row[aria-selected="true"] { background: var(--accent-tint); }
.insp-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.insp-step { display: flex; align-items: center; gap: 10px; min-width: 0; }
.insp-step .tag { flex: 0 0 auto; width: 74px; text-align: center; border: 1px solid var(--line-2); padding: 3px 0; font-size: 9.5px; color: var(--ink-2); }
.insp-row[aria-selected="true"] .tag { border-color: var(--accent); color: var(--accent); }
.insp-step b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.insp-row .part { color: var(--muted); }
.insp-row .t { color: var(--muted); text-align: right; }
.insp-side { padding: 22px 22px 26px; display: grid; gap: 16px; align-content: start; }
.insp-side > .mono { color: var(--muted); }
.insp-side > * { animation: swap .5s var(--ease) both; }
.insp-side > :nth-child(2) { animation-delay: .05s; } .insp-side > :nth-child(3) { animation-delay: .1s; }
.insp-side h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.insp-meta { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.insp-meta div { padding: 10px 12px; display: grid; gap: 4px; }
.insp-meta div:nth-child(odd) { border-right: 1px solid var(--line); }
.insp-meta .mono { color: var(--muted); }
.insp-meta b { font-weight: 500; font-size: 14px; }
.insp-quote { margin: 0; background: var(--paper-2); border-left: 2px solid var(--accent); padding: 16px 18px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.45; letter-spacing: -.005em; color: var(--ink); }
.insp-foot { margin-top: 28px; display: flex; justify-content: center; }

/* ---------- 05 promises: rows (Tessel about values) ---------- */
.rows { margin-top: clamp(48px, 5.4vw, 78px); border-top: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 380px); gap: 24px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.prow .mono { color: var(--muted); }
.prow h3 { font-family: var(--serif); font-weight: 360; font-variation-settings: "opsz" 72; font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.05; letter-spacing: -.03em; margin: 0; }
.prow-t { display: grid; gap: 12px; }
.prow p { margin: 0; color: var(--ink-2); max-width: 32em; }
.swap { border: 1px solid var(--line-2); background: var(--paper); }
.swap > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 13px 16px; }
.swap > div + div { border-top: 1px solid var(--line); background: var(--paper-2); }
.swap .mono { color: var(--muted); }
.swap > div + div .mono { color: var(--accent); }
.swap .no, .swap .yes { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.35; }
.swap .no { position: relative; justify-self: start; color: var(--muted); }
.swap .no::after { content: ""; position: absolute; left: -2px; right: -2px; top: 56%; height: 1.5px; background: var(--ink); transform-origin: left; transition: transform .6s var(--ease) .45s; }
.swap .yes { color: var(--ink); transition: opacity .7s var(--ease) 1s, translate .7s var(--ease) 1s; }
.js .prow:not(.is-shown) .swap .no::after { transform: scaleX(0); }
.js .prow:not(.is-shown) .swap .yes { opacity: 0; translate: 0 8px; }

/* ---------- 06 questions (Tessel product FAQ) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq .h2 { margin-top: 22px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 500; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.2px 12px no-repeat; transition: transform .35s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.qa p { margin: -6px 0 24px; color: var(--ink-2); overflow: hidden; padding-right: 32px; }
.qa summary { transition: color .25s; }
.qa summary:hover { color: var(--accent); }
.qa summary:hover::after { transform: rotate(90deg); }
.qa[open] summary:hover::after { transform: rotate(45deg); }

/* ---------- 07 CTA ---------- */
.cta { padding: clamp(88px, 10vw, 144px) var(--pad); text-align: center; }
.cta .mark { width: 76px; margin: 0 auto 34px; display: block; overflow: visible; }
.cta .h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.cta .lead { margin: 22px auto 0; max-width: 24em; }
.cta .optin { margin: 34px auto 0; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); }
.cell { position: relative; padding: 26px 24px 30px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell:first-child { border-left: 0; }
.cell .lbl { color: var(--muted); margin-bottom: 18px; }
.cell ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cell ul a { font-size: 14px; text-decoration: none; color: var(--ink); }
.cell ul a:hover { color: var(--accent); }
.foot-brand h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.02em; margin: 26px 0 0; }
.foot-brand .optin { margin-top: 22px; }
.foot-brand .optin .note { display: none; }
.foot-legal { grid-column: 1 / -1; border-left: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.foot-legal p { margin: 0; max-width: none; }
.foot-legal strong { color: var(--ink-2); font-weight: 500; }
.mark-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px var(--pad) 0; color: var(--muted); }
.wordmark { padding: clamp(16px, 2.4vw, 36px) var(--pad) clamp(20px, 2.8vw, 40px); }
.wordmark svg { display: block; width: 100%; height: auto; }
.bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.bar > * { padding: 14px var(--pad); border-left: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.bar > :first-child { border-left: 0; }
.bar > :last-child { text-align: right; color: var(--ink-2); }
.bar > a:hover { color: var(--accent); }
.bar .split { display: flex; justify-content: space-between; gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-body { grid-template-columns: 1fr; }
  .specimen { max-width: 520px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(3) { border-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .head, .manifesto, .faq { grid-template-columns: 1fr; }
  .insp-body { grid-template-columns: 1fr; }
  .insp-table { border-right: 0; border-bottom: 1px solid var(--line); }
  .prow { grid-template-columns: 50px minmax(0, 1fr); }
  .prow .swap { grid-column: 2; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot .cell:nth-child(2) { border-left: 0; }
}
@media (max-width: 860px) {
  .ba { grid-template-columns: 1fr; }
  .kp { grid-template-columns: 1fr; }
  .kp-list { border-right: 0; border-bottom: 1px solid var(--line); grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; }
  .kp-tab { border-bottom: 0; border-right: 1px solid var(--line); }
  .kp-tab[aria-selected="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .kp-detail { min-height: 0; }
}
@media (max-width: 760px) {
  .eyebrow-row .mono:last-child { display: none; }
  .nav-link { display: none; }
  .bar { grid-template-columns: 1fr; }
  .bar > * { border-left: 0; border-top: 1px solid var(--line); text-align: left !important; }
  .bar > :first-child { border-top: 0; }
  .insp-head, .insp-row { grid-template-columns: minmax(0, 1fr) 36px; padding: 0 12px; gap: 10px; }
  .insp-head .mono:nth-child(2), .insp-row .part { display: none; }
  .insp-step .tag { display: none; }
}
@media (max-width: 560px) {
  .nav-inner { padding-inline: 0; }
  .logo svg { height: 17px; }
  .nav .btn { height: 2.25rem; padding-inline: .875rem; font-size: .875rem; }
  .optin form { flex-direction: column; align-items: stretch; }
  .optin .btn { width: calc(100% - 6px); }
  .specs { grid-template-columns: 1fr; }
  .spec { border-left: 0; }
  .spec:nth-child(n+2) { border-top: 1px solid var(--line); }
  .sp-row { grid-template-columns: 26px minmax(0, 1fr); }
  .sp-row .v { grid-column: 2; text-align: left; }
  .ba-vis { min-height: 280px; padding-inline: 18px; }
  .serp-r { left: calc(var(--x) * .35); width: 84%; }
  .kp-row { grid-template-columns: 28px minmax(0, 1fr); }
  .kp-row .mono:last-child { grid-column: 2; justify-self: start; }
  .prow { grid-template-columns: 1fr; gap: 14px; }
  .prow .swap { grid-column: 1; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand .optin .btn { width: calc(100% - 6px); }
  .mark-row .mono:last-child { display: none; }
}
