/*
 * Show Browser — the site's one stylesheet.
 *
 * Same colour-press system as the Sage page at sage.show (warm paper, ink, a serif that
 * reads like print) so the product and its publisher are visibly one family.
 * Where Sage borrows the four letters of its logo, Show Browser borrows the six
 * inks of its swirl, and the swirl itself — a slowly turning ring — takes the
 * place of Sage's drawn infinity. Nothing coloured here is invented.
 *
 * Every page links this file and nothing else, so a change to the header or a
 * table lands on every page at once instead of drifting between eight copies.
 */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,600;6..96,800&family=Noto+Serif+Thai:wght@600;800&family=IBM+Plex+Sans+Thai:wght@400;500;600&display=swap");

:root {
  /* The swirl's six inks, sampled from the app icon. */
  --i-red: #e8262a;
  --i-orange: #ff7a1a;
  --i-yellow: #f2c200;
  --i-green: #1fae4b;
  --i-blue: #1f4fe0;
  --i-violet: #9b2ccf;
  /* Text-safe steps of the inks that carry words. */
  --t-red: #c81e22;
  --t-blue: #1f4fe0;
  --t-green: #13843a;

  --paper: #fbf7ef;
  --paper-2: #f3ecdf;
  --card: #ffffff;
  --ink: #17130e;
  --ink-2: #4a4238;
  --ink-3: #6f665a;
  --rule: #e4dac8;
  --shadow: 0 1px 0 rgba(23, 19, 14, .06), 0 24px 60px -24px rgba(58, 40, 12, .35);
  /* The ink band stays dark in both themes: inverted to cream, its yellow
     words drop below readable contrast. */
  --band-bg: #17130e;
  --band-fg: #fbf7ef;

  --display: "Bodoni Moda", "Noto Serif Thai", Georgia, serif;
  --body: "IBM Plex Sans Thai", "Leelawadee UI", system-ui, sans-serif;
  --wrap: min(1180px, 100% - 2.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15120e; --paper-2: #1d1914; --card: #221d17;
    --ink: #f6efe3; --ink-2: #cfc4b3; --ink-3: #a39888; --rule: #3a3229;
    --t-red: #ff6b5f; --t-blue: #8aa2ff; --t-green: #5fd48a;
    --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 30px 70px -28px rgba(0, 0, 0, .8);
    --band-bg: #0b0907;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #15120e; --paper-2: #1d1914; --card: #221d17;
  --ink: #f6efe3; --ink-2: #cfc4b3; --ink-3: #a39888; --rule: #3a3229;
  --t-red: #ff6b5f; --t-blue: #8aa2ff; --t-green: #5fd48a;
  --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 30px 70px -28px rgba(0, 0, 0, .8);
  --band-bg: #0b0907;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* clip, not hidden: the swirl ring behind the hero screenshot hangs past the
   edge on purpose, and only clip stops a phone from scrolling sideways to it
   without turning the page into a scroll container. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.75 var(--body); overflow-x: clip; }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .35;
  background-image: radial-gradient(rgba(120, 96, 60, .12) 1px, transparent 1px); background-size: 3px 3px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--i-blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Six-ink rule — the swirl laid flat. */
.inks { display: flex; height: 6px; position: relative; z-index: 2; }
.inks i { flex: 1; }
.inks i:nth-child(1) { background: var(--i-red); }
.inks i:nth-child(2) { background: var(--i-orange); }
.inks i:nth-child(3) { background: var(--i-yellow); }
.inks i:nth-child(4) { background: var(--i-green); }
.inks i:nth-child(5) { background: var(--i-blue); }
.inks i:nth-child(6) { background: var(--i-violet); }

/* ---------------------------------------------------------------- header */
.site-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.35rem/1 var(--display); letter-spacing: .005em; }
.brand img { width: 34px; height: 34px; }
.brand > span { white-space: nowrap; }
.nowrap { white-space: nowrap; }
/* The wordmark as the app writes it: S red, h yellow, o blue, w green. */
.brand .s { color: var(--i-red); } .brand .h { color: var(--i-yellow); } .brand .o { color: var(--i-blue); } .brand .w { color: var(--i-green); }
.site-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); padding: .5rem .8rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.site-nav .pill { background: var(--ink); color: var(--paper); font-weight: 600; margin-left: .35rem; }
.site-nav .pill:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.site-nav .pill[aria-current="page"] { background: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
@media (max-width: 760px) { .site-nav a:not(.pill):not(.lang) { display: none; } }

/* ------------------------------------------------------------------ type */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1.15rem; }
.eyebrow::before { content: ""; width: 2.6rem; height: 3px; background: linear-gradient(90deg, var(--i-red) 16.6%, var(--i-orange) 16.6% 33.3%, var(--i-yellow) 33.3% 50%, var(--i-green) 50% 66.6%, var(--i-blue) 66.6% 83.3%, var(--i-violet) 83.3%); }
.display { font: 800 clamp(2.5rem, 5.8vw, 4.8rem)/1.12 var(--display); letter-spacing: -.015em; margin: 0 0 1.4rem; text-wrap: balance; }
.display .c-blue { color: var(--t-blue); } .display .c-red { color: var(--t-red); } .display .c-green { color: var(--t-green); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36rem; margin: 0 0 2rem; }
.kicker { font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1rem; }
h2.title { font: 800 clamp(2rem, 4vw, 3.1rem)/1.18 var(--display); letter-spacing: -.01em; margin: 0 0 1rem; text-wrap: balance; }
.section-lede { color: var(--ink-2); max-width: 42rem; margin: 0 0 2.75rem; }
section.block { padding-block: clamp(4rem, 9vw, 7rem); position: relative; z-index: 1; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.1rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .2s; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px -12px rgba(23, 19, 14, .6); }
.btn-ink:hover { transform: translateY(-2px); }
.btn-line { border: 1.5px solid var(--rule); color: var(--ink); }
.btn-line:hover { background: var(--card); }
.btn:active { transform: scale(.98); }

