/* azerothgps.com: the black-and-gold "fantasy" theme (Kooki3z's pick, template B). Near-black with a warm glow at
   the top, ornate gold frames with corner studs, parchment panels with dark ink, Cinzel lettering for headings, menus
   and buttons, and plain high-contrast text for reading. A faint gold road map (img/map.webp: our own drawing from
   AzerothGPS's road and zone data, no game art) sits behind the home page's logo and, fainter, behind every page.
   The site is dark only (color-scheme: dark): it looks the same whatever the visitor's system theme is. */
/* Cinzel and Inter: SIL Open Font License 1.1 (assets/fonts/LICENSE-*.txt), served from this site. */
@font-face { font-family: "Cinzel"; src: url(/assets/fonts/cinzel-latin-wght.09941fb1c1.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-wght.3100e775e8.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0a0806;
  --panel: rgba(22, 17, 10, 0.94);
  --panel-hi: rgba(30, 23, 13, 0.96);
  --frame-bg: linear-gradient(180deg, #1c160d, #14100a);
  --edge: rgba(212, 168, 75, 0.16);
  --edge-hi: rgba(212, 168, 75, 0.34);
  --edge-gold: rgba(212, 168, 75, 0.55);
  --shade: 0 18px 40px rgba(0, 0, 0, 0.6);
  --text: #f3ead6;
  --text-2: #e6dcc5;
  --dim: #b5a483;
  --faint: #7d6e52;
  --gold: #d4a84b;
  --gold-hi: #f4d78a;
  --gold-lo: #7d5a1f;
  --parch: #e9d4a0;
  --parch-dk: #c9a865;
  --ink: #2a1c0a;
  --ok: #86d493;
  --bad: #f2917f;
  --r: 4px;
  --top: 72px;
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --gold-text: linear-gradient(180deg, #fff2c4 0%, #f1cf7a 35%, #c1882e 70%, #f0c96c 100%);
  --parchment: radial-gradient(ellipse at center, #f3e2b5 0%, #e3c788 70%, #c8a35c 100%);
  /* The frames' corner studs (one picture per corner) and the gem between sections. */
  --c-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M2 24V8a6 6 0 0 1 6-6h16' fill='none' stroke='%23f4d78a' stroke-width='2'/%3E%3Cpath d='M6 24V11a5 5 0 0 1 5-5h13' fill='none' stroke='%239c7428' stroke-width='1.2'/%3E%3Crect width='7' height='7' transform='rotate(45 3.5 3.5) translate(1 1)' fill='%23f4d78a' stroke='%234a3010'/%3E%3C/svg%3E");
  --c-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cg transform='matrix(-1 0 0 1 26 0)'%3E%3Cpath d='M2 24V8a6 6 0 0 1 6-6h16' fill='none' stroke='%23f4d78a' stroke-width='2'/%3E%3Cpath d='M6 24V11a5 5 0 0 1 5-5h13' fill='none' stroke='%239c7428' stroke-width='1.2'/%3E%3Crect width='7' height='7' transform='rotate(45 3.5 3.5) translate(1 1)' fill='%23f4d78a' stroke='%234a3010'/%3E%3C/g%3E%3C/svg%3E");
  --c-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cg transform='matrix(1 0 0 -1 0 26)'%3E%3Cpath d='M2 24V8a6 6 0 0 1 6-6h16' fill='none' stroke='%23f4d78a' stroke-width='2'/%3E%3Cpath d='M6 24V11a5 5 0 0 1 5-5h13' fill='none' stroke='%239c7428' stroke-width='1.2'/%3E%3Crect width='7' height='7' transform='rotate(45 3.5 3.5) translate(1 1)' fill='%23f4d78a' stroke='%234a3010'/%3E%3C/g%3E%3C/svg%3E");
  --c-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cg transform='matrix(-1 0 0 -1 26 26)'%3E%3Cpath d='M2 24V8a6 6 0 0 1 6-6h16' fill='none' stroke='%23f4d78a' stroke-width='2'/%3E%3Cpath d='M6 24V11a5 5 0 0 1 5-5h13' fill='none' stroke='%239c7428' stroke-width='1.2'/%3E%3Crect width='7' height='7' transform='rotate(45 3.5 3.5) translate(1 1)' fill='%23f4d78a' stroke='%234a3010'/%3E%3C/g%3E%3C/svg%3E");
  --gem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 20'%3E%3Cpath d='M23 1 31 10 23 19 15 10Z' fill='%23f4d78a' stroke='%235a3c0c'/%3E%3Cpath d='M23 5 27 10 23 15 19 10Z' fill='%233fb8e8'/%3E%3Ccircle cx='6' cy='10' r='2.5' fill='%23d4a84b'/%3E%3Ccircle cx='40' cy='10' r='2.5' fill='%23d4a84b'/%3E%3C/svg%3E");
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: calc(var(--top) + 16px); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 400 16.5px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Behind everything: a warm glow at the top and the road map, gold and very faint. */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(/assets/img/map.2cba6567ac.webp) 62% 38% / cover no-repeat; opacity: 0.07; filter: sepia(1) saturate(2) brightness(0.9); }
.bg::after { content: ""; position: fixed; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(42, 29, 11, 0.9), transparent 60%); }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(58, 40, 14, 0.55), transparent 65%),
              radial-gradient(circle at 15% 70%, rgba(120, 80, 20, 0.08), transparent 40%); }
main, .foot { position: relative; z-index: 1; }
main { flex: 1; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--gold); color: #1d1400; padding: 8px 14px; border-radius: 3px; }
.skip:focus { left: 12px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212, 168, 75, 0.22); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 168, 75, 0.45); background-clip: padding-box; }

