/* Template Foundation — landing page styles.
   Colours, type and spacing follow the original design export; inline styles were moved here as classes. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F6F5F1;
  --sheet: #E9E8E4;
  --ink: #111;
  --ink-2: #2B2A27;
  --ink-3: #3B3A36;
  --ink-4: #5A5955;
  --signal: #FF5A1F;
  --signal-text: #C73E0C;
  --line: rgba(17,17,17,.16);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(16px, 4.4vw, 64px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: linear-gradient(to right, rgba(17,17,17,.06) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(17,17,17,.06) 1px, transparent 1px);
  background-size: 30px 30px; background-position: -1px -1px;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--signal-text); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
button { font: inherit; color: inherit; }

@keyframes tfSet { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tfUp  { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.mono { font-family: var(--mono); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip-link:focus { left: 8px; color: var(--paper); }

/* ---------- section heads ---------- */
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .02em; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
.section-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__intro { max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }
.section { padding-bottom: clamp(64px, 8vw, 120px); }

/* ---------- logo ---------- */
.logo-mark rect { transform-box: fill-box; animation: tfSet 380ms var(--ease) both; transition: fill 240ms; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246,245,241,.94); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(17,17,17,.14); transition: border-color 240ms; }
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.site-header__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand__name { display: flex; flex-direction: column; font-size: 15px; line-height: 17px; font-weight: 600; letter-spacing: -.01em; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 15px; font-weight: 500; }
.nav a { display: flex; gap: 6px; align-items: center; min-height: 44px; text-decoration: none; }
.nav__num { font: 400 11px var(--mono); color: var(--ink-4); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__version { font: 400 12px var(--mono); color: var(--ink-4); margin-right: 8px; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; display: none; place-items: center; cursor: pointer; }
.menu-btn span { display: flex; flex-direction: column; gap: 5px; }
.menu-btn i { width: 18px; height: 1.5px; background: currentColor; display: block; }
.mobile-nav { border-top: 1px solid var(--ink); background: var(--paper); padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { min-height: 52px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(17,17,17,.14); text-decoration: none; font-size: 20px; font-weight: 600; }
@media (max-width: 899px) {
  .nav, .site-header__version { display: none; }
  .menu-btn { display: grid; }
}

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: transparent; transition: background-color 240ms var(--ease), color 240ms; }
.btn:hover { color: var(--ink); }
.btn > * { position: relative; }
.btn__fill { position: absolute; inset: 0 auto 0 0; background: var(--ink); opacity: .12; width: 0; }
.btn__meta { font: 500 11px var(--mono); }
.btn--hot, .btn--hover-hot:hover, .kit-card:hover .btn--hover-hot, .compare tr:hover .btn--hover-hot { background: var(--signal); }
.btn--dark { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn--dark:hover { color: var(--paper); }
.btn.is-preparing .btn__fill { width: 100%; transition: width 950ms linear; }
.btn.btn.is-done, .kit-card:hover .btn.is-done, .compare tr:hover .btn.is-done { background: var(--ink); color: var(--paper); }
.btn.is-done .btn__fill { width: 100%; }
.btn-header { height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; gap: 10px; }
.btn-header .btn__fill { inset: auto auto 0 0; height: 3px; background: var(--signal); opacity: 1; }
.btn-header .btn__icon { font-family: var(--mono); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 88px); padding-bottom: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: clamp(20px, 2.2vw, 28px); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-4); }
.hero__meta b { color: var(--ink); font-weight: 500; }
.hero__title { font-size: clamp(48px, 7.2vw, 116px); line-height: .94; font-weight: 650; letter-spacing: -.05em; text-wrap: balance; }
.hero__lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; max-width: 34ch; color: var(--ink-2); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 4px; }
.btn-big { min-height: 72px; padding: 0 22px 0 26px; gap: 24px; flex: 1 1 280px; max-width: 400px; }
.btn-big__text { display: flex; flex-direction: column; gap: 6px; }
.btn-big__label { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.btn-big__meta { font: 500 12px/1 var(--mono); }
.btn-big__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 1px solid currentColor; font: 500 16px var(--mono); }
.link-arrow { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; font-weight: 600; }
.hero__facts { font: 400 13px/1.5 var(--mono); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 12px; }

