/* Stingward site. A dark page with one honey colour: the real terminal report sits on a honey stage whose corner is
   cut at the angle of the shield's shoulder (30 degrees), and the paid audit sits on the same honey, cut the same way.
   Hanken Grotesk sets the page; JetBrains Mono is only for real commands and real output. Both are self-hosted under
   the SIL Open Font License (fonts/*-OFL.txt). Motion uses transform and opacity only, and stops with reduced motion. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #0e1013;
  --surface: #181b21;
  --surface-2: #22262e;
  --ink: #f1f2f4;
  --muted: #a7abb3;
  --accent: #f5b83d;
  --accent-hover: #ffc757;
  --accent-ink: #0e1013;
  --accent-soft: #e2a52c;
  --term: #111318;
  --term-2: #1a1e25;
  --term-ink: #ebe9e4;
  --term-dim: #8f949e;
  --crit: #ff6259;
  --high: #ff9152;
  --med: #e8c25e;
  --low: #5ec5d6;
  --ok: #62d48d;

  --margin: clamp(16px, 2.2vw, 32px);
  --gutter: clamp(12px, 1.4vw, 20px);
  --section: clamp(112px, 13vw, 192px);
  --cut: clamp(72px, 9vw, 136px);

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  --step-display: clamp(2.75rem, 1rem + 6vw, 6.5rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
h1, h2, h3, p, ol, ul, pre, figure { margin: 0; }
ol, ul { padding: 0; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
code, pre { font-family: var(--mono); font-size: 0.875em; }
mark { background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only, .lang__long {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--margin); top: 12px; z-index: 10; padding: 10px 16px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
  opacity: 0; transform: translateY(calc(-100% - 200px));
}
.skip:focus { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- shared pieces */

.head { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font); font-size: var(--step-small); font-weight: 600; letter-spacing: 0; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.button:active { transform: scale(0.97); }
.button--small { min-height: 38px; padding: 0 16px; }
.button--soon { background: var(--surface-2); color: var(--muted); cursor: default; }
.button--soon:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .button:not(.button--soon):hover { background: var(--accent-hover); }
}

/* ---------------------------------------------------------------- top bar */

