/* Skyline website. Light, Apple-style: grey page, white tiles, system font
   (SF on Macs, self-hosted Inter elsewhere), liquid-glass header, buttons and
   captions. No page gradients: the color lives in the Mac's wallpaper, and
   glass sits on top of it. No third-party requests. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.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;
}

:root {
  --bg: #f5f5f7;
  --tile: #ffffff;
  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --btn-bg: #1d1d1f;
  --btn-text: #ffffff;
  --ok: #1a7f4b;
  --err: #b42318;
  --glass: rgba(255, 255, 255, .58);
  --rim-hi: rgba(255, 255, 255, .95);
  --rim-lo: rgba(255, 255, 255, .45);
  --glass-shadow: 0 12px 40px rgba(0, 0, 0, .10);
  --wall: url("/assets/wallpaper.svg");
  --alu: #d4d5d9;
  --alu-2: #b7b8bd;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); line-height: 1.1; letter-spacing: -0.025em; margin-top: 1.4em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.015em; }
.display { font-size: clamp(2.1rem, 5.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; margin-top: 0; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--tile); border: 1px solid var(--line); padding: .08em .38em; border-radius: 6px; }
pre { background: var(--tile); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
.checksum code { word-break: break-all; white-space: pre-wrap; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }
.section { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .section { padding-top: 88px; padding-bottom: 88px; } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--text-2); max-width: 34em; letter-spacing: -0.01em; }
.sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); letter-spacing: -0.01em; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--tile); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Liquid glass: blurred, saturated backdrop, a bright rim on the top left,
   a softer one on the bottom right, and a faint inner glow. */
.site-header, .btn-glass, .captions li, .keycaps kbd, .glass-chips, .nc-card, .glass-btn, .spacer-demo {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 1px 1px 0 -.5px var(--rim-hi), inset -1px -1px 0 -.5px var(--rim-lo), inset 0 0 10px 1px rgba(255, 255, 255, .12), var(--glass-shadow);
}
/* Glass on the wallpaper reads as light-on-dark */
.tile-scene .keycaps kbd, .tile-scene .glass-chips, .tile-scene .nc-card, .tile-scene .glass-btn, .tile-scene .spacer-demo {
  --glass: rgba(255, 255, 255, .16);
  --rim-hi: rgba(255, 255, 255, .7);
  --rim-lo: rgba(255, 255, 255, .25);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  color: #fff;
}

