/* OwnMedia site. A calm "liquid glass": thin frosted glass only on the controls that float
   above the page (header, buttons, chips, menu), with a light rim on top; the content itself
   sits on quiet, nearly opaque surfaces. Light and dark follow the system. No web fonts. */

/* Headings: Bricolage Grotesque, served from this site (SIL OFL 1.1, fonts/OFL-BricolageGrotesque.txt).
   Only the Latin set at the one weight the headings use. Body text stays on the system font. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f1f3f7;
  --text: #10131a;
  --muted: #485063;
  --glass: rgba(255, 255, 255, 0.5);
  --glass-top: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-solid: #f8f9fc;
  --menu-bg: rgba(248, 249, 252, 0.97);
  --rim: rgba(255, 255, 255, 0.72);
  --line: rgba(16, 19, 26, 0.11);
  --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(16, 19, 26, 0.04), 0 4px 12px -6px rgba(30, 40, 70, 0.08);
  --surface: rgba(255, 255, 255, 0.8);
  --surface-line: rgba(16, 19, 26, 0.08);
  --surface-shadow: 0 1px 2px rgba(16, 19, 26, 0.04);
  --link: #b23c00;
  --accent: #ff8a1f;
  --accent-2: #0b7285;
  --btn-text: #1d0e00;
  --chip: rgba(16, 19, 26, 0.06);
  --code-bg: rgba(16, 19, 26, 0.06);
  --ok: #157a3a;
  --err: #b3261e;
  --blob-1: rgba(255, 150, 60, 0.26);
  --blob-2: rgba(40, 200, 220, 0.2);
  --blob-3: rgba(140, 120, 255, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bricolage Grotesque", var(--font);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080a0f;
    --text: #eef1f6;
    --muted: #a9b2c3;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-top: rgba(255, 255, 255, 0.1);
    --glass-strong: rgba(30, 34, 46, 0.86);
    --glass-solid: #161a24;
    --menu-bg: rgba(22, 26, 36, 0.97);
    --rim: rgba(255, 255, 255, 0.12);
    --line: rgba(255, 255, 255, 0.1);
    --shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --surface: rgba(22, 25, 34, 0.82);
    --surface-line: rgba(255, 255, 255, 0.07);
    --surface-shadow: none;
    --link: #ffad66;
    --accent-2: #5ee7f0;
    --chip: rgba(255, 255, 255, 0.07);
    --code-bg: rgba(255, 255, 255, 0.07);
    --ok: #7ddc9a;
    --err: #ff8a80;
    --blob-1: rgba(255, 122, 0, 0.18);
    --blob-2: rgba(0, 190, 210, 0.15);
    --blob-3: rgba(110, 60, 230, 0.12);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  overflow-x: hidden;
}

/* The coloured light behind the glass. Fixed, so it does not repaint while scrolling. */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -10vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vmax 34vmax at 8% 6%, var(--blob-1), transparent 70%),
    radial-gradient(42vmax 36vmax at 96% 30%, var(--blob-2), transparent 70%),
    radial-gradient(36vmax 30vmax at 30% 96%, var(--blob-3), transparent 70%),
    radial-gradient(30vmax 26vmax at 88% 100%, var(--blob-1), transparent 70%);
}