.top {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 28px;
  padding: 24px var(--margin) 0;
  font-size: var(--step-small);
}
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: var(--step-body); font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; gap: 28px; }
.nav__link, .lang a, .lang span { text-decoration: none; transition: color 160ms ease; }
.lang { display: flex; gap: 14px; }
.lang a { color: var(--muted); }
.lang > a, .lang > span { display: inline-flex; align-items: center; gap: 7px; }
.lang__flag { width: 16px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14); }
.lang a .lang__flag { opacity: 0.7; transition: opacity 160ms ease; }
.lang [aria-current] { color: var(--ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover, .lang a:hover { color: var(--accent); }
  .lang a:hover .lang__flag { opacity: 1; }
}

/* ---------------------------------------------------------------- first screen: the claim, and the reports on the stage */

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: 0 var(--margin);
}
.hero__title {
  grid-column: 1 / -1; grid-row: 1;
  padding-top: clamp(56px, 10vh, 112px);
  font-size: var(--step-display); font-weight: 500; letter-spacing: -0.045em; line-height: 0.94;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.hero__title .line > span { display: block; }
.hero__words { grid-column: 1 / 5; grid-row: 2; position: relative; z-index: 1; align-self: start; padding-top: 40px; }
.hero__lead { max-width: 38ch; text-wrap: pretty; }
.install { display: flex; margin-top: 28px; max-width: 100%; }
.install__cmd {
  display: flex; align-items: center; min-height: 48px; padding: 0 18px;
  background: var(--surface); font-size: 15px; white-space: nowrap;
}
.hero__more { margin-top: 18px; max-width: 42ch; color: var(--muted); font-size: var(--step-small); }
.hero__more a { color: var(--ink); }

.report { grid-column: 1 / -1; grid-row: 2 / 4; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; }
.report__words { grid-column: 1 / 5; grid-row: 2; align-self: end; display: grid; justify-items: start; gap: 20px; padding-top: 72px; }
.report__words p { max-width: 40ch; text-wrap: pretty; }
.report__words .head { margin-bottom: 4px; }
.report__more { color: var(--muted); }
.report__words .button { margin-top: 8px; }

.stage {
  grid-column: 5 / -1; grid-row: 1 / 3;
  position: relative;
  margin: 40px calc(var(--margin) * -1) 0 0;
  padding: calc(var(--cut) * 0.42) clamp(40px, 9vw, 128px) 0 56px;
}
.stage__ground {
  position: absolute; inset: 0; z-index: 0;
  background: var(--accent);
  clip-path: polygon(0 calc(var(--cut) * 0.577), var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}

/* the terminal: the product's own conventions apply inside it */
[data-ui].term {
  position: relative; z-index: 1;
  max-width: 800px;
  color: var(--term-ink);
  font-family: var(--mono); font-size: 13.5px; line-height: 1.6;
}
[data-ui] .term__tabs { display: flex; background: var(--term-2); border-radius: 10px 10px 0 0; padding: 0 8px; }
[data-ui] .term__tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 12px 16px 11px; border: 0; border-radius: 8px 8px 0 0;
  background: transparent; color: var(--term-dim);
  font-family: var(--font); font-size: 14px; line-height: 1.25; text-align: left; cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out);
}
[data-ui] .term__tab:focus-visible { outline-offset: -3px; }
[data-ui] .term__tab:active { transform: scale(0.98); }
[data-ui] .term__tab[aria-selected="true"] { background: var(--term); color: var(--term-ink); }
[data-ui] .term__name { font-weight: 600; }
[data-ui] .term__grade { font-size: 13px; }
[data-ui] .term__tab[aria-selected="true"] .term__grade { color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  [data-ui] .term__tab:hover { color: var(--term-ink); }
}
[data-ui] .term__out {
  height: clamp(560px, 82svh, 780px);
  overflow-y: auto; overscroll-behavior: auto;
  padding: 20px 24px 32px;
  background: var(--term);
  font-family: inherit; font-size: inherit;
  white-space: pre-wrap; overflow-wrap: anywhere;
  scrollbar-width: thin; scrollbar-color: #3a3f49 transparent;
}
[data-ui] .term__out:focus-visible { outline-offset: -3px; }
.js [data-ui] .term__out[data-off], [data-ui] .term__out[hidden] { display: none; }
[data-ui] .term__out > span { display: block; }
[data-ui] .t-gap { height: 1.6em; }
[data-ui] .t-note { color: var(--term-dim); font-style: normal; }
[data-ui] .t-note b { font-weight: 400; }
[data-ui] .t-cmd { margin-bottom: 4px; }
[data-ui] .t-cmd b { color: var(--accent); font-weight: 500; }
[data-ui] .t-dim, [data-ui] .t-row i { color: var(--term-dim); font-style: normal; }
[data-ui] .t-head { font-weight: 700; }
[data-ui] .t-item { padding-left: 4ch; text-indent: -3ch; }
[data-ui] .t-n { font-style: normal; color: var(--term-dim); margin-right: 1ch; }
[data-ui] .t-row { padding-left: 3ch; }
[data-ui] .t-find { font-weight: 700; margin-top: 2px; }
[data-ui] .t-lab { display: inline-block; min-width: 9ch; }
[data-ui] .t-find--crit, [data-ui] .t-verdict--crit { color: var(--crit); }
[data-ui] .t-find--high { color: var(--high); font-weight: 500; }
[data-ui] .t-find--med { color: var(--med); font-weight: 500; }
[data-ui] .t-find--low, [data-ui] .t-find--info { color: var(--low); font-weight: 500; }
[data-ui] .t-verdict { font-weight: 700; }
[data-ui] .t-verdict--high { color: var(--high); }
[data-ui] .t-verdict--med { color: var(--med); }
[data-ui] .t-verdict--ok { color: var(--ok); }
[data-ui] .t-sum { font-weight: 700; }
[data-ui] .dot { display: inline-block; width: 0.62em; height: 0.62em; border-radius: 50%; margin-right: 1ch; vertical-align: 0.02em; text-indent: 0; }
[data-ui] .dot--crit { background: var(--crit); }
[data-ui] .dot--high { background: var(--high); }
[data-ui] .dot--med { background: var(--med); }
[data-ui] .dot--low, [data-ui] .dot--info { background: var(--low); }
[data-ui] .dot--ok { background: var(--ok); }