/* Ornate frames: a dark-gold border, a fine gold line inside it and a stud at each corner. */
.card, .band, .shot-frame, .how-flow .flow-panel, .panel, .doc, .side, .toc, .lost {
  position: relative; background: var(--frame-bg);
  border: 2px solid var(--gold-lo); outline: 1px solid rgba(212, 168, 75, 0.7); outline-offset: -7px; border-radius: 0;
  box-shadow: 0 0 0 1px #000, 0 18px 40px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.55);
}
.card::after, .band::after, .shot-frame::after, .how-flow .flow-panel::after, .panel::after, .doc::after, .side::after,
.toc::after, .lost::after {
  content: ""; position: absolute; inset: -9px; z-index: 2; pointer-events: none;
  background: var(--c-tl) left top / 26px 26px no-repeat, var(--c-tr) right top / 26px 26px no-repeat,
              var(--c-bl) left bottom / 26px 26px no-repeat, var(--c-br) right bottom / 26px 26px no-repeat;
}
.card:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -7px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-hi) 50%, var(--gold) 70%, transparent) top / 100% 3px no-repeat,
              linear-gradient(180deg, #000, #0c0905);
  border-bottom: 1px solid #3a2a10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.top-in { max-width: 1320px; margin: 0 auto; padding: 3px 24px 0; height: var(--top); display: flex; align-items: center; gap: 24px; }
/* (nothing in the header may be wider than the screen: every item can shrink) */
.top-in > *, .top-right > * { min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-hi); flex: none; }
.brand:hover { text-decoration: none; }
/* The device picture has room around it for its glow: the margins keep the device itself where a 40 px one sat. */
.brand img { width: 61px; height: auto; margin: -19px -10px -10px -10px; }
.brand span {
  font: 700 21px/1 var(--display); letter-spacing: 0.04em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; flex: none; gap: 2px; font: 600 13.5px/1 var(--display); letter-spacing: 0.06em; } /* (never squeezed: the links would run under the search) */
