/* Ownfold — "the fold".
   Ownfold means you own the fold. Product scenes sit on sheets whose top-right
   corner is folded, like the mark; a photo folds into a sealed letter to show
   how encryption works. Seal red marks only what is sealed. */

/* ------------------------------------------------------------- tokens -- */

:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --paper-3: #e1d8c6;
  --card: #fcfaf6;
  --ink: #17181c;
  --ink-2: #45454b;
  --ink-3: #6a665e;
  --rule: #ddd4c4;
  --rule-strong: #c6bba7;
  --seal: #b8392a;
  --on-seal: #ffffff;
  --page-bg: var(--paper);                 /* what shows through a folded corner */
  --fold-hi: #fbf7ef;
  --fold-lo: #ddd2bd;
  --btn-fold: #8b8a86;
  --env-1: #f8f3ea;
  --env-2: #ebe2d1;
  --win-shadow: 0 1px 1px rgba(50, 35, 15, 0.06), 0 30px 60px -32px rgba(50, 35, 15, 0.5);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --w: 1200px;
  --gutter: 24px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121214;
    --paper-2: #1b1b1e;
    --paper-3: #232326;
    --card: #1f1f23;
    --ink: #ece7dc;
    --ink-2: #bdb8ae;
    --ink-3: #95918a;
    --rule: #2b2b30;
    --rule-strong: #3d3d44;
    --seal: #ee6a50;
    --on-seal: #1a0b07;
    --page-bg: var(--paper);
    --fold-hi: #2e2e33;
    --fold-lo: #1f1f23;
    --btn-fold: #8c8983;
    --env-1: #2a2a2e;
    --env-2: #222226;
    --win-shadow: 0 1px 1px rgba(0, 0, 0, 0.4), 0 30px 60px -28px rgba(0, 0, 0, 0.9);
  }
}