.sheets { position: relative; width: 100%; max-width: 720px; justify-self: center; aspect-ratio: 700 / 540; }
.dim { position: absolute; left: 0; right: 0; height: 11px; }
.dim svg { display: block; overflow: visible; width: 100%; height: 11px; }
.dim line { stroke: rgba(17,17,17,.45); transition: stroke 240ms; }
.dim__tick { position: absolute; top: 0; width: 1px; height: 11px; background: rgba(17,17,17,.45); }
.dim__tick--l { left: 0; } .dim__tick--r { right: 0; }
.dim__label { position: absolute; left: 50%; top: -3px; transform: translateX(-50%); padding: 0 8px; background: var(--paper); font: 500 11px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink-3); white-space: nowrap; }
.sheets > .dim { top: -14px; }
.sheets > .dim line { stroke: rgba(17,17,17,.5); }
.sheets > .dim .dim__label { color: var(--ink); }
.sheet { position: absolute; margin: 0; width: 29.7%; background: var(--sheet); outline: 1px solid rgba(17,17,17,.35); z-index: 1; transition: transform 360ms var(--ease), box-shadow 360ms var(--ease); animation: tfUp 500ms var(--ease) both; }
.sheet img { display: block; width: 100%; height: auto; }
.sheet figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 6px); display: flex; justify-content: space-between; font: 500 10px/1 var(--mono); color: var(--ink-3); white-space: nowrap; }
.sheet:hover, .sheet.is-hot { transform: translate(-5px,-5px); box-shadow: 5px 5px 0 var(--ink); z-index: 5; }
.sheet a { display: block; }

/* ---------- kits gallery ---------- */
.shot { position: relative; outline: 1px solid rgba(17,17,17,.3); background: var(--sheet); transition: transform 360ms var(--ease), box-shadow 360ms var(--ease); }
.shot img { display: block; width: 100%; height: auto; }
.shot > .dim { top: -22px; }
.shot__tag { position: absolute; left: 8px; top: 8px; font: 500 10px/1 var(--mono); background: var(--paper); padding: 4px 6px; outline: 1px solid rgba(17,17,17,.3); }
.kit-card:hover .shot, .kit-card:focus-within .shot { transform: translate(-6px,-6px); box-shadow: 6px 6px 0 var(--ink); }
.kit-card:hover .dim line, .kit-card:focus-within .dim line { stroke: var(--signal); }
.kit-card:hover .dim__tick, .kit-card:focus-within .dim__tick { background: var(--signal); }
.kit-card:hover .dim__label { color: var(--ink); }

.feature { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); padding-top: 30px; margin-bottom: clamp(56px, 7vw, 96px); }
.feature .shot { flex: 2 1 560px; min-width: 0; align-self: start; }
.feature .shot > .dim { top: -26px; }
.feature .shot__tag { left: 10px; top: 10px; }
.feature__body { display: flex; flex-direction: column; gap: 18px; min-width: 0; flex: 1 1 320px; }
.feature__meta { font: 500 11px/1 var(--mono); display: flex; justify-content: space-between; color: var(--ink-4); }
.feature__meta b { color: var(--ink); font-weight: 500; }
.feature__name { font-size: clamp(44px, 4.4vw, 64px); line-height: .95; font-weight: 650; letter-spacing: -.045em; }
.feature__text { font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.feature__text strong { font-weight: 600; }
.specs { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--ink); font-size: 14px; }
.specs dt, .specs dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-3); }
.specs dd { font: 500 13px var(--mono); text-align: right; }
.btn-kit { min-height: 56px; padding: 0 16px; font-size: 16px; font-weight: 650; }
.links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.link-btn { min-height: 44px; padding: 0; border: 0; background: transparent; font: 600 15px var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--signal-text); }
.link-quiet { min-height: 44px; display: flex; align-items: center; font-size: 15px; color: var(--ink-3); }