.nav a { color: var(--dim); white-space: nowrap; padding: 9px 11px; border: 1px solid transparent; }
.nav a:hover { color: var(--gold-hi); border-color: #4a3614; background: rgba(212, 168, 75, 0.07); text-decoration: none; }
.nav a.on { color: var(--gold-hi); border-color: #4a3614; background: rgba(212, 168, 75, 0.09); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.search-toggle, .nav-toggle { display: none; flex: none; background: linear-gradient(180deg, #2a1f10, #140e06); border: 1px solid var(--gold-lo); color: var(--gold-hi); border-radius: 3px; height: 38px; width: 42px; align-items: center; justify-content: center; cursor: pointer; }
.search-toggle[aria-expanded="true"], .nav-toggle[aria-expanded="true"] { border-color: var(--gold); }

/* Search */
.search {
  position: relative; display: flex; align-items: center; gap: 8px;
  width: 240px; height: 38px; padding: 0 10px 0 12px;
  background: #0a0805; border: 1px solid var(--gold-lo); border-radius: 3px; color: var(--dim);
}
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.25); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 400 14px var(--body); }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { filter: sepia(1) saturate(3) brightness(0.9); }
.search kbd { font: 500 11px/1 var(--mono); color: var(--dim); border: 1px solid #4a3614; border-radius: 3px; padding: 3px 5px; }
.results {
  position: absolute; top: 44px; right: 0; width: min(520px, calc(100vw - 32px)); max-height: 70vh; overflow: auto;
  background: #14100a; border: 2px solid var(--gold-lo); outline: 1px solid rgba(212, 168, 75, 0.5); outline-offset: -5px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7); padding: 8px;
}
.results a { display: block; padding: 10px 12px; color: var(--text); border-left: 2px solid transparent; }
.results a:hover, .results a.sel { background: rgba(212, 168, 75, 0.09); border-left-color: var(--gold); text-decoration: none; }
.results b { display: block; font-weight: 600; font-size: 14.5px; }
.results small { display: block; color: var(--gold); font: 600 11.5px/1.4 var(--display); letter-spacing: 0.08em; margin-bottom: 2px; }
.results span { display: block; color: var(--dim); font-size: 13.5px; line-height: 1.5; }
.results mark { background: none; color: var(--gold-hi); font-weight: 600; }
.results .none { padding: 12px; color: var(--dim); font-size: 14px; }

/* Buttons: beveled gold, or dark with a gold ring. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border-radius: 3px; cursor: pointer;
  font: 700 14.5px/1 var(--display); letter-spacing: 0.06em; white-space: nowrap;
  color: var(--gold-hi); background: linear-gradient(180deg, #2a1f10, #140e06); border: 1px solid var(--gold);
  box-shadow: 0 0 0 2px #120c04, 0 0 0 3px #6c4d1a;
}
.btn:hover { text-decoration: none; background: linear-gradient(180deg, #37291a, #1b130a); color: #fff2c4; }
.btn-gold {
  color: #2a1700; border-color: #5b3c0b; background: linear-gradient(180deg, #ffe9a8 0%, #e7b553 45%, #b47a23 100%);
  box-shadow: inset 0 1px 0 #fff6cf, inset 0 -2px 0 #8a5a17, 0 0 0 2px #1a1206, 0 0 0 3px #a87b2e, 0 8px 22px rgba(212, 168, 75, 0.25);
}
.btn-gold:hover { color: #2a1700; background: linear-gradient(180deg, #fff0bf 0%, #efc062 45%, #c0862a 100%); }
/* The blue of the device picture's gem and glow (theme/img/device.webp): the Play and Try It Now buttons. */
.btn-blue {
  color: #04141d; border-color: #1d5a80; background: linear-gradient(180deg, #a5e6fb 0%, #5fcff2 45%, #2f86bb 100%);
  box-shadow: inset 0 1px 0 #e0f7ff, inset 0 -2px 0 #1f6a97, 0 0 0 2px #1a1206, 0 0 0 3px #a87b2e, 0 8px 22px rgba(95, 207, 242, 0.22);
}
.btn-blue:hover { color: #04141d; background: linear-gradient(180deg, #c0eefd 0%, #74d8f5 45%, #3a95cb 100%); }
.btn-ghost { color: var(--gold-hi); }
.btn-small { height: 38px; padding: 0 16px; font-size: 12.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Home: the logo over the road map, the parchment ribbon, the gold slogan, then the clip in a frame. */
.hero {
  position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 24px 64px;
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.hero .roads {
  position: absolute; left: 0; right: 0; top: -40px; height: 900px; pointer-events: none;
  background: url(/assets/img/map.2cba6567ac.webp) center top / contain no-repeat; opacity: 0.17; filter: sepia(1) saturate(2) brightness(0.9);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 40%, transparent 80%);
}
.hero-text { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 860px; }
.hero .logo { width: 230px; height: auto; margin: 0 auto -4px;
  filter: drop-shadow(0 0 50px rgba(240, 190, 90, 0.28)) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8)); }
/* "For WoW Forever only": a parchment ribbon under the logo */
.only-badge {
  display: inline-block; padding: 9px 46px; font: 700 13.5px/1.2 var(--display); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(180deg, var(--parch), var(--parch-dk));
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
}
.eyebrow { display: block; margin-top: 22px; font: 700 13px/1.2 var(--display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hero h1 {
  margin: 12px 0 0;
  font: 900 clamp(38px, 5.4vw, 64px)/1.08 var(--display); letter-spacing: 0.01em;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2b1a05) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}
.hero h1.slogan { font-size: clamp(36px, 5.4vw, 64px); }
.lead { font: 400 20px/1.6 var(--serif); color: var(--text-2); max-width: 700px; margin: 18px auto 28px; }
.cta { display: flex; gap: 18px; flex-wrap: wrap; }
.hero .cta { justify-content: center; }
.meta {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 28px; padding: 10px 26px;
  font: 600 13.5px/1.4 var(--display); letter-spacing: 0.04em; color: var(--dim);
  border-top: 1px solid #4a3614; border-bottom: 1px solid #4a3614;
}
.meta b { color: var(--gold-hi); font-weight: 700; }
.shot-frame { justify-self: center; max-width: 100%; padding: 14px; }
.shot-frame video, .shot-frame img { width: 520px; max-width: 100%; border: 1px solid #6c4d1a; }
.shot-frame video.hero-clip { width: 880px; aspect-ratio: 16 / 9; height: auto; background: #000; display: block; }
.shot-frame .device {
  position: absolute; left: -70px; bottom: -68px; width: 197px; z-index: 3; border: 0;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}
/* A play button over a clip that waits (the visitor's system asks for less motion). */
.play-wrap { position: relative; display: block; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid var(--gold); background: rgba(10, 8, 6, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l8.5-5.5z' fill='%23f4d78a'/%3E%3C/svg%3E") 55% 50%/34px no-repeat;
  cursor: pointer; box-shadow: 0 0 0 2px #120c04, 0 0 0 3px #6c4d1a, var(--shade);
}
.play-btn:hover { background-color: rgba(42, 31, 16, 0.92); }

/* Sections, with a gem between them */
.section { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 48px; }
.section-head::before { content: ""; width: min(680px, 100%); height: 20px; margin-bottom: 18px;
  background: var(--gem) center / 46px 20px no-repeat,
              linear-gradient(90deg, transparent, var(--gold)) left center / calc(50% - 32px) 2px no-repeat,
              linear-gradient(270deg, transparent, var(--gold)) right center / calc(50% - 32px) 2px no-repeat; }
.section h2 {
  font: 700 clamp(30px, 3.6vw, 44px)/1.15 var(--display); margin: 0;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2b1a05);
}
.section-head p { margin: 12px auto 0; color: var(--text-2); max-width: 620px; font: 400 18.5px/1.6 var(--serif); }
.section-head > a { font: 700 13.5px/1 var(--display); letter-spacing: 0.08em; color: var(--gold); }
.rule { height: 20px; margin: 8px auto 24px; max-width: 760px;
  background: var(--gem) center / 46px 20px no-repeat,
              linear-gradient(90deg, transparent, var(--gold)) left center / calc(50% - 32px) 2px no-repeat,
              linear-gradient(270deg, transparent, var(--gold)) right center / calc(50% - 32px) 2px no-repeat; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 34px; }
.card { display: block; color: inherit; padding: 16px 16px 26px; transition: transform 0.2s; }
.card:hover { transform: translateY(-4px); text-decoration: none; }
.card .thumb { height: 200px; overflow: hidden; background: #000; border: 1px solid #6c4d1a; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.card .body { padding: 18px 8px 0; }
.card h3 { margin: 0 0 8px; font: 700 20px/1.3 var(--display); color: var(--gold-hi); }
.card p { margin: 0; color: var(--text-2); font: 400 16.5px/1.55 var(--serif); }
.card .more { display: inline-block; margin-top: 14px; font: 700 12.5px/1.3 var(--display); letter-spacing: 0.08em; color: var(--gold); }
.card .more::after { content: " \2192"; }
/* "Everything a trip needs": the dark gold frames, with a small kicker and a small dark button at the bottom. */
.cards > .card { display: flex; flex-direction: column; }
.cards > .card .body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.cards > .card .kicker { font: 700 12px/1.2 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.cards > .card p { margin-bottom: 20px; }
.cards > .card .btn { margin-top: auto; white-space: normal; text-align: center; line-height: 1.25; min-height: 38px; height: auto; padding: 9px 16px; }
.cards > .card:hover .btn { color: #fff2c4; background: linear-gradient(180deg, #37291a, #1b130a); border-color: var(--gold-hi); }
/* The home page's "Plan it, then enjoy the ride": four steps, the cards' look, numbered. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; counter-reset: step; }
.steps > .step { position: relative; counter-increment: step; }
.steps > .step::before {
  content: counter(step); position: absolute; top: 22px; left: 22px; z-index: 3; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 700 14px/1 var(--display); color: var(--ink);
  background: linear-gradient(180deg, #ffe9a8, #c99135); box-shadow: 0 0 0 2px #1a1206, 0 2px 8px rgba(0, 0, 0, 0.6);
}
.steps > .step:hover { transform: none; }
.steps .thumb { height: 170px; }
.steps .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.steps .thumb img { object-position: center; }
.steps .thumb.whole { display: grid; place-items: center; background: #0b0905; }
.steps .thumb.whole img { width: 100%; height: auto; object-fit: contain; }
.steps .thumb.keys { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a1f10, #0a0805 75%); }
.steps .thumb.keys kbd {
  font: 700 13px/1 var(--display); color: #f3e3b5; padding: 14px 16px 16px; border-radius: 4px;
  background: linear-gradient(180deg, #2f2414, #17110a); border: 1px solid var(--gold);
  box-shadow: 0 5px 0 #0b0905, 0 8px 18px rgba(0, 0, 0, 0.6);
}
/* The same section as one panel: a short numbered flow beside one picture (sources.json "how_version": "flow"). */
.how-flow .flow-panel { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 44px; align-items: center; padding: 44px 48px; }
.how-flow .flow-text h2 { margin: 0; }
.how-flow .flow-lead { margin: 10px 0 24px; color: var(--text-2); font: 400 18px/1.6 var(--serif); }
.how-flow .flow-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; counter-reset: flow; }
.how-flow .flow-list li { position: relative; padding-left: 46px; color: var(--text-2); line-height: 1.6; counter-increment: flow; }
.how-flow .flow-list li::before {
  content: counter(flow); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 700 14px/1 var(--display); color: var(--ink);
  background: linear-gradient(180deg, #ffe9a8, #c99135); box-shadow: 0 0 0 2px #1a1206, 0 0 0 3px #6c4d1a;
}
.how-flow .flow-list b { color: var(--gold-hi); font-weight: 650; }
.how-flow .flow-pic img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: contain; border: 1px solid #6c4d1a; }
/* With the recorded clip in the picture's place (sources.json "how_clip"): the clip gets the wider column. */
.how-flow.with-clip .flow-panel { grid-template-columns: 0.9fr 1.1fr; gap: 38px; }
.how-flow .flow-clip { margin: 0; }
.how-flow .flow-clip video { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 878; background: #0b0a06; border: 1px solid #6c4d1a; }
.how-flow .flow-clip .play-wrap { display: block; position: relative; }
.how-flow .flow-cue { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font: 600 14px/1.4 var(--display); color: var(--gold-hi); }
.how-flow .cue-dots { display: inline-flex; gap: 6px; }
.how-flow .cue-dots i { width: 7px; height: 7px; transform: rotate(45deg); background: #5d4419; }
.how-flow .cue-dots i.on { background: var(--gold-hi); box-shadow: 0 0 6px var(--gold); }
/* The feature bands: a dark frame; "Take the controller" a parchment scroll (the only parchment panel on the home page). */
.band {
  width: calc(100% - 48px); max-width: 1192px; margin: 34px auto 56px; padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.band .text { padding: 4px 8px; }
.band .tag { font: 700 13px/1.2 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.band h2 { font: 900 clamp(28px, 3.2vw, 40px)/1.12 var(--display); color: var(--gold-hi); margin: 10px 0 14px; }
.band p { color: var(--text-2); margin: 0 0 26px; font: 400 18.5px/1.6 var(--serif); }
.band .pic { background: #07090f center/contain no-repeat; min-height: 320px; align-self: stretch; border: 1px solid #6c4d1a; }
.band.scroll {
  background: var(--parchment); color: var(--ink); border: 0; outline: 0; border-radius: 4px;
  box-shadow: inset 0 0 60px rgba(120, 70, 10, 0.45), 0 0 0 2px #2b1c08, 0 0 0 4px #a8812f, 0 26px 60px rgba(0, 0, 0, 0.7);
}
.band.scroll::after { display: none; }
.band.scroll h2 { color: #3b2405; }
.band.scroll .tag { color: #7a4f12; }
.band.scroll p { color: #3a2a14; }
.band.scroll .pic { border: 3px solid #3b2405; box-shadow: 0 0 0 2px #c9a24f, 0 14px 30px rgba(60, 30, 0, 0.45); }
.band.scroll .btn-gold { color: var(--gold-hi); border-color: var(--gold); background: linear-gradient(180deg, #2a1f10, #140e06); box-shadow: 0 0 0 2px #120c04, 0 0 0 3px #6c4d1a; }
.band.scroll .btn-gold:hover { color: #fff2c4; background: linear-gradient(180deg, #37291a, #1b130a); }
/* "Take the controller": the mockup's scroll, the picture first and wider, star bullets. */
.band.controller { grid-template-columns: 1.5fr 1fr; gap: 50px; padding: 52px 56px; margin-top: 24px; }
.band.controller .shot { display: block; width: 100%; height: auto; border: 3px solid #3b2405; box-shadow: 0 0 0 2px #c9a24f, 0 14px 30px rgba(60, 30, 0, 0.45); }
.band.controller p { margin-bottom: 8px; }
.stars { list-style: none; margin: 14px 0 26px; padding: 0; }
.stars li { position: relative; padding: 6px 0 6px 30px; color: #3a2a14; font: 400 17.5px/1.55 var(--serif); }
.stars li::before { content: "\2726"; position: absolute; left: 0; top: 6px; color: #8a5a17; }
/* The three tiles under it: dark gold frames, a square picture and a gold caption. */
.showcase { padding-top: 24px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.tile { display: flex; flex-direction: column; padding: 14px 14px 22px; text-align: center; }
.tile .tile-pic { aspect-ratio: 1 / 1; overflow: hidden; background: #000; border: 1px solid #6c4d1a; }
.tile .tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.tile h3 { margin: 16px 6px 8px; font: 700 18px/1.3 var(--display); letter-spacing: 0.02em; color: var(--gold-hi); }
.tile p { margin: 0 6px; color: var(--text-2); font: 400 16px/1.55 var(--serif); }
/* The closing line: "Basically a car GPS, but for Azeroth" and the download. */
.final { text-align: center; padding-top: 40px; padding-bottom: 88px; }
.final .rule { margin-bottom: 30px; }
.final h2 { margin: 0 0 30px; font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); }
.panel .sha code { word-break: break-all; }
.btn.soon { cursor: default; opacity: 0.8; }

/* Footer */
.foot { border-top: 2px solid #3a2a10; background: #050403; margin-top: 56px; }
.foot::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 48px 24px 44px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; font-size: 15px; }
.foot h4 { margin: 0 0 12px; font: 700 14.5px/1.2 var(--display); letter-spacing: 0.06em; color: var(--gold); }
.foot a { display: block; color: var(--dim); padding: 4px 0; }
.foot a:hover { color: var(--gold-hi); }
.foot .brand { display: inline-flex; }
.foot .fine { color: #a3926f; font: italic 400 14.5px/1.6 var(--serif); margin: 14px 0 0; max-width: 420px; }
.foot .fine a { display: inline; padding: 0; color: var(--gold-hi); }

/* Guide pages: the guide's menu, the page in an ornate frame, the page's contents */
.guide { max-width: 1340px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 260px minmax(0, 1fr) 220px; gap: 34px; }
.menu-toggle { display: none; }
/* The guide menu and "On this page": the whole list, no scroll bar of their own; they stay put while scrolling only
   when they fit the window (site.js adds .stick). */
.side { position: relative; align-self: start; margin: 34px 0 40px; padding: 0; }
.side-in { padding: 22px 18px 24px; }
.side.stick, .toc.stick { position: sticky; top: calc(var(--top) + 24px); }
.side .switch { display: flex; gap: 6px; margin-bottom: 16px; }
.side .switch a { flex: 1; text-align: center; padding: 8px 4px; font: 700 13px/1.2 var(--display); letter-spacing: 0.04em; color: var(--dim); border: 1px solid #4a3614; }
.side .switch a:hover { text-decoration: none; color: var(--gold-hi); }
.side .switch a.on { color: var(--ink); border-color: transparent; background: linear-gradient(180deg, var(--parch), var(--parch-dk)); }
.side h5 { margin: 20px 0 6px; padding-left: 4px; font: 700 13px/1.2 var(--display); letter-spacing: 0.08em; color: var(--gold); }
.side a.item { display: block; position: relative; padding: 5px 8px 5px 22px; color: var(--dim); font-size: 15px; }
.side a.item::before { content: ""; position: absolute; left: 6px; top: 14px; width: 6px; height: 6px; background: #5d4419; transform: rotate(45deg); }
.side a.item:hover { color: var(--text); text-decoration: none; background: rgba(212, 168, 75, 0.05); }
.side a.item.on { color: var(--gold-hi); background: linear-gradient(90deg, rgba(212, 168, 75, 0.14), transparent); }
.side a.item.on::before { background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); }

/* The reading column: plain, high-contrast text in an ornate frame. */
.doc { margin: 34px 0 40px; padding: 40px 48px 48px; max-width: 860px; min-width: 0; }
.doc-plain, .doc-wide { margin: 40px auto 40px; }
.doc-plain { max-width: 860px; }
.doc-wide { max-width: 1240px; }
.crumbs { font: 600 13px/1.4 var(--display); letter-spacing: 0.08em; color: var(--dim); margin-bottom: 10px; }
.crumbs a { color: var(--gold); }
.doc h1 {
  font: 900 clamp(34px, 4.4vw, 52px)/1.1 var(--display); margin: 0 0 12px;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2b1a05);
}
.doc .intro { font: italic 400 19.5px/1.55 var(--serif); color: var(--dim); margin: 0 0 28px; }
.doc h2 { font: 700 28px/1.25 var(--display); color: var(--gold-hi); margin: 48px 0 14px; padding-bottom: 10px;
  background: linear-gradient(90deg, var(--gold), transparent) left bottom / 100% 1px no-repeat; }
.doc h3 { font: 700 20px/1.35 var(--display); color: var(--parch); margin: 32px 0 8px; }
.doc h4 { font: 650 16.5px/1.4 var(--body); color: var(--gold-hi); margin: 24px 0 6px; }
.doc .anchor { margin-left: 8px; color: var(--faint); opacity: 0; font-weight: 400; text-decoration: none; }
.doc :is(h2, h3, h4):hover .anchor, .doc .anchor:focus { opacity: 1; }
.doc p, .doc li { color: var(--text-2); }
/* Links in running text get a soft underline too: gold beside off-white text needs more than color. */
.doc :is(p, li, td, figcaption) a { text-decoration: underline; text-decoration-color: rgba(244, 215, 138, 0.4); text-underline-offset: 3px; }
.doc :is(p, li, td, figcaption) a:hover { text-decoration-color: var(--gold-hi); }
.doc ul, .doc ol { padding-left: 24px; }
.doc li { margin: 5px 0; }
.doc li::marker { color: var(--gold); }
.doc strong { color: var(--text); font-weight: 650; }
.doc code { font: 500 0.86em/1.4 var(--mono); background: #0a0805; border: 1px solid #4a3614; border-radius: 3px; padding: 1px 6px; color: var(--gold-hi); }
.doc pre { background: #0a0805; border: 1px solid #4a3614; border-radius: 3px; padding: 14px 16px; overflow: auto; }
.doc pre code { background: none; border: 0; padding: 0; color: #e6dcc5; font-size: 13.5px; }
.doc hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo), transparent); margin: 32px 0; }
/* Asides: dark ink on parchment */
.doc blockquote, .note {
  margin: 24px 0; padding: 14px 20px; color: var(--ink); border-radius: 3px; background: var(--parchment);
  box-shadow: inset 0 0 30px rgba(120, 70, 10, 0.4), 0 0 0 2px #2b1c08, 0 0 0 3px #a8812f;
}
.doc blockquote :is(p, li), .note :is(p, li) { color: var(--ink); }
.doc blockquote p { margin: 6px 0; }
.doc blockquote a, .note a { color: #6b3f05; text-decoration-color: rgba(107, 63, 5, 0.5); }
.doc blockquote strong, .note strong { color: #3b2405; }
.doc blockquote code, .note code { background: rgba(255, 255, 255, 0.35); border-color: rgba(59, 36, 5, 0.35); color: #3b2405; }
.note { font-size: 15.5px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--gold-lo); }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th { text-align: left; font: 700 13.5px/1.4 var(--display); letter-spacing: 0.04em; color: var(--gold-hi); background: rgba(212, 168, 75, 0.08); }
.doc th, .doc td { padding: 9px 12px; border-bottom: 1px solid rgba(212, 168, 75, 0.14); vertical-align: top; }
.doc tr:last-child td { border-bottom: 0; }
.doc td code { white-space: nowrap; }
.doc figure { margin: 30px 0; }
.doc figure .frame { display: inline-block; max-width: 100%; padding: 6px; background: #000; border: 2px solid #6c4d1a; outline: 1px solid var(--gold); outline-offset: 3px; }
.doc figure img, .doc figure video { max-width: 100%; height: auto; cursor: zoom-in; background: #000; }
.doc figcaption { font: italic 400 16px/1.5 var(--serif); color: var(--dim); margin-top: 12px; }
.doc img.inline { display: inline-block; vertical-align: middle; border-radius: 3px; }
.doc .center { display: flex; justify-content: center; }
/* (the site's own Try It Now / Play It Now under a StreetView page's logo) */
.doc .doc-cta { display: flex; justify-content: center; margin: 4px 0 26px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { padding: 14px 20px; border: 1px solid var(--gold); background: linear-gradient(180deg, #2a1f10, #140e06); box-shadow: 0 0 0 2px #120c04, 0 0 0 3px #6c4d1a; text-decoration: none; }
.pager a:hover { background: linear-gradient(180deg, #37291a, #1b130a); text-decoration: none; }
.pager small { display: block; color: var(--dim); font: 600 11.5px/1.4 var(--display); letter-spacing: 0.12em; text-transform: uppercase; }
.pager span { font: 700 15.5px/1.35 var(--display); color: var(--gold-hi); }
.pager .next { text-align: right; grid-column: 2; }
.toc { position: relative; align-self: start; margin-top: 34px; padding: 0; font-size: 14px; }
.toc:empty { visibility: hidden; }
.toc-in { padding: 20px 16px 20px; }
.toc h6 { margin: 0 0 12px; font: 700 13px/1.2 var(--display); letter-spacing: 0.08em; color: var(--gold); }
.toc a { display: block; color: var(--dim); padding: 4px 0 4px 12px; border-left: 1px solid #4a3614; }
.toc a.sub { padding-left: 24px; }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a.on { color: var(--gold-hi); border-left-color: var(--gold-hi); }

/* Download, feedback and other pages: a centered title, then framed panels */
.page-head { max-width: 1240px; margin: 0 auto; padding: 56px 24px 18px; text-align: center; }
.page-head h1 {
  font: 900 clamp(36px, 5vw, 60px)/1.1 var(--display); margin: 0 0 12px;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #2b1a05);
}
.page-head p { color: var(--dim); font: italic 400 20px/1.55 var(--serif); margin: 0 auto; max-width: 720px; }
.panels { max-width: 1240px; margin: 0 auto; padding: 30px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 34px; }
.panel { padding: 34px 38px; }
.panel h2 { font: 700 26px/1.25 var(--display); color: var(--gold-hi); margin: 0 0 8px; }
.panel h3 { font: 700 15px/1.3 var(--display); letter-spacing: 0.06em; color: var(--gold); margin: 24px 0 8px; }
.panel p, .panel li { color: var(--text-2); }
.panel :is(p, li) a { text-decoration: underline; text-decoration-color: rgba(244, 215, 138, 0.4); text-underline-offset: 3px; }
.panel ul, .panel ol { padding-left: 22px; margin: 8px 0; }
.panel li::marker { color: var(--gold); }
.panel strong { color: var(--text); }
.panel code { font: 500 0.86em/1.4 var(--mono); background: #0a0805; border: 1px solid #4a3614; border-radius: 3px; padding: 1px 6px; color: var(--gold-hi); }
.panel .version { color: var(--dim); font: 600 13.5px/1.4 var(--display); letter-spacing: 0.04em; margin: 0 0 16px; }
.panel .version b { color: var(--gold-hi); }
.panel .cta { margin: 22px 0 6px; }
.panel.wide { grid-column: 1 / -1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 18px 0 30px; }
.doc .tile { margin: 0; }
.tile figcaption { font-style: normal; }
.tile { margin: 0; background: #0d0a06; border: 1px solid var(--gold-lo); outline: 1px solid rgba(212, 168, 75, 0.35); outline-offset: 2px; overflow: hidden; }
.tile .open { display: block; position: relative; aspect-ratio: 4 / 3; background: #000; }
.tile .open img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.tile .open:hover img { transform: scale(1.03); }
.tile.video .open::after {
  content: ""; position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10, 8, 6, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23f4d78a'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 1px solid var(--gold);
}
.tile figcaption { padding: 10px 12px 12px; font-size: 14px; color: var(--dim); line-height: 1.5; }
.tile figcaption a { display: block; margin-top: 4px; font: 700 12.5px/1.4 var(--display); letter-spacing: 0.04em; text-decoration: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 4, 3, 0.95); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox .stage img, .lightbox .stage video { max-width: min(1400px, 96vw); max-height: 82vh; width: auto; height: auto; border: 2px solid var(--gold-lo); box-shadow: 0 0 0 1px #000, 0 30px 80px rgba(0, 0, 0, 0.7); }
.lightbox .cap { color: var(--dim); max-width: 900px; text-align: center; font: italic 400 16px/1.5 var(--serif); }
.lightbox .close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--gold-hi); font-size: 36px; line-height: 1; cursor: pointer; }

/* Not found */
.lost { width: calc(100% - 32px); max-width: 640px; margin: 64px auto; padding: 56px 24px 52px; text-align: center; }
.lost img { margin: -20px auto 0; width: 182px; }
.lost h1 {
  font: 900 44px/1.2 var(--display); margin: 0 0 10px;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lost p { color: var(--text-2); font: 400 18.5px/1.6 var(--serif); }

/* The report form */
.report { display: grid; gap: 16px; margin-top: 16px; }
.report .row { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 14px; }
.report label { display: grid; gap: 6px; font: 700 13.5px/1.4 var(--display); letter-spacing: 0.04em; color: var(--gold-hi); }
.report .opt { font: 400 13px/1.4 var(--body); letter-spacing: 0; color: var(--dim); }
.report input, .report select, .report textarea {
  width: 100%; background: #0a0805; color: var(--text); border: 1px solid var(--gold-lo); border-radius: 3px;
  padding: 10px 12px; font: 400 15px/1.5 var(--body); letter-spacing: 0; outline: none;
}
.report textarea { resize: vertical; }
.report .mono { font-family: var(--mono); font-size: 13px; }
.report :is(input, select, textarea):focus { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.3); }
.report .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report .fine { color: var(--dim); font-size: 13.5px; margin: 0; }
.report .status { align-self: center; color: var(--dim); font-size: 14.5px; }
.report .status.good { color: var(--ok); }
.report .status.bad { color: var(--bad); }
.report button[disabled] { opacity: 0.45; cursor: progress; }
.report .report-pics { display: grid; gap: 8px; }
.report .report-pics > .lab { font: 700 13.5px/1.4 var(--display); letter-spacing: 0.04em; color: var(--gold-hi); }
.report .pics-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.report .pics-size { color: var(--dim); font-size: 14px; }
.report .pics-size.bad { color: var(--bad); }
.report .pics-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.report .pics-list:empty { display: none; }
.report .pics-list li { position: relative; width: 120px; }
.report .pics-list img { display: block; width: 120px; height: 84px; object-fit: cover; border: 1px solid var(--gold-lo); border-radius: 3px; background: #0a0805; }
.report .pics-list .pic-size { display: block; color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.report .pics-list .pic-remove {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; padding: 0; border-radius: 50%;
  border: 1px solid var(--gold-lo); background: rgba(10, 8, 5, 0.85); color: var(--gold-hi); font: 700 15px/1 var(--body); cursor: pointer;
}
.report .pics-list .pic-remove:hover, .report .pics-list .pic-remove:focus-visible { border-color: var(--gold); color: #fff2c4; }

/* Smaller screens */
@media (max-width: 1200px) {
  .guide { grid-template-columns: 240px minmax(0, 1fr); }
  .toc { display: none; }
}
/* Header: the search field from 1300 px wide; below that a search icon, opening a row under the header; from 1199 px
   the compact menu, without Discord's button; from 1023 px the menu button. (Each step keeps 40 px or more spare;
   tools/phone_check.py sweeps every width.) */
@media (max-width: 1299px) {
  .search-toggle { display: inline-flex; }
  .search { display: none; position: absolute; top: calc(var(--top) + 8px); right: 24px; width: 420px; height: 44px;
    background: #0a0805; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
  .search.open { display: flex; }
  .search input { font-size: 16px; } /* (16 px: iOS doesn't zoom the page into the field) */
  .search kbd { display: none; }
  .results { top: 50px; left: -1px; right: -1px; width: auto; }
}
@media (max-width: 1199px) {
  .nav a { padding: 9px 8px; }
  .discord { display: none; }
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  /* (the menu and the search row are solid: see-through, they showed the page's text) */
  .nav { display: none; position: absolute; top: var(--top); left: 0; right: 0; flex-direction: column; gap: 2px; background: #0c0905; border-bottom: 1px solid #3a2a10; padding: 8px 12px 14px; font-size: 15px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 12px; }
}
@media (max-width: 960px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menu-toggle {
    display: flex; align-items: center; gap: 8px; margin: 20px 0 0; height: 40px; padding: 0 16px; width: max-content;
    color: var(--gold-hi); background: linear-gradient(180deg, #2a1f10, #140e06); border: 1px solid var(--gold); border-radius: 3px;
    box-shadow: 0 0 0 2px #120c04, 0 0 0 3px #6c4d1a; font: 700 13.5px var(--display); letter-spacing: 0.06em; cursor: pointer;
  }
  .side, .side.stick { display: none; position: relative; top: auto; margin: 20px 0 0; }
  .side-in { max-height: none; }
  .side.open { display: block; }
  .doc { padding: 32px 30px 40px; }
  .hero .logo { width: 240px; }
  .shot-frame .device { width: 146px; left: -39px; bottom: -49px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .how-flow .flow-panel { grid-template-columns: 1fr; gap: 26px; }
  .how-flow .flow-pic img { max-height: 420px; margin: 0 auto; width: auto; max-width: 100%; }
  .how-flow.with-clip .flow-panel { grid-template-columns: 1fr; gap: 26px; }
  .how-flow .flow-clip { max-width: 640px; margin: 0 auto; }
  .band, .band.controller { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .band .pic { min-height: 280px; }
  .panels { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --top: 64px; }
  .top-in { gap: 12px; padding: 3px 16px 0; }
  .search { left: 12px; right: 12px; width: auto; } /* (phones: the search row is the width of the screen) */
  .top-right { flex: 1; justify-content: flex-end; }
  .brand span { font-size: 18px; }
  .guide, .section, .hero, .page-head, .panels { padding-left: 16px; padding-right: 16px; }
  /* (phones: the hero's buttons near the first screen: a smaller logo) */
  .hero { padding-top: 18px; gap: 40px; }
  .hero .logo { width: 190px; }
  .only-badge { font-size: 11px; padding: 8px 30px; }
  .eyebrow { margin-top: 16px; font-size: 11.5px; }
  .hero h1 { margin: 10px 0 0; }
  .hero .lead { font-size: 18px; margin: 16px auto 24px; }
  .hero h1.slogan { font-size: clamp(26px, 8.2vw, 34px); } /* (each sentence on one line down to 320 px) */
  .hero .cta { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
  .meta { flex-direction: column; gap: 4px; margin-top: 30px; }
  .shot-frame { padding: 8px; }
  .shot-frame .device { width: 110px; left: -18px; bottom: -40px; }
  .doc-plain, .doc-wide { margin-left: 16px; margin-right: 16px; }
  .doc { padding: 26px 20px 32px; }
  .doc h2 { font-size: 24px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .cards { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .how-flow .flow-panel { padding: 30px 20px; }
  .band { width: calc(100% - 32px); padding: 22px; margin: 24px auto 40px; gap: 26px; }
  .band.controller { padding: 26px 20px; }
  .tiles { grid-template-columns: 1fr; gap: 32px; }
  .final { padding-bottom: 64px; }
  .band .text { padding: 0; }
  .band .pic { min-height: 220px; }
  .panel { padding: 28px 22px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: 1; }
  .foot-in { grid-template-columns: 1fr; padding-left: 16px; padding-right: 16px; }
  .bg { background-position: 50% 30%; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .btn { padding: 0 18px; }
}
/* Small phones (380 px and narrower: the iPhone SE, most Androids): the buttons right under the headline and the
   intro after them, so they're on the first screen under Safari's bars. (By width, not height: the bars coming
   and going change the height while scrolling.) */
@media (max-width: 380px) {
  .hero .logo { width: 150px; }
  .hero .cta { order: 1; margin: 18px 0 22px; }
  .hero .lead { order: 2; margin-top: 0; }
  .hero .meta { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
