/* 골라유(GollaU) website. One system for every page.
   Achromatic like the app: off-white ground, near-black ink and no accent colour, so the app's photographs are the only colour. Onest with Wanted Sans for Hangul, radius soft, buttons solid. */
@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026;
}
/* Every Hangul syllable of KS X 1001: fetched only when a page uses a character the small file lacks. */
@font-face {
  font-family: "Wanted Sans";
  src: url("/assets/fonts/wanted-sans-kr.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* The brand face from brand/GollaU: only the name is set in it. */
@font-face {
  font-family: "GollaU Display";
  src: url("/assets/fonts/gollau-display.woff2") format("woff2");
  font-weight: 550;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00AE, U+00B0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+ACE8, U+B77C, U+C720;
}
/* fonts:site:start */
/* The characters these pages use, cut small so the first paint has its face. Declared last, so it wins. */
@font-face {
  font-family: "Wanted Sans";
  src: url("/assets/fonts/wanted-sans-site.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2190, U+2192, U+AC00, U+AC19, U+AC1C, U+AC70, U+AC80, U+AC8C, U+ACB0, U+ACBD, U+ACC4, U+ACE0, U+ACE8, U+ACF3, U+ACF5, U+ACFC, U+AD00, U+AD50, U+ADF8, U+AE00, U+AE30, U+AE34, U+AE38, U+AE41, U+AE4C, U+AF34, U+B00C, U+B05D, U+B098, U+B0A8, U+B0B4, U+B0B8, U+B0BC, U+B0C5, U+B110, U+B118, U+B137, U+B193, U+B204, U+B269, U+B274, U+B294, U+B2A5, U+B2C8, U+B2E4, U+B2E8, U+B2EB, U+B2F4, U+B300, U+B354, U+B370, U+B3C4, U+B3CC, U+B3D9, U+B418, U+B41C, U+B420, U+B429, U+B450, U+B461, U+B4A4, U+B4DC, U+B4E0, U+B4E4, U+B514, U+B529, U+B530, U+B54C, U+B5A4, U+B610, U+B744, U+B760, U+B77C, U+B780, U+B791, U+B798, U+B7A8, U+B7EC, U+B7FC, U+B807-B809, U+B824-B825, U+B85C-B85D, U+B974, U+B978, U+B97C, U+B984-B985, U+B9AC, U+B9B0, U+B9BD, U+B9CC, U+BA3C, U+BA54, U+BA70, U+BA74, U+BA85, U+BAA8-BAA9, U+BB36, U+BB38, U+BB3B, U+BBF8, U+BC14, U+BC16, U+BC1B-BC1C, U+BC29, U+BC84, U+BC88, U+BC8C, U+BC94-BC95, U+BCC0, U+BCC4, U+BCF4, U+BCF8, U+BCFC, U+BD05, U+BD80, U+BD88, U+BE44, U+BE4C, U+C0AC, U+C0B4, U+C0C1, U+C0C8, U+C0D8, U+C0DD, U+C11C, U+C120, U+C124, U+C12F, U+C131, U+C138, U+C140, U+C18C, U+C218, U+C2A4, U+C2B5, U+C2DC-C2DD, U+C2E0, U+C2E4, U+C368, U+C501, U+C529, U+C544, U+C548, U+C54A, U+C568, U+C571, U+C57C, U+C5B4, U+C5C5-C5C6, U+C5C8, U+C5D0, U+C5EC, U+C5F0, U+C5F4, U+C601, U+C608, U+C624, U+C62C, U+C635, U+C640, U+C678, U+C67C, U+C694, U+C6A9, U+C6B4, U+C6C0-C6C1, U+C6CC, U+C6D0, U+C6E8, U+C704, U+C720, U+C73C, U+C740, U+C744, U+C74C, U+C751, U+C758, U+C774, U+C778, U+C77C-C77D, U+C785, U+C788, U+C790-C791, U+C7A5, U+C7AC, U+C800-C801, U+C804, U+C815, U+C81C-C81D, U+C885, U+C88B, U+C8FC, U+C900, U+C904, U+C90D, U+C99D, U+C9C0, U+C9C4, U+C9C8, U+CABD, U+CC0D, U+CC28, U+CC3D, U+CC44, U+CC98, U+CCAB, U+CCB4, U+CD2C, U+CD5C, U+CD94, U+CE58, U+CE5C, U+CE74, U+CEF7, U+CF54, U+D06C, U+D0DD, U+D130, U+D29C, U+D2B8, U+D2BC, U+D30C, U+D328, U+D398, U+D3F0, U+D3F4, U+D45C, U+D504, U+D50C, U+D544, U+D558, U+D55C, U+D560, U+D569, U+D574, U+D588-D589, U+D600, U+D604, U+D615, U+D648, U+D654-D655, U+D658, U+D65C, U+D6C4, U+D734, U+D788;
}
/* fonts:site:end */
:root {
  --bg: #f6f6f4;
  --surface: #ececea;
  --card: #fff;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --accent: #1f1f1f;
  --accent-ink: #fafafa;
  --line: rgb(31 31 31 / .13);
  --line-strong: rgb(31 31 31 / .3);
  --window: #1b1b1b;
  --font: "Onest", "Wanted Sans", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --nav: 72px;
  --padt: 120px;
  --padb: 72px;
  --gut: 80px;
  --gutter: 24px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --t-h1: clamp(36px, 4.9vw, 68px);
  --t-h2: clamp(30px, 3.34vw, 48px);
  --t-lead: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 1023px) { :root { --gut: 48px; } }
@media (max-width: 639px) { :root { --nav: 56px; --padt: 96px; --padb: 48px; --gut: 24px; --gutter: 12px; --t-lead: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.625 var(--font); letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2 { font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.14; letter-spacing: -.045em; }
h2 { font-size: var(--t-h2); line-height: 1.2; letter-spacing: -.04em; }
.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.span-2 { grid-column-end: span 2; }
.span-4 { grid-column-end: span 4; }
.span-5 { grid-column-end: span 5; }
.span-6 { grid-column-end: span 6; }
.start-7 { grid-column-start: 7; }
.start-9 { grid-column-start: 9; }
.muted { color: var(--muted); }
.t-small { font-size: 14px; line-height: 1.6; }
.t-label { font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--muted); }

/* Buttons: one filled, one outlined */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); height: 44px; padding-inline: var(--s-5); border: 1px solid transparent; border-radius: var(--r-sm); font-size: 16px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .15s var(--ease); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--secondary { border-color: var(--line-strong); }
.btn--xl { justify-content: space-between; width: 100%; height: clamp(64px, 3vw + 40px, 88px); padding-inline: var(--s-7); border-radius: var(--r-md); font-size: clamp(22px, .95vw + 18px, 32px); letter-spacing: -.03em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.m-arrow { width: .62em; height: .62em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s var(--ease); }

/* Nav: one fixed bar, the same at every depth */
.nav { position: fixed; z-index: 10; inset: 0 0 auto; height: var(--nav); border-bottom: 1px solid var(--line); background: var(--bg); }
.nav__bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }
.nav__logo { display: inline-flex; align-items: center; gap: 5px; justify-self: start; min-height: 44px; font: 550 26px/1 "GollaU Display", var(--font); font-kerning: normal; letter-spacing: normal; white-space: nowrap; }
.logo { flex: none; width: 25px; height: 25px; }
.nav__actions { display: flex; align-items: center; gap: var(--s-2); justify-self: end; }
.m-cup { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav__links { display: flex; gap: var(--s-6); }
.nav__link, .footer__col a { position: relative; font-weight: 500; white-space: nowrap; }
.nav__link { padding-block: 6px; border-bottom: 2px solid transparent; font-size: 15px; }
.nav__link::after, .footer__col a::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .15s var(--ease); }
.nav__link::after { bottom: -2px; }
.nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { justify-self: end; }
.nav .nav-mobile-start { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 767px) and (any-pointer: coarse) {
  .nav .nav-desktop-start { display: none; }
  .nav .nav-mobile-start { display: inline-flex; }
  .hero .btn[href="/mobile/"] { order: -1; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .hero .btn[href="/download/"] { border-color: var(--line-strong); background: transparent; color: var(--ink); }
}
.skip-link { position: absolute; z-index: 2; top: 50%; left: 0; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); font-weight: 500; transform: translateY(-400%); }
.skip-link:focus { transform: translateY(-50%); }

/* Sections: one to a screen, the heading first */
main > section, .closing { display: flex; min-height: 100svh; padding: var(--padt) 0 var(--padb); }
main > section > .wrap, .closing > .wrap { display: flex; flex-direction: column; }
main > section > .wrap.grid { display: grid; align-content: start; }
.section--band { background: var(--surface); }
.section h2 + .rows { margin-top: var(--s-7); }

/* The app's own window, shown as it runs */
.window { position: relative; overflow: hidden; border: 1px solid rgb(31 31 31 / .22); border-radius: var(--r-lg); background: var(--window); box-shadow: 0 32px 64px -40px rgb(31 31 31 / .5); }
.window img { width: 100%; }
.window--cut::after { content: ""; position: absolute; inset: auto 0 0; height: 96px; background: linear-gradient(transparent, var(--window)); pointer-events: none; }

/* Hero: what it is and one button, centred; the program rises from the foot of the first screen */
.hero { padding: calc(var(--nav) + var(--s-7)) 0 var(--s-5); }
.hero > .wrap > .hero-text { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.hero__c { display: grid; justify-items: center; gap: var(--s-5); text-align: center; }
.hero .line { display: block; }
.hero__lead { max-width: 26em; font-size: var(--t-lead); line-height: 1.55; text-wrap: balance; }
.hero .btn-row { justify-content: center; margin-top: var(--s-2); }
.facts i { margin-inline: var(--s-2); font-style: normal; opacity: .7; }
.update-link { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }
/* never taller than its picture: the window is cut at its foot, not at its sides */
.hero__stage { flex: 1 1 0; min-height: 240px; max-height: calc(min(100vw - 2 * var(--gut), 1280px) / 1.684); margin-top: var(--s-7); }
.hero__stage img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center top; }
.hero__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 72px; background: linear-gradient(transparent, var(--window)); pointer-events: none; }
/* The guide film takes the stage whole from 640px up; a phone keeps the still, cut at its foot */
.hero__film { display: none; }
@media (min-width: 640px) {
  .hero__c .hero__film-link { display: none; }
  .hero__stage.hero__stage--film { flex: none; min-height: 0; max-height: none; }
  .hero__stage.hero__stage--film::after { content: none; }
  .hero__stage--film picture { display: none; }
  .hero__film { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #141414; }
}

/* Steps: one to a screen. The words and keys on the left line, that step's screen from the split line, both from the top */
.step__text { display: grid; gap: var(--s-4); }
.step__lead { max-width: 24em; font-size: var(--t-lead); line-height: 1.55; text-wrap: pretty; }
.keys { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-3); }
.keys > div { display: flex; align-items: center; gap: var(--s-2); }
.keys dd { font-size: 15px; line-height: 1.4; }
kbd { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding-inline: var(--s-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--card); font: 500 13px/1 var(--font); letter-spacing: 0; }

/* Mobile comparison uses two captures from the same round. */
main > .mobile-guide > .mobile-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "intro demo" "details demo";
  align-content: center;
  gap: var(--s-6) 8%;
}
.mobile-intro { grid-area: intro; align-self: end; }
.mobile-details { grid-area: details; align-self: start; }
.mobile-demo {
  grid-area: demo;
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(100%, clamp(245px, 35svh, 340px));
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.mobile-demo legend { padding: 0; margin-bottom: var(--s-2); color: var(--muted); font-size: 14px; }
.mobile-radio { position: absolute; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); overflow: hidden; }
.mobile-tabs { display: flex; gap: 2px; padding: 2px; margin-bottom: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-sm); }
.mobile-tabs label { flex: 1; display: grid; place-items: center; min-height: 44px; border-radius: 5px; font-weight: 600; cursor: pointer; }
#mobile-cut-a:checked ~ .mobile-tabs label[for="mobile-cut-a"],
#mobile-cut-b:checked ~ .mobile-tabs label[for="mobile-cut-b"] { background: var(--ink); color: var(--accent-ink); }
#mobile-cut-a:focus-visible ~ .mobile-tabs label[for="mobile-cut-a"],
#mobile-cut-b:focus-visible ~ .mobile-tabs label[for="mobile-cut-b"] { outline: 2px solid var(--ink); outline-offset: 3px; }
.mobile-screen { overflow: hidden; border-radius: var(--r-md); background: var(--window); box-shadow: 0 24px 48px -32px rgb(31 31 31 / .55); }
.mobile-screen img { display: none; width: 100%; }
#mobile-cut-a:checked ~ .mobile-screen .mobile-shot-a,
#mobile-cut-b:checked ~ .mobile-screen .mobile-shot-b { display: block; }
@media (max-width: 767px) {
  main > .mobile-guide > .mobile-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "demo" "details";
    gap: var(--s-6);
  }
  .mobile-demo { width: min(100%, 320px); }
}

