/* Orange Arc — site styles. System fonts, no web fonts or scripts; colors are the Glasslid icon's
   graphite and orange arc. Every text pair is WCAG AA or better (see README). */

:root {
  --bg: #FFFFFF;
  --bg-2: #F4F5F7;
  --ink: #16191F;
  --ink-2: #4B5262;
  --line: #E2E4E9;
  --brand: #FF5500;          /* the logo's orange: marks only, never text */
  --accent: #C8430F;         /* button fill, white text 4.9:1 */
  --accent-ink: #FFFFFF;
  --link: #B53B0C;           /* 5.8:1 on --bg, 5.3:1 on --bg-2 */
  --key-bg: #FFFFFF;
  --shot-shadow: 0 1px 2px rgba(16, 19, 26, .08), 0 24px 48px -16px rgba(16, 19, 26, .28);
  --radius-shot: 8px;          /* Windows 11 window corners */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --wrap: 1120px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1014;
    --bg-2: #161920;
    --ink: #ECEEF2;
    --ink-2: #A2A8B3;
    --line: #252932;
    --brand: #FF5500;
    --accent: #FF7A3D;       /* dark text on it, 6.8:1 */
    --accent-ink: #16191F;
    --link: #FF8A4D;         /* 8.2:1 on --bg, 7.5:1 on --bg-2 */
    --key-bg: #1C2028;
    --shot-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 48px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }

h1 { font-size: clamp(44px, 7.2vw, 84px); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.022em; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 12px; }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 28px; width: auto; }   /* the lockup from tools/logo.py */

.site-header nav { display: flex; gap: 28px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--ink); }

/* ---------- sections ---------- */

section { padding-block: clamp(72px, 10vw, 136px); }
.band { background: var(--bg-2); }

.hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 96px); }

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.eyebrow img { width: 32px; height: 32px; }

.hero h1 { max-width: 11.5em; }
.lede { margin-top: 24px; max-width: 34em; color: var(--ink-2); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }

.pill {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 17px; font-weight: 600; text-decoration: none;
}
.pill-primary { background: var(--accent); color: var(--accent-ink); }
.pill-quiet { border: 1.5px solid var(--line); color: var(--ink); }

/* The line under a call to action: price, trial, where */
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 600; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }

.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ---------- screenshots ---------- */

.shot { margin: 0; }
.shot img { border-radius: var(--radius-shot); box-shadow: var(--shot-shadow); }

.shot-hero { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: center; }
.shot-hero img { width: min(900px, 100%); }

/* ---------- keys ---------- */

.keys { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.keys li { display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.keycaps { display: flex; gap: 8px; }

kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 48px; padding: 0 14px;
  font: 600 15px/1 var(--font-mono); color: var(--ink);
  background: var(--key-bg); border: 1px solid var(--line); border-bottom-width: 4px; border-radius: 10px;
}

/* ---------- features ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse > .copy { order: 2; }
.copy p { margin-top: 20px; color: var(--ink-2); font-size: 19px; line-height: 1.5; max-width: 30em; }
.copy p + p { margin-top: 12px; }
.copy.narrow { max-width: 760px; }

.shot-panel { display: flex; justify-content: center; }
.shot-panel img { width: 337px; }

/* Two windows, one over the other, the way a desktop looks */
.layered { position: relative; margin-top: 56px; padding-bottom: 14%; }
.layered .back { width: 74%; }
.layered .front { position: absolute; right: 0; bottom: 0; width: 54%; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font: 500 15px/1 var(--font-mono); padding: 11px 14px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
}

/* ---------- formats table ---------- */

.spec { width: 100%; margin-top: 40px; border-collapse: collapse; font-size: 17px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px 0; border-top: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th { width: 200px; font-weight: 600; padding-right: 24px; }
.spec td { color: var(--ink-2); }

/* ---------- facts ---------- */

.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-2); }

section.support { padding-block: clamp(56px, 7vw, 96px); }
.support-line { margin-top: 16px; color: var(--ink-2); font-size: 19px; }
.support h2 + .support-line { margin-top: 20px; }

/* ---------- company home ---------- */