/* ---------------------------------------------------------------- why it exists: the figures set like a ledger */

.why {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start;
  padding: var(--section) var(--margin) 0;
}
.why__words { grid-column: 1 / 6; position: sticky; top: 40px; }
.why__lead { margin-top: 32px; max-width: 46ch; text-wrap: pretty; }
/* the figures share one right edge (tabular numerals), the sentences one left edge, with a channel between them */
.ledger {
  grid-column: 7 / -1; list-style: none;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 40px; row-gap: 56px;
  margin-top: -0.1em;
}
.led { display: contents; }
.led__num {
  font-size: var(--step-display); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums lining-nums; text-align: right; align-self: last baseline;
}
.led__cap { align-self: last baseline; max-width: 40ch; text-wrap: pretty; }
.src { color: var(--muted); font-size: var(--step-small); white-space: nowrap; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .src:hover { color: var(--accent); }
}

/* ---------------------------------------------------------------- how it works: what each stage really produces */

.how { padding: var(--section) var(--margin) 0; }
.how__steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(88px, 9vw, 136px); margin-top: clamp(56px, 6vw, 88px); }
.step {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr;
  column-gap: var(--gutter); align-items: start;
}
.step__clause { grid-column: 1 / 5; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.step__detail { grid-column: 1 / 5; margin-top: 14px; max-width: 42ch; text-wrap: pretty; }

/* the fragments, each the size and shape of what it shows */
[data-ui].frag {
  grid-row: 1 / -1; padding: 22px 24px 24px;
  background: var(--surface); border-radius: 10px;
  font-size: 14px; line-height: 1.55;
}
.frag--files { grid-column: 6 / 12; }
.frag--osv { grid-column: 6 / -1; }
.frag--checks { grid-column: 6 / -1; }
.frag--grade { grid-column: 6 / 11; }
[data-ui] .frag__title { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
[data-ui] .frag__files { list-style: none; columns: 2; column-gap: 28px; }
[data-ui] .frag__files li { break-inside: avoid; overflow-wrap: anywhere; }
[data-ui] .frag__files code, [data-ui] .frag__code { font-size: 13px; color: var(--term-ink); }
[data-ui] .frag__code { white-space: pre-wrap; overflow-wrap: anywhere; }
[data-ui] .frag__groups { list-style: none; display: grid; gap: 14px; }
[data-ui] .frag__groups li { display: grid; grid-template-columns: 11rem 2.5rem minmax(0, 1fr); column-gap: 16px; align-items: baseline; }
[data-ui] .frag__group { font-weight: 500; }
[data-ui] .frag__count { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); text-align: right; }
[data-ui] .frag__ids { font-size: 12.5px; color: var(--term-dim); line-height: 1.6; }
[data-ui] .frag__grades { list-style: none; display: grid; gap: 4px; }
[data-ui] .frag__grade { display: flex; align-items: baseline; gap: 16px; padding: 8px 12px; border-radius: 6px; color: var(--muted); }
[data-ui] .frag__grade b { width: 1.2em; font-size: var(--step-lead); font-weight: 600; color: var(--ink); }
[data-ui] .frag__grade.is-on { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
[data-ui] .frag__grade.is-on b { color: var(--accent-ink); }

/* ---------------------------------------------------------------- what it finds: an index, each catch as it reads in the code */

.finds { padding: var(--section) var(--margin) 0; }
.finds__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.finds__head .head { grid-column: 1 / 6; }
.finds__head p { grid-column: 7 / -1; max-width: 52ch; text-wrap: pretty; }
.finds__list { list-style: none; margin-top: 56px; display: grid; }
.find {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center;
  padding: 16px 0;
}
.find:nth-child(odd) { background: var(--surface); }
.find__name { grid-column: 1 / 4; padding-left: 20px; font-size: var(--step-body); font-weight: 500; line-height: 1.3; }
.find__ui { grid-column: 4 / 9; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; min-width: 0; }
.find__line { grid-column: 9 / -1; padding-right: 20px; color: var(--muted); font-size: var(--step-small); text-wrap: pretty; }
.find__ui code, .find__ui .el__flag {
  display: inline-block; max-width: 100%; padding: 5px 10px; border-radius: 6px;
  background: var(--term); color: var(--term-ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere;
}
.find__ui mark { color: var(--accent); }
.find__ui .el__dim { color: var(--term-dim); }
.find__ui .el__hit { color: var(--crit); }
.find__ui .el__flag { background: var(--crit); color: var(--accent-ink); font-family: var(--mono); font-weight: 700; letter-spacing: 0.04em; }

/* ---------------------------------------------------------------- where it runs: one view, four places */

.where { padding: var(--section) var(--margin) 0; }
.dock { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); margin-top: 48px; background: var(--surface); }
.dock__view { display: grid; align-items: center; padding: clamp(16px, 2.4vw, 36px); }
.dock__pane { grid-area: 1 / 1; display: grid; justify-items: center; min-width: 0; transition: opacity 180ms ease; }
.js .dock__pane[data-off] { visibility: hidden; opacity: 0; }
.dock__pane[hidden] { display: grid; visibility: hidden; opacity: 0; }
.dock__pane:focus-visible { outline-offset: -3px; }
.dock__pane .demo { width: auto; max-height: min(640px, 72svh); border-radius: 10px; background: var(--term); }
.dock__tabs { display: grid; align-content: start; padding: 20px 0; background: #14171c; }
.dock__tab {
  position: relative; display: grid; gap: 6px; justify-items: start;
  padding: 22px 28px 22px 52px; border: 0; background: transparent; color: var(--muted);
  text-align: left; cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}
.dock__tab::before {
  content: ""; position: absolute; left: 28px; top: 30px; width: 8px; height: 8px; background: var(--accent);
  opacity: 0; transform: scale(0.5); transition: transform 240ms var(--ease-out), opacity 160ms ease;
}
.dock__tab:focus-visible { outline-offset: -3px; }
.dock__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); }
.dock__tab[aria-selected="true"]::before { opacity: 1; transform: none; }
.dock__name { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.dock__cmd { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .dock__tab:hover { color: var(--ink); }
}
[data-ui].cc, [data-ui].pr {
  width: min(100%, 600px); padding: 24px; border-radius: 10px;
  background: var(--term); color: var(--term-ink); font-size: 14px; line-height: 1.6;
}
[data-ui].cc { display: grid; gap: 6px; }
[data-ui].cc code { font-size: 14px; color: var(--term-ink); overflow-wrap: anywhere; }
[data-ui].cc p:not(.cc__ask) code::before { content: "> "; color: var(--accent); }
[data-ui] .cc__ask { margin-top: 10px; padding: 10px 14px; border-radius: 8px; background: var(--term-2); }
[data-ui] .cc__ask code { color: var(--accent); }
[data-ui] .pr__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 600; }
[data-ui] .pr__grade { padding: 2px 8px; border-radius: 4px; background: var(--crit); color: var(--accent-ink); font-family: var(--mono); font-size: 12px; font-weight: 700; }
[data-ui] .pr__rows { list-style: none; display: grid; gap: 12px; }
[data-ui] .pr__rows li { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 12px; row-gap: 2px; }
[data-ui] .pr__rows code { grid-column: 2; font-size: 12.5px; color: var(--term-dim); overflow-wrap: anywhere; }
[data-ui] .sev { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.03em; padding-top: 3px; }
[data-ui] .sev--crit { color: var(--crit); }
[data-ui] .sev--high { color: var(--high); }
[data-ui] .sev--med { color: var(--med); }
[data-ui] .sev--low { color: var(--low); }

/* ---------------------------------------------------------------- check its work: large names on tiles */

.proof {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px;
  margin-top: var(--section); padding: 0 var(--margin);
}
.proof__head {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(24px, 2.6vw, 40px); background: var(--ink); color: var(--bg);
}
.proof__head p { max-width: 34ch; font-size: var(--step-lead); line-height: 1.35; text-wrap: pretty; }
.proof__tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  height: 100%; min-height: clamp(150px, 12vw, 216px); padding: clamp(18px, 1.8vw, 26px);
  background: var(--surface); text-decoration: none;
  transition: background-color 200ms ease;
}
.tile__name { font-size: clamp(1.75rem, 1rem + 1.4vw, 2.75rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; overflow-wrap: anywhere; }
.tile__line { color: var(--muted); font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { background: var(--surface-2); }
  .tile:hover .tile__line { color: var(--ink); }
}

/* ---------------------------------------------------------------- free and open source */

.price {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start;
  padding: var(--section) var(--margin) 0;
}
.figure { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 0.12em; font-variant-numeric: tabular-nums lining-nums; }
.figure__cur { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.03em; align-self: flex-start; margin-top: 0.35em; }
.figure__num { font-size: calc(var(--step-display) * 1.6); font-weight: 500; letter-spacing: -0.06em; line-height: 0.86; }
.figure__per { flex-basis: 100%; margin-top: 18px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; }
.price__figure { grid-column: 1 / 6; }
.price__figure .figure__per { color: var(--muted); }
.price__words { grid-column: 7 / -1; display: grid; justify-items: start; gap: 24px; }
.price__words > p { max-width: 50ch; text-wrap: pretty; }
.price__lines { list-style: none; display: grid; gap: 10px; margin: 8px 0 12px; }
.price__lines li, .audit__list li { position: relative; padding-left: 26px; text-wrap: pretty; }
.price__lines li::before, .audit__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--accent);
}