/* Rows: a term, then what it means */
.rows > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.rows > div:first-child { border-top: 1px solid var(--line); }
.rows dt { font-weight: 500; }
.rows dd { max-width: 34em; }
.rows--stack > div { grid-template-columns: 1fr; gap: var(--s-1); }
.stages { display: grid; list-style: none; counter-reset: stage; }
.stages span { max-width: 34em; }
.stages li { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-bottom: 1px solid var(--line); counter-increment: stage; }
.stages strong { font-size: var(--t-lead); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; }
.stages strong::before { content: counter(stage) ". "; }

/* Export: the two files as they arrive in the downloads folder */
.files { display: grid; gap: var(--s-4); }
.file { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.file figcaption { display: flex; align-items: center; gap: 10px; padding: 14px var(--s-5); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.4; }
.file figcaption span { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.m-file { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tree { padding: var(--s-3) var(--s-5) var(--s-4); list-style: none; font-size: 14px; line-height: 1.9; }
.tree ul { margin-left: 6px; padding-left: var(--s-5); border-left: 1px solid var(--line); list-style: none; color: var(--muted); }
.file table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.file th { padding: 10px var(--s-5); font-weight: 500; text-align: left; color: var(--muted); }
.file td { padding: 10px var(--s-5); border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.file th:first-child, .file td:first-child { white-space: nowrap; }

/* Questions: closed until asked */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
/* seven questions share the screen: the rows open up on a tall one and close in on a short one */
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding-block: clamp(16px, (100svh - 400px) / 14, 28px); font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: -.02em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { max-width: 36em; padding-bottom: 20px; }
.faq p a { text-decoration: underline; text-underline-offset: .2em; }

/* Close and footer: one section */
.closing { border-top: 1px solid var(--line); }
.closing > .wrap { justify-content: space-between; gap: var(--s-8); }
.closing__cta { display: flex; flex-direction: column; gap: var(--s-6); }
.closing__cta p { max-width: 62ch; margin-top: calc(-1 * var(--s-4)); }
.footer__brand { display: grid; gap: var(--s-4); justify-items: start; }
.footer__lede { max-width: 14em; font-size: 24px; font-weight: 500; line-height: 1.35; letter-spacing: -.03em; text-wrap: balance; }
.footer__col { display: grid; justify-items: start; }
.footer__col h3 { margin-bottom: var(--s-4); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--muted); }
.footer__col a { padding-block: 9px; font-weight: 400; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__legal a { min-height: 24px; margin-inline-end: auto; text-decoration: underline; text-underline-offset: .2em; }

/* Hover answers a fine pointer; press answers everything */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #3a3a3a; transform: translateY(-1px); }
  .btn--secondary:hover { border-color: rgb(31 31 31 / .55); background: rgb(31 31 31 / .05); transform: translateY(-1px); }
  .btn--xl:hover { transform: translateY(-2px); }
  .btn:hover .m-arrow { transform: translateX(3px); }
  .nav__link:hover::after, .footer__col a:hover::after { transform: scaleX(1); }
  .faq summary:hover { color: var(--muted); }
}
.btn:active { transform: translateY(1px) scale(.985); }

/* The hero arrives once: the headline by lines, then the words under it, the window settling */
@keyframes rise { from { transform: translateY(104%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes settle { from { transform: scale(.98); } }
@keyframes nav-on { from, to { border-bottom-color: currentColor; } }
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  body { timeline-scope: --features, --mobile, --local, --export, --faq; }
  #features { view-timeline: --features block; }
  #mobile { view-timeline: --mobile block; }
  #local { view-timeline: --local block; }
  #export { view-timeline: --export block; }
  #faq { view-timeline: --faq block; }
  /* the three step screens keep the first link lit */
  .nav__link[href="#features"] { animation: nav-on linear; animation-timeline: --features; animation-range: entry 50% exit calc(50% + 300svh); }
  .nav__link[href="#mobile"] { animation: nav-on linear; animation-timeline: --mobile; animation-range: entry 50% exit 50%; }
  .nav__link[href="#local"] { animation: nav-on linear; animation-timeline: --local; animation-range: entry 50% exit 50%; }
  .nav__link[href="#export"] { animation: nav-on linear; animation-timeline: --export; animation-range: entry 50% exit 50%; }
  .nav__link[href="#faq"] { animation: nav-on linear; animation-timeline: --faq; animation-range: entry 50% exit 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter] h1 .line { overflow: clip; overflow-clip-margin: .08em; }
  [data-enter] h1 .line > span { display: inline-block; animation: rise .7s var(--ease-enter) both; }
  [data-enter] h1 .line:nth-child(2) > span { animation-delay: .08s; }
  [data-enter] .hero__c > :not(h1), [data-enter] .intro__body > * { animation: fade-up .52s var(--ease-enter) .35s both; }
  [data-enter] :is(.hero__c, .intro__body) > :nth-child(3) { animation-delay: .41s; }
  [data-enter] :is(.hero__c, .intro__body) > :nth-child(4) { animation-delay: .47s; }
  [data-enter] .window { animation: settle .9s var(--ease-enter) both; }
}

/* Short desktop screens: the step's window gives way before the section grows */
@media (min-width: 1024px) {
  .step .window { max-height: calc(100svh - var(--padt) - var(--padb)); }
  .step .window img { height: 100%; object-fit: cover; object-position: left top; }
}
@media (max-width: 1199px) {
  .nav__actions .long { display: none; }
}
@media (max-width: 1099px) {
  .nav .nav__actions .btn--secondary { width: 44px; padding-inline: 0; }
  .nav__actions .btn--secondary > span { display: none; }
}
@media (max-width: 1023px) {
  .nav__links { gap: var(--s-5); }
  .hero__stage { max-height: calc((100vw - 2 * var(--gut)) / 1.129); }
  .hero__stage img { object-position: left top; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-4, .span-5, .span-6 { grid-column: 1 / -1; }
  /* Stacked: the words, then the window in what is left of the screen, cut under its fade */
  main > .section > .wrap.grid { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
  .section .window, .section .files, .section .faq { margin-top: var(--s-7); }
  .section .window { flex: 1 1 0; min-height: 240px; max-height: calc((100vw - 2 * var(--gut)) / var(--ar, 1)); }
  .section .window img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: left top; }
  .section .window::after { content: ""; position: absolute; inset: auto 0 0; height: 96px; background: linear-gradient(transparent, var(--window)); pointer-events: none; }
  #features .window, #revival .window, #snapshots .window { --ar: 1.129; }
  #final .window { --ar: 1.247; }
  #results .window { flex: none; max-height: none; }
  #results .window img { position: static; height: auto; }
  #results .window::after { content: none; }
  #local .window { --ar: 1.121; }
  .footer .grid { row-gap: var(--s-7); }
  .footer__col.span-2 { grid-column: auto / span 2; }
}
@media (max-width: 767px) {
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
}
@media (max-width: 639px) {
  .btn-row .btn { flex: 1; padding-inline: var(--s-3); }
  .hero .btn-row { width: 100%; }
  .btn--xl { height: 56px; padding-inline: var(--s-5); font-size: 18px; letter-spacing: -.01em; }
  .nav .btn { padding-inline: 14px; font-size: 15px; }
  .hero__c { gap: var(--s-4); }
  .hero__stage { max-height: calc((100vw - 2 * var(--gut)) / .733); margin-top: var(--s-6); }
  .facts i { margin-inline: var(--s-1); }
  .section h2 + .rows { margin-top: var(--s-6); }
  .section .window, .section .files, .section .faq { margin-top: var(--s-6); }
  .section .window::after, .hero__stage::after { height: 40px; }
  #features .window, #revival .window, #snapshots .window { --ar: .722; }
  #final .window { --ar: .655; }
  #local .window { --ar: .75; }
  .keys { gap: var(--s-2) var(--s-4); margin-top: var(--s-2); }
  .rows > div { grid-template-columns: 1fr; gap: var(--s-1); padding-block: var(--s-3); }
  .stages li { padding-block: var(--s-3); }
  .file figcaption, .tree { padding-inline: var(--s-4); }
  .file--zip .tree { display: none; }
  .file--zip figcaption { border-bottom: 0; }
  .file th, .file td { padding: var(--s-2) var(--s-3); }
  .file th:first-child, .file td:first-child { padding-left: var(--s-4); white-space: normal; }
  .faq summary { padding-block: clamp(12px, (100svh - 419px) / 14, 34px); font-size: 17px; }
  .faq p { padding-bottom: var(--s-4); }
  .closing > .wrap { gap: var(--s-7); }
  .footer__lede { display: none; }
  .footer .grid { row-gap: var(--s-6); }
  .footer__col.span-2 { grid-column: auto / span 3; }
  .footer__col.start-9 { grid-column-start: auto; }
  .footer__legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--s-6); }
  .footer__legal > span:last-child { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .nav__bar { width: calc(100% - 32px); column-gap: 8px; }
  .nav__logo { gap: 4px; font-size: 22px; }
  .nav__logo .logo { width: 20px; height: 20px; }
  .nav__actions { gap: 4px; }
  .nav .btn--primary { padding-inline: 6px; font-size: 14px; }
  .nav .nav-desktop-start { padding-inline: 4px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