/* the company line stays short so the products reach the first screen of a 1366x768 laptop */
.hero.company { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(36px, 4.5vw, 56px); }
.hero.company h1 { max-width: 12em; font-size: clamp(40px, 5.8vw, 68px); }
.products { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.band.compact { padding-block: clamp(48px, 6vw, 80px); }
.label { font-size: 17px; letter-spacing: 0; color: var(--ink-2); }
.product-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product { --card-pad: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; padding: var(--card-pad); border-radius: 20px; background: var(--bg-2); overflow: hidden; }
.product-head { display: flex; align-items: center; gap: 18px; }
.product-icon { width: 64px; height: 64px; flex: none; }
.product h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.product-line { margin-top: 20px; font-size: 19px; line-height: 1.45; }
.product .product-meta { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
/* padding, not inline-flex, makes the 44 px target: a flex link would drop the space before its arrow */
.product .text-link { padding-top: 16px; padding-bottom: 4px; }
/* the product itself, pushed to the bottom and running off the card's edge */
.product-shot { align-self: stretch; margin: auto 0 calc(-1 * var(--card-pad)); padding-top: 32px; }
.product-shot img { width: 100%; height: auto; border-radius: 10px 10px 0 0; box-shadow: var(--shot-shadow); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--ink-2); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- prose (privacy, 404) ---------- */

.prose { padding-block: clamp(56px, 8vw, 96px); }
.prose .wrap { max-width: 720px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); }
.prose .meta { margin-top: 14px; color: var(--ink-2); }
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 44px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose .summary { margin-top: 28px; padding: 20px 22px; border-radius: 12px; background: var(--bg-2); color: var(--ink); }

/* ---------- Glasslid page: product bar ---------- */

.product-bar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.product-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.product-name { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.product-name img { width: 24px; height: 24px; }
.product-links { display: flex; align-items: center; gap: 24px; }
.product-links a:not(.pill) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.product-links a:not(.pill):hover { color: var(--ink); }
.pill-small { min-height: 36px; padding: 0 16px; font-size: 15px; }
section[id] { scroll-margin-top: 64px; }

/* ---------- Glasslid page: hero with the demo beside it ---------- */

.product-hero { padding-top: clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 5.7fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.product-hero h1 { font-size: clamp(40px, 4.8vw, 64px); }
.product-hero .lede { font-size: clamp(18px, 1.6vw, 21px); }
.product-hero .status { align-items: flex-start; margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.product-hero .status .dot { flex: none; margin-top: .5em; }   /* stays on the first line when the status wraps */

/* The demo: a schematic File Explorer with Glasslid's real previews over it. Every animation runs
   on one 14 s timeline (same duration, no delay), so they stay in step:
   Space 1.0 s, md 1.2-3.4, csv -5.6, py -7.8, mp4 -10.6, zip -12.6 (Esc 12.4), back to md.
   Sizes are em of 1cqw: the stage is 100em by 62.5em whatever the column's width. */
.demo {
  --xp-bg: #FFFFFF; --xp-chrome: #F3F3F3; --xp-line: #E5E5E5; --xp-fg: #1B1B1B; --xp-muted: #616161;
  --xp-sel: #CCE8FF; --xp-pill: #FFFFFF; --gl-bar: #E7E7EB; --gl-bar-fg: #202024; --gl-accent: #1B63B4;
  --gl-shadow: 0 1.4em 3.2em -1em rgba(16, 19, 26, .45), 0 0 0 1px rgba(16, 19, 26, .1);
  container-type: inline-size;
  position: relative;
}
:root { --key-down: #FFE4D4; }
@media (prefers-color-scheme: dark) {
  :root { --key-down: #4A2A17; }
  .demo {
    --xp-bg: #1C1C1C; --xp-chrome: #202020; --xp-line: #2E2E2E; --xp-fg: #F2F2F2; --xp-muted: #A3A3A3;
    --xp-sel: #3E3E3E; --xp-pill: #2B2B2B; --gl-bar: #2B2B2B; --gl-bar-fg: #DDDDDD; --gl-accent: #6CB4EE;
    --gl-shadow: 0 1.4em 3.2em -1em rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  }
}
.stage { position: relative; height: 62.5em; font-size: 1cqw; line-height: 1.3; font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; }

.xp { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.1em; background: var(--xp-bg); color: var(--xp-fg); box-shadow: var(--shot-shadow); }
.xp-title { display: flex; align-items: center; gap: 1.1em; height: 4.4em; padding: 0 1.8em; background: var(--xp-chrome); }
.xp-title span { font-size: 1.4em; }
.xp-folder { width: 2em; height: 1.6em; border-radius: .3em; background: #E8B83D; }
.xp-ctl { margin-left: auto; width: 11em; height: 1em; background:
  linear-gradient(var(--xp-muted), var(--xp-muted)) 0 50% / 1.3em 1.5px no-repeat,
  linear-gradient(var(--xp-muted), var(--xp-muted)) 4.8em 50% / 1.2em 1.2em no-repeat; opacity: .7; }
.xp-addr { display: flex; align-items: center; gap: 1.2em; height: 4.8em; padding: 0 1.8em; background: var(--xp-chrome); border-bottom: 1px solid var(--xp-line); }
.xp-path, .xp-search { display: flex; align-items: center; height: 2.4em; padding: 0 .9em; border-radius: .5em; background: var(--xp-pill); font-size: 1.25em; color: var(--xp-muted); }
.xp-path { flex: 1; color: var(--xp-fg); }
.xp-search { width: 12em; }
.xp-main { display: flex; flex: 1; min-height: 0; }
.xp-nav { display: flex; flex-direction: column; gap: .5em; width: 16em; padding: 1.4em 1em; border-right: 1px solid var(--xp-line); }
.xp-nav span { padding: .4em .7em; border-radius: .4em; font-size: 1.25em; color: var(--xp-muted); }
.xp-nav .on { background: var(--xp-sel); color: var(--xp-fg); }
.xp-files { position: relative; flex: 1; padding: 0 1em; }
.xp-cols, .xp-row { display: grid; grid-template-columns: 3.2em 19em 16em 8em; align-items: center; column-gap: 1em; padding: 0 .8em; }
.xp-cols { height: 4em; border-bottom: 1px solid var(--xp-line); color: var(--xp-muted); }
.xp-row { position: relative; height: 4.4em; }
.xp-cols span, .xp-row span { overflow: hidden; font-size: 1.25em; white-space: nowrap; text-overflow: ellipsis; }
.xp-row span:nth-child(n+3) { color: var(--xp-muted); }
.xp-sel { position: absolute; left: .4em; right: .4em; top: 4em; height: 4.4em; border-radius: .5em; background: var(--xp-sel); animation: demo-sel 14s infinite; }
.ft { display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: .5em; font-size: .72em; font-weight: 700; color: #FFFFFF; }
.ft-md { background: #6E7781; } .ft-csv { background: #1F8A4C; } .ft-py { background: #3572A5; }
.ft-mp4 { background: #8E44AD; } .ft-zip { background: #C98A00; } .ft-jpg { background: #C0504D; }

.gl { position: absolute; opacity: 0; overflow: hidden; border-radius: .8em; box-shadow: var(--gl-shadow); }
.gl img { display: block; width: 100%; height: auto; }
.gl-md { left: 45em; top: 6.7em; width: 52em; animation: demo-md 14s infinite; }
.gl-csv { left: 43em; top: 12.3em; width: 54em; animation: demo-csv 14s infinite; }
.gl-py { left: 45em; top: 10.8em; width: 52em; animation: demo-py 14s infinite; }
.gl-mp4 { left: 43em; top: 13.3em; width: 54em; animation: demo-mp4 14s infinite; }
.gl-zip { left: 48em; top: 10.3em; width: 48em; animation: demo-zip 14s infinite; }

/* the video: a coastline at dawn, playing */
.gl-bar, .gl-media { display: flex; align-items: center; gap: 1.1em; padding: 0 1.3em; background: var(--gl-bar); color: var(--gl-bar-fg); }
.gl-bar { height: 3.4em; }
.gl-bar span, .gl-media span { font-size: 1.15em; }
.gl-media { height: 4em; }
.vid { position: relative; height: 30.375em; overflow: hidden; background: linear-gradient(#E9955A, #F4C28C 40%, #A9C9DA 64%); }
.vid i { position: absolute; display: block; }
.vid-sun { left: 62%; top: 34%; width: 5.4em; height: 5.4em; border-radius: 50%; background: #FFEBC2; animation: vid-sun 14s linear infinite; }
.vid-land { left: 0; right: 0; bottom: 36%; height: 20%; background: #42506A; clip-path: polygon(0 100%, 0 52%, 11% 38%, 23% 50%, 37% 26%, 51% 46%, 62% 40%, 77% 60%, 89% 49%, 100% 56%, 100% 100%); }
.vid-sea { left: 0; right: 0; bottom: 0; height: 37%; overflow: hidden; background: linear-gradient(#6D9CC2, #27486C); }
.vid-waves { inset: 0 -3em 0 0; background: radial-gradient(rgba(255, 255, 255, .45) .14em, transparent .2em) 0 0 / 3em 1.3em; animation: vid-waves 1.6s linear infinite; }
.vid-pause { display: block; width: 1.05em; height: 1.4em; border-left: .36em solid currentColor; border-right: .36em solid currentColor; }
.vid-track { display: block; flex: 1; height: .45em; overflow: hidden; border-radius: .3em; background: rgba(127, 127, 127, .35); }
.vid-fill { display: block; height: 100%; background: var(--gl-accent); transform-origin: left; animation: demo-fill 14s linear infinite; }

.demo-keys { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.demo-keys kbd { height: 40px; min-width: 48px; font-size: 14px; animation-duration: 14s; animation-iteration-count: infinite; }
.demo-keys .k-right { font-size: 20px; }
.k-space { animation-name: key-space; }
.k-right { animation-name: key-right; }
.k-esc { animation-name: key-esc; }

@keyframes demo-sel {
  0%, 24.28% { transform: translateY(0); }
  24.29%, 39.99% { transform: translateY(4.4em); }
  40%, 55.7% { transform: translateY(8.8em); }
  55.71%, 75.7% { transform: translateY(13.2em); }
  75.71%, 94.3% { transform: translateY(17.6em); }
  98.6%, 100% { transform: translateY(0); }
}
@keyframes demo-md { 0%, 8.2% { opacity: 0; transform: scale(.96); } 9.3%, 24.28% { opacity: 1; transform: none; } 24.29%, 100% { opacity: 0; transform: none; } }
@keyframes demo-csv { 0%, 24.28% { opacity: 0; } 24.29%, 39.99% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes demo-py { 0%, 39.99% { opacity: 0; } 40%, 55.7% { opacity: 1; } 55.71%, 100% { opacity: 0; } }
@keyframes demo-mp4 { 0%, 55.7% { opacity: 0; } 55.71%, 75.7% { opacity: 1; } 75.71%, 100% { opacity: 0; } }
@keyframes demo-zip { 0%, 75.7% { opacity: 0; transform: none; } 75.71%, 88.9% { opacity: 1; transform: none; } 90.2%, 100% { opacity: 0; transform: scale(.97); } }
@keyframes demo-fill { 0%, 55.71% { transform: scaleX(0); } 75.7%, 100% { transform: scaleX(1); } }
@keyframes vid-sun { 0%, 55.71% { transform: none; } 75.7%, 100% { transform: translateY(-1.4em); } }
@keyframes vid-waves { to { transform: translateX(-3em); } }
@keyframes key-space {
  0%, 7.1% { transform: none; background: var(--key-bg); border-color: var(--line); }
  7.15%, 8.9% { transform: translateY(2px); background: var(--key-down); border-color: var(--brand); }
  8.95%, 100% { transform: none; background: var(--key-bg); border-color: var(--line); }
}
@keyframes key-right {
  0%, 22.8% { transform: none; background: var(--key-bg); border-color: var(--line); }
  22.86%, 24.6% { transform: translateY(2px); background: var(--key-down); border-color: var(--brand); }
  24.65%, 38.5% { transform: none; background: var(--key-bg); border-color: var(--line); }
  38.57%, 40.3% { transform: translateY(2px); background: var(--key-down); border-color: var(--brand); }
  40.35%, 54.2% { transform: none; background: var(--key-bg); border-color: var(--line); }
  54.29%, 56% { transform: translateY(2px); background: var(--key-down); border-color: var(--brand); }
  56.05%, 74.2% { transform: none; background: var(--key-bg); border-color: var(--line); }
  74.29%, 76% { transform: translateY(2px); background: var(--key-down); border-color: var(--brand); }
  76.05%, 100% { transform: none; background: var(--key-bg); border-color: var(--line); }
}
@keyframes key-esc {
  0%, 88.5% { transform: none; background: var(--key-bg); border-color: var(--line); }
  88.57%, 90.3% { transform: translateY(2px); background: var(--key-down); border-color: var(--brand); }
  90.35%, 100% { transform: none; background: var(--key-bg); border-color: var(--line); }
}
/* No motion wanted: one still frame, the Markdown preview open over the folder */
@media (prefers-reduced-motion: reduce) {
  .demo *, .demo-keys kbd { animation: none !important; }
  .demo .gl-md { opacity: 1; }
}

/* ---------- questions ---------- */

.faq { max-width: 860px; margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; line-height: 1; color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { max-width: 44em; margin: 0 0 22px; color: var(--ink-2); }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-links a:not(.pill) { display: none; }
  .demo-keys kbd { height: 36px; min-width: 44px; }
  .faq summary { font-size: 17px; }
}

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.reverse > .copy { order: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .layered { padding-bottom: 0; }
  .layered .back { width: 100%; }
  .layered .front { position: relative; width: 82%; margin: -14% 0 0 auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header nav { gap: 20px; }
  .brand img { height: 24px; }
  .keys { grid-template-columns: 1fr; gap: 24px; }
  .spec th { width: 110px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .shot-panel img { width: min(337px, 100%); }
}
