/* lockflare.com — one stylesheet.
   Light and airy, one accent, no hairlines: depth comes from tone and soft
   shadow. Archivo carries the headlines, Inter the text, Plex Mono anything
   that is a command or a path. */

:root {
  --bg: #ffffff;
  --mist: #f5f6f8;
  --mist-2: #eceef2;
  --blue: #152137;
  --blue-2: #24365a;
  --blue-tint: #e6eaf2;
  --ink: #14171d;
  --ink-2: #4d5563;
  --ink-3: #8a919c;
  --ember: #e4560f;
  --ember-deep: #bf4407;
  --ember-tint: #fdf1eb;
  --ok: #1f9d55;
  --warn: #d98a12;
  --bad: #d33b2f;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1260px;
  --r: 10px;
  --r-lg: 16px;
  --shadow-soft: 0 2px 6px rgba(20, 24, 31, .04), 0 24px 60px rgba(20, 24, 31, .08);
  --shadow-shot: 0 8px 18px rgba(20, 24, 31, .06), 0 40px 90px rgba(20, 24, 31, .14);
  --nav-h: 72px;
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ember-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .5em; color: var(--blue); text-wrap: balance; }
h1 { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
h4 { font-size: 18px; }
p { margin: 0 0 1.1em; }
p.lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
code, kbd, .mono { font-family: var(--mono); font-size: .92em; }
code { background: var(--mist); padding: .12em .4em; border-radius: 6px; overflow-wrap: anywhere; }
pre { font-family: var(--mono); font-size: 14px; line-height: 1.65; background: var(--mist); padding: 18px 22px; border-radius: var(--r); overflow: auto; }
pre code { background: none; padding: 0; }
hr { border: 0; height: 1px; background: var(--mist-2); margin: 48px 0; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ember); color: #fff; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none; transition: background .15s; font-family: var(--text); }
.btn:hover { background: var(--ember-deep); text-decoration: none; color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-lg { font-size: 18px; padding: 16px 28px; }
.btn-quiet { display: inline-flex; align-items: center; gap: 6px; color: var(--ember-deep); font-weight: 600; font-size: 16px; padding: 13px 4px; background: none; border: 0; cursor: pointer; font-family: var(--text); }
.btn-quiet:hover { text-decoration: underline; }
.btn-nav { padding: 9px 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 28px; }

/* ── header ────────────────────────────────────────────────────────────── */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 1px 0 rgba(20, 24, 31, .04), 0 10px 30px rgba(20, 24, 31, .05); }
.site-head .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.flame { width: 26px; height: 28px; fill: var(--ember); }
.nav-menu { display: none; }
.nav-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a { color: var(--ink-2); font-weight: 500; font-size: 15.5px; }
.site-nav > a:hover { color: var(--ink); text-decoration: none; }
.site-nav > a.on { color: var(--blue); font-weight: 600; }
.site-nav > a.btn { color: #fff; }

/* ── page rhythm ───────────────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section.tone { background: var(--mist); }
.section-head { max-width: 62ch; margin-bottom: 56px; }
.section-head p { font-size: 19px; color: var(--ink-2); }
.hero { padding: 64px 0 24px; }
.hero h1 { max-width: 22ch; }
.hero .lede { margin-top: 16px; }
.hero-shot { margin-top: 48px; }
/* the hero on Lens blue: one band, white words, the ember unchanged */
.hero.dark { background: var(--blue); padding: 80px 0 88px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: 15px; padding: 15px 18px; border-radius: var(--r); text-decoration: none; white-space: nowrap; }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; text-decoration: none; }

.hero.dark h1 { color: #fff; }
.hero.dark .lede { color: rgba(255, 255, 255, .78); }
.hero.dark .btn-quiet { color: #ffa070; }
.hero-note { color: rgba(255, 255, 255, .6); font-size: 15px; }
.contact-aside p { color: var(--ink-2); font-size: 15.5px; }
.contact-aside p b { color: var(--blue); }
.hero.dark .shot { box-shadow: 0 0 0 8px rgba(255, 255, 255, .045), 0 12px 24px rgba(0, 0, 0, .35), 0 50px 110px rgba(0, 0, 0, .5); }
.hero.dark figcaption { color: rgba(255, 255, 255, .6); }
.hero.dark .subnav { padding: 0 0 30px; }
.hero.dark .subnav-label { color: rgba(255, 255, 255, .4); }
.hero.dark .subnav a { color: rgba(255, 255, 255, .62); background: rgba(255, 255, 255, .06); }
.hero.dark .subnav a:hover { color: #fff; background: rgba(255, 255, 255, .13); }
.hero.dark .subnav a.on { color: #fff; background: var(--ember); }
.hero.dark .subnav a b { color: #ffbd93; background: rgba(228, 86, 15, .28); }
.hero.dark .subnav a.on b { color: #fff; background: rgba(255, 255, 255, .25); }
.hero.dark .illo { box-shadow: var(--shadow-shot); }
/* the trust strip: the award and the certificate, side by side, the badges the same height */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 48px; margin-top: 40px; }
/* in the hero column the two stack, compact, under the actions */
.hero-split .trust-strip { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 40px; }
.hero-split .trust-strip img, .hero-split .trust-strip .iso-badge { height: 36px; }
.hero-split .trust-strip b { font-size: 14.5px; }
.hero-split .trust-strip small { font-size: 11px; }
.trust-strip a { display: inline-flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.trust-strip a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.trust-strip img, .trust-strip .iso-badge { height: 44px; width: auto; flex: 0 0 auto; }
.trust-strip span { display: grid; gap: 2px; line-height: 1.25; }
.trust-strip b { font-size: 15px; font-weight: 600; color: var(--blue); }
.trust-strip small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--ink-3); }
.hero.dark .trust-strip b { color: #fff; }
.hero.dark .trust-strip small { color: rgba(255, 255, 255, .6); }
/* the product beside the words, above the fold */
.hero-split { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 64px; align-items: center; }
.hero-split .shot { margin: 0; }
.hero-split h1 { max-width: none; }
.shot { border-radius: var(--r-lg); box-shadow: var(--shadow-shot); background: var(--blue); overflow: hidden; }
/* an illustration: a tonal panel, the drawing inside it */
.illo { background: var(--mist); border-radius: var(--r-lg); padding: 24px; }
.illo svg { width: 100%; height: auto; display: block; }
.shot img { width: 100%; height: auto; cursor: zoom-in; }
.shot img:focus-visible { outline-offset: -4px; }
/* the lightbox: the screenshot large, over everything, the caption under it */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 48px 72px; background: rgba(21, 33, 55, .88); }
.lb.on { display: flex; }
.lb figure { margin: 0; max-width: min(1600px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); background: var(--blue); }
.lb figcaption { color: #dfe4ee; font-size: 15px; margin-top: 16px; text-align: center; max-width: 80ch; }
.lb figcaption b { color: #fff; }
.lb-count { color: rgba(255, 255, 255, .5); font-size: 13px; margin-top: 8px; font-family: var(--mono); }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb button:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.lb-close { top: 20px; right: 24px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
@media (max-width: 720px) { .lb { padding: 64px 12px 24px; } .lb-prev, .lb-next { display: none; } }
.shot.placeholder { aspect-ratio: 16 / 10; }
figure { margin: 0; }
figcaption { font-size: 14.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
/* a strip of steps: small screens in sequence, each with its line */
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 40px; }
.strip.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strip .shot { border-radius: var(--r); box-shadow: var(--shadow-soft); aspect-ratio: 16 / 10; }
.strip .shot img { width: 100%; height: 100%; object-fit: contain; }
.strip figcaption { font-size: 14px; }
/* a chapter: the heading holds the left column, the prose the right, and
   the screens run the full width underneath */
.story { padding: 64px 0; }
.story + .story { padding-top: 0; }
.story > .wrap, .story.plain { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 64px; align-items: start; }
.story > .wrap > *, .story.plain > * { grid-column: 1 / -1; }
.story > .wrap > h2, .story.plain > h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(26px, 2.6vw, 32px); }
.story > .wrap > .story-text, .story.plain > .story-text { grid-column: 2; grid-row: 1; color: var(--ink-2); font-size: 17px; }
.story .story-text { color: var(--ink-2); font-size: 17px; }
.story .story-text p:last-child { margin-bottom: 0; }
.story .shot { margin-top: 0; }
.story > .wrap > figure, .story.plain > figure { margin-top: 40px; }
.story .strip { margin-top: 36px; }
.story p.caption { margin-top: 20px; }
@media (max-width: 960px) {
  .story > .wrap, .story.plain { grid-template-columns: 1fr; gap: 0; }
  .story > .wrap > h2, .story.plain > h3, .story > .wrap > .story-text, .story.plain > .story-text { grid-column: 1; grid-row: auto; }
  .story > .wrap > h2, .story.plain > h3 { margin-bottom: .5em; }
  .story > .wrap > figure, .story.plain > figure { margin-top: 32px; }
}
.shot.small { max-width: 720px; }
.caption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* the proof line under the hero: three plain facts, no boxes */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.proof h3 { font-size: 19px; margin-bottom: 8px; }
.proof p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* the guarantees: six facts under the hero, each with the mark */
.guarantees { padding: 88px 0; }
.guarantees h3 { position: relative; padding-left: 34px; font-size: 19px; }
.guarantees h3::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.5 3.5L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.guarantees .ledger p { padding-left: 0; }

/* feature band: text beside a screenshot, alternating */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; padding: 72px 0; }
.feature h2 { margin-top: 0; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature h2 { font-size: clamp(28px, 3vw, 36px); }
.feature p { color: var(--ink-2); font-size: 17.5px; }
.feature ul { padding-left: 20px; color: var(--ink-2); margin: 0 0 1.1em; }
.feature li { margin: 6px 0; }

/* a ledger: one tonal panel per point — no edge, the surface does the separating */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ledger.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ledger.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger > div { background: var(--mist); border-radius: var(--r-lg); padding: 28px 30px 26px; display: flex; flex-direction: column; }
.section.tone .ledger > div, .hero.dark .ledger > div { background: #fff; box-shadow: var(--shadow-soft); }
.ledger h3 { font-size: 19px; margin-bottom: 10px; }
.ledger p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.ledger p + p { margin-top: 10px; }
.ledger a.more { font-weight: 600; font-size: 15px; margin-top: auto; padding-top: 16px; align-self: flex-start; }

/* the hub: one tonal panel per package, an ember glyph, a line, a door */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-item { background: var(--mist); border-radius: var(--r-lg); padding: 28px 28px 24px; display: flex; flex-direction: column; }
.hub-item svg { width: 28px; height: 28px; fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.hub-item h3 { font-size: 19px; margin-bottom: 8px; }
.hub-item p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.hub-item .hub-links { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 600; }
.hub-item .sep { color: var(--ink-3); font-weight: 400; margin: 0 2px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* tonal panel: a surface with no edge */
.panel { background: var(--mist); border-radius: var(--r-lg); padding: 32px 36px; }
.panel.white { background: var(--bg); box-shadow: var(--shadow-soft); }
.panel h3 { margin-top: 0; }
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.panels.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* a sequence that really is one: the steps of a flow */
.steps { counter-reset: step; display: grid; gap: 28px; max-width: 60ch; }
.steps > div { position: relative; padding-left: 56px; }
.steps > div::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ember-tint); color: var(--ember-deep); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; }

/* the honest list: what Lens writes on a box */
.writes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; max-width: 980px; }
.writes div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.writes .mono { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.writes span { color: var(--ink-2); font-size: 15px; }

/* sub-navigation for the Lens section */
/* the section bar: a labelled row of pills, so it reads as a menu */
.subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 14px 0 34px; }
.subnav-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 10px; }
.subnav a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; font-size: 14px; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.subnav a:hover { color: var(--ink); background: var(--mist); text-decoration: none; }
.subnav a.on { color: #fff; background: var(--ember); font-weight: 600; }
.subnav a b { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--ember-deep); background: var(--ember-tint); padding: 2px 5px; border-radius: 5px; }
.subnav a.on b { color: #fff; background: rgba(255, 255, 255, .22); }

/* CTA foot */
.cta { padding: 96px 0; background: var(--mist); }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--ink-2); margin: 0; max-width: 56ch; }

/* ── forms (one control per row, labels aligned) ───────────────────────── */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; color: var(--ink); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--text); color: var(--ink); background: var(--mist); border: 0; border-radius: var(--r); padding: 12px 14px; width: 100%; box-shadow: inset 0 0 0 1px transparent; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; background: #fff; box-shadow: 0 0 0 3px var(--ember-tint), inset 0 0 0 1.5px var(--ember); }
.form input[readonly] { color: var(--ink-2); }

/* a select, wearing the same clothes as the inputs — the native control
   cannot be styled, so the arrow is drawn and the chrome turned off */
.form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 14px;
}
.form select:focus { background-color: #fff; background-image: var(--chevron); }

.form textarea { resize: vertical; }
.form .row-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form .hint { font-size: 14px; color: var(--ink-3); font-weight: 400; }
.form .error { color: var(--bad); font-weight: 500; font-size: 15px; margin: 0; }
.form .error:empty { display: none; }
.mono-input, .form input.mono-input { font-family: var(--mono); }
.form .ipl { display: flex; gap: 10px; align-items: center; }
.form .ipl input { flex: 1; }
.form .ipl button { background: none; border: 0; color: var(--ember-deep); cursor: pointer; font: inherit; font-size: 14px; }
.keybox { font-family: var(--mono); font-size: 13px; line-height: 1.7; word-break: break-all; background: var(--mist); border-radius: var(--r); padding: 16px 18px; white-space: pre-wrap; }
.app-page { padding: 72px 0 104px; }
.app-page .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.app-page aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.app-page aside .panel + .panel { margin-top: 16px; }
.app-page aside p { color: var(--ink-2); font-size: 15.5px; }
.app-page h1 { font-size: clamp(32px, 4vw, 44px); }
.app-step { display: none; }
.app-step.on { display: block; }
.stat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 20px 0 28px; }
.stat b { overflow-wrap: anywhere; }
.stat b { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat span { color: var(--ink-3); font-size: 14px; }
.notice { background: var(--ember-tint); color: var(--ember-deep); border-radius: var(--r); padding: 12px 16px; font-size: 15px; }
.plan-list { margin: 0 0 1em; padding-left: 20px; color: var(--ink-2); }
.rows { display: grid; gap: 8px; margin: 0 0 1em; }
.rows div { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 14px; background: var(--mist); border-radius: 8px; padding: 8px 12px; }
.rows div span:last-child { font-family: var(--text); color: var(--ink-2); }

/* ── docs ──────────────────────────────────────────────────────────────── */
.docs-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 56px 0 104px; }
.docs-nav { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; background: var(--blue); border-radius: var(--r-lg); padding: 22px 14px 10px; }
.docs-nav h2 { font-size: 13px; color: rgba(255, 255, 255, .5); font-weight: 600; letter-spacing: 0; margin: 0 0 8px; padding: 0 10px; font-family: var(--text); }
.docs-nav ul { list-style: none; margin: 0 0 22px; padding: 0; }
.docs-nav li a { display: block; padding: 6px 10px; border-radius: 8px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.docs-nav li a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; color: #fff; }
.docs-nav li a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #ffa070; font-weight: 600; }
.docs-nav::-webkit-scrollbar { width: 8px; }
.docs-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); border-radius: 4px; }
.prose { max-width: 74ch; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.prose h2 { font-size: 28px; margin-top: 56px; }
.prose h3 { font-size: 20px; margin-top: 36px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose hr { margin: 56px 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; }
.prose thead th { color: var(--ink-3); font-weight: 600; }
.prose tbody tr:nth-child(odd) { background: var(--mist); }
.doc-links { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; font-weight: 600; }
.doc-links .doc-next { margin-left: auto; }
.doc-links .doc-next::after { content: "\2192"; margin-left: 6px; }
.doc-links .doc-prev::before { content: "\2190"; margin-right: 6px; }
/* the screenshots page: the whole array as a grid */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.gallery .shot { border-radius: var(--r); box-shadow: var(--shadow-soft); }
.gallery figcaption b { display: block; color: var(--blue); font-family: var(--display); font-size: 16px; margin-bottom: 4px; }
.docs-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.docs-index a { display: block; background: var(--mist); border-radius: var(--r-lg); padding: 24px 28px; color: var(--ink); }
.docs-index a:hover { background: var(--mist-2); text-decoration: none; }
.docs-index b { display: block; font-family: var(--display); font-size: 18px; margin-bottom: 6px; }
.docs-index span { color: var(--ink-2); font-size: 15px; }

/* the Cipher documentation, as ported: its own block classes */
.prose .doc-lead { font-size: 19px; color: var(--ink-2); line-height: 1.5; }
.prose .doc-note { background: var(--mist); border-radius: var(--r); padding: 16px 20px; margin: 20px 0; color: var(--ink-2); font-size: 15.5px; }
.prose .doc-codeblock { margin: 20px 0; }
.prose .doc-codeblock-label { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; }
.prose .doc-codeblock pre { margin: 0; }
.prose .doc-table-wrap { overflow: auto; margin: 20px 0; }
.prose .doc-figure { margin: 32px 0; }
.prose .doc-figure .shot { border-radius: var(--r); box-shadow: var(--shadow-soft); aspect-ratio: 16 / 10; }
.prose .doc-figure .shot img { width: 100%; height: 100%; object-fit: contain; }
.prose .doc-figure figcaption { font-size: 14.5px; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.prose .doc-img { margin: 28px 0; }
.prose .doc-img img { border-radius: var(--r); box-shadow: var(--shadow-shot); }
.prose .doc-img-caption { font-size: 14.5px; color: var(--ink-3); margin-top: 12px; }
.prose .doc-term { background: var(--mist); border-radius: var(--r); padding: 18px 20px; margin: 16px 0; }
.prose .doc-term-bar { display: none; }
.prose .doc-term-title { font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.prose .doc-term-body { color: var(--ink-2); font-size: 15.5px; }
.prose .doc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.prose .doc-card { background: var(--mist); border-radius: var(--r); padding: 18px 20px; }
.prose .doc-card h4 { margin-top: 0; }
.prose .doc-badge { display: inline-block; font-family: var(--mono); font-size: 12px; background: var(--ember-tint); color: var(--ember-deep); padding: 2px 8px; border-radius: 6px; }
.prose .doc-h4 { font-size: 17px; margin-top: 28px; }
@media (max-width: 720px) { .prose .doc-grid-2 { grid-template-columns: 1fr; } }

/* ── the download page ─────────────────────────────────────────────────── */
.dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.dl .panel h3 { font-size: 24px; }
.dl .panel p { color: var(--ink-2); }
.dl .sha { font-size: 13px; color: var(--ink-3); word-break: break-all; }
/* the checksum itself, under the file's name: readable, not shouting */
.sha .sha256 { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--ink-3); word-break: break-all; }

/* ── the cipher page: a terminal drawn in type ─────────────────────────── */
.term { white-space: pre; overflow: auto; font-family: var(--mono); font-size: 14px; line-height: 1.7; background: var(--blue); color: #d9dee7; border-radius: var(--r-lg); padding: 26px 30px; box-shadow: var(--shadow-shot); }
.term .dim { color: #7f8794; }
.term .ok { color: #7ee2a8; }
.term .bad { color: #ff9a8a; }

/* ── footer ────────────────────────────────────────────────────────────── */
.site-foot { background: var(--blue); color: rgba(255, 255, 255, .72); padding: 72px 0 40px; margin-top: 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 40px 26px; align-items: start; }
.foot-brand .brand { color: #fff; display: inline-flex; }
.foot-brand .brand:hover { text-decoration: none; }
.foot-brand p { color: rgba(255, 255, 255, .72); max-width: 34ch; margin: 14px 0 0; font-size: 14.5px; }
.foot-brand .foot-tag { color: #ffa070; font-family: var(--display); font-weight: 600; font-size: 16px; margin-top: 18px; }
.foot-brand .mono { color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.foot-iso { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.foot-iso:hover { background: rgba(255, 255, 255, .1); text-decoration: none; color: #fff; }
.foot-iso .flame { width: 16px; height: 18px; }
.foot-iso b { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.foot-iso span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #ffa070; }
.foot-iso svg:last-child { width: 18px; height: 18px; }
.foot-award { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: #fff; text-decoration: none; }
.foot-award:hover { text-decoration: none; }
.foot-award:hover b { text-decoration: underline; text-underline-offset: 3px; }
.foot-award img { height: 40px; width: auto; }
.foot-award span { display: grid; gap: 2px; line-height: 1.25; }
.foot-award b { font-size: 14px; font-weight: 600; white-space: nowrap; }
.foot-award small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .02em; color: rgba(255, 255, 255, .55); }
.site-foot h2 { font-family: var(--text); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .5); margin: 0 0 12px; letter-spacing: 0; }
.foot-grid > div:not(.foot-brand) > a { display: block; color: rgba(255, 255, 255, .78); padding: 3px 0; font-size: 14px; line-height: 1.45; }
.foot-grid > div:not(.foot-brand) > a:hover { color: #fff; }
.foot-line { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: rgba(255, 255, 255, .45); font-size: 13.5px; margin-top: 56px; }
.cta + .site-foot { border-top: 0; }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .trust-strip { gap: 16px 28px; }
  .strip, .strip.four, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature.flip .feature-text { order: 0; }
  .proof, .ledger, .ledger.three, .ledger.two, .panels, .panels.two, .writes, .dl, .docs-index { grid-template-columns: 1fr; }
  .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-page .grid { grid-template-columns: 1fr; gap: 40px; }
  .app-page aside { position: static; }
  .docs-wrap { grid-template-columns: 1fr; gap: 32px; }
  .docs-nav { position: static; max-height: none; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .cta .wrap { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .strip, .strip.four, .strip.two, .gallery, .hub { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 24px; }
  .site-head .site-nav:not(.mobile) { display: none; }
  .nav-menu { display: block; }
  .nav-menu summary { display: flex; }
  .site-nav.mobile { position: absolute; left: 0; right: 0; top: var(--nav-h); background: #fff; box-shadow: var(--shadow-soft); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px; }
  .site-nav.mobile > a { padding: 12px 0; font-size: 17px; }
  .site-nav.mobile > a.btn { margin-top: 10px; justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .writes div { grid-template-columns: 1fr; }
}