/* Header: a floating glass capsule */
.site-header { position: sticky; top: 10px; z-index: 50; width: min(1000px, calc(100% - 20px)); margin: 10px auto 0; border-radius: 999px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 7px 0 18px; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.nav { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 640px) {
  .nav { gap: 14px; }
  .nav .nav-wide { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-text); font: 600 1rem/1 var(--font); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, opacity .12s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }
.btn-glass { background: var(--glass); color: var(--text); box-shadow: inset 1px 1px 0 -.5px var(--rim-hi), inset -1px -1px 0 -.5px var(--rim-lo), inset 0 0 0 1px var(--line); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-wide { width: 100%; margin-top: 10px; }
.btn.is-disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.nav .btn { color: var(--btn-text); }
.btn:disabled { opacity: .55; cursor: progress; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.cta-center { justify-content: center; }
.cta-note { color: var(--muted); font-size: .95rem; }

/* Hero */
.hero { text-align: center; padding: 84px 0 8px; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-icon { width: 92px; height: 92px; margin-bottom: 26px; filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .16)); }
.hero h1 { font-size: clamp(3rem, 9vw, 6.4rem); margin-bottom: .35em; }
.hero .lede { margin: 0 auto 18px; }
.soon-chip { margin: 0 0 18px; padding: 7px 16px; border-radius: 999px; background: var(--tile); font-size: .9rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Menu bar mockups ----------
   Real menu bar icons (src/menubar-icons, see build.mjs). Mockups are drawn at
   a fixed width and zoomed to fit (site.js). */
.fit { width: 100%; }
.fit-inner { position: relative; }
.fbar {
  display: flex; align-items: center; gap: 1.3em; height: 2.3em; padding: 0 1.1em;
  color: #fff; font: 500 14px/1 var(--ui); white-space: nowrap; overflow: hidden;
}
.fbar b { font-weight: 700; }
.fbar .mbi { opacity: .92; }
.fb-apple { font: 1.15em/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; margin-top: -.12em; flex: none; }
.no-apple-glyph .fb-apple { visibility: hidden; }
.fb-items { margin-left: auto; display: inline-flex; align-items: center; justify-content: flex-end; gap: 1.25em; min-width: 0; overflow: hidden; }
.fb-items > * { flex: none; }
.fbar > :not(.fb-items) { flex: none; }
.fb-clock { font-variant-numeric: tabular-nums; margin-left: .2em; }
.fb-spacer { width: 1.1em; height: 1.4em; flex: none; position: relative; }
.fb-sk { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 1.7em; border-radius: .45em; flex: none; margin: 0 -.3em; }
.fb-sk.is-active { background: rgba(255, 255, 255, .25); }
/* The app draws it 18 x 14.4 pt; 1 pt = 1/13 em. Outline and sun are stroked in build.mjs; the fill is for the windows. */
.sk-glyph { width: calc(18em / 13); height: calc(14.4em / 13); fill: currentColor; display: block; }

/* Layout Editor and hidden items panel, styled after the app's SwiftUI views */
.glass-win { color: #f2f2f4; border-radius: 16px; padding: 12px 18px 18px; font: 500 12.5px/1.3 var(--ui); width: 100%; }
.gw-title { position: relative; text-align: center; font-weight: 600; margin-bottom: 12px; }
.gw-dots { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 7px; }
.gw-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.gw-dots i:nth-child(2) { background: #febc2e; }
.gw-dots i:nth-child(3) { background: #28c840; }
.gw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.gw-lead { font-weight: 700; margin: 0; font-size: 13.5px; }
.gw-btn { display: inline-block; background: rgba(255, 255, 255, .14); border-radius: 6px; padding: 4px 11px; font-weight: 500; white-space: nowrap; }
.gw-label { margin: 12px 0 5px; font-weight: 600; }
.gw-strip { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 10px; padding: 5px 10px; border-radius: 9px; background: #0f0f0f; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08); min-height: 38px; align-items: center; }
.gw-over { box-shadow: inset 0 0 0 1.5px #0a84ff; }
.gw-palette { justify-content: flex-start; }
.ed-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 26px; font-size: 13px; }
.ed-spacer { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; background: #3d8566; color: #fff; font: 500 11px/1 var(--ui); white-space: nowrap; }
.caret { width: 3px; height: 20px; background: #0a84ff; border-radius: 2px; }
.gw-buttons { display: flex; gap: 8px; margin-top: 14px; }

.glass-panel { padding: 10px; border-radius: 16px; color: #f2f2f4; font: 500 11px/1.2 var(--ui); }
.gp-row { display: flex; gap: 4px; }
.gp-item { display: flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 4px; font-size: 13px; }
.glass-panel hr { border: 0; height: 1px; background: rgba(255, 255, 255, .14); margin: 8px 0; }
.gp-foot { display: flex; }

/* ---------- The MacBook stage (stage.js) ---------- */
.stage-wrap.is-live { height: 640vh; }
.stage-wrap.is-live .stage { height: 100%; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-wrap:not(.is-live) .stage-sticky { position: relative; height: 78vh; min-height: 460px; }
.cam {
  position: absolute; left: 0; top: 0; width: 1100px; height: 780px; transform-origin: 0 0;
  perspective: 9000px; perspective-origin: 550px 360px;
}
.device { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 550px 725px; }
.lid { position: absolute; left: 0; top: 0; width: 1100px; height: 725px; transform-style: preserve-3d; transform-origin: 50% 100%; }
.lid-front, .lid-back { position: absolute; inset: 0; border-radius: 36px 36px 12px 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lid-front { background: #050506; box-shadow: inset 0 0 0 2px #2a2a2d, 0 0 0 2px var(--alu-2); }
.lid-back { transform: rotateY(180deg); background: linear-gradient(160deg, var(--alu), var(--alu-2)); }
.screen {
  position: absolute; left: 12px; top: 12px; width: 1076px; height: 699px; overflow: hidden;
  border-radius: 25px 25px 4px 4px; background: #000 var(--wall) center / cover;
}
.notch { position: absolute; left: 50%; top: 0; width: 142px; height: 26px; transform: translateX(-50%); background: #000; border-radius: 0 0 10px 10px; z-index: 5; }
/* The deck hangs from the hinge and folds toward the viewer; its far edge is the front. */
.deck {
  position: absolute; left: 0; top: -55px; width: 1100px; height: 780px; transform-origin: 50% 100%; transform: rotateX(-90deg);
  background: linear-gradient(0deg, var(--alu-2), var(--alu) 30%); border-radius: 30px 30px 0 0;
}
.keys {
  position: absolute; left: 90px; right: 90px; bottom: 34px; height: 330px; border-radius: 12px; background-color: #121214;
  background-image: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, .07) 60px 63px), repeating-linear-gradient(0deg, transparent 0 52px, rgba(255, 255, 255, .07) 52px 55px);
}
.pad { position: absolute; left: 50%; top: 70px; width: 460px; height: 300px; transform: translateX(-50%); border-radius: 16px; background: rgba(0, 0, 0, .07); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.lip { position: absolute; left: 0; top: 725px; width: 1100px; height: 30px; transform: translateZ(780px); border-radius: 0 0 22px 22px; background: linear-gradient(180deg, var(--alu), var(--alu-2)); }
.lip::before { content: ""; position: absolute; left: 50%; top: 0; width: 150px; height: 7px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: rgba(0, 0, 0, .18); }
.side { position: absolute; top: 725px; width: 780px; height: 30px; transform-origin: 0 0; transform: rotateY(-90deg); background: var(--alu-2); }
.side-l { left: 0; }
.side-r { left: 1100px; }

/* The Mac's menu bar: transparent, white, 13 pt type at this screen's scale */
.mac-bar.fbar { position: absolute; left: 0; right: 0; top: 0; height: 26px; padding: 0 1.4em; font-size: 9.4px; background: rgba(0, 0, 0, .1); text-shadow: 0 0 6px rgba(0, 0, 0, .25); }
.mac-bar .fb-items { max-width: calc(50% - 71px - 1.4em); }
.mac-bar .is-h, .mac-bar .is-new { transition: width .55s cubic-bezier(.3, .7, .2, 1), margin .55s cubic-bezier(.3, .7, .2, 1), opacity .35s ease; }
.stage[data-state="clutter"] .mac-bar .is-new { width: 0; margin: 0 -1.25em 0 0; opacity: 0; }
.stage:not([data-state="clutter"]) .mac-bar .is-h { width: 0; margin-right: -1.25em; opacity: 0; }
.mac-bar .fb-sk { transition: background .3s ease, width .55s cubic-bezier(.3, .7, .2, 1), margin .55s cubic-bezier(.3, .7, .2, 1), opacity .35s ease; }
.stage[data-state="panel"] .mac-bar .fb-sk { background: rgba(255, 255, 255, .25); }

.mac-panel { position: absolute; top: 30px; right: 112px; zoom: .82; opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .35s ease; }
.stage[data-state="panel"] .mac-panel { opacity: 1; transform: none; }
.mac-panel .glass-panel, .mac-editor .glass-win {
  background: rgba(24, 26, 34, .58); backdrop-filter: blur(26px) saturate(190%); -webkit-backdrop-filter: blur(26px) saturate(190%);
  box-shadow: inset 1px 1px 0 -.5px rgba(255, 255, 255, .6), inset -1px -1px 0 -.5px rgba(255, 255, 255, .2), 0 24px 60px rgba(0, 0, 0, .35);
}
.mac-editor { position: absolute; left: 50%; top: 96px; width: 820px; zoom: .74; opacity: 0; transform: translateX(-50%) scale(.97); transition: opacity .4s ease, transform .4s ease; }
.stage[data-state="editor"] .mac-editor { opacity: 1; transform: translateX(-50%); }

.captions { position: absolute; left: 50%; bottom: max(24px, 3vh); transform: translateX(-50%); width: min(640px, calc(100% - 32px)); list-style: none; margin: 0; padding: 0; display: grid; }
.captions li {
  grid-area: 1 / 1; align-self: end; padding: 16px 24px; border-radius: 24px; text-align: center; color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease;
}
.stage[data-cap="0"] [data-cap="0"], .stage[data-cap="1"] [data-cap="1"], .stage[data-cap="2"] [data-cap="2"],
.stage[data-cap="3"] [data-cap="3"], .stage[data-cap="4"] [data-cap="4"] { opacity: 1; transform: none; }

/* ---------- Feature tiles ---------- */
#features h2 { text-align: center; }
.tiles { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile { grid-column: span 2; background: var(--tile); border-radius: var(--radius); padding: 12px 12px 24px; }
.tile-wide { grid-column: span 4; }
.tile h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 0 14px .35em; }
.tile p { color: var(--muted); margin: 0 14px; font-size: 1rem; }
.tile-scene {
  position: relative; height: 210px; margin-bottom: 22px; border-radius: 18px; overflow: hidden; color: #fff;
  background: #222 var(--wall) center 70% / cover; display: grid; place-items: center;
}
.scene-spacer { background-position: 20% 100%; }
.scene-always { background-position: 80% 60%; }
.scene-clock { background-position: 50% 90%; }
.scene-restore { background-position: 0% 80%; }
.scene-bar .fit { position: absolute; left: 0; right: 0; top: 0; }
.tile-scene .fbar { background: rgba(0, 0, 0, .12); font-size: 13px; }
.keycaps { display: flex; gap: 10px; margin-top: 24px; }
.keycaps kbd { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; font: 500 22px/1 var(--ui); }
.spacer-demo { width: min(300px, 84%); padding: 16px 18px 12px; border-radius: 20px; font: 500 13px/1.2 var(--ui); }
.sd-label { display: block; margin-bottom: 14px; }
.sd-track { position: relative; display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.sd-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; border-radius: 3px; background: #fff; }
.sd-knob { position: absolute; left: 34%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.sd-range { display: flex; justify-content: space-between; margin-top: 12px; opacity: .8; font-size: 11px; }
.glass-chips { display: flex; gap: 10px; padding: 8px 14px; border-radius: 999px; font: 500 13px/1 var(--ui); }
.tile-scene .glass-chips { --glass: rgba(16, 20, 36, .4); }
.glass-chips .ed-chip { font-size: 16px; }
.nc-card { display: flex; flex-direction: column; gap: 4px; width: min(280px, 84%); padding: 16px 18px; border-radius: 22px; font: 13px/1.3 var(--ui); }
.nc-card b { font-size: 14px; }
.nc-card span { opacity: .8; }
.glass-btn { padding: 12px 22px; border-radius: 999px; font: 600 14px/1 var(--ui); }
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { grid-column: span 1; }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile-wide { grid-column: auto; }
}

/* Privacy */
.privacy { text-align: center; }
.privacy .sub { max-width: 36em; margin-left: auto; margin-right: auto; }
.privacy-list { list-style: none; padding: 0; margin: 36px 0 20px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: left; }
.privacy-list li { background: var(--tile); border-radius: var(--radius); padding: 24px 26px; }
.privacy-list p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Price */
.price-block { text-align: center; }
.price-display { font-size: clamp(3rem, 10vw, 6.4rem); }
.reqs { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.reqs li { background: var(--tile); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--text-2); }
.vs { padding-top: 0; text-align: center; }
.vs h2 { margin-top: 0; }

/* Cards (buy, support) */
.card { background: var(--tile); border-radius: var(--radius); padding: 28px; }
.card-accent { box-shadow: 0 12px 40px rgba(0, 0, 0, .06); }
.split { display: grid; gap: 16px; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } }
.split .card h2 { margin-top: 0; }
.price { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 0 0 .5em; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 28px; margin: 0 0 .5em; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .48em; width: 13px; height: 7px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: .6em; padding-left: .2em; }
.status { min-height: 1.4em; margin: 10px 0 0; font-size: .95rem; }
.status[data-kind="ok"] { color: var(--ok); }
.status[data-kind="error"] { color: var(--err); }
.page-head { padding-top: 72px; padding-bottom: 8px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.page-head + .section { padding-top: 16px; }

/* FAQ */
.faq h2 { font-size: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.35em; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-2); }
.resend { margin: 28px 0; }
.resend h3 { margin-top: 0; }
.resend label { display: block; font-weight: 600; margin-bottom: 6px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field-row input {
  flex: 1 1 220px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--tile); color: var(--text); font: 1rem var(--font);
}
.field-row input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* Prose: changelog and legal */
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 40px; }
.prose h2 { font-size: 1.45rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; margin: 0 0 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose blockquote { margin: 0 0 1em; padding: 12px 18px; background: var(--tile); border-radius: 14px; }
.changelog h2 { border-top: 1px solid var(--line); padding-top: 1em; }
.notice { background: var(--tile); border-radius: var(--radius); padding: 20px 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; padding: 36px 0 28px; font-size: .92rem; color: var(--muted); }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; letter-spacing: -0.02em; }
.footer-brand img { border-radius: 5px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.footer-links a { color: var(--muted); }
.fine { margin-top: 18px; font-size: .82rem; }
.fine p { margin-bottom: .4em; }

@media (prefers-reduced-motion: reduce) {
  .btn, .mac-bar .is-h, .mac-bar .is-new, .mac-panel, .mac-editor, .captions li { transition: none; }
}
