/*
 * Sage Showbrowser — the site's one stylesheet.
 *
 * Owner decision 2026-09-20 (design/theme-ref/THEME.md): white theme only,
 * layout and colour follow Google's own product pages (the browser download
 * page in particular): a white page, a large plain headline in #202124, grey
 * #5f6368 body text, #dadce0 hairlines and one #0b57d0 pill button. Colour
 * appears only in the logo, the wordmark and the product images.
 * There is deliberately no dark theme.
 *
 * Every page links this file, so a change to the header or a table lands on
 * every page at once instead of drifting between copies. Class names are the
 * same ones the pages already use; only the look changed.
 */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap");

:root {
  /* The wordmark's letters: the only place the swirl colours remain. */
  --i-red: #e8262a;
  --i-yellow: #f2c200;
  --i-green: #1fae4b;
  --i-blue: #1f4fe0;

  --bg: #ffffff;
  --surface: #f8fafd;      /* quiet grey sections, like Google's tinted bands */
  --surface-2: #f1f3f4;
  --ink: #202124;
  --ink-2: #5f6368;
  --ink-3: #5f6368;
  --rule: #dadce0;
  --blue: #0b57d0;
  --blue-hover: #0842a0;
  --blue-soft: #d3e3fd;
  --link: #0b57d0;
  --ok: #137333;
  --shadow: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
  --shadow-2: 0 1px 3px rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);

  /* Old names still used in inline styles on some pages. */
  --t-blue: var(--link);
  --t-red: var(--ink);
  --t-green: var(--ok);
  --paper: var(--bg);
  --paper-2: var(--surface-2);
  --card: var(--bg);

  --display: "Archivo", "IBM Plex Sans Thai", "Leelawadee UI", system-ui, sans-serif;
  --body: "IBM Plex Sans Thai", "Archivo", "Leelawadee UI", system-ui, sans-serif;
  --wrap: min(1200px, 100% - 3rem);
  --ease: cubic-bezier(.2, 0, 0, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.65 var(--body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: fixed; z-index: 10; left: 1rem; top: 1rem; padding: .65rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; text-decoration: none; transform: translateY(-180%); transition: transform .2s var(--ease); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* The six-colour strip from the old design: not part of a white page. */
.inks { display: none; }

/* ---------------------------------------------------------------- header */
.site-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 3rem; text-decoration: none; font: 500 1.35rem/1 var(--display); color: var(--ink-2); }
.brand img { width: 32px; height: 32px; }
.brand > span { white-space: nowrap; }
.brand .s { color: var(--i-red); } .brand .h { color: #d9a600; } .brand .o { color: var(--i-blue); } .brand .w { color: var(--i-green); }
.site-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.site-nav a { display: inline-flex; align-items: center; min-height: 3rem; text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink-2); padding: .55rem .9rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.site-nav .pill { background: var(--blue); color: #fff; margin-left: .4rem; padding-inline: 1.25rem; }
.site-nav .pill:hover, .site-nav .pill[aria-current="page"] { background: var(--blue-hover); color: #fff; }
@media (max-width: 760px) { .site-nav a:not(.pill):not(.lang) { display: none; } }

/* ------------------------------------------------------------------ type */
/* Eyebrows and kickers are small plain labels, not tracked-out caps. */
.eyebrow { display: block; font-size: 1rem; font-weight: 500; color: var(--ink-2); margin: 0 0 1rem; }
.display { font: 500 clamp(2.4rem, 5.4vw, 4.25rem)/1.12 var(--display); letter-spacing: -.02em; margin: 0 auto 1.25rem; max-width: 18ch; text-wrap: balance; color: var(--ink); }
.display .c-blue, .display .c-red, .display .c-green { color: inherit; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 40rem; margin: 0 auto 2rem; }
.kicker { font: 500 1rem/1.4 var(--body); color: var(--ink-2); margin: 0 0 .75rem; }
h2.title { font: 500 clamp(1.9rem, 3.6vw, 3rem)/1.2 var(--display); letter-spacing: -.015em; margin: 0 0 1rem; text-wrap: balance; color: var(--ink); }
.section-lede { color: var(--ink-2); font-size: 1.125rem; max-width: 44rem; margin: 0 0 3rem; }
.section-lede a { color: var(--link); }
section.block { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
/* Pages put style="padding-top:0" on stacked sections; keep the gap readable. */
section.block[style*="padding-top"] { padding-top: clamp(1rem, 3vw, 2rem) !important; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .75rem 1.6rem; border-radius: 999px; font-weight: 500; font-size: 1rem; text-decoration: none; transition: background-color .2s, box-shadow .2s, border-color .2s; }
.btn-ink { background: var(--blue); color: #fff; }
.btn-ink:hover { background: var(--blue-hover); box-shadow: var(--shadow); }
.btn-ink { border: 0; }
.btn-line { border: 1px solid var(--rule); color: var(--blue); background: var(--bg); }
.btn-line:hover { background: #f6f9fe; border-color: #c4c7c5; }
.btn:active { transform: scale(.98); }

/* ------------------------------------------------------ download options
   /platform.js marks the device on <html>; the matching option moves to the
   top and becomes the blue button. With no script all options show in order. */
.dl { display: flex; flex-direction: column; gap: .75rem; max-width: 30rem; }
.dl-card { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.5rem; min-height: 4.25rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--rule); background: var(--bg); color: var(--ink); text-align: left; transition: background-color .2s, box-shadow .2s, border-color .2s, transform .2s var(--ease); }
.dl-card:hover { background: #f6f9fe; border-color: #c4c7c5; }
.dl-card svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--ink-2); }
.dl-card strong { display: block; font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.dl-card small { display: block; font-size: .875rem; color: var(--ink-2); line-height: 1.4; }
.dl-card .go { margin-left: auto; font-size: 1.1rem; opacity: .75; }
.dl-card.lead, [data-platform="ios"] .dl-card[data-for="ios"] { background: var(--blue); color: #fff; border: 0; padding: calc(.85rem + 1px) calc(1.5rem + 1px); }
.dl-card.lead:hover, [data-platform="ios"] .dl-card[data-for="ios"]:hover { background: var(--blue-hover); box-shadow: var(--shadow); }
.dl-card.lead svg, [data-platform="ios"] .dl-card[data-for="ios"] svg { color: #fff; }
.dl-card.lead small, [data-platform="ios"] .dl-card[data-for="ios"] small { color: #e8f0fe; }
[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(--bg); color: var(--ink); border: 1px solid var(--rule); padding: .85rem 1.5rem; box-shadow: none; }
[data-platform="ios"] .dl-card.lead[data-for="windows"] svg,
[data-platform="android"] .dl-card.lead[data-for="windows"] svg { color: var(--ink-2); }
[data-platform="ios"] .dl-card.lead[data-for="windows"] small,
[data-platform="android"] .dl-card.lead[data-for="windows"] small { color: var(--ink-2); }
.dl-soon { display: none; border-style: dashed; background: var(--bg); color: var(--ink-2); }
.dl-soon:hover { background: var(--bg); 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: 30rem; }
[data-platform="mac"] .only-mac { display: block; }
.dl-meta { margin: 1rem 0 0; color: var(--ink-2); font-size: .875rem; }
.dl-meta a { color: var(--link); }
.mail-cta { margin: .75rem 0 0; }
.mail-cta a { display: inline-flex; align-items: center; min-height: 3rem; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; color: var(--link); text-decoration: none; font-size: .95rem; font-weight: 500; transition: background-color .2s; }
.mail-cta a:hover { background: #f6f9fe; text-decoration: underline; }

/* ------------------------------------------------------------------ hero
   Centred headline, one blue button, then the product image full width
   underneath: the layout of Google's own browser download page. */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(2.5rem, 6vw, 4.5rem); padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5.5rem); }
.hero > div:first-child { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero .dl { width: 100%; margin-inline: auto; }
.hero .only-mac, .hero .mail-cta, .hero .dl-meta { margin-inline: auto; }
.stage { position: relative; width: 100%; max-width: 64rem; }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; border-radius: 24px; border: 1px solid var(--rule); box-shadow: var(--shadow-2); background: var(--bg); }
.shot figcaption { margin-top: 1rem; color: var(--ink-2); font-size: .875rem; text-align: center; }

/* ------------------------------------------------------------- quote band
   A quiet grey band with a plain large statement. */
.band { position: relative; background: var(--surface); color: var(--ink); padding-block: clamp(3.5rem, 8vw, 6rem); }
.band blockquote { margin: 0 auto; max-width: 50rem; text-align: center; font: 500 clamp(1.5rem, 3.2vw, 2.4rem)/1.35 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.band blockquote span { color: var(--blue); }

/* ----------------------------------------------------------- principles */
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.principles li { padding: 2rem; border-radius: 24px; background: var(--surface); }
.principles .n { display: block; font: 500 1rem/1 var(--display); color: var(--blue); margin-bottom: 1.25rem; }
.principles h3 { font: 500 1.4rem/1.35 var(--display); margin: 0 0 .5rem; color: var(--ink); }
.principles p { color: var(--ink-2); margin: 0; }

/* ----------------------------------------------------- features
   .rows: alternating text / image rows. .bento: the smaller extras below. */
.rows { display: grid; gap: clamp(3rem, 7vw, 6rem); margin-bottom: clamp(3rem, 7vw, 5rem); }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.row:nth-child(even) .row-media { order: -1; }
.row h3 { font: 500 clamp(1.6rem, 2.8vw, 2.25rem)/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 .9rem; color: var(--ink); }
.row p { margin: 0; color: var(--ink-2); font-size: 1.125rem; max-width: 34rem; }
.row-media { margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; }
.row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }

.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
.tile { position: relative; padding: 1.75rem; border-radius: 24px; background: var(--surface); transition: box-shadow .2s, transform .2s var(--ease), background-color .2s; }
.tile h3 { font: 500 1.2rem/1.35 var(--display); margin: 0 0 .5rem; color: var(--ink); }
.tile p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.tile .mark { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; margin-bottom: 1rem; background: var(--bg); font-size: 1.3rem; }
.tile.dark { background: var(--blue-soft); }
.tile.dark h3 { color: #041e49; }
.tile.dark p { color: #1f3760; }

/* --------------------------------------------------------- platform row */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plat { display: flex; flex-direction: column; gap: .5rem; padding: 2rem; border-radius: 24px; border: 1px solid var(--rule); background: var(--bg); text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s, transform .2s var(--ease); }
a.plat:hover { box-shadow: var(--shadow-2); border-color: transparent; }
.plat svg { width: 32px; height: 32px; color: var(--ink-2); }
.plat strong { font: 500 1.4rem/1.25 var(--display); margin-top: .5rem; }
.plat span { color: var(--ink-2); font-size: .975rem; }
.plat em { margin-top: auto; font-style: normal; font-weight: 500; color: var(--link); padding-top: .75rem; }
.plat.soon { border-style: dashed; }
.plat.soon em { color: var(--ink-2); }
[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(--blue); }

/* ---------------------------------------------------------- compare */
.compare { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; background: var(--bg); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.compare thead th { font-weight: 500; color: var(--ink); border-bottom-color: #c4c7c5; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 500; width: 34%; color: var(--ink); }
.compare .yes { color: var(--ok); font-weight: 500; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 24px; }

/* --------------------------------------------------------------- faq */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; min-height: 3.5rem; padding-block: .75rem; justify-content: space-between; align-items: center; gap: 1rem; font: 500 1.125rem/1.5 var(--body); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: .6rem; height: .6rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 1.25rem; color: var(--ink-2); max-width: 48rem; }

@media (hover: hover) {
  .dl-card:not(.dl-soon):hover { transform: translateY(-2px); }
  .row:hover .row-media img { transform: scale(1.025); }
  .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  a.plat:hover { transform: translateY(-3px); }
}

/* ------------------------------------------------------------ closing */
.closing { text-align: center; padding-block: clamp(4rem, 8vw, 6rem); }
.closing .dl { margin-inline: auto; }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid var(--rule); background: var(--surface); padding-block: 3rem; color: var(--ink-2); font-size: .875rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; }
.site-foot .brand { font-size: 1.15rem; }
.site-foot h4 { margin: 0 0 .75rem; color: var(--ink); font: 500 .95rem/1.3 var(--body); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; }
.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. */
.doc { max-width: 50rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 0; }
.doc .crumb { margin: 0 0 1.25rem; color: var(--ink-2); font-size: .875rem; }
.doc .crumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; text-decoration: none; color: var(--link); } .doc .crumb a:hover { text-decoration: underline; }
.doc h1 { font: 500 clamp(2.1rem, 4.6vw, 3.4rem)/1.18 var(--display); letter-spacing: -.02em; margin: 0 0 1.25rem; text-wrap: balance; color: var(--ink); }
.doc h2 { font: 500 clamp(1.5rem, 2.6vw, 2rem)/1.3 var(--display); margin: 3.25rem 0 .75rem; scroll-margin-top: 1rem; color: var(--ink); }
.doc h3 { font-size: 1.15rem; font-weight: 500; margin: 1.8rem 0 .4rem; color: var(--ink); }
.doc p, .doc li { color: var(--ink-2); line-height: 1.8; }
.doc p { margin: 0 0 .9rem; }
.doc a:not(.btn):not(.dl-card) { color: var(--link); }
.doc .lede { font-size: 1.2rem; max-width: none; margin-inline: 0; }
.doc .sub, .doc .count, .doc .updated, .doc .meta { color: var(--ink-2); font-size: .875rem; }
.doc table { width: 100%; margin: 1rem 0 .4rem; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: var(--bg); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.doc th, .doc td { padding: .85rem 1rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; color: var(--ink-2); }
.doc thead th { background: var(--surface); color: var(--ink); font-weight: 500; }
.doc td:first-child { width: 32%; font-weight: 500; color: var(--ink); }
.doc tr:last-child td { border-bottom: 0; }
.doc .toc { margin: 1.5rem 0 .5rem; padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--surface); }
.doc .toc strong { display: block; margin-bottom: .6rem; font-weight: 500; }
.doc .toc a { display: inline-flex; align-items: center; min-height: 2.75rem; margin: 0 1rem 0 0; }
.doc .cta, .doc .honest, .doc .callout, .doc .answer { margin: 2rem 0 0; padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--surface); }
.doc .answer { background: #e8f0fe; font-size: 1.08rem; color: var(--ink); }
.doc .callout { background: #fef7e0; }
.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); }
.doc details:last-of-type { border-bottom: 1px solid var(--rule); }
.doc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding-block: .75rem; font-weight: 500; color: var(--ink); }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: ""; flex: 0 0 auto; width: .55rem; height: .55rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.doc details[open] summary::after { transform: rotate(-135deg); }
.doc summary:hover, .faq summary:hover { color: var(--blue); }
.doc details p { margin: 0 0 1.1rem; }
.doc ul.list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.doc ul.list li { position: relative; padding: .8rem 1rem .8rem 2.75rem; background: var(--surface); border-radius: 12px; }
.doc ul.list li::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: .45rem; height: .8rem; border-right: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(45deg); }
.doc ul.list li strong { color: var(--ink); font-weight: 500; }
.doc .pillars, .doc .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 1.6rem 0 0; }
.doc .pillar, .doc .grid .card { padding: 1.4rem; border-radius: 16px; background: var(--surface); }
.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: .95rem; }
.doc .grid .card strong { display: block; margin-bottom: .3rem; color: var(--ink); font-weight: 500; }
.doc .kicker { margin-bottom: .75rem; }
.doc .dl { margin: 1.6rem 0 0; }
.doc code { font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .75rem; }
.steps li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.75rem; background: var(--surface); border-radius: 16px; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: .9rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font: 500 .9rem/1 var(--display); }

/* ------------------------------------------------------------- motion
   One entrance on load for the hero; nothing moves after that. */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(12px); animation: rise .7s var(--ease) forwards; }
  .d1 { animation-delay: .05s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .19s; } .d4 { animation-delay: .26s; }
  .stage { opacity: 0; animation: rise .9s var(--ease) .3s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* Content always starts visible. JavaScript only opts into this after it
     confirms IntersectionObserver is available, so older browsers never lose
     content while modern browsers get a quiet, one-time entrance. */
  .motion-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .motion-ready .reveal.is-visible { opacity: 1; transform: none; }
}

/* -------------------------------------------------------- small screens */
@media (max-width: 920px) {
  .row { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-media { order: 0; }
  .platforms, .principles { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --wrap: min(1200px, 100% - 2rem); }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .dl-card { border-radius: 24px; padding-inline: 1.1rem; }
  .principles li, .tile, .plat { padding: 1.5rem; }
}
/* Wide tables in long pages scroll inside themselves on phones instead of
   being clipped at the screen edge. */
@media (max-width: 700px) {
  .doc table { display: block; overflow-x: auto; }
}