/* ------------------------------------------------------ download options
   Every page's download block is the same component. /platform.js marks the
   device on <html>; the matching option moves to the top and takes the ink
   fill. With no script (most crawlers) all options show in written order. */
.dl { display: flex; flex-direction: column; gap: .75rem; max-width: 34rem; }
.dl-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; min-height: 4.6rem; border-radius: 16px; text-decoration: none; border: 1.5px solid var(--rule); background: var(--card); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s; }
.dl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink-3); }
.dl-card svg { width: 26px; height: 26px; flex: 0 0 auto; }
.dl-card strong { display: block; font-size: 1.08rem; line-height: 1.3; }
.dl-card small { display: block; font-size: .88rem; color: var(--ink-3); }
.dl-card .go { margin-left: auto; font-size: 1.2rem; opacity: .55; transition: transform .35s var(--ease); }
.dl-card:hover .go { transform: translate(3px, -1px); }
.dl-card.lead, [data-platform="ios"] .dl-card[data-for="ios"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dl-card.lead small, [data-platform="ios"] .dl-card[data-for="ios"] small { color: color-mix(in srgb, var(--paper) 72%, transparent); }
[data-platform="ios"] .dl-card[data-for="ios"],
[data-platform="android"] .dl-soon { order: -1; }
[data-platform="ios"] .dl-card.lead[data-for="windows"],
[data-platform="android"] .dl-card.lead[data-for="windows"] { background: var(--card); color: var(--ink); border-color: var(--rule); }
[data-platform="ios"] .dl-card.lead[data-for="windows"] small,
[data-platform="android"] .dl-card.lead[data-for="windows"] small { color: var(--ink-3); }
.dl-soon { display: none; border-style: dashed; background: transparent; color: var(--ink-2); }
.dl-soon:hover { transform: none; box-shadow: none; border-color: var(--rule); }
[data-platform="android"] .dl-soon { display: flex; }
[data-platform="ios"] .not-ios, [data-platform="android"] .not-mobile, [data-platform="ios"] .not-mobile { display: none; }
.only-mac { display: none; color: var(--ink-2); font-size: .95rem; margin: .9rem 0 0; max-width: 34rem; }
[data-platform="mac"] .only-mac { display: block; }
.dl-meta { margin: 1rem 0 0; color: var(--ink-3); font-size: .9rem; }
.dl-meta a { color: var(--t-blue); }

/* ------------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6.5rem); }
.stage { position: relative; }
/* The swirl as a ring behind the product: six inks turning slowly. */
.stage::before {
  content: ""; position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; right: -8%; top: -12%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--i-red), var(--i-orange), var(--i-yellow), var(--i-green), var(--i-blue), var(--i-violet), var(--i-red));
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%); mask: radial-gradient(circle, transparent 55%, #000 56%);
  opacity: .9;
}
.shot { position: relative; z-index: 2; margin: 0; transform: rotate(-2deg); transition: transform .8s var(--ease); }
.stage:hover .shot { transform: rotate(0) translateY(-4px); }
.shot img { width: 100%; border-radius: 14px; border: 1px solid var(--rule); box-shadow: var(--shadow); background: var(--card); }
.shot::before, .shot::after { content: ""; position: absolute; inset: 0; border-radius: 16px; z-index: -1; }
.shot::before { background: var(--i-red); transform: rotate(3.5deg) translate(14px, 12px); }
.shot::after { background: var(--i-blue); transform: rotate(-6deg) translate(-14px, 18px); z-index: -2; }
.shot figcaption { position: absolute; left: 1.2rem; bottom: -1rem; background: var(--i-yellow); color: #2a1d02; font: 600 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: .55rem .8rem; border-radius: 6px; transform: rotate(-1.5deg); }

/* ------------------------------------------------------------- ink band */
.band { position: relative; z-index: 1; overflow: hidden; background: var(--band-bg); color: var(--band-fg); border-block: 1px solid color-mix(in srgb, var(--band-fg) 8%, transparent); padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.band::before {
  content: ""; position: absolute; width: min(900px, 120vw); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; opacity: .18;
  background: conic-gradient(var(--i-red), var(--i-orange), var(--i-yellow), var(--i-green), var(--i-blue), var(--i-violet), var(--i-red));
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 70%, transparent 71%); mask: radial-gradient(circle, transparent 60%, #000 61%, #000 70%, transparent 71%);
}
.band blockquote { position: relative; margin: 0 auto; max-width: 52rem; text-align: center; font: 600 clamp(1.55rem, 3.3vw, 2.5rem)/1.4 var(--display); text-wrap: balance; }
.band blockquote span { color: var(--i-yellow); }

/* ----------------------------------------------------------- principles */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.principles li { padding: 2rem 2rem 0 0; }
.principles li + li { padding-left: 2rem; border-left: 1px solid var(--rule); }
.principles .n { display: block; font: 800 3.4rem/1 var(--display); margin-bottom: 1rem; }
.principles li:nth-child(1) .n { color: var(--t-red); } .principles li:nth-child(2) .n { color: var(--t-green); } .principles li:nth-child(3) .n { color: var(--t-blue); }
.principles h3 { font: 800 1.3rem/1.35 var(--display); margin: 0 0 .5rem; }
.principles p { color: var(--ink-2); margin: 0; }

/* ----------------------------------------------------- feature bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { grid-column: span 2; position: relative; padding: 1.6rem 1.5rem 1.5rem; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile.wide { grid-column: span 3; }
.tile.tall { grid-row: span 2; }
.tile h3 { font: 800 1.2rem/1.35 var(--display); margin: 0 0 .45rem; }
.tile p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.tile .mark { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; margin-bottom: .9rem; background: color-mix(in srgb, var(--ink-c, var(--i-blue)) 14%, transparent); color: var(--ink-c, var(--i-blue)); font-size: 1.25rem; }
.tile.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile.dark p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.c1 { --ink-c: var(--i-red); } .c2 { --ink-c: var(--i-orange); } .c3 { --ink-c: #d9a600; } .c4 { --ink-c: var(--i-green); } .c5 { --ink-c: var(--i-blue); } .c6 { --ink-c: var(--i-violet); }

/* --------------------------------------------------------- platform row */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plat { display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border-radius: 20px; border: 1.5px solid var(--rule); background: var(--card); text-decoration: none; transition: transform .45s var(--ease), border-color .2s; }
a.plat:hover { transform: translateY(-3px); border-color: var(--ink-3); }
.plat svg { width: 30px; height: 30px; }
.plat strong { font: 800 1.35rem/1.25 var(--display); }
.plat span { color: var(--ink-2); font-size: .96rem; }
.plat em { margin-top: auto; font-style: normal; font-weight: 600; color: var(--t-blue); padding-top: .6rem; }
.plat.soon { border-style: dashed; background: transparent; }
.plat.soon em { color: var(--ink-3); }
[data-platform="ios"] .platforms [data-for="ios"], [data-platform="windows"] .platforms [data-for="windows"], [data-platform="android"] .platforms [data-for="android"] { order: -1; border-color: var(--ink); }

/* ---------------------------------------------------------- compare */
.compare { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.compare th, .compare td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-weight: 700; background: var(--paper-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; width: 34%; }
.compare .yes { color: var(--t-green); font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: 20px; }

/* --------------------------------------------------------------- faq */
.faq details { border-top: 1px solid var(--rule); padding: 1.15rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font: 600 1.08rem/1.5 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--display); color: var(--ink-3); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--ink-2); max-width: 48rem; }

/* ------------------------------------------------------------ closing */
.closing { text-align: center; padding-block: clamp(4rem, 8vw, 6rem); }
.closing .dl { margin-inline: auto; text-align: left; }
/* On the ink band every option is paper, whatever the device: an ink button
   on an ink band is a button nobody can see. */
.band .dl .dl-card.dl-card { background: var(--band-fg); color: var(--band-bg); border-color: transparent; }
.band .dl .dl-card.dl-card small { color: #6f665a; }

/* ---------------------------------------------------------------- footer */
.site-foot { position: relative; z-index: 1; border-top: 1px solid var(--rule); padding-block: 2.8rem 3.2rem; color: var(--ink-3); font-size: .93rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; }
.site-foot h4 { margin: 0 0 .7rem; color: var(--ink); font: 600 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-foot .fine { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------ doc pages
   Features, comparisons, FAQ, privacy: long reading in one column, same ink. */
.doc { max-width: 52rem; margin: 0 auto; padding: clamp(2.2rem, 5vw, 4rem) 1.25rem 0; position: relative; z-index: 1; }
.doc .crumb { margin: 0 0 1rem; color: var(--ink-3); font-size: .9rem; }
.doc .crumb a { text-decoration: none; } .doc .crumb a:hover { color: var(--ink); }
.doc h1 { font: 800 clamp(2rem, 4.6vw, 3.3rem)/1.2 var(--display); letter-spacing: -.01em; margin: 0 0 1rem; text-wrap: balance; }
.doc h2 { font: 800 clamp(1.45rem, 2.6vw, 1.9rem)/1.3 var(--display); margin: 3.2rem 0 .7rem; scroll-margin-top: 1rem; }
.doc h3 { font-size: 1.1rem; margin: 1.8rem 0 .4rem; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.85; }
.doc p { margin: 0 0 .9rem; }
.doc a:not(.btn):not(.dl-card) { color: var(--t-blue); }
.doc .lede { font-size: 1.15rem; max-width: none; }
.doc .sub, .doc .count, .doc .updated, .doc .meta { color: var(--ink-3); font-size: .93rem; }
.doc table { width: 100%; margin: 1rem 0 .4rem; border-collapse: collapse; font-size: .97rem; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.doc th, .doc td { padding: .8rem 1rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.doc thead th { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.doc td:first-child { width: 32%; font-weight: 600; color: var(--ink); }
.doc tr:last-child td { border-bottom: 0; }
.doc .toc { margin: 1.5rem 0 .5rem; padding: 1.2rem 1.4rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.doc .toc strong { display: block; margin-bottom: .6rem; }
.doc .toc a { display: inline-block; margin: 0 1rem .5rem 0; }
.doc .cta, .doc .honest, .doc .callout, .doc .answer { margin: 2rem 0 0; padding: 1.3rem 1.5rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
/* Emphasis by tint, not by a coloured bar down one edge. */
.doc .answer { border-color: color-mix(in srgb, var(--i-blue) 30%, var(--rule)); background: color-mix(in srgb, var(--i-blue) 7%, var(--card)); font-size: 1.08rem; color: var(--ink); }
.doc .callout { border-color: color-mix(in srgb, var(--i-yellow) 45%, var(--rule)); background: color-mix(in srgb, var(--i-yellow) 10%, var(--card)); }
.doc .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.doc .cta p { flex: 1 1 16rem; margin: 0; }
.doc .honest h2 { margin-top: 0; }
.doc details { border-top: 1px solid var(--rule); padding: 1rem 0; }
.doc details:last-of-type { border-bottom: 1px solid var(--rule); }
.doc summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.doc details p { margin: .6rem 0 0; }
.doc ul.list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.doc ul.list li { position: relative; padding: .8rem 1rem .8rem 2.6rem; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; }
.doc ul.list li::before { content: "✓"; position: absolute; left: 1rem; top: .8rem; color: var(--t-green); font-weight: 700; }
.doc ul.list li strong { color: var(--ink); }
.doc .pillars, .doc .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .9rem; margin: 1.6rem 0 0; }
.doc .pillar, .doc .grid .card { padding: 1.2rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
.doc .pillar b { display: block; font-size: 1.5rem; margin-bottom: .4rem; }
.doc .pillar h3 { margin: 0 0 .3rem; }
.doc .pillar p, .doc .grid .card p { margin: 0; font-size: .96rem; }
.doc .grid .card strong { display: block; margin-bottom: .3rem; color: var(--ink); }
.doc .kicker { margin-bottom: .8rem; }
.doc .dl { margin: 1.6rem 0 0; }
.doc code { font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 5px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .8rem; }
.steps li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: .85rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font: 800 .95rem/1 var(--display); }

/* ------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
  .stage { opacity: 0; animation: rise 1.1s var(--ease) .2s forwards; }
  .stage::before { animation: turn 60s linear infinite; }
  .band::before { animation: turn 90s linear infinite reverse; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes turn { to { rotate: 360deg; } }
}

/* -------------------------------------------------------- small screens */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .stage { max-width: 36rem; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.tall { grid-row: auto; }
  .platforms { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { padding: 1.7rem 0; border-left: 0; }
  .principles li + li { border-top: 1px solid var(--rule); }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr; }
}