.grid-kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 24px; row-gap: clamp(48px, 6vw, 72px); }
.kit-card--small { display: flex; flex-direction: column; gap: 14px; padding-top: 30px; min-width: 0; }
.kit-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.kit-card__name { font-size: 30px; font-weight: 650; letter-spacing: -.035em; }
.kit-card__num { font: 500 11px var(--mono); color: var(--ink-3); }
.kit-card__industry { font: 500 12px var(--mono); margin-top: -6px; }
.kit-card__tagline { font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.kit-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font: 400 12px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.kit-card__stats span { padding: 10px 0; }
.btn-kit--sm { min-height: 48px; padding: 0 14px; font-size: 15px; font-weight: 600; }
.kit-card--small .links { gap: 0 20px; margin-top: -4px; }
.kit-card--small .link-btn { font-size: 14px; }
.kit-card--small .link-quiet { font-size: 14px; }

/* ---------- compare ---------- */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 900px; }
.compare thead th { padding: 14px 12px; font: 500 11px var(--mono); text-align: left; color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.compare th:first-child { padding-left: 0; }
.compare th:last-child, .compare td:last-child { padding-right: 0; text-align: right; }
.compare tbody th, .compare td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.compare tbody tr { transition: background-color 200ms; }
.compare tbody tr:hover { background: rgba(255,90,31,.10); }
.compare tbody th { font-weight: 650; font-size: 18px; letter-spacing: -.02em; }
.compare .num { text-align: right; font: 500 14px var(--mono); }
.compare .mono-cell { font: 500 13px var(--mono); }
.compare .fonts-cell { font-size: 14px; color: var(--ink-3); }
.swatch-name { display: flex; align-items: center; gap: 12px; }
.swatch { width: 20px; height: 10px; flex: none; display: inline-block; }
.btn-compare { display: inline-flex; min-height: 44px; padding: 0 14px; font: 500 12px var(--mono); white-space: nowrap; gap: 10px; }
.compare-cards { list-style: none; padding: 0; display: none; flex-direction: column; }
.compare-cards li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.compare-cards__head { display: flex; align-items: center; gap: 12px; }
.compare-cards__head strong { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.compare-cards__head span:last-child { font: 500 11px var(--mono); color: var(--ink-3); margin-left: auto; text-align: right; }
.compare-cards dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; font-size: 14px; }
.compare-cards dl div { display: flex; justify-content: space-between; gap: 8px; }
.compare-cards dt { color: var(--ink-3); }
.compare-cards dd { font-family: var(--mono); text-align: right; }
.compare-cards .btn { min-height: 48px; padding: 0 14px; font-size: 15px; font-weight: 600; }
@media (max-width: 759px) {
  .compare-wrap { display: none; }
  .compare-cards { display: flex; }
}

/* ---------- inside ---------- */
.inside { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: start; }
.layers { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.layers li { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); padding: 18px 20px; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: baseline; }
.layers li:nth-child(odd) { margin-left: 28px; }
.layers li:nth-child(even) { margin-right: 28px; }
.layers li:last-child { background: var(--ink); color: var(--paper); }
.layers__num { font: 500 12px var(--mono); grid-row: span 2; }
.layers strong { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.layers span:last-child { font-size: 14px; line-height: 1.45; opacity: .9; }
.inside__side { display: flex; flex-direction: column; gap: 24px; }
.inside__lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; text-wrap: pretty; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--ink); }
.steps li { padding: 18px 16px 18px 0; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--line); }
.steps li > span:first-child { font: 500 11px var(--mono); }
.steps strong { font-size: 19px; font-weight: 650; }
.steps li > span:last-child { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.code { margin: 0; padding: 18px 20px; background: var(--ink); color: var(--paper); font: 400 13px/1.7 var(--mono); overflow-x: auto; }
.code em { font-style: normal; color: #FF8A5B; }
.code .c { color: #9D9B94; }

/* ---------- license / trust (dark) ---------- */
.trust { background: var(--ink); color: var(--paper); }
.trust a { color: var(--paper); }
.trust a:hover { color: #FF8A5B; }
.trust__inner { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.trust .section-head { border-bottom-color: rgba(246,245,241,.4); }
.trust .eyebrow, .trust__h3 { color: #CFCDC6; }
.trust__intro { max-width: 58ch; font-size: 17px; line-height: 1.5; color: #CFCDC6; text-wrap: pretty; }
.trust__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 4vw, 48px); }
.trust__col { display: flex; flex-direction: column; gap: 16px; }
.trust__h3 { font: 500 12px var(--mono); }
.trust__block { display: flex; flex-direction: column; gap: 4px; }
.trust__block strong { font-size: 17px; font-weight: 650; }
.trust__block ul { padding: 0 0 0 18px; font-size: 15px; line-height: 1.7; color: #E4E2DC; }
.trust__link { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; }
.version { display: flex; align-items: baseline; gap: 14px; }
.version span:first-child { font-size: 48px; font-weight: 650; letter-spacing: -.04em; }
.version span:last-child { font: 400 12px var(--mono); color: #CFCDC6; }
.changelog { list-style: none; padding: 0; border-top: 1px solid rgba(246,245,241,.3); }
.changelog li { padding: 14px 0; border-bottom: 1px solid rgba(246,245,241,.16); display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.changelog li span:first-child { font: 500 12px var(--mono); }
.changelog li span:last-child { font-size: 15px; line-height: 1.5; color: #E4E2DC; }
.btn-outline-light { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--paper); text-decoration: none; font-size: 16px; font-weight: 600; }
.btn-outline-light span { font-family: var(--mono); }
.trust__note { font-size: 15px; line-height: 1.55; color: #E4E2DC; text-wrap: pretty; }
.trust__note strong { color: var(--paper); }
.files { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 12px; }
.files ul { list-style: none; padding: 0; border-top: 1px solid rgba(246,245,241,.3); }
.files li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 10px 0; border-bottom: 1px solid rgba(246,245,241,.16); }
.files__name { font: 500 13px var(--mono); flex: 1 1 280px; }
.files__size { font: 400 12px var(--mono); color: #CFCDC6; width: 72px; }
.files code { font: 400 12px var(--mono); color: #CFCDC6; flex: 2 1 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { min-height: 44px; min-width: 88px; padding: 0 12px; border: 1px solid rgba(246,245,241,.5); background: transparent; color: var(--paper); font: 500 12px var(--mono); cursor: pointer; }
.copy-btn.is-copied { background: var(--signal); color: var(--ink); }
.files__verify { font: 400 12px/1.6 var(--mono); color: #CFCDC6; }

/* ---------- FAQ ---------- */
.faq { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 72px); align-items: flex-start; }
.faq__head { display: flex; flex-direction: column; gap: 14px; flex: 1 1 300px; }
.faq__head p { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.faq__list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid rgba(17,17,17,.2); }
.faq summary { list-style: none; min-height: 64px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--sans); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--ink); font: 500 16px var(--mono); transition: background-color 240ms; }
.faq details[open] summary::after { content: '−'; background: var(--signal); }
.faq details > div { padding: 0 48px 22px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; text-wrap: pretty; }

/* ---------- final CTA ---------- */
.final { background: var(--signal); box-shadow: inset 0 0 0 1px var(--ink); padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.final__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.final__title { font-size: clamp(40px, 6.4vw, 104px); line-height: .94; font-weight: 650; letter-spacing: -.05em; text-wrap: balance; }
.btn-final { min-height: 80px; padding: 0 24px 0 28px; gap: 24px; flex: 0 1 420px; background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-final:hover { color: var(--paper); }
.btn-final .btn__fill { inset: auto auto 0 0; height: 4px; background: var(--paper); opacity: 1; }
.btn-final .btn-big__label { font-size: 21px; }
.btn-final .btn-big__meta { color: #CFCDC6; }
.btn-final .btn-big__icon { width: 40px; height: 40px; border: 0; background: var(--signal); color: var(--ink); font-size: 18px; }
.btn-final.is-done { background: var(--ink); }
.strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.strip li { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.strip a { min-height: 64px; padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-decoration: none; color: var(--ink); transition: background-color 200ms; }
.strip a:hover { background: var(--paper); color: var(--ink); }
.strip a.is-done { background: var(--ink); color: var(--paper); }
.strip strong { font-size: 16px; font-weight: 650; }
.strip span { font: 400 11px var(--mono); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink); }
.site-footer__inner { padding-top: clamp(48px, 6vw, 88px); padding-bottom: 32px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px 24px; }
.site-footer__brand { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid rgba(17,17,17,.2); }
.site-footer__brand svg { width: clamp(84px, 11vw, 168px); height: auto; flex: none; }
.site-footer__brand span { display: flex; flex-direction: column; font-size: clamp(34px, 5.2vw, 80px); line-height: .94; font-weight: 600; letter-spacing: -.04em; }
.site-footer nav, .site-footer__col { display: flex; flex-direction: column; gap: 2px; }
.site-footer__label { font: 500 11px var(--mono); color: var(--ink-3); margin-bottom: 8px; }
.site-footer__cols a { min-height: 36px; display: flex; align-items: center; text-decoration: none; font-size: 15px; }
.site-footer__legal { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font: 400 12px var(--mono); color: var(--ink-3); }
@media (max-width: 759px) { body.has-sticky .site-footer__inner { padding-bottom: 116px; } }

/* ---------- sticky mobile download ---------- */
.sticky-dl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: tfUp 300ms var(--ease) both; }
.sticky-dl[hidden] { display: none; }
.sticky-dl__text { display: flex; flex-direction: column; gap: 4px; }
.sticky-dl__text span:first-child { font-size: 14px; font-weight: 600; }
.sticky-dl__text span:last-child { font: 400 11px/1 var(--mono); color: var(--ink-3); }
.sticky-dl .btn { min-height: 52px; padding: 0 20px; gap: 10px; font-size: 16px; font-weight: 650; }

/* ---------- look-inside dialog ---------- */
.detail { width: 100%; max-width: 1280px; max-height: calc(100vh - 2 * clamp(0px, 3vw, 40px)); max-height: calc(100dvh - 2 * clamp(0px, 3vw, 40px)); overflow-y: auto; overscroll-behavior: contain; margin: clamp(0px, 3vw, 40px) auto; padding: 0; border: 0; background: var(--paper); outline: 1px solid var(--ink); color: var(--ink); }
.detail[open] { animation: tfUp 320ms var(--ease) both; }
.detail::backdrop { background: rgba(17,17,17,.62); }
.detail__bar { position: sticky; top: 0; z-index: 2; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--ink); background: var(--paper); font: 500 12px var(--mono); }
.close-btn { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; font: 400 18px var(--mono); cursor: pointer; }
.detail__body { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 40px); padding: clamp(16px, 3vw, 32px); }
.detail__media { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.detail__media figure { display: flex; flex-direction: column; gap: 10px; }
.detail__media img { display: block; width: 100%; height: auto; outline: 1px solid rgba(17,17,17,.3); background: var(--sheet); }
.detail__media figcaption { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--ink-3); }
.detail__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; flex: 1 1 300px; }
.detail__industry { display: flex; align-items: center; gap: 10px; font: 500 12px var(--mono); }
.detail__industry .swatch { width: 14px; height: 14px; }
.detail__name { font-size: clamp(48px, 5vw, 72px); line-height: .92; font-weight: 650; letter-spacing: -.05em; }
.detail__text { font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.detail .btn-kit { min-height: 60px; padding: 0 18px; font-size: 17px; }
.detail .specs dt, .detail .specs dd { padding: 9px 0; }
.detail .specs dd { font-size: 12px; }
.detail__pages-title { font: 500 12px var(--mono); margin-top: 8px; }
.detail__pages { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); column-gap: 16px; font-size: 14px; }
.detail__pages li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(17,17,17,.12); }
.detail__pages li span { font: 400 11px/1.6 var(--mono); color: var(--ink-4); }
body.has-dialog { overflow: hidden; }

/* ---------- download confirmation ---------- */
.confirm { position: fixed; z-index: 55; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); width: calc(100% - 24px); max-width: 460px; max-height: calc(100vh - 100px); overflow-y: auto; background: var(--paper); outline: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); animation: tfUp 360ms var(--ease) both; }
.confirm[hidden] { display: none; }
.confirm__bar { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 20px; border-bottom: 1px solid var(--ink); font: 500 11px var(--mono); }
.confirm__bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.confirm__bar .close-btn { border: 0; flex: none; }
.confirm__body { padding: 22px 20px; display: flex; flex-direction: column; gap: 20px; }
.confirm__title { display: flex; align-items: center; gap: 14px; }
.confirm__title h2 { font-size: 26px; line-height: 1.05; font-weight: 650; letter-spacing: -.035em; }
.confirm__steps { padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.confirm__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.confirm__steps li > span:first-child { font: 500 11px/1.6 var(--mono); }
.confirm__steps strong { font-weight: 650; }
.confirm__sug { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; }
.confirm__sug img { display: block; width: 100%; height: auto; outline: 1px solid rgba(17,17,17,.25); background: var(--sheet); }
.confirm__sug > div { display: flex; flex-direction: column; gap: 2px; }
.confirm__sug small { font: 500 10px var(--mono); color: var(--ink-3); }
.confirm__sug strong { font-size: 17px; font-weight: 650; }
.confirm__sug a { min-height: 40px; display: flex; align-items: center; font-size: 14px; font-weight: 600; }
.confirm__notify { border-top: 1px solid rgba(17,17,17,.2); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.confirm__notify a { font-weight: 600; }
.confirm__notify span { font: 400 11px var(--mono); color: var(--ink-3); }
.confirm__retry { font: 400 11px/1.6 var(--mono); color: var(--ink-3); overflow-wrap: anywhere; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 120px); }
.legal h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 650; letter-spacing: -.045em; margin: 14px 0 32px; }
.legal h2 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 8px; }
.legal .todo { background: rgba(255,90,31,.18); padding: 0 4px; font-family: var(--mono); font-size: .9em; }
