@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-v-latin.woff2") format("woff2");   /* cut to the features the site uses (kern, liga, calt, tnum...) */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Comfortaa: the variable file cut to weights 400-700, one per subset. Headlines
   and buttons only. font-synthesis on body stops faux bold and italic. */
@font-face {
  font-family: "Comfortaa"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/comfortaa-v-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Comfortaa"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/comfortaa-v-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fallbacks sized to the web fonts, so the swap moves nothing (CLS 0). Measured in
   Chromium on this page's own text (docs/research/H-performance.md §12). Android has
   no Arial, so Roboto follows (estimated; check on a device). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 550;
  size-adjust: 106.05%; ascent-override: 91.35%; descent-override: 22.74%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 551 900;
  size-adjust: 100.70%; ascent-override: 96.21%; descent-override: 23.95%; line-gap-override: 0%; }
@font-face { font-family: "Comfortaa Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 599;
  size-adjust: 115.05%; ascent-override: 76.57%; descent-override: 20.34%; line-gap-override: 0%; }
@font-face { font-family: "Comfortaa Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 900;
  size-adjust: 108.54%; ascent-override: 81.17%; descent-override: 21.56%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback R"; src: local("Roboto"), local("Roboto-Regular"); font-weight: 100 550;
  size-adjust: 105.2%; ascent-override: 92.1%; descent-override: 22.9%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 551 900;
  size-adjust: 99.9%; ascent-override: 96.9%; descent-override: 24.1%; line-gap-override: 0%; }
@font-face { font-family: "Comfortaa Fallback R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 100 900;
  size-adjust: 107.7%; ascent-override: 81.8%; descent-override: 21.7%; line-gap-override: 0%; }

/* Is it encrypted? on the Secria brand: tokens from secria.me's site.css.
   Lavender page, white surfaces, Comfortaa 500 headlines, Inter for reading, pill buttons.
   Ultramarine only for the logo, the filled button, brand icons and focus.
   The marks: one disc per part of an app. Solid = sealed by default. Dashed = once you turn it on.
   Soft with a ring = partly. Broken ring = the company holds the key. Grey ring = not yet. */

:root {
  color-scheme: light;
  --page: #F4F2FA;
  --surface: #FFFFFF;
  --sunk: #EEECF8;
  --line: rgba(20, 20, 43, 0.10);
  --line-2: rgba(20, 20, 43, 0.16);
  --line-hover: rgba(20, 20, 43, 0.28);
  --ink: #14142B;
  --ink-2: #45425E;
  --ink-3: #5F5C76;
  --underline: rgba(20, 20, 43, 0.40);
  --tint: rgba(20, 20, 43, 0.05);
  --brand: #2C00FF;
  --brand-press: #2200CC;
  --ok: #1F7A1F;
  --ok-soft: #E4F1E4;
  --error: #C41C1C;
  --error-soft: #FBEAEA;
  --grey: #8E8BA6;
  --display: "Comfortaa", "Comfortaa Fallback", "Comfortaa Fallback R", ui-rounded, system-ui, sans-serif;
  --sans: "Inter", "Inter Fallback", "Inter Fallback R", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-pill: 999px;
  --r-card: 24px;
  --r-panel: 16px;
  --gutter: 20px;
  --shadow-object:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 0 0 1px rgb(20 20 43 / 0.08),
    0 1px 2px rgb(20 20 43 / 0.03),
    0 3px 6px rgb(20 20 43 / 0.03),
    0 8px 14px rgb(20 20 43 / 0.035),
    0 16px 28px rgb(20 20 43 / 0.04),
    0 36px 72px -24px rgb(20 20 43 / 0.10);
  --shadow-card: 0 0 0 1px rgb(20 20 43 / 0.06), 0 1px 2px rgb(20 20 43 / 0.03), 0 8px 24px -16px rgb(20 20 43 / 0.14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--ink-2); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; overflow-x: clip; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--underline); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); text-wrap: balance; }
h1 { font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, calc(19px + 1.8vw), 44px); font-weight: 500; line-height: 1.14; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, calc(18px + 0.42vw), 23px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
b, strong { font-weight: 600; color: var(--ink); }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- the island: the site's name leads, Secria signs it ---------- */
.top { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
.bar { display: flex; align-items: center; gap: 20px; width: min(1200px, calc(100% - 2 * var(--gutter))); height: 64px; margin: 0 auto; padding: 0 22px 0 26px; border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.84); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), 0 0 0 0.5px rgb(20 20 43 / 0.10), 0 2px 6px -2px rgb(20 20 43 / 0.08), 0 12px 28px -14px rgb(20 20 43 / 0.26); }
.wm { font: 700 18px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { padding: 9px 12px; border-radius: var(--r-pill); font: 500 14.5px/1 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--tint); }
.hs { display: flex; align-items: center; gap: 8px; height: 40px; width: 230px; padding: 0 14px; margin-left: auto; border-radius: var(--r-pill); background: var(--page); color: var(--ink-3); }
.hs svg { width: 17px; height: 17px; flex: none; }
.hs input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 14.5px var(--sans); color: var(--ink); }
.hs input::placeholder { color: var(--ink-3); }
.by { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--sans); color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.hs + .by { margin-left: 4px; }
.by img { height: 15px; width: auto; display: block; translate: 0 -2px; }  /* the letters sit in the lower 70% of the file, under the sparkle: this centres the word in the bar */
.subnav { display: none; }
@media (max-width: 1000px) {
  .bar .nav, .hs { display: none; }
  .bar { padding: 0 20px 0 22px; height: 56px; }
  .subnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px var(--gutter) 2px; }
  .subnav a { flex: none; padding: 9px 14px; border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
  .subnav a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
  .top { position: relative; }
}