/* --------------------------------------------------------------- base -- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
svg { display: block; }
p, ul, ol, h1, h2, h3, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
b, strong { font-weight: 600; }
code { font-family: var(--mono); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.visually-hidden { position: absolute !important; 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: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 4px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mark { flex: none; }
.mark .body { fill: currentColor; }
.mark .flap { fill: var(--seal); }

/* --------------------------------------------------------- typography -- */

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 600 14px/1 var(--sans); letter-spacing: 0.02em; color: var(--ink-2); }
/* a tiny sheet with its corner folded */
.eyebrow::before { content: ""; width: 10px; height: 10px; flex: none; background: linear-gradient(225deg, transparent 3.6px, var(--ink) 3.6px); }
h1 { font: 400 clamp(50px, 7.4vw, 104px)/0.95 var(--serif); letter-spacing: -0.035em; text-wrap: balance; }
h2 { font: 400 clamp(34px, 4.2vw, 54px)/1.04 var(--serif); letter-spacing: -0.025em; text-wrap: balance; max-width: 19ch; }
h3 { font: 400 30px/1.15 var(--serif); letter-spacing: -0.015em; }
.h2-wide { max-width: none; font-size: clamp(34px, 3.8vw, 50px); }
.sub { margin-top: 22px; max-width: 34em; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.sec-head { margin-bottom: 56px; }

/* ------------------------------------------------------------ actions -- */

/* Ink button with its top-right corner folded, like the mark. */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px 0 22px; border: 0; border-radius: 5px;
  background: var(--ink); color: var(--paper); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
}
.btn::after {
  content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-style: solid; border-width: 0 13px 13px 0;
  border-color: transparent var(--page-bg) var(--btn-fold) transparent;
}
.btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: underline; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* status squares: filled = works, half = in progress, empty = planned */
.sq { display: inline-block; width: 11px; height: 11px; flex: none; border: 1.5px solid var(--ink); vertical-align: -1px; }
.sq-done { background: var(--ink); }
.sq-wip { background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.sq-none { height: 0; border-width: 1.5px 0 0; border-color: var(--ink-3); vertical-align: 3px; }

/* ------------------------------------------------- the folded sheet -- */

.sheet { position: relative; --fold: 44px; background: var(--paper-2); border-radius: 16px 0 16px 16px; }
.sheet::before, .sheet::after { content: ""; position: absolute; top: 0; right: 0; width: var(--fold); height: var(--fold); pointer-events: none; }
.sheet::before { background: linear-gradient(45deg, transparent 50%, var(--page-bg) 50%); z-index: 3; }
.sheet::after {
  background: linear-gradient(45deg, var(--fold-hi) 0%, var(--fold-lo) 50%, transparent 50%);
  border-bottom-left-radius: 7px; z-index: 4;
  filter: drop-shadow(-3px 4px 4px rgba(50, 35, 15, 0.16));
}

/* --------------------------------------------------- mock interfaces -- */

.win { background: var(--card); border: 1px solid var(--rule-strong); border-radius: 11px; box-shadow: var(--win-shadow); overflow: hidden; font: 13px/1.4 var(--sans); color: var(--ink); text-align: left; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--rule-strong); }
.win-title { font-weight: 600; font-size: 13px; color: var(--ink-2); }
.win-search { margin-left: auto; display: flex; align-items: center; gap: 6px; width: 190px; height: 25px; padding: 0 8px; border: 1px solid var(--rule); border-radius: 6px; background: var(--card); color: var(--ink-3); }
.win-search .i { width: 13px; height: 13px; }
.mbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 29px; padding: 0 11px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mbtn .i { width: 14px; height: 14px; }
.mbtn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mbtn-wide { display: flex; height: 38px; margin-top: 16px; font-size: 13.5px; }
.av { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--paper-2); font-size: 10.5px; font-weight: 700; color: var(--ink-2); }
.av-1 { background: #e2d2b8; color: #4a3b26; }
.av-2 { background: #cfdcd6; color: #2e4740; }
.av-3 { background: #ddcdd2; color: #4a3239; }
.meter { display: block; height: 5px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.meter i { display: block; width: 30%; height: 100%; background: var(--ink-2); }
.phone { width: 300px; max-width: 100%; padding: 10px; border-radius: 42px; background: var(--card); border: 1px solid var(--rule-strong); box-shadow: var(--win-shadow); }

/* Photos, painted in CSS. They are the only colors outside the palette:
   they stand for the reader's own pictures. */
.ph { display: block; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
.ph-beach  { background: radial-gradient(circle at 74% 26%, #fff4d8 0 6%, rgba(255, 236, 190, 0.45) 9%, transparent 16%), linear-gradient(180deg, #bcd8e6 0%, #e4eef1 44%, #5c9db9 44%, #4b8aa7 61%, #f2e8d2 61%, #e7d4ab 64%, #dcc597 100%); }
.ph-sunset { background: radial-gradient(circle at 60% 55%, #ffe9bd 0 7%, rgba(255, 214, 160, 0.5) 11%, transparent 20%), linear-gradient(180deg, #f6d3a8 0%, #ec9f7c 38%, #c9757b 56%, #4b5776 56%, #3a4562 100%); }
.ph-garden { background: radial-gradient(circle at 24% 72%, #e2735e 0 5%, transparent 6%), radial-gradient(circle at 44% 80%, #f0c35a 0 4%, transparent 5%), radial-gradient(circle at 66% 70%, #e9a0b0 0 5%, transparent 6%), radial-gradient(circle at 84% 82%, #e2735e 0 4%, transparent 5%), linear-gradient(180deg, #dbe8df 0 40%, #94b37e 40%, #6f9a5c 100%); }
.ph-party  { background: radial-gradient(ellipse at 50% 48%, #ffe1a0 0 7%, rgba(255, 205, 130, 0.42) 18%, transparent 45%), linear-gradient(180deg, #5f3d31 0%, #8d5a40 60%, #b8825a 100%); }
.ph-hills  { background: radial-gradient(ellipse 80% 40% at 30% 100%, #6e8a62 0 70%, transparent 71%), radial-gradient(ellipse 90% 50% at 85% 100%, #87a275 0 70%, transparent 71%), linear-gradient(180deg, #e6eef0 0%, #cfdde3 55%, #a9bfa0 55%); }
.ph-lake   { background: linear-gradient(180deg, #efe9dc 0 40%, #c9cbbf 40% 44%, #5e6f62 44% 50%, #8fb0b4 50%, #7c9ea4 100%); }
.ph-snow   { background: linear-gradient(180deg, #d5dee6 0 46%, #5d6b67 46% 53%, #f2f4f6 53%, #e4e9ed 100%); }
.ph-city   { background: radial-gradient(circle at 18% 72%, #f6d27a 0 2.4%, transparent 3.4%), radial-gradient(circle at 36% 64%, #f6d27a 0 2.4%, transparent 3.4%), radial-gradient(circle at 54% 72%, #f39a6b 0 2.4%, transparent 3.4%), radial-gradient(circle at 72% 62%, #f6d27a 0 2.4%, transparent 3.4%), radial-gradient(circle at 88% 74%, #f6d27a 0 2.4%, transparent 3.4%), linear-gradient(180deg, #273049 0%, #3a4363 55%, #1c2134 55%); }
.ph-forest { background: linear-gradient(180deg, #e3eadf 0 26%, transparent 26%), repeating-linear-gradient(90deg, #3f5b45 0 6%, #557555 6% 10%, #2f4836 10% 15%); }
.ph-dunes  { background: radial-gradient(ellipse 90% 50% at 20% 100%, #d9a46c 0 70%, transparent 71%), radial-gradient(ellipse 80% 45% at 80% 100%, #e7b97f 0 70%, transparent 71%), linear-gradient(180deg, #f3dcc0 0%, #f0cfa5 60%, #e3ad73 60%); }
.ph-field  { background: radial-gradient(circle at 80% 22%, #fff6dc 0 5%, transparent 9%), linear-gradient(180deg, #cfe2ea 0 45%, #e9c66f 45%, #d6a94b 100%); }
.ph-autumn { background: radial-gradient(circle at 25% 35%, #d9763b 0 18%, transparent 19%), radial-gradient(circle at 60% 30%, #e59a3f 0 20%, transparent 21%), radial-gradient(circle at 85% 45%, #b8562f 0 16%, transparent 17%), linear-gradient(180deg, #efe2cf 0 60%, #7b6a4f 60%); }

/* ------------------------------------------------------------- header -- */

.top { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 28px; height: 28px; }
.brand span { font: 600 21px/1 var(--serif); letter-spacing: -0.01em; }
#site-nav { margin-left: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { padding: 6px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.nav-status { padding-left: 28px; border-left: 1px solid var(--rule); }
.nav-status a { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.menu-btn { display: none; align-items: center; gap: 6px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: 5px; background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; }
.menu-btn .i { width: 16px; height: 16px; }

/* --------------------------------------------------------------- hero -- */

.hero { padding: 88px 0 140px; overflow-x: hidden; overflow-x: clip; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 { max-width: 11ch; }
.hero-sub { margin-top: 30px; max-width: 36em; font-size: clamp(18.5px, 1.7vw, 21.5px); line-height: 1.55; color: var(--ink-2); }
.hero .actions { justify-content: center; }

.hero-shot { margin-top: 80px; }
.hero-sheet { --fold: 64px; padding: 64px 64px 72px; }
.hero-scene { position: relative; max-width: 960px; margin: 0 auto; }
.hero-shot figcaption { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--ink-3); }

.mac-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.mac-side { display: flex; flex-direction: column; gap: 1px; padding: 14px 10px 16px; border-right: 1px solid var(--rule); background: color-mix(in srgb, var(--paper-2) 50%, var(--card)); }
.side-h { padding: 12px 8px 7px; font: 600 10.5px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.side-h:first-child { padding-top: 4px; }
.side-i { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; color: var(--ink-2); }
.side-i .i { width: 16px; height: 16px; }
.side-i.on { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-weight: 600; }
.side-i.sealed, .side-i.sealed .i { color: var(--seal); }
.side-store { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); }
.side-store .meter { margin: 4px 8px 6px; }
.side-small { display: block; padding: 0 8px; font-size: 11.5px; color: var(--ink-3); }
.mac-main { min-width: 0; }
.mac-tool { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.mac-h { font: 400 22px/1.1 var(--serif); }
.mac-h small { margin-left: 8px; font: 12px var(--sans); color: var(--ink-3); }
.tool-btns { display: flex; gap: 8px; }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; padding: 4px 18px 20px; }
.gallery .ph { aspect-ratio: 1; }

.hero-phone { position: absolute; right: -40px; bottom: -48px; width: 238px; padding: 8px; border-radius: 36px; }
.pscreen { border-radius: 29px; background: var(--card); padding: 30px 14px 16px; font: 12px/1.35 var(--sans); }
.p-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12px; color: var(--ink-2); }
.p-top .i { width: 16px; height: 16px; }
.p-photo { aspect-ratio: 4 / 5; border-radius: 12px; }
.p-info { display: grid; gap: 2px; margin: 12px 2px 10px; }
.p-info b { font-size: 14px; }
.p-info span { font-size: 11px; color: var(--ink-3); }
.p-line { display: flex; align-items: center; gap: 8px; padding: 8px 2px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-2); }
.p-line .i { width: 15px; height: 15px; color: var(--seal); }
.p-line .av { width: 22px; height: 22px; font-size: 8.5px; background: #cfdcd6; color: #2e4740; }

/* ------------------------------------------------------- how it works -- */

.sec { padding: 140px 0; }
.how { padding-top: 40px; }
.how-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.steps { margin-top: 40px; border-top: 1px solid var(--rule); }
.steps [role="tab"] {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; width: 100%; padding: 20px 6px 20px 0;
  border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer;
}
.step-n { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--rule-strong); border-radius: 50%; font: 600 13px/1 var(--mono); color: var(--ink-2); }
.step-t b { display: block; margin-bottom: 4px; font-size: 18px; color: var(--ink); }
.step-t span { display: block; font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.steps [role="tab"]:hover b { text-decoration: underline; text-underline-offset: 4px; }
.steps [aria-selected="true"] .step-n { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.steps [aria-selected="true"] .step-t span { color: var(--ink-2); }
.note { margin-top: 28px; max-width: 34em; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.note a { font-weight: 600; white-space: nowrap; }

.how-stage { --fold: 52px; --lw: 252px; --lh: 336px; display: flex; flex-direction: column; align-items: center; padding: 44px 32px 40px; }
.track { display: flex; align-items: flex-start; width: 100%; max-width: 380px; margin-bottom: 30px; }
.t-node { display: grid; justify-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); transition: color 0.3s; }
.t-node .i { width: 42px; height: 42px; padding: 10px; border: 1px solid var(--rule-strong); border-radius: 50%; background: var(--card); color: var(--ink-2); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.t-line { flex: 1; margin: 21px 8px 0; border-top: 1.5px dashed var(--seal); }
.how-stage[data-step="1"] [data-at="1"], .how-stage[data-step="2"] [data-at="2"], .how-stage[data-step="3"] [data-at="3"] { color: var(--ink); font-weight: 600; }
.how-stage[data-step="1"] [data-at="1"] .i, .how-stage[data-step="2"] [data-at="2"] .i, .how-stage[data-step="3"] [data-at="3"] .i { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* The letter: a photo in three panels that fold into a sealed letter. */
.letter-wrap { position: relative; display: grid; place-items: center; width: 100%; perspective: 1600px; }
.letter {
  --photo: radial-gradient(circle at 70% 18%, #fff4d8 0 4.5%, rgba(255, 236, 190, 0.45) 7%, transparent 13%), linear-gradient(180deg, transparent 58.6%, rgba(255, 255, 255, 0.75) 59.2%, transparent 61%), linear-gradient(180deg, #bcd8e6 0%, #e4eef1 40%, #5c9db9 40%, #4b8aa7 59%, #f2e8d2 59%, #e7d4ab 63%, #dcc597 100%);
  position: relative; width: var(--lw); height: var(--lh); transform-style: preserve-3d;
}
.lp { position: absolute; left: 0; width: 100%; height: calc(100% / 3); transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.65, 0, 0.25, 1); }
.lp-top { top: 0; transform-origin: 50% 100%; }
.lp-mid { top: calc(100% / 3); }
.lp-bot { top: calc(200% / 3); transform-origin: 50% 0; }
.face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.front { background: var(--photo); background-size: 100% 300%; }
.lp-top .front { background-position: 0 0; border-radius: 6px 6px 0 0; }
.lp-mid .front { background-position: 0 50%; }
.lp-bot .front { background-position: 0 100%; border-radius: 0 0 6px 6px; }
.back { transform: rotateX(180deg); background: linear-gradient(180deg, var(--env-1), var(--env-2)); box-shadow: inset 0 0 0 1px var(--rule); border-radius: 3px; }
.l-label { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font: 500 10.5px/1 var(--mono); letter-spacing: 0.02em; color: var(--seal); }
.letter[data-state="sealed"] .lp-bot { transform: rotateX(180deg) translateZ(-1px); }
.letter[data-state="sealed"] .lp-top { transform: rotateX(-180deg) translateZ(-2px); transition-delay: 0.32s; }
.letter[data-state="open"] .lp-bot { transition-delay: 0.32s; }
.wax {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; padding: 9px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #d4573f, #a52f20 72%); box-shadow: 0 2px 4px rgba(90, 20, 10, 0.35), inset 0 -2px 3px rgba(60, 10, 5, 0.35);
  transform: translate(-50%, -30%) translateZ(4px) scale(0.6); opacity: 0;
  transition: opacity 0.25s, transform 0.35s;
}
.wax path { fill: rgba(70, 12, 6, 0.45); }
.letter[data-state="sealed"] .wax { opacity: 1; transform: translate(-50%, -30%) translateZ(4px) scale(1); transition-delay: 1s; }
.letter-wrap::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 70%; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, rgba(50, 35, 15, 0.22), transparent 70%); transform: translateX(-50%); transition: width 0.6s 0.4s, bottom 0.6s 0.4s; }
.how-stage[data-step="2"] .letter-wrap::after { width: 76%; bottom: calc(var(--lh) / 3 - 12px); }
.fold-meta { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 34px; min-height: 44px; text-align: center; }
.fm-name { font-size: 15px; font-weight: 600; }
.fm-size { font-size: 13.5px; color: var(--ink-3); }
.how-stage[data-step="2"] .fm-name { font: 500 13px/1.6 var(--mono); color: var(--seal); }
@media (prefers-reduced-motion: reduce) {
  .lp, .wax, .letter-wrap::after, .t-node, .t-node .i { transition: none !important; }
}

/* ------------------------------------------------------------ features -- */

.tabs { display: flex; gap: 40px; margin-bottom: 52px; border-bottom: 1px solid var(--rule); }
.tabs [role="tab"] { margin-bottom: -1px; padding: 14px 0; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 17px; font-weight: 600; color: var(--ink-3); cursor: pointer; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); }
.tabs small { margin-left: 6px; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.panel-copy p { margin-top: 16px; color: var(--ink-2); }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px; background: linear-gradient(225deg, transparent 3.2px, var(--ink) 3.2px); }
.state { display: flex; gap: 10px; align-items: baseline; margin-top: 28px !important; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2) !important; }
.panel-stage { --fold: 48px; display: grid; place-items: center; min-height: 540px; padding: 52px 44px; }
.tour-foot { margin-top: 28px; text-align: right; font-size: 14px; color: var(--ink-3); }

.files-win { width: 100%; max-width: 620px; }
.files-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; }
.flist { padding: 12px 10px 14px; }
.crumb { padding: 4px 8px 10px; color: var(--ink-3); }
.crumb i { margin: 0 7px; font-style: normal; }
.crumb b { color: var(--ink); }
.frow { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-top: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.frow .i { width: 17px; height: 17px; color: var(--ink-3); }
.frow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.frow.sel { border-radius: 6px; border-top-color: transparent; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.frow.sel + .frow { border-top-color: transparent; }
.inspector { padding: 16px; border-left: 1px solid var(--rule); background: color-mix(in srgb, var(--paper-2) 45%, var(--card)); }
.doc-preview { display: grid; gap: 6px; padding: 14px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.doc-preview i { display: block; height: 4px; border-radius: 2px; background: var(--rule); }
.doc-preview i.short { width: 60%; }
.doc-preview i.box { height: 34px; margin: 3px 0; background: color-mix(in srgb, var(--rule) 60%, transparent); }
.ins-name { margin-top: 12px; font-weight: 600; }
.ins-name small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.ins-h { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule); font: 600 10.5px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.versions li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 12px; border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.versions .cur span { color: var(--ink-3); }
.versions .restore { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.sheetui { border-radius: 33px; background: var(--paper-2); padding: 8px 14px 18px; font: 13px/1.35 var(--sans); color: var(--ink); }
.grab { display: block; width: 36px; height: 5px; margin: 2px auto 10px; border-radius: 3px; background: var(--rule-strong); }
.su-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--ink-2); }
.su-head b { font-size: 14px; color: var(--ink); }
.su-done { font-weight: 600; color: var(--ink); }
.su-file { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--card); }
.su-file .ph { width: 38px; height: 38px; border-radius: 6px; }
.su-file b { display: block; font-size: 13.5px; }
.su-file span { font-size: 11.5px; color: var(--ink-3); }
.su-h { margin: 16px 4px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.su-group { border-radius: 12px; background: var(--card); }
.srow { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; }
.srow + .srow { border-top: 1px solid var(--rule); }
.s-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-main small { display: block; font-size: 11px; color: var(--ink-3); }
.s-val { display: flex; align-items: center; gap: 2px; color: var(--ink-3); }
.s-val .i { width: 14px; height: 14px; }
.s-add { color: var(--ink-2); }
.s-add .i { width: 16px; height: 16px; }
.switch { position: relative; width: 38px; height: 23px; flex: none; border-radius: 12px; background: var(--ink); }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--card); }
.su-link { margin-top: 12px; padding: 9px 10px; border-radius: 10px; background: var(--card); font: 11px/1.4 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.link-key { color: var(--seal); font-weight: 600; white-space: nowrap; }

.hh-win { width: 100%; max-width: 600px; }
.hh { padding: 8px 18px 16px; }
.hh-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 12px; }
.hh-head p { color: var(--ink-2); }
.hh-head b { color: var(--ink); }
.hh-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 150px; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule); }
.hh-row p { font-weight: 600; }
.hh-row small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.hh-use { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-2); }
.hh-row.pending { opacity: 0.7; }
.hh-row.pending .hh-use { display: block; text-align: right; }
.m82 { width: 82% !important; } .m41 { width: 41% !important; } .m38 { width: 38% !important; }
.hh-note { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 11px 12px; border-radius: 7px; background: var(--paper-2); font-size: 12.5px; color: var(--ink-2); }
.hh-note .i { width: 15px; height: 15px; color: var(--seal); }

/* Private Vault stage: the one night-colored sheet in the tour. */
.stage-night {
  --paper: #17181c; --paper-2: #1e1f24; --card: #24262c; --ink: #ece7dc; --ink-2: #b9b4aa; --ink-3: #96928a;
  --rule: #30323a; --rule-strong: #44464e; --seal: #ef6c52; --btn-fold: #6f6d69;
  --fold-hi: #33343a; --fold-lo: #24252b;
  --win-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 30px 60px -28px rgba(0, 0, 0, 0.85);
  background: #1a1b20; color: var(--ink);
}
.vwin { width: 100%; max-width: 380px; }
.vwin .btn { --page-bg: var(--card); }
.vpanel { min-height: 282px; padding: 30px 26px 26px; }
.vlocked { text-align: center; }
.vlock { width: 42px; height: 42px; margin: 4px auto 14px; fill: none; stroke: var(--seal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.v-h { font: 400 20px/1.3 var(--serif); }
.v-sub { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.v-pass { display: block; margin: 20px 0 12px; padding: 9px 12px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--paper-2); color: var(--ink-2); letter-spacing: 0.2em; text-align: left; }
.vopen { padding-top: 18px; }
.v-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.v-bar .v-h { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.v-bar .v-h .i { width: 18px; height: 18px; color: var(--ink-3); }
.vlock-btn { padding: 7px 11px; border: 1px solid var(--rule-strong); border-radius: 5px; background: transparent; font: 600 12.5px/1 var(--sans); cursor: pointer; }
.vlock-btn:hover { border-color: var(--ink-2); }
.v-list li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 9px 2px; border-top: 1px solid var(--rule); font-size: 13px; }
.v-list .i { width: 17px; height: 17px; color: var(--ink-3); }
.v-list span { font-size: 12px; color: var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .vopen:not([hidden]) .v-list li { animation: settle 0.32s ease-out both; }
  .vopen:not([hidden]) .v-list li:nth-child(2) { animation-delay: 0.04s; }
  .vopen:not([hidden]) .v-list li:nth-child(3) { animation-delay: 0.08s; }
  .vopen:not([hidden]) .v-list li:nth-child(4) { animation-delay: 0.12s; }
  .panel:not([hidden]) { animation: panel-in 0.28s ease-out; }
}
@keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------- privacy -- */

.privacy {
  --paper: #141519; --paper-2: #1c1d22; --card: #22242a; --ink: #ece7dc; --ink-2: #b6b1a7; --ink-3: #928e86;
  --rule: #2d2f36; --rule-strong: #42444c; --seal: #ef6c52; --page-bg: #141519;
  background: var(--paper); color: var(--ink);
}
@media (prefers-color-scheme: dark) { .privacy { --paper: #0b0b0d; --page-bg: #0b0b0d; border-block: 1px solid #222226; } }
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ledger h3 { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 600 16px/1.3 var(--sans); }
.ledger-col.sealed h3 { color: var(--seal); border-bottom-color: var(--seal); }
.ledger .mark { width: 22px; height: 22px; color: var(--ink); }
.ledger li { padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17.5px; color: var(--ink-2); }
.privacy-foot { margin-top: 40px; max-width: 46em; font-size: 16px; color: var(--ink-2); }

/* --------------------------------------------------------------- setup -- */

.setup-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
.nas-stage { --fold: 40px; display: grid; justify-items: center; margin-top: 44px; padding: 64px 40px 52px; }
.nas { display: grid; grid-template-rows: 1fr 1fr auto; gap: 9px; width: 230px; height: 176px; padding: 18px 18px 14px; border-radius: 16px; background: linear-gradient(180deg, #2c2d32, #1c1d21); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 40px -22px rgba(30, 20, 10, 0.6); }
.nas-bay { display: flex; align-items: center; gap: 4px; padding: 0 14px; border-radius: 7px; background: #34363c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(0, 0, 0, 0.3); }
.nas-bay i { width: 3px; height: 18px; border-radius: 2px; background: #4b4d55; }
.nas-foot { display: flex; align-items: center; gap: 8px; padding: 2px 2px 0; }
.nas-led { width: 6px; height: 6px; border-radius: 50%; background: #f4efe6; box-shadow: 0 0 6px rgba(244, 239, 230, 0.8); }
.nas-led.dim { opacity: 0.35; box-shadow: none; }
.nas-name { margin-left: auto; font: 600 9px/1 var(--mono); letter-spacing: 0.16em; color: #85878e; }
.nas-shadow { width: 250px; height: 18px; margin-top: -2px; border-radius: 50%; background: radial-gradient(ellipse, rgba(40, 28, 12, 0.22), transparent 70%); }

.setup-detail { padding-top: 6px; }
.setup-detail h3 { font-size: 26px; }
.setup-detail h3 + * { margin-top: 18px; }
.needs { display: grid; gap: 16px; margin-bottom: 52px; }
.needs li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.needs .i { width: 40px; height: 40px; padding: 10px; border: 1px solid var(--rule-strong); border-radius: 9px; background: var(--card); color: var(--ink-2); }
.needs b { display: block; font-size: 17px; }
.needs p { font-size: 16px; line-height: 1.45; color: var(--ink-3); }
.steps-list { counter-reset: s; display: grid; gap: 16px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 34px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -1px; font: 400 20px/1.35 var(--serif); color: var(--ink-3); }
.steps-list b { color: var(--ink); }
.setup .state { margin-top: 36px !important; }

/* -------------------------------------------------------------- status -- */

.status { padding-top: 40px; }
.status-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; padding-top: 120px; border-top: 1px solid var(--rule); }
.status-intro { position: sticky; top: 108px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }
.legend .sq { margin-right: 8px; }
.srow-s { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.srow-s:first-child { border-top: 2px solid var(--ink); }
.srow-s .sq { margin-top: 7px; }
.srow-s .sq-none { margin-top: 13px; }
.srow-s b { display: block; margin-bottom: 3px; font-size: 18px; }
.srow-s p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.status-foot { margin-top: 24px; font-size: 15.5px; color: var(--ink-2); }

/* ----------------------------------------------------------------- faq -- */

.faq-sec { padding-top: 40px; }
.faq-wrap { max-width: 880px; padding-top: 120px; border-top: 1px solid var(--rule); }
.faq-wrap .sec-head { margin-bottom: 36px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 2px; list-style: none; cursor: pointer; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 28px/1 var(--serif); color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq details > div { max-width: 40em; padding: 0 2px 24px; color: var(--ink-2); }

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

.foot { margin-top: 40px; padding: 64px 0 56px; border-top: 1px solid var(--rule); background: var(--paper-2); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; }
.foot-brand .mark { width: 26px; height: 26px; }
.foot-brand .brand span { font-size: 19px; }
.foot-brand p { margin-top: 12px; font: 400 22px/1.3 var(--serif); color: var(--ink-2); }
.foot-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 72px; }
.foot-nav p { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.foot-nav li + li { margin-top: 8px; }
.foot-nav a { font-size: 15.5px; color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover, .foot-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.foot-base { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--rule-strong); font-size: 14px; color: var(--ink-3); }

/* ------------------------------------------------------ security page -- */

.doc-head { padding: 88px 0 64px; }
.doc-head h1 { font-size: clamp(46px, 6vw, 80px); max-width: 13ch; }
.doc-head .hero-sub { margin-top: 26px; }
.doc-meta { margin-top: 26px; font: 500 13px/1.6 var(--mono); color: var(--ink-3); }
.doc { padding-bottom: 120px; }
.doc-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 72px; padding-top: 48px; border-top: 1px solid var(--rule); }
.toc { position: sticky; top: 100px; align-self: start; }
.toc p { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { border-left: 1px solid var(--rule); }
.toc a { display: block; margin-left: -1px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.35; color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.active { border-left-color: var(--ink); color: var(--ink); }
.prose { max-width: 720px; }
.prose section { padding-bottom: 52px; margin-bottom: 52px; border-bottom: 1px solid var(--rule); }
.prose section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.prose h2 { max-width: none; margin-bottom: 20px; font-size: 34px; }
.prose h3 { margin: 28px 0 8px; font: 600 17px/1.35 var(--sans); }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose pre + p, .prose .table-wrap + p, .prose .keys + p { margin-top: 1em; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose code { padding: 1px 5px; border-radius: 4px; background: var(--paper-2); font-size: 0.86em; color: var(--ink); overflow-wrap: anywhere; }
.prose pre { margin: 1em 0 0; padding: 16px 18px; border-radius: 8px; background: var(--paper-2); overflow-x: auto; font-size: 13px; line-height: 1.7; color: var(--ink); }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.note-box { margin-top: 1.2em; padding: 16px 20px; border-left: 3px solid var(--ink); background: var(--paper-2); }
.table-wrap { overflow-x: auto; margin-top: 4px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table-wrap thead th { font: 600 12px/1 var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.table-wrap tbody th { width: 34%; font-weight: 600; color: var(--ink); }
.table-wrap td { color: var(--ink-2); }
.keys { margin-top: 1.4em; padding: 34px 26px 26px; }
.keys-row { display: grid; gap: 12px; justify-items: center; }
.keys-row.two { grid-template-columns: 1fr 1fr; }
.keys-row.three { grid-template-columns: repeat(3, 1fr); }
.key { display: grid; gap: 3px; width: 100%; max-width: 250px; padding: 11px 12px; border: 1px solid var(--rule-strong); border-radius: 7px; background: var(--card); text-align: center; }
.key b { font-size: 14px; line-height: 1.25; color: var(--ink); }
.key small { font: 11.5px/1.35 var(--mono); color: var(--ink-3); }
.key.secret { border-color: var(--seal); }
.key.secret b { color: var(--seal); }
.key.data { border-style: dashed; background: transparent; }
.edge { display: grid; justify-items: center; }
.edge span { position: relative; padding: 9px 0 13px; text-align: center; font: 11.5px/1.3 var(--mono); color: var(--ink-3); }
.edge span::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 5px; border-left: 1px solid var(--rule-strong); }
.edge span::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 7px; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); transform: translateX(-50%) rotate(45deg); }
.edge em { position: relative; padding: 1px 6px; background: var(--paper-2); font-style: normal; }
.keys-legend { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--rule-strong); text-align: center; font: 12px/1.5 var(--mono); color: var(--ink-3); }
.keys-legend b { color: var(--seal); }

/* ----------------------------------------------------------------- 404 -- */

.lost { padding: 120px 0 160px; text-align: center; }
.lost .eyebrow { justify-content: center; }
.lost h1 { margin: 0 auto; font-size: clamp(46px, 6vw, 80px); }
.lost .hero-sub { margin: 24px auto 0; }
.lost .actions { justify-content: center; }

/* ========================================================= tablet == */

@media (max-width: 1099px) {
  .sec { padding: 112px 0; }
  .how, .status, .faq-sec { padding-top: 24px; }
  .how-grid, .setup-grid, .status-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  /* Put the letter between the intro and the steps, so it stays in view while tapping. */
  .how-grid { gap: 0; }
  .how-copy { display: contents; }
  .how-copy .eyebrow { order: 1; }
  .how-copy h2 { order: 2; }
  .how-copy .sub { order: 3; }
  .how-stage { order: 4; margin-top: 40px; }
  .how-copy .steps { order: 5; }
  .how-copy .note { order: 6; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .panel-copy { max-width: 40em; }
  .panel-stage { min-height: 0; }
  .status-intro { position: static; }
  .status-grid, .faq-wrap { padding-top: 96px; }
  .hero-sheet { padding: 48px 40px 64px; }
  .hero-phone { right: -16px; width: 200px; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery .ph:nth-child(n+13) { display: none; }
  .nav { gap: 22px; }
  .nav-status { padding-left: 20px; }
  .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 919px) {
  .nav-opt { display: none; }
}

/* ========================================================== phone == */

@media (max-width: 759px) {
  :root { --gutter: 18px; }
  body { font-size: 17px; }
  .top-in { height: 60px; }
  .menu-btn { display: inline-flex; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px -24px rgba(40, 30, 15, 0.45); }
  .top.menu-open #site-nav { display: block; }
  .top.menu-open { border-bottom-color: var(--rule); }
  .nav { flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 12px; }
  .nav li + li { border-top: 1px solid var(--rule); }
  .nav-opt { display: block; }
  .nav a { display: block; padding: 14px 0; font-size: 17px; color: var(--ink); }
  .nav-status { padding-left: 0; border-left: 0; }
  .nav-status a { display: flex; }

  .sec { padding: 88px 0; }
  .how, .status, .faq-sec { padding-top: 8px; }
  .hero { padding: 48px 0 80px; }
  .mac-h small { display: block; margin: 4px 0 0; }
  .hero-sub { margin-top: 24px; }
  .hero-shot { margin-top: 52px; padding: 0; }
  .hero-sheet { --fold: 36px; padding: 28px 16px 40px; border-radius: 12px 0 12px 12px; margin: 0 var(--gutter); }
  .mac-body { grid-template-columns: minmax(0, 1fr); }
  .mac-side, .win-search, .tool-btns .mbtn:not(.mbtn-ink) { display: none; }
  .mac-tool { padding: 12px 12px 8px; }
  .mac-h { font-size: 18px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 2px 12px 14px; }
  .gallery .ph:nth-child(n+10) { display: none; }
  .hero-phone { right: -10px; bottom: -30px; width: 150px; padding: 5px; border-radius: 26px; }
  .pscreen { border-radius: 21px; padding: 18px 8px 9px; font-size: 10px; }
  .p-top { margin-bottom: 8px; font-size: 9.5px; }
  .p-info b { font-size: 11px; }
  .p-line { padding: 6px 1px; font-size: 9.5px; }
  .p-line:last-child { display: none; }
  .hero-shot figcaption { padding: 0 var(--gutter); }

  .steps [role="tab"] { padding: 16px 0; }
  .how-stage { --fold: 36px; --lw: 204px; --lh: 272px; padding: 32px 16px 28px; }

  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-bottom: 36px; border-bottom: 0; }
  .tabs [role="tab"] { border-bottom: 1px solid var(--rule); text-align: left; font-size: 16px; }
  .tabs [aria-selected="true"] { border-bottom: 2px solid var(--ink); }
  .panel-stage { --fold: 36px; padding: 32px 14px; }
  .files-body { grid-template-columns: minmax(0, 1fr); }
  .inspector { display: none; }
  .hh-row { grid-template-columns: 30px minmax(0, 1fr) 84px; }
  .hh-use .meter { display: none; }
  .hh-use { display: block; text-align: right; }
  .tour-foot { text-align: left; }

  .ledger { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .nas-stage { padding: 48px 20px 40px; }
  .status-grid, .faq-wrap { padding-top: 72px; }
  .faq summary { padding: 17px 0; font-size: 17.5px; }
  .foot-nav { grid-template-columns: repeat(2, auto); gap: 28px 48px; }

  .doc-head { padding: 52px 0 44px; }
  .doc-grid { padding-top: 36px; }
  .prose h2 { font-size: 28px; }
  .keys { padding: 28px 10px 20px; }
  .keys-row.three { gap: 6px; }
  .key { padding: 9px 6px; }
  .key b { font-size: 12.5px; }
  .key small { font-size: 10.5px; }
}