/* ---------------------------------------------------------------- the paid audit, on the honey */

.audit {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 72px; align-items: start;
  margin-top: var(--section); padding: calc(var(--cut) * 0.577 + clamp(56px, 6vw, 96px)) var(--margin) var(--margin);
  color: var(--accent-ink);
}
.audit__ground {
  position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  clip-path: polygon(0 calc(var(--cut) * 0.577), var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}
.audit :focus-visible { outline-color: var(--accent-ink); }
.audit__words { grid-column: 1 / 8; }
.audit__lead { margin-top: 28px; max-width: 50ch; font-size: var(--step-lead); line-height: 1.4; text-wrap: pretty; }
.audit__offer { grid-column: 8 / -1; justify-self: end; display: grid; justify-items: start; }
.audit__figure .figure__per { font-weight: 500; }
.audit__note { margin-top: 12px; max-width: 34ch; font-size: var(--step-small); line-height: 1.45; text-wrap: pretty; }
.audit__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.audit__act a:not(.button), .soon__act a:not(.button) { font-size: var(--step-small); font-weight: 600; text-decoration-thickness: 2px; }
.audit .button { background: var(--accent-ink); color: var(--accent); }
.audit .button--soon { background: var(--accent-soft); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) {
  .audit .button:not(.button--soon):hover { background: #262a31; }
}
.audit__list { grid-column: span 6; display: grid; align-content: start; gap: 20px; }
.audit__list h3, .soon__title { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.audit__list ul { list-style: none; display: grid; gap: 12px; max-width: 52ch; }
.audit__list li::before { background: var(--accent-ink); }
.audit__list--not li::before { height: 2px; top: 0.75em; width: 10px; }

.soon {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: center;
  padding: clamp(28px, 3vw, 44px); background: var(--bg); color: var(--ink);
}
.soon :focus-visible { outline-color: var(--accent); }
.soon__title { grid-column: 1 / 4; }
.soon p { grid-column: 4 / 9; max-width: 50ch; text-wrap: pretty; }
.soon__act { grid-column: 9 / -1; justify-self: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 24px; }
.soon .button--soon { background: var(--surface-2); color: var(--muted); }

/* ---------------------------------------------------------------- questions */

.faq {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start;
  padding: var(--section) var(--margin) 0;
}
.faq__head { grid-column: 1 / 5; position: sticky; top: 40px; }
.faq__list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq__item { background: var(--surface); transition: background-color 200ms ease; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px; padding: 18px 24px;
  font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3;
  list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: -3px; }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: var(--accent);
  transition: transform 260ms var(--ease-out);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] { background: var(--surface-2); }
.faq__item[open] .faq__sign::after { transform: rotate(0deg); }
.faq__a { padding: 0 24px 26px; max-width: 62ch; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) {
  .faq__item:not([open]):hover { background: #1d2027; }
}

/* ---------------------------------------------------------------- the closing line: the command is the blank */

.cta { display: grid; justify-items: center; padding: var(--section) var(--margin) 0; text-align: center; }
.cta__line { max-width: 14em; font-size: var(--step-display); font-weight: 500; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
.cta__cmd { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 40px; font-size: var(--step-head); }
.cta__cmd code {
  display: flex; align-items: center; min-height: 1.6em; padding: 0 0.5em;
  background: var(--surface); font-size: 1em; letter-spacing: -0.02em; overflow-wrap: anywhere;
}
.cta__copy { min-height: 1.6em; padding: 0 1.1em; font-size: var(--step-lead); }
.cta__note { margin-top: 28px; max-width: 52ch; color: var(--muted); text-wrap: balance; }

/* ---------------------------------------------------------------- footer */

.footer {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px;
  margin-top: var(--section); padding: 72px var(--margin) 32px;
  background: var(--surface); font-size: var(--step-small);
}
.footer__lead { grid-column: 1 / 5; display: grid; align-content: start; gap: 12px; max-width: 36ch; color: var(--muted); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--ink); font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; }
.footer__lead a { color: var(--ink); }
.footer__col { grid-column: span 2; }
.footer__col:nth-of-type(2) { grid-column: 7 / span 2; }
.footer__col h3 { margin-bottom: 14px; color: var(--muted); font-size: inherit; font-weight: 400; }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__col a, .footer__last a { text-decoration: none; transition: color 160ms ease; }
.footer__last {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; color: var(--muted);
}
.footer__last a { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover, .footer__last a:hover { color: var(--accent); }
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------------------------------------------------------------- terms, privacy and refunds */

.legal { max-width: calc(68ch + 2 * var(--margin)); padding: clamp(56px, 9vw, 120px) var(--margin) 0; overflow-wrap: break-word; }
.legal__lead { margin-top: 28px; color: var(--muted); font-size: var(--step-lead); line-height: 1.4; text-wrap: pretty; }
.legal h2 { margin: 56px 0 14px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.legal p, .legal li { text-wrap: pretty; }
.legal section > * + * { margin-top: 14px; }
.legal ul { display: grid; gap: 10px; padding-left: 1.25em; }
.legal li::marker { color: var(--accent); }
.legal a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal__date { margin-top: 64px; color: var(--muted); font-size: var(--step-small); }
.footer--legal { margin-top: 96px; padding-top: 8px; }
@media (hover: hover) and (pointer: fine) {
  .legal a:hover { color: var(--accent); }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .line > span { animation: rise 900ms var(--ease-out) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 110ms; }
  .js .hero__words { animation: fade 640ms var(--ease-out) 380ms both; }
  .js .stage { animation: stage-in 900ms var(--ease-out) 220ms both; }
  .js [data-ui] .term__out.is-in > span { animation: line-in 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 26ms); }
  /* entrances: a part waits only while it is near the window; far away or once seen, it is simply there */
  .js [data-reveal] { transition: opacity 700ms ease, transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal]:not(.is-in):not(.is-far) { opacity: 0; transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@keyframes stage-in { from { opacity: 0; transform: translateY(48px); } }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------------------------------------------------------------- tablet: one column, the stage under the words */

@media (max-width: 1080px) {
  .nav { display: none; }
  .hero { display: block; }
  .hero__title { font-size: min(12.4vw, 104px); }
  .hero__words { max-width: 640px; padding-top: 32px; }
  .report { display: flex; flex-direction: column; }
  .stage { order: 1; margin: 48px calc(var(--margin) * -1) 0 calc(var(--margin) * 2); padding: calc(var(--cut) * 0.577 + 6px) var(--margin) 0 40px; }
  [data-ui].term { max-width: none; }
  [data-ui] .term__out { height: min(640px, 76svh); }
  .report__words { order: 2; max-width: 640px; padding-top: 56px; }
  .why { display: block; max-width: calc(760px + 2 * var(--margin)); }
  .why__words { position: static; }
  .ledger { display: block; margin-top: 72px; }
  .led { display: grid; grid-template-columns: minmax(0, 1fr); }
  .led + .led { margin-top: 88px; }
  .led__num { text-align: left; font-size: min(19vw, 120px); }
  .led__cap { margin-top: 12px; max-width: 46ch; }
  .step { display: block; }
  [data-ui].frag { margin-top: 28px; }
  .finds__head { display: block; }
  .finds__head p { margin-top: 20px; }
  .find { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); row-gap: 8px; padding: 18px 0; }
  .find__name { grid-column: 1; }
  .find__ui { grid-column: 2; grid-row: 1 / 3; padding-right: 20px; }
  .find__line { grid-column: 1; padding-left: 20px; padding-right: 0; }
  .dock { grid-template-columns: minmax(0, 1fr); }
  .dock__tabs { grid-row: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .dock__tab { padding: 18px 20px 18px 44px; }
  .dock__tab::before { left: 20px; top: 26px; }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof__head { gap: 24px; }
  .price { display: block; }
  .price__words { margin-top: 48px; }
  .audit { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .audit__words, .audit__offer, .audit__list, .soon { grid-column: 1; }
  .audit__offer { justify-self: start; }
  .soon { grid-template-columns: minmax(0, 1fr); }
  .soon__title, .soon p, .soon__act { grid-column: 1; justify-self: start; justify-content: flex-start; }
  .faq { display: block; }
  .faq__head { position: static; }
  .faq__list { margin-top: 40px; }
  .footer__lead { grid-column: 1 / -1; }
  .footer__col, .footer__col:nth-of-type(2) { grid-column: span 4; }
}

/* ---------------------------------------------------------------- phone */

@media (max-width: 760px) {
  .top { gap: 18px; padding-top: 18px; }
  .hero__title { padding-top: 48px; }
  .install__cmd { flex: 1; min-width: 0; padding: 0 14px; overflow: hidden; }
  .stage { margin: 40px calc(var(--margin) * -1) 0; padding: calc(72px * 0.577 + 6px) 16px 0; }
  .stage__ground { --cut: 72px; }
  [data-ui].term { font-size: 12.5px; }
  [data-ui] .term__tabs { padding: 0 4px; }
  [data-ui] .term__tab { flex: 1 1 0; min-width: 0; padding: 10px 10px 9px; font-size: 13px; }
  [data-ui] .term__grade { font-size: 12.5px; }
  [data-ui] .term__out { height: min(520px, 68svh); padding: 16px 14px 28px; }
  .report__words { padding-top: 48px; }
  .why__lead { margin-top: 20px; }
  .ledger { margin-top: 56px; }
  [data-ui].frag { margin-top: 24px; padding: 18px 16px; }
  .step__detail { max-width: none; }
  [data-ui] .frag__files { columns: 1; }
  [data-ui] .frag__groups li { grid-template-columns: minmax(0, 1fr) 2.5rem; row-gap: 4px; }
  [data-ui] .frag__ids { grid-column: 1 / -1; }
  .finds__list { margin-top: 40px; }
  .find { display: grid; grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
  .find__name, .find__ui, .find__line { grid-column: 1; grid-row: auto; padding: 0; }
  .find__ui { margin-top: 4px; }
  .dock { margin-top: 36px; margin-inline: calc(var(--margin) * -1); }
  .dock__tabs { grid-template-columns: minmax(0, 1fr); }
  .dock__tab { padding: 16px var(--margin) 16px 40px; }
  .dock__tab::before { left: var(--margin); top: 24px; }
  .dock__view { padding: var(--margin); }
  .dock__pane[hidden], .js .dock__pane[data-off] { display: none; }
  .proof__tiles { gap: 6px; }
  .proof { gap: 6px; }
  .proof__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { justify-content: flex-start; min-height: 132px; }
  .tile__name { font-size: 1.75rem; }
  .audit { padding-top: calc(72px * 0.577 + 56px); }
  .audit__ground { --cut: 72px; }
  .figure__num { font-size: min(30vw, 152px); }
  .faq__item summary { min-height: 64px; padding: 16px 18px; }
  .faq__a { padding: 0 18px 22px; }
  .cta__line { font-size: var(--step-head); letter-spacing: -0.035em; }
  .cta__cmd { font-size: var(--step-body); }
  .cta__cmd code { flex: 1 1 100%; justify-content: center; min-height: 56px; font-size: 1em; }
  .cta__copy { flex: 1 1 100%; min-height: 48px; margin-top: 2px; font-size: var(--step-small); }
  .footer { row-gap: 40px; }
  .footer__col, .footer__col:nth-of-type(2) { grid-column: span 6; }
  .footer__col:nth-of-type(4) { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .top__act { display: none; }
}
@media (max-width: 400px) {
  .install__cmd { font-size: 13px; }
}