img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); font-size: 0.9em; }
code { background: var(--code-bg); padding: 0.1em 0.4em; border-radius: 6px; overflow-wrap: anywhere; }
pre {
  background: var(--glass-strong);
  border: 1px solid var(--rim);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  overflow-x: auto;
  line-height: 1.5;
  margin: 0 0 1.2em;
}
pre code { background: none; padding: 0; overflow-wrap: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip:focus { left: 8px; background: var(--glass-solid); padding: 8px 14px; border-radius: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Glass ------------------------------------------------------------------------------------- */

/* Thin glass: a little lighter at the top, a bright rim line on the top edge, a soft shadow.
   Only for controls that float above the page. */
.glass, .btn-glass, .eyebrow, .site-header .wrap, .menu summary {
  background: linear-gradient(180deg, var(--glass-top), var(--glass));
  border: 1px solid var(--rim);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.glass { border-radius: var(--radius); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .btn-glass, .eyebrow, .site-header .wrap, .menu summary, .menu-panel { background: var(--glass-strong); }
}

/* Content is not glass: quiet surfaces that are easy to read on. */
.card.glass, .step.glass, .faq details.glass, form.glass, .article.glass, .dl-card.glass {
  background: var(--surface);
  border-color: var(--surface-line);
  box-shadow: var(--surface-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Header ------------------------------------------------------------------------------------ */

/* A capsule floating over the page, like the app's own bars. */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; padding: 0 12px; }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  max-width: calc(var(--wrap) - 16px);
  padding: 0 8px 0 16px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover { background: var(--chip); }
.nav a[aria-current="page"] { background: var(--chip); box-shadow: inset 0 0 0 1px var(--line); }
.nav .btn { margin-left: 6px; padding: 9px 16px; }

/* Mobile menu: a <details>, no script. */
.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu[open] summary { background: var(--glass-strong); }
.menu-panel {
  position: absolute;
  right: 0;
  top: 56px;
  width: min(290px, calc(100vw - 32px));
  padding: 10px;
  display: grid;
  gap: 2px;
  /* Nearly solid: the page under an open menu must not show through its text. */
  background: var(--menu-bg);
  border: 1px solid var(--rim);
  border-radius: 20px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}
.menu-panel a { color: var(--text); text-decoration: none; font-weight: 600; padding: 13px 14px; border-radius: 12px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--chip); }
.menu-panel .btn { margin-top: 6px; justify-content: center; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  color: var(--btn-text);
  background: linear-gradient(180deg, #ffa24a, #ff8a1f 55%, #f47b0c);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 2px 8px rgba(16, 19, 26, 0.08);
  transition: transform 150ms ease-out;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.btn-glass { color: var(--text); background: linear-gradient(180deg, var(--glass-top), var(--glass)); box-shadow: var(--shadow); }
.btn.btn-glass:hover { box-shadow: var(--shadow); background: var(--glass-strong); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-small { min-height: 38px; padding: 7px 14px; font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

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

section { padding: 72px 0; }
.section-head { max-width: 680px; margin: 0 0 32px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.22); }
@media (max-width: 600px) { section { padding: 48px 0; } }

/* Hero -------------------------------------------------------------------------------------- */

.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.lead { font-size: clamp(1.1rem, 2.3vw, 1.3rem); color: var(--muted); max-width: 600px; margin-bottom: 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 19px; height: 19px; }
.chip-a { left: -4%; top: 16%; }
.chip-b { right: -6%; top: 46%; }
.chip-c { left: 2%; bottom: 24%; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-left: auto; margin-right: auto; }
  .hero-text .btn-row, .hero-points { justify-content: center; }
  .chip-a { left: 0; } .chip-b { right: 0; } .chip-c { left: 4%; }
}
@media (max-width: 420px) {
  .float-chip { padding: 8px 10px; font-size: 0.8rem; }
  .float-chip small { display: none; }
  .float-chip .ic { width: 28px; height: 28px; }
}

/* Phone frame */
.phone {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 600 / 1300;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2f3a, #0d0f14 60%, #1b1f28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  flex: none;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #111; }
.phone::after {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #05060a;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

/* Cards ------------------------------------------------------------------------------------- */

.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.card { padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.card p + p { margin-top: 0.7em; }
.card .btn-row { margin-top: 18px; }
.icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--ink);
  background: rgb(var(--t) / 0.14);
  box-shadow: inset 0 0 0 1px rgb(var(--t) / 0.22);
}
.icon svg { width: 23px; height: 23px; }
.i-orange { --t: 255 138 31; --ink: #c2410c; --ink-d: #ffb066; }
.i-cyan { --t: 20 184 200; --ink: #0e7490; --ink-d: #67e8f9; }
.i-violet { --t: 124 92 255; --ink: #5b3fd6; --ink-d: #b9adff; }
.i-pink { --t: 236 72 153; --ink: #be185d; --ink-d: #f9a8d4; }
.i-green { --t: 34 197 94; --ink: #15803d; --ink-d: #86efac; }
.i-blue { --t: 59 130 246; --ink: #1d4ed8; --ink-d: #93c5fd; }
.i-amber { --t: 234 179 8; --ink: #a16207; --ink-d: #fde047; }
.i-slate { --t: 100 116 139; --ink: #475569; --ink-d: #cbd5e1; }
.i-teal { --t: 13 148 136; --ink: #0f766e; --ink-d: #5eead4; }
.float-chip .ic { color: var(--ink); background: rgb(var(--t) / 0.16); }
@media (prefers-color-scheme: dark) { .icon, .float-chip .ic { color: var(--ink-d); } }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 24px; }
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  color: var(--btn-text);
  background: var(--accent);
  margin-bottom: 16px;
}
.step .links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; font-size: 0.95rem; }

/* Differences */
.diff { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 18px; }
.diff ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.diff li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.diff li svg { width: 26px; height: 26px; color: var(--accent-2); margin-top: 2px; }
.diff li b { display: block; }
.diff li span { color: var(--muted); }
.diff .card { padding: 24px; }
@media (max-width: 860px) { .diff { grid-template-columns: 1fr; } }

/* Gallery ----------------------------------------------------------------------------------- */

.gallery { position: relative; }
.gallery-track {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 20px 28px;
  margin: 0 -20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-track:focus-visible { outline-offset: -3px; }
.shot { scroll-snap-align: center; flex: none; margin: 0; text-align: center; }
.shot .phone { width: 240px; }
.shot figcaption { margin-top: 14px; font-weight: 600; font-size: 0.98rem; }
.shot figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; max-width: 240px; margin: 2px auto 0; }
.gallery-nav { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.gallery-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text);
  font: inherit;
}
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-nav[hidden] { display: none; }
@media (min-width: 1180px) { .gallery-track { justify-content: center; } }

/* FAQ --------------------------------------------------------------------------------------- */

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { padding: 0; border-radius: 18px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -8px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease-out;
  opacity: 0.7;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Form -------------------------------------------------------------------------------------- */

.beta { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.beta ul { padding-left: 20px; color: var(--muted); }
.beta li { margin: 6px 0; }
@media (max-width: 900px) { .beta { grid-template-columns: 1fr; gap: 24px; } }
form.glass { padding: 24px; }
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 8px; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
input[type="email"], select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  color: var(--text);
  font: inherit;
}
input[type="email"]:focus, select:focus, textarea:focus { outline: 3px solid rgba(255, 138, 31, 0.5); outline-offset: 0; border-color: var(--accent); }
textarea { min-height: 96px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  font-weight: 500;
  font-size: 0.95rem;
}
.choice input:checked + span { background: rgba(255, 138, 31, 0.2); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #ff8a1f; flex: none; }
.check .hint { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { margin-top: 14px; font-weight: 600; min-height: 1.6em; }
#form-status.ok { color: var(--ok); }
#form-status.err { color: var(--err); }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
button:disabled { opacity: 0.6; cursor: default; }

/* Page and article ------------------------------------------------------------------------- */

.page-hero { padding: 56px 0 24px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: 0.92rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.article { padding: 32px 36px; margin-bottom: 72px; }
.article h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 1.6em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 24px; }
.article li { margin: 6px 0; }
.article li > ul { margin: 6px 0; }
.article .note {
  border-left: 4px solid var(--accent);
  background: var(--chip);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin: 0 0 1.2em;
}
.article .note p:last-child { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.96rem; }
.article th, .article td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { width: 34%; color: var(--muted); font-weight: 600; }
.ol-steps { list-style: none; counter-reset: s; padding: 0 !important; }
.ol-steps > li { counter-increment: s; position: relative; padding-left: 50px; margin: 0 0 22px; }
.ol-steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--btn-text);
  background: linear-gradient(180deg, #ffa24a, #ff8a1f);
}
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--chip); color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.toc a:hover { background: var(--glass-strong); }
.lang-part { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (max-width: 600px) {
  .article { padding: 22px 18px; border-radius: 18px; }
  .ol-steps > li { padding-left: 44px; }
}

/* Copy field */
.copy { display: flex; gap: 8px; align-items: stretch; margin: 0 0 1em; }
.copy code {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  word-break: break-all;
}
.copy button { flex: none; }

/* Download cards */
.dl-card { display: flex; flex-direction: column; padding: 24px; }
.dl-card .btn-row { margin-top: auto; padding-top: 20px; }
.dl-card ul { color: var(--muted); padding-left: 20px; margin: 12px 0 0; font-size: 0.96rem; }
.dl-card li { margin: 4px 0; }
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--muted);
  vertical-align: 3px;
  margin-left: 6px;
}

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

.site-footer { margin-top: 24px; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 44px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid h2 { font-size: 0.875rem; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid a { color: var(--text); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-grid a.brand { display: inline-flex; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid address { font-style: normal; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.footer-grid address a { color: var(--link); padding: 0; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; margin-top: 12px; max-width: 280px; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.not-found .big { font-size: clamp(5rem, 22vw, 9rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; margin: 0 0 8px; }

/* Small helpers ----------------------------------------------------------------------------- */

.h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.card-link { display: block; color: var(--text); text-decoration: none; }
.card-link:hover { border-color: rgb(255 138 31 / 0.45); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.big-mail { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 600; }
.big-mail svg { width: 26px; height: 26px; color: var(--accent-2); flex: none; }
.btn-center { justify-content: center; }
.dl { padding-top: 24px; }
.not-found .big { color: var(--accent); }
@media (max-width: 480px) {
  .copy { flex-direction: column; }
  .copy button { align-self: flex-start; }
}

/* The video player is a landscape screenshot. */
.phone.landscape { width: min(560px, 86vw); aspect-ratio: 1300 / 566; padding: 9px; border-radius: 30px; }
.phone.landscape img { border-radius: 18px; }
.phone.landscape::after { top: 50%; left: 16px; margin: -6px 0 0; width: 11px; height: 11px; }
.shot-wide { align-self: center; margin-top: -40px; }
.shot-wide figcaption span { max-width: 360px; }
.gallery-track { align-items: flex-start; }
.credits { text-align: center; font-size: 0.85rem; color: var(--muted); max-width: 760px; margin: 18px auto 0; }

/* The hero chips sit over the dark phone screen: a denser glass keeps their small text readable. */
.float-chip.glass { background: linear-gradient(180deg, var(--glass-strong), var(--glass-top)); }

/* Sharing with family and friends -------------------------------------------------------- */

.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.share-text .lead { margin-bottom: 26px; }
.share-steps { list-style: none; counter-reset: s; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.share-steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--muted); }
.share-steps li b { color: var(--text); }
.share-steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -1px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-size: 0.92rem;
  color: var(--btn-text);
  background: var(--accent);
}
.share-control {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--surface-line);
  margin-bottom: 16px;
}
.share-control h3 { margin-bottom: 6px; }
.share-control p { margin: 0; color: var(--muted); }
.share-note { font-size: 0.95rem; margin: 0; }
.share-shots { display: flex; justify-content: center; gap: 22px; }
.share-shots .phone { width: min(250px, 40vw); }
.share-shot-friend { margin-top: 64px; }
.share-shots figcaption { margin-top: 12px; text-align: center; font-weight: 600; }
.share-shots figcaption span { display: block; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.card-anchor { color: inherit; text-decoration: none; }
.card-anchor:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .share-grid { grid-template-columns: 1fr; gap: 36px; }
  .share-shots .phone { width: min(220px, 42vw); }
  .share-shot-friend { margin-top: 40px; }
}
.share-shots .shot { flex: 1 1 0; min-width: 0; max-width: 250px; margin: 0; }
.share-shots .phone { width: 100%; }
@media (max-width: 900px) { .share-shots .phone { width: 100%; } .share-shots { gap: 14px; } }

/* Nine feature cards: three by three, two by two on tablets, one column on phones. */
.grid-features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-features { grid-template-columns: 1fr; } }
.dl-note { font-size: 0.9rem; color: var(--muted); margin: 14px 0 0; }

.dl-meta { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.dl-meta .sha { display: block; margin-top: 4px; font-size: 0.78rem; word-break: break-all; }
.article .dl-meta, .article .dl-note { margin-top: 12px; }

/* Audit fixes ---------------------------------------------------------------------------- */

/* Every tap target at least 44px tall. */
.brand, .nav a, .btn-small, .choice span, .toc a, .step .links a, .footer-grid ul a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-grid ul { gap: 0; }
.footer-grid ul a { padding: 0; }
.step .links { gap: 0 16px; }

/* Long reading text stays near 72 characters a line. */
.article p, .article li { max-width: 72ch; }

/* One brand accent for all feature icons instead of nine hues. */
.icon[class*="i-"], .float-chip .ic[class*="i-"] { --t: 255 138 31; --ink: #c2410c; --ink-d: #ffb066; }

/* Tooltips for icon-only buttons, on hover and on keyboard focus. */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--bg);
  background: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease-out;
  z-index: 60;
}
[data-tip].tip-below::after { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; transform: none; }
[data-tip]:focus-visible::after { opacity: 1; }
@media (hover: hover) { [data-tip]:hover::after { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { [data-tip]::after { transition: none; } }

/* Inline error under a form field. */
.field-error { color: var(--err); font-size: 0.875rem; font-weight: 500; margin: 8px 0 0; }
input[aria-invalid="true"] { border-color: var(--err); }

/* Bold inside text uses the same semibold as headings: three weights in total. */
b, strong { font-weight: 600; }

/* The display face on headings and the wordmark. */
h1, h2, h3, .h3, .brand, .not-found .big { font-family: var(--font-display); }

/* The note under the download button in the hero. */
.hero-note { color: var(--muted); font-size: 0.875rem; line-height: 1.5; max-width: 520px; margin: 16px 0 0; }
.hero-note small { display: block; margin-top: 8px; font-size: 0.8125rem; }

/* What's new: the list and up to two screenshots beside it. */
.whatsnew { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.whatsnew:not(:has(.shot)) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.whatsnew-shots:not(:has(.shot)) { display: none; }
.whatsnew-text { padding: 32px; }
.whatsnew-text .eyebrow { margin-bottom: 16px; }
.whatsnew-list { margin: 0 0 24px; padding-left: 1.2em; display: grid; gap: 8px; }
.whatsnew-list li { max-width: 72ch; }
.whatsnew-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.whatsnew-shots .shot { margin: 0; }
@media (max-width: 860px) {
  .whatsnew { grid-template-columns: minmax(0, 1fr); }
  .whatsnew-shots { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) { .whatsnew-text { padding: 24px; } }

/* Preview only: where a screenshot still has to be taken. */
.shot-todo .phone { aspect-ratio: 600 / 1300; display: grid; place-items: center; border: 2px dashed var(--muted); background: transparent; }
.shot-todo .todo { padding: 16px; text-align: center; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.shot-todo code { font-size: 0.75rem; word-break: break-all; }
.whatsnew-shots .shot { min-width: 0; }
.whatsnew-shots .shot .phone { width: 100%; max-width: 240px; margin: 0 auto; }
.whatsnew-shots .shot figcaption span { max-width: none; }
.shot-todo .todo { overflow-wrap: anywhere; }
