/* piedol: shared styles for the app pages and the home page. */

:root {
  color-scheme: dark;
  --bg: #161619;
  --bg-band: #1b1b1f;
  --surface: #222226;
  --surface-2: #2a2a2f;
  --well: #0f0f12;
  --line: rgb(255 255 255 / 0.085);
  --line-strong: rgb(255 255 255 / 0.15);
  --text: #f3f3f6;
  --text-2: #b6b6be;
  --text-3: #8f8f98;

  /* Neutral defaults (home page); each app page overrides these. */
  --accent: #f3f3f6;
  --accent-text: #f3f3f6;
  --glow: rgb(255 255 255 / 0.06);
  --btn-bg: #f3f3f6;
  --btn-fg: #121214;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
  --max: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 600px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

[data-app="photon"] { --accent: #0a84ff; --accent-text: #55a8ff; --glow: rgb(10 132 255 / 0.22); --btn-bg: #0071e3; --btn-fg: #fff; }
[data-app="tamka"]  { --accent: #ffb640; --accent-text: #ffc368; --glow: rgb(255 182 64 / 0.16); --btn-bg: #ffb640; --btn-fg: #1d1404; }
[data-app="kivuko"] { --accent: #b88cff; --accent-text: #c6a3ff; --glow: rgb(184 140 255 / 0.2); --btn-bg: #b88cff; --btn-fg: #170c2b; }
[data-app="kipimo"] { --accent: #70f8bc; --accent-text: #7ff9c5; --glow: rgb(112 248 188 / 0.13); --btn-bg: #70f8bc; --btn-fg: #05170f; }
[data-app="lavdeck"] { --accent: #ff5d4d; --accent-text: #ff8a7d; --glow: rgb(255 93 77 / 0.15); --btn-bg: #ff5d4d; --btn-fg: #1f0805; }

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scrollbar-color: #3b3b42 var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: color-mix(in srgb, var(--accent) 42%, transparent); color: #fff; }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent-text); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; text-wrap: balance; color: var(--text); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.625rem); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; color: var(--text); }
code { font: 0.88em/1 var(--mono); background: var(--surface-2); padding: 0.16em 0.38em; border-radius: 5px; color: var(--text); overflow-wrap: anywhere; }

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.12em 0.42em 0.16em;
  font: 600 0.84em/1.25 var(--font);
  text-align: center;
  color: var(--text);
  background: linear-gradient(#3a3a40, #2d2d32);
  border: 1px solid rgb(255 255 255 / 0.13);
  border-bottom-color: rgb(0 0 0 / 0.5);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.07);
  white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.prose { max-width: 66ch; }
.muted { color: var(--text-2); }
.small { font-size: 0.875rem; line-height: 1.5; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ---------- Menu bar ---------- */

.menubar {
  position: sticky; top: 0; z-index: 40;
  background: rgb(24 24 28 / 0.78);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.menubar nav { display: flex; align-items: center; gap: 4px; height: 48px; }
.menubar .brand {
  margin-right: auto; padding: 6px 8px; margin-left: -8px;
  font-size: 1rem; font-weight: 750; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; border-radius: 7px;
}
.menubar ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.menubar li a, .menubar .gh {
  display: flex; align-items: center; gap: 7px;
  min-height: 40px; min-width: 40px; padding: 0 9px;
  justify-content: center;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.005em;
  color: var(--text-2); text-decoration: none;
  border-radius: 8px;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.menubar li a img { width: 22px; height: 22px; }
.menubar li a:hover, .menubar .gh:hover, .menubar .brand:hover { background: rgb(255 255 255 / 0.08); color: var(--text); }
.menubar li a[aria-current="page"] { background: rgb(255 255 255 / 0.15); color: var(--text); }
.menubar .gh svg { width: 20px; height: 20px; }
.menubar .gh { margin-left: 6px; color: var(--text-2); }
.menubar .label { display: none; }
@media (min-width: 760px) {
  .menubar .label { display: inline; }
  .menubar li a { padding: 0 11px 0 8px; }
}
@media (max-width: 759px) {
  .menubar .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; display: inline; }
}
@media (max-width: 379px) {
  .menubar li a, .menubar .gh { min-width: 38px; padding: 0 7px; }
  .menubar .gh { margin-left: 0; }
}

/* ---------- Buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 9px 20px 9px 16px;
  border-radius: 12px;
  font-weight: 650; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn span { display: flex; flex-direction: column; }
.btn small { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.005em; opacity: 0.86; margin-top: 2px; }
.btn-primary {
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { background: #33333a; }
@media (max-width: 479px) { .actions .btn { width: 100%; } }

.fineprint { margin-top: 18px; color: var(--text-3); font-size: 0.9375rem; }
.fineprint a { color: var(--text-2); }
.fineprint .sep { margin-inline: 0.5em; color: #5c5c64; }

/* ---------- App page hero ---------- */

.hero { position: relative; isolation: isolate; padding-top: clamp(40px, 4vw + 20px, 88px); }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -48px 0 auto;
  height: min(1100px, 130vw);
  background:
    radial-gradient(60% 55% at 72% 62%, var(--glow), transparent 70%),
    radial-gradient(40% 30% at 15% 10%, rgb(255 255 255 / 0.035), transparent 70%);
  pointer-events: none;
}
.hero-head { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.hero-head .app-icon { width: clamp(76px, 7vw + 30px, 116px); height: auto; margin-top: 4px; filter: drop-shadow(0 12px 22px rgb(0 0 0 / 0.5)); }
.hero h1 { font-size: clamp(3rem, 2.1rem + 4.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 750; }
.hero .tagline { margin-top: 14px; font-size: clamp(1.25rem, 1.08rem + 0.8vw, 1.75rem); line-height: 1.28; letter-spacing: -0.014em; color: var(--text-2); font-weight: 500; max-width: 30ch; }
.hero-body { grid-column: 2; margin-top: 30px; }
.say { margin-top: 10px; color: var(--text-3); font-size: 0.9375rem; }
.say em { font-style: italic; color: var(--text-2); }
@media (max-width: 639px) {
  .hero-head { grid-template-columns: 1fr; }
  .hero-head .app-icon { margin-bottom: 18px; }
  .hero-body { grid-column: 1; margin-top: 26px; }
}

.hero-art { margin: clamp(40px, 5vw, 72px) auto 0; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.55)) drop-shadow(0 2px 6px rgb(0 0 0 / 0.4)); }
.hero-art.framed img { border-radius: clamp(12px, 1.6vw, 20px); box-shadow: 0 0 0 1px var(--line-strong); }

@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: rise 1100ms var(--ease-out) both; animation-delay: 80ms; }
  .hero::before { animation: bloom 1600ms var(--ease-out) both; }
  @keyframes rise { from { opacity: 0.3; transform: translateY(28px) scale(0.985); } }
  @keyframes bloom { from { opacity: 0.2; transform: scale(0.94); } }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 4vw + 36px, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.band { background: var(--bg-band); }
.section > .wrap > h2 { max-width: 22ch; }
.section h2 + p, .section h2 + .prose { margin-top: 18px; }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.4375rem); line-height: 1.45; letter-spacing: -0.012em; color: var(--text); }
.lead + .lead { margin-top: 0.75em; }
.lead.muted { color: var(--text-2); }

.intro { display: grid; gap: 28px; }
@media (min-width: 960px) { .intro { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Feature rows: copy beside a screenshot. */
.feature { display: grid; gap: clamp(28px, 3vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 6vw, 120px); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.flip > .copy { order: 2; }
  .feature.narrow-shot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature.narrow-shot.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.feature .copy > * + * { margin-top: 16px; }
.feature .copy h2 + * { margin-top: 18px; }
.feature .copy h3 { margin-top: 28px; }
.feature .copy h3 + * { margin-top: 8px; }

.shot { margin: 0; display: grid; justify-items: center; gap: 12px; }
.shot img { filter: drop-shadow(0 22px 40px rgb(0 0 0 / 0.5)) drop-shadow(0 1px 3px rgb(0 0 0 / 0.5)); }
.shot figcaption { font-size: 0.8125rem; color: var(--text-3); text-align: center; }
.shot-pair { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 28px; }
.shot.stage {
  position: relative; isolation: isolate;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: radial-gradient(70% 70% at 50% 60%, var(--glow), transparent 75%), #1d1d22;
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Lists */
.list { list-style: none; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 30px; }
.list li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
}
.list li::after {
  content: ""; position: absolute; left: 7px; top: calc(0.42em + 4px);
  width: 4px; height: 7px;
  border: solid var(--accent-text); border-width: 0 1.75px 1.75px 0;
  transform: rotate(45deg);
}

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps > li { counter-increment: step; position: relative; padding-left: 42px; min-height: 28px; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font: 650 0.875rem/1 var(--font); font-variant-numeric: tabular-nums;
  color: var(--btn-fg); background: var(--btn-bg);
}

/* Callouts */
.note {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--text);
  font-size: 0.96875rem;
}
.note svg { width: 22px; height: 22px; color: var(--accent-text); margin-top: 1px; }
.note p + p { margin-top: 0.5em; }

/* Code */
pre {
  margin: 0;
  padding: 14px 16px;
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  font: 0.875rem/1.6 var(--mono);
  color: #e6e6ec;
  tab-size: 2;
}
pre code { background: none; padding: 0; font: inherit; color: inherit; overflow-wrap: normal; }
.cmds { display: grid; gap: 10px; }
.tree { color: var(--text-2); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
th, td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child > td, tr:last-child > th { border-bottom: 0; }
thead th { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); background: rgb(255 255 255 / 0.02); white-space: nowrap; }
tbody th { font-weight: 600; color: var(--text); }
td { color: var(--text-2); }
td.c, th.c { text-align: center; }
td strong { color: var(--text); }
.grade { font-weight: 650; color: var(--text); }
caption { caption-side: bottom; padding: 10px 16px 12px; text-align: left; font-size: 0.8125rem; color: var(--text-3); border-top: 1px solid var(--line); }

/* Spec panels, styled after a macOS menu */
.panels { display: grid; gap: 20px; align-items: start; }
@media (min-width: 820px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel {
  padding: 8px;
  border-radius: 14px;
  background: rgb(38 38 43 / 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.05);
}
.panel h3 { padding: 8px 12px 6px; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.01em; color: var(--text-3); }
.panel dl { margin: 0; }
.panel .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; }
.panel .row + .row { border-top: 1px solid var(--line); }
.panel dt { color: var(--text); font-weight: 500; }
.panel dd { margin: 0; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) {
  .panel .row { flex-direction: column; gap: 2px; }
  .panel dd { text-align: left; }
}

/* Two-column blocks (install, privacy) */
.split { display: grid; gap: 40px; }
.split > *, .feature > *, .intro > *, .panels > *, .block { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split h3 { margin-bottom: 14px; }
.block + .block { margin-top: 36px; }
.block > * + * { margin-top: 14px; }
.block h3 + * { margin-top: 12px; }

.doc-links { list-style: none; display: grid; gap: 2px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.doc-links a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--text); }
.doc-links a:hover { background: var(--surface); }
.doc-links span { display: block; font-size: 0.8125rem; color: var(--text-3); }

/* ---------- Home ---------- */

.home-hero { position: relative; isolation: isolate; padding-top: clamp(48px, 5vw + 24px, 104px); padding-bottom: clamp(36px, 3vw + 16px, 56px); }
.home-hero::before {
  content: ""; position: absolute; z-index: -1; inset: -48px 0 auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(34% 40% at 12% 30%, rgb(10 132 255 / 0.12), transparent 70%),
    radial-gradient(30% 36% at 42% 8%, rgb(255 182 64 / 0.08), transparent 70%),
    radial-gradient(34% 40% at 70% 34%, rgb(184 140 255 / 0.11), transparent 70%),
    radial-gradient(30% 36% at 96% 12%, rgb(112 248 188 / 0.07), transparent 70%);
}
.home-hero h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem); line-height: 1; letter-spacing: -0.04em; font-weight: 750; max-width: 15ch; }
.home-hero .lead { margin-top: 24px; max-width: 54ch; color: var(--text-2); }

.cards { display: grid; gap: 20px; list-style: none; }
@media (min-width: 780px) { .cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.card {
  --accent-text: color-mix(in srgb, var(--accent) 78%, white);
  --glow: color-mix(in srgb, var(--accent) 17%, transparent);
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -28px rgb(0 0 0 / 0.8);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.card .art { position: relative; background: radial-gradient(70% 80% at 60% 50%, var(--glow), transparent 75%), #18181c; padding: 18px 18px 0; }
.card .art img { width: 100%; border-radius: 12px 12px 0 0; }
.card .body { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; padding: 20px 22px 24px; align-items: center; border-top: 1px solid var(--line); }
.card .body img { width: 44px; height: 44px; grid-row: span 1; }
.card h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .desc { grid-column: 1 / -1; margin-top: 8px; color: var(--text-2); }
.card .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.875rem; color: var(--text-3); }
.card .status { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-text); font-weight: 600; }
.card .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.card .body.no-icon { grid-template-columns: 1fr; }
.card h2 .out { display: inline-block; width: 0.7em; height: 0.7em; margin-left: 0.3em; vertical-align: 0.05em; color: var(--text-3); }
.card .note-line { grid-column: 1 / -1; margin-top: 6px; font-size: 0.8125rem; color: var(--text-3); }
@media (min-width: 780px) {
  .card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .card.wide .art { padding: 18px 0 18px 18px; display: flex; align-items: center; }
  .card.wide .art img { border-radius: 12px; }
  .card.wide .body { border-top: 0; border-left: 1px solid var(--line); align-content: center; padding: 28px 30px; }
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 30px 60px -28px rgb(0 0 0 / 0.9); }
.card:focus-within { box-shadow: inset 0 0 0 2px var(--accent-text); }
.card h2 a:focus-visible { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .card { animation: rise 900ms var(--ease-out) both; }
  .card:nth-child(2) { animation-delay: 70ms; }
  .card:nth-child(3) { animation-delay: 140ms; }
  .card:nth-child(4) { animation-delay: 210ms; }
}

/* Responsive glance table: rows become stacked blocks on phones. */
@media (max-width: 719px) {
  .glance table, .glance thead, .glance tbody, .glance tr, .glance th, .glance td { display: block; }
  .glance thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .glance tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .glance tr:last-child { border-bottom: 0; }
  .glance th, .glance td { padding: 2px 0; border: 0; }
  .glance tbody th { font-size: 1.0625rem; margin-bottom: 4px; }
  .glance td::before { content: attr(data-label) ": "; color: var(--text-3); font-weight: 500; }
}
.glance tbody th a { color: var(--text); font-weight: 650; white-space: nowrap; }
.glance tbody th img { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: 0.875rem; color: var(--text-3); }
.site-footer .wrap { display: grid; gap: 20px; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer p + p { margin-top: 6px; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--text-2); }
.site-footer .brand { font-weight: 750; color: var(--text); font-size: 0.9375rem; }

/* Spacing utilities */
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 56px; }

/* Kivuko: the recovery timeline */
.timeline { list-style: none; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 820px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.timeline li { position: relative; padding: 22px 22px 22px; background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 820px) {
  .timeline li { border-radius: 0; padding-top: 30px; }
  .timeline li:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .timeline li:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .timeline li + li { box-shadow: inset 0 0 0 1px var(--line), inset 1px 0 0 var(--line-strong); }
}
.timeline .at { display: block; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.timeline .what { display: block; margin-top: 10px; color: var(--text-2); }
.timeline .what strong { display: block; color: var(--text); margin-bottom: 2px; }

/* Two-column list (Kivuko: how it works) */
@media (min-width: 900px) { .list.cols { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* Photon: the screenshot shortcut, drawn as keycaps */
.keys-stage { min-height: 300px; align-content: center; }
.keys { display: flex; gap: clamp(10px, 1.6vw, 18px); }
.keys kbd {
  min-width: 1.5em; padding: 0.22em 0.36em 0.3em;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); font-weight: 600; line-height: 1;
  border-radius: 0.22em;
  background: linear-gradient(#3d3d44, #2a2a2f);
  box-shadow: 0 0.08em 0 #0b0b0d, 0 0.2em 0.5em rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.09);
}
.keys kbd:last-child { color: var(--accent-text); }

.nowrap { white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 26px; }
.faq h3 { font-size: 1.0625rem; line-height: 1.35; }
.faq p { margin-top: 6px; color: var(--text-2); }