/* ---------- the marks ---------- */
.mk { display: block; flex: none; width: 28px; height: 28px; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk .ic { stroke-width: 2.1; }
.mk-y { color: #fff; }
.mk-y .d { fill: var(--ok); }
.mk-o { color: var(--ok); }
.mk-o .d { fill: #fff; stroke: var(--ok); stroke-width: 1.6; stroke-dasharray: 3.4 2.445; }
.mk-p { color: var(--ok); }
.mk-p .d { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 1.6; }
.mk-n { color: var(--error); }
.mk-n .d { fill: var(--error-soft); stroke: var(--error); stroke-width: 1.6; stroke-dasharray: 99 17.9; }
.mk-t { color: #fff; }
.mk-t .d { fill: var(--ink); }
.mk-x { color: var(--grey); }
.mk-x .d { fill: #fff; stroke: var(--line-2); stroke-width: 1.6; }
.mk-na { color: var(--line-2); }
.mk-na .d { fill: none; }
.mk-s { color: var(--brand); }
.mk-s .d { fill: #fff; stroke: var(--brand); stroke-width: 1.6; stroke-dasharray: .1 3.553; stroke-linecap: round; }
.mk-c { color: var(--grey); }
.mk-c .d { fill: #fff; stroke: var(--grey); stroke-width: 1.6; stroke-dasharray: .1 3.553; stroke-linecap: round; }

/* Secria's own rows carry its sparkle; other apps are named, never shown by logo */
.spark { display: inline-block; flex: none; width: 14px; height: 14px; }
.spark-lg { width: 22px; height: 22px; }

/* ---------- home: the question is the search box ---------- */
.hero { padding-block: 72px 24px; }
.ask { font-size: clamp(40px, 6.4vw, 92px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; text-wrap: initial; }
.ask label { cursor: text; }
.ask input { font: inherit; letter-spacing: inherit; color: var(--ink); background: none; border: 0; border-bottom: .06em solid var(--ink); border-radius: 0; padding: 0 .02em; margin: 0 .04em; width: 5ch; max-width: 100%; outline: 0; caret-color: var(--brand); vertical-align: baseline; }
.ask input::placeholder { color: var(--line-2); }
.ask input:focus { border-bottom-color: var(--brand); }
.measure { position: absolute; visibility: hidden; white-space: pre; font-family: var(--display); font-weight: 500; letter-spacing: -0.04em; }
.try { margin-top: 22px; font-size: 17.5px; color: var(--ink-3); min-height: 1.6em; }
.try button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--underline); text-underline-offset: 4px; }
.try button:hover { text-decoration-color: var(--ink); }

.answer-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; margin-top: 44px; }
@media (max-width: 1000px) { .answer-row { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- the label: every answer, the same shape ---------- */
.lbl { padding: 24px 28px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-object); }
.lbl-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 6px solid var(--ink); }
.lbl-h b { font: 600 26px/1.15 var(--display); letter-spacing: -0.02em; }
.lbl-h .co { margin-left: auto; font-size: 14px; color: var(--ink-3); text-align: right; }
.lbl-a { padding: 18px 0; font-size: 20px; line-height: 1.45; font-weight: 500; letter-spacing: -0.008em; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.seals { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 16px 10px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.seal { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.3; }
.seal .mk { width: 38px; height: 38px; }
.seal b { font-weight: 600; }
.seal span { color: var(--ink-3); }
.fix { padding: 14px 0 16px; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.fix .path { color: var(--ink); font-weight: 600; }
.fix .btn { margin-top: 14px; }
.fix small { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.lbl-f { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 14px; font-size: 14px; color: var(--ink-3); }
.lbl-f a { font-weight: 600; }
.lbl-empty { padding: 22px 0 6px; font-size: 19px; line-height: 1.45; color: var(--ink); }
.lbl-empty a { font-weight: 600; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--brand); color: #fff; font: 700 15.5px/1.2 var(--display); letter-spacing: 0.005em; white-space: nowrap; text-decoration: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), inset 0 -1px 0 rgb(0 0 0 / 0.12); }
.btn:hover { background: var(--brand-press); color: #fff; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: inset 0 1px 0 #fff; }
.btn-line:hover { background: var(--surface); color: var(--ink); border-color: var(--line-hover); }
.ours-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ours-tag img { width: 11px; height: 11px; }

/* legend */
.key { padding: 24px 26px 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.key h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.key ul { list-style: none; margin-top: 12px; }
.key li { display: grid; grid-template-columns: 36px 1fr; gap: 0 14px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line); }
.key li:first-child { border-top: 0; }
.key .mk { width: 36px; height: 36px; grid-row: span 2; }
.key b { font-size: 15px; line-height: 1.35; }
.key span { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.key p { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* ---------- section rhythm ---------- */
.sec { padding-top: clamp(72px, calc(44px + 3.6vw), 104px); }
.sec-head { padding-bottom: 32px; }
.sec-head p { margin-top: 12px; max-width: 38rem; font-size: clamp(17px, calc(16.4px + 0.3vw), 19px); line-height: 1.55; color: var(--ink-2); }

/* ---------- the index: every app, part by part ---------- */
.idx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.idx .col { display: grid; gap: 16px; }
.cat { padding: 20px 22px 8px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
@media (max-width: 1120px) { .idx { display: flex; flex-direction: column; align-items: stretch; max-width: 640px; } .idx .col { display: contents; } .cat.o0 { order: 0; } .cat.o1 { order: 1; } .cat.o2 { order: 2; } .cat.o3 { order: 3; } .cat.o4 { order: 4; } .cat.o5 { order: 5; } .cat.o6 { order: 6; } .cat.o7 { order: 7; } .cat.o8 { order: 8; } .cat.o9 { order: 9; } .cat.o10 { order: 10; } }
.cat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.cat-h h3 { font-size: 20px; }
.cat-h a { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.r { display: grid; grid-template-columns: minmax(0, 1fr) auto 58px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; }
.r-ph { padding: 4px 0 6px; border-top: 0; color: var(--ink-3); }
.r-ph .pi { display: grid; place-items: center; width: 25px; }
.r-ph .pi svg { width: 15px; height: 15px; }
.r .nm { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.r .nm span { line-height: 1.25; }
.r .mks { display: flex; gap: 3px; }
.r .mk { width: 25px; height: 25px; }
.r .vd { font-size: 13.5px; color: var(--ink-3); text-align: right; }
.vd-y { color: var(--ok) !important; font-weight: 600; }
.vd-n { color: var(--error) !important; font-weight: 600; }
a.r:hover .nm span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--underline); }
.idx-key { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0 0 24px; font-size: 14.5px; color: var(--ink-2); }
.idx-key span { display: inline-flex; align-items: center; gap: 8px; }
.idx-key .mk { width: 24px; height: 24px; }

/* ---------- explainer ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.panel { padding: 30px 30px 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.panel h3 { font-size: 23px; }
.panel > p { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 30rem; }
.panel .eg { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); }
.flow { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; margin-top: 30px; }
.node { display: grid; justify-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: center; }
.node .who { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--page); color: var(--ink); }
.node .who svg { width: 24px; height: 24px; }
.node .srv { display: grid; place-items: center; width: 88px; height: 64px; border-radius: var(--r-panel); background: var(--page); }
.node .srv .mk { width: 34px; height: 34px; }
.wire { position: relative; height: 2px; margin: 0 6px; background: var(--line-2); translate: 0 -12px; }
.wire .mk { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30px; height: 30px; }
.wire .mk .d { stroke: var(--surface); stroke-width: 3; stroke-dasharray: none; }
.panel .verdict { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- Secria, as content ---------- */
.ours { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 48px; border-radius: var(--r-card); background: var(--sunk); }
.ours h2 { font-size: clamp(28px, calc(19px + 1.5vw), 40px); }
.ours p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 34rem; }
.ours .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.ours .acts small { font-size: 14px; color: var(--ink-3); }
@media (max-width: 960px) { .ours { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; } }

/* ---------- changes ---------- */
.chg { list-style: none; padding: 4px 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.chg li { display: grid; grid-template-columns: 116px 190px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.chg li:first-child { border-top: 0; }
.chg time { font-size: 14.5px; color: var(--ink-3); }
.chg .app { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.chg .what { color: var(--ink-2); font-size: 16px; }
.chg .ba { display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.chg .ba svg.arr { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .chg { padding: 4px 18px; }
  .chg li { grid-template-columns: 1fr auto; }
  .chg time { grid-column: 1 / -1; }
  .chg .what { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------- how we check ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border-radius: 50%; background: var(--page); font: 700 15px/1 var(--display); color: var(--ink); }
.steps b { display: block; font: 600 19px/1.3 var(--display); letter-spacing: -0.01em; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.who-we-are { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; }
.who-we-are p { font-size: 16.5px; color: var(--ink-2); }
@media (max-width: 860px) { .who-we-are { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- footer ---------- */
.foot { margin-top: clamp(96px, calc(64px + 5vw), 144px); padding: 56px 0 40px; background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font: 600 14px/1.4 var(--sans); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 7px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .wm { color: var(--ink); }
.foot-brand p { margin-top: 12px; color: var(--ink-3); max-width: 22rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.foot-base .made { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.foot-base .made img { height: 17px; width: auto; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.crumbs { display: flex; gap: 8px; padding-top: 32px; font-size: 14.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.page { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 64px; align-items: start; }
.page-main { max-width: 760px; }
@media (max-width: 1040px) { .page { grid-template-columns: 1fr; } .aside { display: none; } }
.q-head { padding-top: 22px; }
.q-head h1 { display: flex; align-items: center; gap: 18px; font-size: clamp(36px, calc(20px + 3.2vw), 62px); }
.q-ans { margin-top: 20px; font-size: clamp(19px, calc(16px + .6vw), 23px); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.q-meta { margin-top: 16px; font-size: 15px; color: var(--ink-3); }
.q-meta p + p { margin-top: 4px; }
.q-meta img { display: inline; width: 12px; height: 12px; vertical-align: -1px; margin-right: 4px; }
.q-meta a { color: var(--ink-3); }
.page-main > .lbl { margin-top: 32px; }

.lrows { list-style: none; }
.lrows li { display: grid; grid-template-columns: 40px minmax(0, 190px) minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lrows li:last-child { border-bottom: 0; }
.lrows .mk { width: 40px; height: 40px; }
.lrows b { font-size: 16px; }
.lrows .w { font-size: 15.5px; color: var(--ink-2); line-height: 1.4; }
.lrows .do { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .lbl { padding: 20px 18px 16px; }
  .lrows li { grid-template-columns: 36px 1fr; gap: 2px 14px; align-items: start; }
  .lrows .mk { width: 36px; height: 36px; grid-row: 1 / span 3; }
  .lrows b { padding-top: 6px; }
  .lrows .w, .lrows .do { grid-column: 2; }
}
.lbl-sub { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 8px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.lbl-sub b { font-size: 15.5px; }
.lbl-sub span { color: var(--ink-3); }
.keys { border-top: 4px solid var(--ink); }
.keys div { display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.keys dt { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.keys dd { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 640px) { .keys div { grid-template-columns: 1fr; } }

.do-it { margin-top: 16px; padding: 26px 28px; border-radius: var(--r-card); background: var(--ok-soft); }
.do-it h2 { font-size: 23px; font-weight: 600; letter-spacing: -0.012em; }
.do-it ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; font-size: 16.5px; color: var(--ink); }
.do-it ol li::marker { font-weight: 700; }
.do-it p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.do-it .path { font-weight: 600; }

.next { margin-top: 28px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.next a { font-weight: 600; }

.prose { margin-top: 64px; }
.prose h2 { font-size: clamp(24px, calc(20px + 0.6vw), 30px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 14px; font-size: clamp(17px, calc(16px + 0.27vw), 18px); line-height: 1.65; color: var(--ink-2); }
.prose sup { line-height: 0; }
.prose sup a { font-size: 12px; font-weight: 700; color: var(--brand); text-decoration: none; padding: 0 1px; }

.aside { position: sticky; top: 100px; padding-top: 120px; font-size: 14.5px; }
.aside h2 { font: 600 14.5px/1.4 var(--sans); letter-spacing: 0; }
.aside ul { list-style: none; margin-top: 10px; border-left: 2px solid var(--line); }
.aside li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.aside li a:hover { color: var(--ink); border-left-color: var(--ink); }
.aside .box { margin-top: 28px; padding: 18px 20px; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow-card); color: var(--ink-3); }
.aside .box p + p { margin-top: 6px; }
.aside .box a { font-weight: 600; }

/* comparison table */
.cmp-wrap { margin-top: 16px; padding: 6px 26px 4px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp th:first-child { padding-left: 0; }
.cmp thead th { padding-top: 16px; padding-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.cmp thead th svg { display: block; width: 20px; height: 20px; margin-bottom: 6px; color: var(--ink-3); }
.cmp tbody th { width: 22%; font-weight: 600; font-size: 16.5px; }
.cmp tbody th .nm { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cmp tbody th .nm:hover { text-decoration: underline; }
.cmp tbody th small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--ink-3); padding-left: 32px; }
.cmp tbody th .ours-tag { margin: 6px 0 0 32px; }
.cmp td .cell { display: flex; gap: 10px; align-items: flex-start; }
.cmp td .mk { width: 30px; height: 30px; }
.cmp td span { font-size: 15px; line-height: 1.35; padding-top: 4px; color: var(--ink); }
.cmp td small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.rule-note { margin-top: 28px; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 860px) {
  .cmp-wrap { padding: 2px 18px; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto !important; }
  .cmp tr { padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { border: 0; padding: 0; }
  .cmp tbody th { margin-bottom: 10px; }
  .cmp td { padding: 8px 0; }
  .cmp td span::before { content: attr(data-l) ": "; font-weight: 600; color: var(--ink); }
}

/* compact matrix, for comparisons inside an article */
.mx { margin-top: 16px; padding: 4px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.mx-r.n3 { grid-template-columns: minmax(0, 1fr) repeat(3, 72px) 64px; }
.mx-r.n4 { grid-template-columns: minmax(0, 1fr) repeat(4, 72px) 64px; }
.mx-r.n5 { grid-template-columns: minmax(0, 1fr) repeat(5, 72px) 64px; }
.mx-r { display: grid; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; }
.mx-r .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--ink); }
.mx-c { display: grid; place-items: center; }
.mx-c .mk { width: 30px; height: 30px; }
.mx-r .vd { text-align: right; font-size: 14.5px; color: var(--ink-3); }
.mx-h { padding: 14px 0 10px; border-top: 0; color: var(--ink-3); }
.mx-p { display: grid; justify-items: center; gap: 4px; text-align: center; }
.mx-p svg { width: 18px; height: 18px; }
.mx-p small { font-size: 12.5px; line-height: 1.2; color: var(--ink-2); font-weight: 500; }
.mx-r.is-here { background: var(--page); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; border-top-color: transparent; }
.mx-r.is-here + .mx-r { border-top-color: transparent; }
.mx-r.is-here .nm span { font-weight: 700; }
a.mx-r:hover .nm span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--underline); }
@media (max-width: 640px) {
  .mx { padding: 4px 14px; }
  .mx-r.n3 { grid-template-columns: minmax(0, 1fr) repeat(3, 32px) 54px; }
  .mx-r.n4 { grid-template-columns: minmax(0, 1fr) repeat(4, 32px) 54px; }
  .mx-r.n5 { grid-template-columns: minmax(0, 1fr) repeat(5, 32px) 54px; }
  .mx-c .mk { width: 26px; height: 26px; }
  .mx-p small { display: none; }
}

.sources { list-style: none; counter-reset: src; margin-top: 16px; padding: 4px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.sources li { counter-increment: src; display: grid; grid-template-columns: 30px 1fr; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.sources li:first-child { border-top: 0; }
.sources li::before { content: counter(src); font-weight: 700; color: var(--ink-3); }
.log { list-style: none; margin-top: 16px; padding: 4px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.log li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.log li:first-child { border-top: 0; }
.log time { color: var(--ink-3); }

@media (prefers-reduced-motion: no-preference) {
  .lbl.swap { animation: swap .28s ease-out; }
  @keyframes swap { from { opacity: .35; } to { opacity: 1; } }
}

/* ---------- production additions ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.by:hover { opacity: .8; }
.ask { cursor: text; }

/* label: notes and citations under each part */
.lrows .w small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.lrows .w sup, .cmp td sup { line-height: 0; }
.lrows .w sup a, .cmp td sup a { font-size: 11px; font-weight: 700; color: var(--brand); text-decoration: none; padding: 0 1px; }
.lbl-biz { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); }
.lbl-f .links { display: inline-flex; gap: 14px; }

/* related apps */
.related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.related a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-card); font-size: 15px; font-weight: 600; text-decoration: none; }
.related a .mk { width: 26px; height: 26px; }
.related a span { font-weight: 400; color: var(--ink-3); }

/* hub extras */
.hub-key { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.hub-key span { display: inline-flex; align-items: center; gap: 8px; }
.hub-key .mk { width: 24px; height: 24px; }
.others { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.others a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-card); font-size: 15px; font-weight: 500; text-decoration: none; }
.cmp td .cell > span { min-width: 0; }

/* plain pages: how we check, about, privacy, changelog, 404 */
.doc { max-width: 760px; padding-top: 28px; }
.doc h1 { font-size: clamp(34px, calc(20px + 2.8vw), 56px); }
.doc .lead { margin-top: 18px; font-size: clamp(19px, calc(16px + .6vw), 22px); line-height: 1.5; color: var(--ink); }
.doc h2 { font-size: clamp(24px, calc(20px + 0.6vw), 30px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 48px; }
.doc p, .doc li { font-size: clamp(17px, calc(16px + 0.27vw), 18px); line-height: 1.65; color: var(--ink-2); }
.doc p { margin-top: 14px; }
.doc ul, .doc ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.doc .key { margin-top: 18px; }
.doc .cite { margin-top: 14px; padding: 18px 20px; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow-card); font-size: 15.5px; color: var(--ink); }
.chg-page { margin-top: 24px; }
.notfound { padding-block: 48px 0; }
.nowrap { white-space: nowrap; }
.ours-solo { grid-template-columns: 1fr; }
.ours-solo > div { max-width: 40rem; }
.doc-head { max-width: 840px; }
.hub-after { max-width: 760px; }
.hub-after .sec { padding-top: 40px; }
.mx-r .nm span, .cmp .nm { overflow-wrap: anywhere; }

/* =====================================================================
   Side sites: shared components on top of isitencrypted's system.
   Same tokens, same type, same surfaces. Each site adds only its
   signature component in sites/<domain>/site.css.
   ===================================================================== */
:root { --warn: #8A5300; --warn-soft: #FBF0DC; --info-soft: #ECEAFF; --lit: #6B5AF6; }

/* hero: the page answers the search in the first screen */
.lede-hero { padding-block: 64px 8px; }
.lede-hero h1 { font-size: clamp(40px, calc(18px + 4.4vw), 76px); max-width: 16ch; }
.lede-hero h1.wide { max-width: 22ch; }
.lede { margin-top: 22px; max-width: 40rem; font-size: clamp(18.5px, calc(16px + .7vw), 22px); line-height: 1.5; color: var(--ink); }
.checked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }
.checked .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.stat { padding: 22px 24px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.stat b { display: block; font: 500 clamp(34px, calc(24px + 1.6vw), 48px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.stat sup a, .tbl sup a, .lede sup a, .sec-head sup a, .panel sup a, .faq sup a, .howto sup a, .callout sup a { font-size: 11px; font-weight: 700; color: var(--brand); text-decoration: none; padding: 0 1px; }
sup { line-height: 0; white-space: nowrap; }

/* card grids */
.grid2, .grid3 { display: grid; gap: 16px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid2, .grid3, .two { grid-template-columns: 1fr; } }
.panel h3 + p, .panel p + p { margin-top: 10px; }
.panel p { font-size: 16px; line-height: 1.55; }
a.panel { display: block; text-decoration: none; transition: box-shadow .15s; }
a.panel:hover { box-shadow: 0 0 0 1px var(--line-hover), 0 8px 24px -16px rgb(20 20 43 / 0.2); }
.panel .glyph { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: var(--sunk); color: var(--ink); }
.panel .glyph svg { width: 24px; height: 24px; }
.panel .meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* status words: plain text, coloured only where the colour means something. No capsules, no dots. */
.pill { font-weight: 600; color: var(--ink); }
.pill-warn { color: var(--warn); }
.pill-no { color: var(--error); }
.pill-info, .pill-grey { color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }

/* data table: a card on desktop, one card per row on phones (td data-l="Column") */
.tbl-wrap { padding: 4px 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl caption { padding: 18px 0 6px; text-align: left; font-size: 14px; color: var(--ink-3); caption-side: bottom; }
.tbl th, .tbl td { padding: 14px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl thead th { border-top: 0; padding-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl td small, .tbl th small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--ink-3); }
@media (max-width: 760px) {
  .tbl-wrap { padding: 4px 18px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: auto; }
  .tbl tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .tbl tbody tr:first-child { border-top: 0; }
  .tbl th, .tbl td { padding: 3px 0; border: 0; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; font-weight: 600; color: var(--ink); }
  .tbl caption { display: block; }  /* as a table-caption it shrinks to one word per line */
}

/* how-to steps: numbered, one action per step */
.howto { list-style: none; counter-reset: st; display: grid; gap: 12px; }
.howto > li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 22px; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow-card); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.howto > li::before { content: counter(st); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px/1 var(--display); }
.howto > li small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-3); }
.path { font-weight: 600; color: var(--ink); }

/* callouts: calm notes, never alarms */
.callout { margin-top: 20px; padding: 20px 24px; border-radius: var(--r-panel); background: var(--sunk); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.callout b:first-child { display: block; margin-bottom: 4px; }
.callout-ok { background: var(--ok-soft); }

/* FAQ: the questions people search, answered in place */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; font: 600 17px/1.4 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 500 22px/1 var(--display); color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 22px 20px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.faq .a p + p { margin-top: 10px; }

/* mockups: a message or an email shown as an object, no real logos */
.mock { max-width: 420px; padding: 18px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-object); font-size: 15.5px; line-height: 1.45; }
.mock-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.mock-h b { color: var(--ink); }
.mock-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sunk); font-weight: 700; color: var(--ink-2); }
.bubble { margin-top: 14px; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--sunk); color: var(--ink); }
.mock-mail .subj { margin-top: 12px; font-weight: 600; color: var(--ink); }
.mock-mail .body { margin-top: 8px; color: var(--ink-2); }
mark.flag { padding: 0 3px; border-radius: 4px; background: var(--warn-soft); color: var(--ink); box-shadow: inset 0 -2px 0 var(--warn); }
mark.flag sup { font-size: 11px; font-weight: 700; color: var(--warn); }
.flags { list-style: none; counter-reset: fl; display: grid; gap: 10px; }
.flags li { counter-increment: fl; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; line-height: 1.5; }
.flags li::before { content: counter(fl); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font: 700 13px/1 var(--sans); }

/* chips: jump links and related pages */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-card); font-size: 15px; font-weight: 500; text-decoration: none; }
.chips a:hover { box-shadow: 0 0 0 1px var(--line-hover); }

/* site chrome additions */
.foot-base .made img { height: 14px; width: auto; }
.coming { color: var(--ink-3); font-size: 14.5px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .lede-hero { padding-top: 36px; } }

/* =====================================================================
   v2 (28 Oct): one bold thing per site. The hero is centred text over a
   soft Secria glow that holds the site's own object (a map, phones, a
   letter, a settings screen). Everything below it stays quiet.
   ===================================================================== */
.lede-hero { padding-top: clamp(48px, calc(24px + 4vw), 88px); text-align: center; }
.lede-hero h1, .lede-hero .lede { margin-inline: auto; }
.lede-hero .lede { max-width: 36rem; color: var(--ink-2); }
.lede-hero .checked, .lede-hero .hero-acts { justify-content: center; }
.lede-hero .tool { margin-inline: auto; text-align: left; }

.stage { position: relative; isolation: isolate; margin-top: clamp(24px, calc(12px + 2.4vw), 40px); padding: 16px 0 40px; }
.stage::before { content: ""; position: absolute; inset: -40px 0 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 50% 58%, rgb(44 0 255 / 0.20), rgb(44 0 255 / 0) 72%),
    linear-gradient(180deg, rgb(244 242 250 / 0), #E8E3FC 30%, #DED7FB 62%, rgb(244 242 250 / 0)); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%232C00FF' d='M50 0L53.9 24.2A29 29 0 0 0 75.8 46.1L100 50L75.8 53.9A29 29 0 0 0 53.9 75.8L50 100L46.1 75.8A29 29 0 0 0 24.2 53.9L0 50L24.2 46.1A29 29 0 0 0 46.1 24.2Z'/%3E%3C/svg%3E") no-repeat 9% 22% / 14px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%232C00FF' d='M50 0L53.9 24.2A29 29 0 0 0 75.8 46.1L100 50L75.8 53.9A29 29 0 0 0 53.9 75.8L50 100L46.1 75.8A29 29 0 0 0 24.2 53.9L0 50L24.2 46.1A29 29 0 0 0 46.1 24.2Z'/%3E%3C/svg%3E") no-repeat 91% 34% / 10px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%232C00FF' d='M50 0L53.9 24.2A29 29 0 0 0 75.8 46.1L100 50L75.8 53.9A29 29 0 0 0 53.9 75.8L50 100L46.1 75.8A29 29 0 0 0 24.2 53.9L0 50L24.2 46.1A29 29 0 0 0 46.1 24.2Z'/%3E%3C/svg%3E") no-repeat 84% 82% / 16px; }
@media (max-width: 640px) { .stage::after { display: none; } }
.obj { max-width: 980px; margin-inline: auto; padding: clamp(18px, calc(10px + 2vw), 32px); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-object); text-align: left; }
@media (min-width: 761px) { .tbl td.num { white-space: nowrap; } }
.cap { margin-top: 18px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.cap a { color: var(--ink-2); }
.keyline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 16px; font-size: 14px; color: var(--ink-2); list-style: none; }
.keyline li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; background: var(--sunk); box-shadow: inset 0 0 0 1px var(--line-2); }
.sw-brand { background: var(--brand); box-shadow: none; }
.sw-lit { background: var(--lit); box-shadow: none; }
.sw-land { background: #E3E0F3; box-shadow: none; }
.sw-ok { background: var(--ok); box-shadow: none; }
.sw-warn { background: #E2A33B; box-shadow: none; }
.sw-no { background: var(--error); box-shadow: none; }

/* sources fold away; a citation opens them at the right line (assets/site.js) */
.srcs { border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.srcs > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font: 500 20px/1.2 var(--display); color: var(--ink); }
.srcs > summary::-webkit-details-marker { display: none; }
.srcs > summary span { margin-right: auto; font: 500 14px/1 var(--sans); color: var(--ink-3); }
.srcs > summary::after { content: "+"; font: 500 22px/1 var(--display); color: var(--ink-3); }
.srcs[open] > summary::after { content: "\2212"; }
.srcs .sources { margin: 0; padding-top: 0; box-shadow: none; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-card) var(--r-card); }
.sources li:target { background: var(--info-soft); margin-inline: -12px; padding-inline: 12px; border-radius: 10px; }
.how { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); }
.doc { margin-inline: auto; }

/* the row a link jumped to: the tint reaches past the text into the card's margin */
.tbl tbody tr:target > * { background: var(--info-soft); }
@media (min-width: 761px) {
  .tbl tbody tr:target > :first-child { box-shadow: -14px 0 0 var(--info-soft); }
  .tbl tbody tr:target > :last-child { box-shadow: 14px 0 0 var(--info-soft); }
}
@media (max-width: 760px) {
  .tbl tbody tr:target { margin-inline: -12px; padding-inline: 12px; border-radius: 12px; background: var(--info-soft); }
  .tbl tbody tr:target > * { background: none; }
}

/* real maps (tools/maps.py), drawn the way Secria VPN draws its map: soft land, hairline borders,
   the places that matter lit. Each site colours its lit classes in site.css. */
.map { display: block; width: 100%; height: auto; }
.map .land { fill: #E3E0F3; stroke: #FFFFFF; stroke-width: 0.8; stroke-linejoin: round; }
.map .lit path { fill: var(--lit); stroke: #FFFFFF; stroke-width: 0.8; stroke-linejoin: round; transition: fill .15s; }
.map a.lit { text-decoration: none; }
.map a.lit:hover path { fill: var(--brand-press); }
.map a.lit:focus { outline: none; }
.map a.lit:focus-visible path { stroke: var(--ink); stroke-width: 2.5; }

/* one dark band per page: the site's second memorable moment, full width, so the page alternates light
   and dark the way secria.me does. Use it once, for content worth drawing, never for a plain list. */
.band { position: relative; isolation: isolate; margin-top: clamp(80px, calc(48px + 4vw), 120px); padding: clamp(56px, calc(32px + 4vw), 96px) 0; color: #fff;
  background: radial-gradient(60% 90% at 18% 0%, rgb(76 52 240 / .55), rgb(76 52 240 / 0) 62%), radial-gradient(50% 80% at 92% 100%, rgb(44 0 255 / .35), rgb(44 0 255 / 0) 65%), linear-gradient(165deg, #191348, #0D0B22 70%); }
.band + .sec { padding-top: clamp(72px, calc(44px + 3.6vw), 104px); }
.band h2, .band h3, .band b, .band strong { color: #fff; }
.band .sec-head p, .band p, .band li { color: rgb(255 255 255 / .76); }
.band a { color: #fff; text-decoration-color: rgb(255 255 255 / .45); }
.band a:hover { text-decoration-color: #fff; }
.band sup a { color: #B9AEFF; }
.band :focus-visible { outline-color: #fff; }

/* ---------- datawrapped.com ---------- */
/* The hero object: three of the Wrapped's slides, fanned and empty (the numbers only exist once
   someone opens their own file), standing in the tool's first step. Each slide links to its row. */
.obj.wr { max-width: 760px; padding: 0; background: none; box-shadow: none; }
.fan { --dx: 10.6em; --rot: 9deg; position: relative; height: 19.5em; margin-bottom: -4em; font-size: 16px; }
.sl { position: absolute; top: 0; left: 50%; display: flex; flex-direction: column; gap: 0.75em; width: 13em; height: 18.5em; margin-left: -6.5em; padding: 1.3em 1.25em; overflow: hidden; border-radius: 1.5em; text-decoration: none; transform-origin: 50% 100%; box-shadow: 0 1.4em 2.6em -1.2em rgb(20 20 43 / 0.45), 0 0 0 1px rgb(20 20 43 / 0.06); transition: translate .2s ease-out; }
.sl b { font: 700 1.45em/1.06 var(--display); letter-spacing: -0.03em; color: inherit; }
.sl-k { font: 600 0.8em/1.3 var(--sans); opacity: 0.78; }
.sl-g { position: absolute; top: 1.1em; right: 1.1em; width: 2.4em; height: 2.4em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; opacity: 0.9; }
.sl:hover { translate: 0 -0.5em; }
.sl:focus { outline: none; }
.sl:focus-visible { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--ink); }

.sl-a { top: 1.4em; z-index: 1; background: var(--ink); color: #fff; transform: translateX(calc(-1 * var(--dx))) rotate(calc(-1 * var(--rot))); }
.sl-a b { padding-right: 2.2em; }
.bars { display: flex; align-items: flex-end; gap: 0.45em; height: 6.4em; margin-top: 0.5em; }
.bars i { flex: 1; height: 100%; border: 2px dashed rgb(255 255 255 / 0.42); border-radius: 0.55em; }
.sl-a::after { content: ""; position: absolute; right: -3.2em; bottom: -3.2em; width: 9em; height: 9em; border-radius: 50%; background: #6A50FF; }

.sl-b { z-index: 3; background: var(--brand); color: #fff; }
.lens { position: relative; flex: none; width: 6.4em; height: 6.4em; margin: 0.6em 0 0 0.2em; border: 3px dashed rgb(255 255 255 / 0.6); border-radius: 50%; }
.lens::after { content: ""; position: absolute; right: -2.1em; bottom: -0.2em; width: 2.8em; height: 0.75em; border-radius: 0.4em; background: #FFB59A; rotate: 45deg; }

.sl-c { top: 1.4em; z-index: 2; align-items: flex-end; text-align: right; background: #FFB59A; color: var(--ink); transform: translateX(var(--dx)) rotate(var(--rot)); }
.sl-c b { padding-left: 2.2em; }
.sl-c .sl-k { max-width: 9em; }
.sl-c .sl-g { right: auto; left: 1.1em; }
.sl-c .rows { align-self: stretch; }
.rows { display: grid; gap: 0.6em; margin-top: 0.2em; }
.rows i { display: flex; flex-direction: row-reverse; align-items: center; gap: 0.6em; }
.rows i::before { content: ""; flex: none; width: 2.3em; height: 2.3em; border: 2px dashed rgb(20 20 43 / 0.42); border-radius: 50%; }
.rows i::after { content: ""; flex: 1; height: 1em; border: 2px dashed rgb(20 20 43 / 0.42); border-radius: 0.5em; }

/* the tool's first step, a calm, disabled preview until the tool mounts in its place */
.tool { position: relative; z-index: 4; max-width: 600px; margin-inline: auto; padding: 22px 26px 20px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-object); scroll-margin-top: 96px; }
.tool-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tool-h b { font: 600 20px/1.3 var(--display); letter-spacing: -0.01em; }
.drop { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 18px; padding: 20px 22px; border: 1.5px dashed var(--line-2); border-radius: 18px; background: var(--page); }
.drop .ic { width: 32px; height: 32px; color: var(--ink-3); }
.drop p { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.drop p b { display: block; margin-bottom: 2px; font: 600 17px/1.3 var(--display); color: var(--ink); }
.drop .btn:disabled { color: var(--ink-3); cursor: not-allowed; }
.tool-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); }
.tool-foot a { color: var(--ink-2); }

@media (max-width: 640px) {
  .fan { --dx: 8.6em; --rot: 8deg; margin-bottom: -3em; font-size: 10px; }
  .sl .sl-k { font-size: 0.9em; }
  .tool { padding: 20px 18px 18px; }
  .drop { grid-template-columns: 1fr; justify-items: center; padding: 24px 16px 22px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .sl { transition: none; } }

/* ---------- the Takeout steps: a numbered list on the page itself, two columns, no cards ---------- */
.get-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 56px; }
.ladder { grid-column: 1 / -1; grid-row: 1 / -1; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-auto-flow: column; gap: 0 56px; }
.get-body .callout { grid-column: 2; grid-row: 4; align-self: start; margin-top: 22px; }
.ladder > li { grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0 24px; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line-2); }
.ladder > li::before { display: block; width: auto; height: auto; margin-top: -3px; border-radius: 0; background: none; color: var(--brand); font: 600 28px/1 var(--display); letter-spacing: -0.02em; }

/* ---------- the Wrapped's slides, as a deck in the hero's colours; the first three are the hero's three ---------- */
.deck { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dk { position: relative; display: flex; flex-direction: column; min-height: 232px; padding: 26px 26px 22px; overflow: hidden; border-radius: var(--r-card); scroll-margin-top: 110px; }
.dk h3 { padding-right: 56px; font: 700 26px/1.08 var(--display); letter-spacing: -0.03em; color: inherit; }
.dk p { margin-top: 12px; max-width: 22rem; font-size: 16px; line-height: 1.5; }
.dk .reads { margin-top: auto; padding-top: 22px; font-size: 13.5px; line-height: 1.4; }
.dk .reads b { display: block; font-size: 15px; font-weight: 600; color: inherit; }
.dk sup a { font-size: 11px; font-weight: 700; color: inherit; text-decoration: none; padding: 0 1px; }
.dk-g { position: absolute; top: 24px; right: 24px; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dk-a { background: var(--ink); color: #fff; }
.dk-b { background: var(--brand); color: #fff; }
.dk-c { background: #FFB59A; color: var(--ink); }
.dk-d { background: #6A50FF; color: #fff; }
.dk-e { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.dk-f { border: 2px dashed var(--line-hover); color: var(--ink); }
.dk-a p, .dk-b p, .dk-d p { color: rgb(255 255 255 / .84); }
.dk-a .reads, .dk-b .reads, .dk-d .reads { color: rgb(255 255 255 / .7); }
.dk-c p, .dk-e p, .dk-f p { color: var(--ink-2); }
.dk-c .reads, .dk-e .reads, .dk-f .reads { color: var(--ink-3); }
.dk-c .reads b, .dk-e .reads b, .dk-f .reads b { color: var(--ink); }
.dk-f .dk-g { stroke-dasharray: 4 4.5; stroke-width: 2.2; color: var(--ink-3); }
.dk-e .dk-g, .dk-e sup a { color: var(--brand); }
.dk:target { box-shadow: 0 0 0 3px var(--page), 0 0 0 6px var(--ink); }

/* ---------- the band: the export drawn as an open folder, what's in it on the left, the empty slots on the right ---------- */
.band .sec-head { max-width: 44rem; }
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; margin-top: 16px; }
/* the folder: a back panel with its tab, two sheets standing in it, the front flap tipped towards you */
.fold { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 64px 34px 0; }
.fold::before { content: ""; position: absolute; inset: 30px 0 0; z-index: -1; border-radius: 4px 22px 24px 24px;
  background: linear-gradient(180deg, #4B37DC, #3220A8 80%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 40px 60px -30px rgb(0 0 0 / .7); }
.fold::after { content: ""; position: absolute; top: 2px; left: 0; z-index: -1; width: 216px; height: 32px;
  background: linear-gradient(180deg, #6F5EF0 0, #6F5EF0 1px, #5442E2 1px, #4B37DC);
  clip-path: path("M0 32V13Q0 0 13 0H158Q169 0 176 8L195 26Q200 32 210 32Z"); }
.papers { order: 1; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: -108px; }
.paper { padding: 24px 20px 128px; border-radius: 16px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 1px 2px rgb(0 0 0 / .2), 0 22px 34px -22px rgb(0 0 0 / .65); }
.pa { background: linear-gradient(180deg, #FFFFFF, #F1EEFB); rotate: -2.5deg; translate: 0 8px; }
.pb { background: linear-gradient(180deg, #FFC2AB, #FFB194); rotate: 2deg; }
.band .paper .pt { display: block; margin-top: 14px; font: 700 23px/1.1 var(--display); letter-spacing: -0.025em; color: var(--ink); }
.band .paper p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.band .paper sup a { color: var(--brand); font-size: 11px; font-weight: 700; text-decoration: none; padding: 0 1px; }
.pg { display: block; width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fold-front { order: 2; position: relative; z-index: 2; margin: 0 -34px; padding: 32px 34px 36px; border-radius: 16px 16px 24px 24px;
  background: linear-gradient(180deg, #8371FF, #7763FF 12%, #5B40F2 85%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), inset 0 -1px 0 rgb(0 0 0 / .22), 0 -16px 28px -14px rgb(13 11 34 / .6), 0 30px 40px -24px rgb(0 0 0 / .6);
  transform: perspective(1400px) rotateX(-12deg); transform-origin: 50% 100%; }
.fold-front::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 2px; border-radius: 1px; background: linear-gradient(rgb(0 0 0 / .16) 0 1px, rgb(255 255 255 / .14) 1px); }
.fold-front h3 { font: 600 32px/1.1 var(--display); letter-spacing: -0.02em; }
.band .fold-front p { margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.4; color: #fff; }

/* what's left out: dashed, empty slots, like the slides before your file is open */
.gone h3 { font: 600 32px/1.1 var(--display); letter-spacing: -0.02em; }
.slots { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.slots li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 20px 17px; border: 1.5px dashed rgb(255 255 255 / .28); border-radius: 18px; }
.band .slots p { font-size: 15.5px; line-height: 1.5; text-wrap: wrap; }
.sg { width: 36px; height: 36px; fill: none; stroke: rgb(255 255 255 / .72); stroke-width: 2; stroke-dasharray: 3 3.4; stroke-linecap: round; stroke-linejoin: round; }
.sg .dot { fill: rgb(255 255 255 / .72); stroke: none; }
.band .slots sup a, .band .gone-v sup a { font-size: 11px; font-weight: 700; text-decoration: none; padding: 0 1px; }
.band .gone-v { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .16); font-size: 16px; font-weight: 600; color: #fff; }

/* ---------- FAQ: the heading on the left, the questions as rows on the page ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.qa .sec-head { padding-bottom: 0; }
.qa .faq { max-width: none; gap: 0; border-bottom: 1px solid var(--line-2); }
.qa .faq details { border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line-2); }
.qa .faq summary { align-items: center; padding: 22px 0; font-size: 18px; }
.qa .faq summary::after { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); font: 500 20px/1 var(--display); color: var(--ink); }
.qa .faq .a { padding: 0 56px 26px 0; }

@media (max-width: 960px) {
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex { grid-template-columns: 1fr; }
  .fold { max-width: 560px; }
  .qa { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .get-body { display: block; }
  .ladder { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .get-body .callout { margin-top: 8px; }
}
@media (max-width: 600px) {
  /* on a phone the deck swipes, like the Wrapped itself */
  .deck { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .deck::-webkit-scrollbar { display: none; }
  .dk { flex: 0 0 78%; min-height: 286px; padding: 24px 22px 22px; scroll-snap-align: start; }
  .dk h3 { font-size: 24px; }
  .fold { padding: 58px 18px 0; }
  .fold::after { width: 156px; height: 30px; clip-path: path("M0 30V12Q0 0 12 0H108Q118 0 124 7L141 24Q146 30 154 30Z"); }
  .papers { grid-template-columns: 1fr; gap: 10px; margin-bottom: -84px; }
  .paper { padding: 20px 20px 22px; }
  .band .paper p { font-size: 15.5px; }
  .pa { rotate: -2deg; translate: 0; }
  .pb { rotate: 1.5deg; padding-bottom: 104px; }
  .fold-front { margin: 0 -18px; padding: 26px 22px 30px; }
  .fold-front h3, .gone h3 { font-size: 27px; }
  .slots li { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 14px 16px 15px; }
  .sg { width: 30px; height: 30px; }
  .qa .faq summary { font-size: 17px; padding: 20px 0; }
  .qa .faq .a { padding-right: 0; }
}

/* ---------- the tool: the hero's card, live ---------- */
[hidden] { display: none !important; }
.drop.is-over { border-color: var(--brand); background: var(--surface); }
.dw-pick { position: relative; cursor: pointer; }
.dw-pick:focus-within, .dw-link:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.dw-link { padding: 0; border: 0; background: none; font: inherit; color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--underline); cursor: pointer; }
.dw-link:hover { color: var(--ink); text-decoration-color: var(--ink); }
.dw-err { margin-top: 14px; padding: 14px 18px; border-radius: var(--r-panel); background: var(--sunk); font-size: 15px; line-height: 1.5; color: var(--ink); }
.dw-busy { padding: 26px 2px 8px; }
.dw-busy-h { font: 600 18px/1.3 var(--display); color: var(--ink); }
.dw-meter { height: 10px; margin-top: 14px; overflow: hidden; border-radius: var(--r-pill); background: var(--sunk); }
.dw-meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--brand); transition: width .2s ease-out; }
.dw-busy-t { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 10px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dw-file { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }

/* once the Wrapped is open, it takes the fan's place and the card makes room for it */
.wr:has(#dw.is-done) .fan { display: none; }
.wr:has(#dw.is-done) .tool { max-width: 640px; padding: 0; background: none; box-shadow: none; }
#dw.is-done > .tool-h { display: none; }

/* ---------- the Wrapped's slides, in the deck's colours ---------- */
.wd:focus { outline: none; }
.ws { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 560px; padding: 34px 34px 30px; overflow: hidden; border-radius: 28px; box-shadow: 0 1.4em 2.6em -1.2em rgb(20 20 43 / 0.45), 0 0 0 1px rgb(20 20 43 / 0.06); }
.ws-g { position: absolute; top: 30px; right: 30px; width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ws-k { padding-right: 56px; font: 600 15px/1.35 var(--sans); opacity: .8; }
.ws-big { font: 700 clamp(44px, calc(26px + 4vw), 72px)/1.02 var(--display); letter-spacing: -0.035em; overflow-wrap: anywhere; }
.ws-big-s { font-size: clamp(32px, calc(22px + 2.4vw), 46px); line-height: 1.1; }
.ws-cap { max-width: 34rem; font-size: 17.5px; line-height: 1.5; }
.ws-cap b { color: inherit; }
.ws-note { margin-top: auto; padding-top: 10px; font-size: 14px; line-height: 1.5; opacity: .78; }
.ws-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.ws-stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .1); }
.ws-stats dd { font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ws-stats dt { margin-top: 4px; font-size: 14px; line-height: 1.35; opacity: .82; }
.ws-top-h { font: 600 15px/1.3 var(--sans); opacity: .8; }
.ws-top ol { list-style: none; display: grid; margin-top: 6px; counter-reset: t; }
.ws-top li { counter-increment: t; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-top: 1px solid rgb(255 255 255 / .16); font-size: 15.5px; }
.ws-top li::before { content: counter(t); font-weight: 700; opacity: .6; }
.ws-top li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-top li b { color: inherit; font-variant-numeric: tabular-nums; }
.ws-chart { margin-top: 6px; }
.ws-bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; }
.ws-bars i { flex: 1; min-width: 2px; border-radius: 4px 4px 1px 1px; background: currentColor; opacity: .85; }
.ws-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; opacity: .75; font-variant-numeric: tabular-nums; }
.ws-found { list-style: none; display: grid; gap: 8px; }
.ws-found li { padding: 14px 18px; border-radius: 16px; background: var(--page); font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.ws-warn { font-size: 14px; }
.ws-warn summary { cursor: pointer; font-weight: 600; }
.ws-warn ul { margin-top: 6px; padding-left: 18px; }
.ws-gone { display: grid; gap: 10px; }
.ws-gone div { padding: 14px 18px; border: 1.5px dashed var(--line-hover); border-radius: 16px; }
.ws-gone dt { font-weight: 600; color: var(--ink); }
.ws-gone dd { margin-top: 2px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ws .btn { align-self: flex-start; }
.ws-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.ws-ink { background: var(--ink); color: #fff; }
.ws-brand { background: var(--brand); color: #fff; }
.ws-violet { background: #6A50FF; color: #fff; }
.ws-peach { background: #FFB59A; color: var(--ink); }
.ws-white { background: var(--surface); color: var(--ink); }
.ws-line { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-hover); }
.ws-peach .ws-stats div, .ws-white .ws-stats div, .ws-line .ws-stats div { background: rgb(20 20 43 / .06); }
.ws-peach .ws-top li, .ws-white .ws-top li { border-top-color: rgb(20 20 43 / .14); }
.ws-white .ws-g, .ws-white .ws-bars i { color: var(--brand); }
.ws-line .ws-g { stroke-dasharray: 4 4.5; stroke-width: 2.2; color: var(--ink-3); }
.ws-ink .btn-line, .ws-brand .btn-line, .ws-violet .btn-line { background: transparent; color: #fff; border-color: rgb(255 255 255 / .4); box-shadow: none; }
.ws-ink .btn-line:hover, .ws-brand .btn-line:hover, .ws-violet .btn-line:hover { border-color: #fff; }
.ws-ink .ws-cta { background: #fff; color: var(--ink); }
.ws-ink .ws-cta:hover { background: var(--page); color: var(--ink); }
.ws :focus-visible { outline-color: currentColor; }

/* the share card */
.ws-share { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; margin-top: 4px; }
.ws-preview { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.ws-canvas { display: block; width: 100%; height: auto; }
.ws-opts { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ws-check { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.35; }
.ws-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }
.ws-check label { cursor: pointer; color: var(--ink-2); }
.ws-opts .btn { margin-top: 8px; }
.ws-status { min-height: 1.4em; font-size: 14px; color: var(--ink-3); }

.wd-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.wd-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--line-hover); cursor: pointer; }
.wd-dot[aria-current="true"] { background: var(--ink); }
.wd-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.wd-nav .btn { min-width: 110px; }
.wd-nav .btn:disabled { opacity: .4; cursor: default; }
.wd-count { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .ws { min-height: 520px; padding: 26px 22px 24px; border-radius: 24px; }
  .ws-g { top: 22px; right: 22px; width: 34px; height: 34px; }
  .ws-share { grid-template-columns: 1fr; }
  .ws-preview { max-width: 260px; }
  .ws-stats dd { font-size: 22px; }
  .wd-nav .btn { min-width: 0; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .dw-meter i { transition: none; } }
