/* Tea Time VR — teatimevr.com
   The look is the logo's: cream paper, a thick brown outline round everything, tea orange, and the parlour's green
   wallpaper for the dark parts. */

:root {
  --cream: #fdf4e3;
  --cream-deep: #f8e7c9;
  --paper: #fffaf1;
  --ink: #43170c;
  --ink-soft: #6d4636;
  --line: #43170c;
  --orange: #e98a2e;
  --orange-light: #f5a04a;
  --orange-deep: #b9560f;
  --cyan: #56d9f5;
  --cyan-deep: #0e86a6;
  --navy: #394255;
  --green: #1c4033;
  --green-deep: #132c25;
  --gold: #e7c15f;
  --letter: #fdecd0;
  --link: #9a430f;
  --radius: 22px;
  --wrap: 1160px;
  --display: "Fredoka", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
/* Fredoka sets its words close together: a little air between them, wherever it is used. */
h1, h2, h3, h4, .btn, .nav-logo, .nav-links a, .faq summary, .eyebrow, .chip, .status, .room-tag, .hero-tagline,
.hero-meta li, .stats span, .feature-num, .update-title, .footer-brand strong, .footer nav a, .reqs dt,
.contact-email, .lightbox p, .legal-links a, .skip-link { word-spacing: .09em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }

:focus-visible { outline: 3px solid var(--cyan-deep); outline-offset: 3px; border-radius: 6px; }

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .9em;
  background: var(--cream-deep);
  border-radius: 6px;
  padding: .12em .4em;
  overflow-wrap: anywhere;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 600;
  padding: .6em 1em; border: 3px solid var(--line); border-radius: 999px;
}
.skip-link:focus { top: 16px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.2;
  padding: .8em 1.5em;
  color: var(--ink); background: var(--paper);
  border: 3px solid var(--line); border-radius: 999px;
  box-shadow: 0 5px 0 var(--line);
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 7px 0 var(--line); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--line); }
.btn-primary { background: var(--orange); }
.btn-primary:hover { background: var(--orange-light); }
.btn-small { font-size: .98rem; padding: .5em 1.1em; box-shadow: 0 4px 0 var(--line); }
.btn-small:hover { box-shadow: 0 6px 0 var(--line); }
.btn svg { width: 1.5em; height: 1.5em; flex: none; }
.btn-stack { display: flex; flex-direction: column; text-align: left; }
.btn-sub { font-family: var(--body); font-weight: 800; font-size: .76rem; letter-spacing: .02em; opacity: .8; }

/* ---------------------------------------------------------------- nav: a sticker along the top */

.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; padding: 0 16px; pointer-events: none; }
.nav .wrap {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(var(--wrap) - 32px);
  padding: 6px 8px 6px 12px;
  background: rgba(255, 250, 241, .97);
  border: 3px solid var(--line); border-radius: 999px;
  box-shadow: 0 5px 0 var(--line);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--display); font-weight: 700; font-size: 1.3rem; white-space: nowrap;
  color: var(--ink); text-decoration: none;
}
.nav-logo:hover { color: var(--ink); }
.nav-logo img { width: 40px; height: 40px; }
.nav-logo .vr { color: var(--cyan-deep); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .4em .8em; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 1.02rem;
  color: var(--ink); text-decoration: none;
}
.nav-links a:hover { background: var(--cream-deep); color: var(--ink); }
.nav-links a.active { background: var(--cream-deep); box-shadow: inset 0 0 0 2px var(--line); }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 9px;
  background: none; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 100%; height: 100%; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: calc(100% + 12px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 5px 0 var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: .7em 1em; font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .nav-logo { font-size: 1.1rem; gap: 8px; }
  .nav-logo img { width: 34px; height: 34px; }
  .nav .btn-small { font-size: .88rem; padding: .45em .85em; }
}
@media (max-width: 380px) {
  .nav-logo span { display: none; }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 1000px);
  display: grid; place-items: center;
  padding: 128px 0 104px;
  background: var(--green-deep); color: var(--letter);
  text-align: center; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 62% at 50% 46%, rgba(19, 32, 26, .46) 0%, rgba(19, 32, 26, .66) 60%, rgba(14, 22, 18, .84) 100%);
}
/* The cream of the page below comes up into the picture in scallops, like the edge of a doily. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; z-index: 2;
  background: radial-gradient(circle at 26px 26px, var(--cream) 25px, transparent 26px) repeat-x;
  background-size: 52px 26px;
}
.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(540px, 80vw); margin-bottom: 14px; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }
.hero-tagline {
  font-family: var(--display); font-weight: 600; line-height: 1.15;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin: 0 0 .45em; color: #fff7e6;
  text-shadow: 0 3px 0 var(--line), 0 6px 18px rgba(0, 0, 0, .5);
  text-wrap: balance;
}
.hero-tagline em { font-style: normal; color: var(--cyan); }
.hero .lede {
  max-width: 640px; margin: 0 auto 1.7em;
  font-size: 1.17rem; font-weight: 600; color: var(--letter);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .65);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.hero-meta li, .hero-meta span {
  font-family: var(--display); font-weight: 500; font-size: .93rem;
  padding: .28em .9em; border-radius: 999px;
  background: rgba(19, 32, 26, .62); border: 2px solid rgba(253, 236, 208, .5); color: var(--letter);
}
.hero-video-toggle {
  position: absolute; right: 20px; bottom: 46px; z-index: 3;
  width: 44px; height: 44px; padding: 13px;
  background: rgba(19, 32, 26, .7); color: var(--letter);
  border: 2px solid rgba(253, 236, 208, .55); border-radius: 50%; cursor: pointer;
}
.hero-video-toggle svg { width: 100%; height: 100%; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.paused .icon-play { display: block; }
.hero-video-toggle.paused .icon-pause { display: none; }

/* ---------------------------------------------------------------- at a glance */

.stats { padding: 44px 0 8px; }
.stats ul {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  list-style: none; margin: 0 auto; padding: 0 24px;
}
.stats li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 10px 14px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--line);
}
.stats li:nth-child(odd) { transform: rotate(-1.2deg); }
.stats li:nth-child(even) { transform: rotate(1deg); }
.stats strong { font-family: var(--display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--orange-deep); }
.stats span { font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1.25; margin-top: 6px; }
@media (max-width: 860px) {
  .stats ul { grid-template-columns: repeat(6, 1fr); }
  .stats li { grid-column: span 2; }
  .stats li:nth-child(n + 4) { grid-column: span 3; }
}
@media (max-width: 480px) {
  .stats ul { gap: 12px; }
  .stats strong { font-size: 2rem; }
  .stats span { font-size: .9rem; }
}

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

.section { position: relative; padding: 92px 0; }
.section-alt { background: var(--cream-deep); }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.16rem; color: var(--ink-soft); }
.eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--display); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .25em .95em; border-radius: 999px;
  background: var(--orange); color: var(--ink); border: 2px solid var(--line);
}

/* The parlour's wallpaper: green, with a small gold flower every so often. */
.wallpaper {
  background-color: var(--green);
  background-image:
    radial-gradient(circle, rgba(231, 193, 95, .34) 0 3px, transparent 3.6px),
    radial-gradient(circle, rgba(231, 193, 95, .12) 0 8px, transparent 8.6px),
    radial-gradient(circle, rgba(231, 193, 95, .34) 0 3px, transparent 3.6px),
    radial-gradient(circle, rgba(231, 193, 95, .12) 0 8px, transparent 8.6px);
  background-size: 64px 64px;
  background-position: 0 0, 0 0, 32px 32px, 32px 32px;
  color: var(--letter);
}
.wallpaper .lede { color: #e9dcc0; }
.wallpaper .eyebrow { background: var(--gold); }
.wallpaper a:not(.btn) { color: var(--gold); }

/* A scalloped lower edge: the section hangs over the next one like a tablecloth. */
.scallop::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 26px; z-index: 2;
  background: radial-gradient(circle at 26px 0, var(--edge, var(--cream-deep)) 25px, transparent 26px) repeat-x;
  background-size: 52px 26px;
  pointer-events: none;
}
.wallpaper.scallop { --edge: var(--green); }

/* Things appear as they scroll into view (only with JavaScript, and not for anyone who asked for less motion). */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

.feature {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 60px; align-items: center; margin-bottom: 88px;
}
.feature:last-of-type { margin-bottom: 0; }
.feature.flip .feature-media { order: 2; }
.frame {
  margin: 0; overflow: hidden;
  border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--line);
  background: var(--cream-deep);
  transform: rotate(-1.3deg);
  transition: transform .35s ease;
}
.feature.flip .frame { transform: rotate(1.3deg); }
.feature:hover .frame { transform: rotate(0); }
.frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-num {
  display: block; margin-bottom: 10px;
  font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-deep);
}
.feature-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
.feature-copy p { color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 1.1em 0 0; }
.feature-list li { position: relative; padding-left: 1.7em; margin-bottom: .45em; font-weight: 700; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: .8em; height: .8em;
  background: var(--orange); border: 2px solid var(--line); border-radius: 50%;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.chip {
  font-family: var(--display); font-weight: 500; font-size: .95rem;
  padding: .22em .85em; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--line);
}
.chip.hot { background: #ffd9a8; }
.chip.cool { background: #c9f1fb; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .feature.flip .feature-media { order: 0; }
}

/* What Tea Leaves buy: a strip of paper across the page. */
.collect {
  margin-top: 88px; padding: 32px 36px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center;
}
.collect h3 { font-size: 1.8rem; }
.collect p { margin: 0; color: var(--ink-soft); }
.collect .chips { margin: 0; }
.collect .chip { font-size: 1.05rem; padding: .3em 1em; }
.collect .chip strong { color: var(--orange-deep); font-weight: 700; }
@media (max-width: 900px) { .collect { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; margin-top: 64px; } }

/* ---------------------------------------------------------------- trailer */

.trailer { text-align: center; }
.trailer .section-head { margin-bottom: 40px; }
.trailer-frame {
  max-width: 980px; margin: 0 auto; overflow: hidden;
  border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 0 var(--line);
  background: #000;
}
.trailer-frame video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------------- tea rooms */

.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.room {
  position: relative; overflow: hidden;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 0 rgba(10, 20, 16, .75);
}
.room img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 3px solid var(--line); transition: transform .5s ease; }
.room:hover img { transform: scale(1.04); }
.room-tag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  font-family: var(--display); font-weight: 600; font-size: .88rem;
  padding: .2em .85em; border-radius: 999px;
  background: var(--gold); border: 2px solid var(--line); color: var(--ink);
}
.room-copy { position: relative; padding: 18px 22px 20px; background: var(--paper); }
.room-copy h3 { margin-bottom: .25em; }
.room-copy p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; gap: 26px; } }

/* ---------------------------------------------------------------- things to do */

.todo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.todo {
  padding: 24px 22px 20px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--line);
}
.todo-icon {
  width: 72px; height: 72px; padding: 11px; margin-bottom: 14px;
  background: #ffd9a8; border: 3px solid var(--line); border-radius: 50%;
  fill: none; stroke: var(--line); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.todo:nth-child(3n + 2) .todo-icon { background: #c9f1fb; }
.todo:nth-child(3n) .todo-icon { background: #d9ecc4; }
.todo-icon .fill { fill: var(--line); stroke: none; }
.todo h3 { font-size: 1.3rem; margin-bottom: .3em; }
.todo p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
@media (max-width: 1000px) { .todo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .todo-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gallery */

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery button {
  padding: 0; overflow: hidden; cursor: zoom-in;
  background: var(--cream); border: 3px solid var(--line); border-radius: 16px;
  box-shadow: 0 5px 0 var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gallery button:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 22, 18, .94); color: var(--letter);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox::backdrop { background: rgba(14, 22, 18, .94); }
.lightbox img {
  max-width: min(94vw, 2560px); max-height: 84vh; width: auto; height: auto;
  border: 3px solid var(--letter); border-radius: 14px;
}
.lightbox p { margin: 0; padding: 12px 70px 22px; font-family: var(--display); font-size: 1.05rem; text-align: center; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; padding: 12px;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--line); border-radius: 50%; cursor: pointer;
}
.lb-btn svg { width: 100%; height: 100%; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- latest update */

.update { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.update .section-head { margin-bottom: 0; }
.update-card {
  padding: 30px 34px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--line);
}
.update-title { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0 0 .15em; }
.update-date { font-weight: 800; font-size: .92rem; color: var(--orange-deep); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 1.2em; }
.update-card h4 { font-size: 1.15rem; margin: 1.2em 0 .5em; }
.update-card ul { padding-left: 1.2em; margin-bottom: 0; }
.update-card li { margin-bottom: .5em; }
.update-card li::marker { color: var(--orange-deep); }
.update-card p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .update { grid-template-columns: 1fr; gap: 30px; } .update-card { padding: 24px 22px; } }

/* ---------------------------------------------------------------- get the game */

.get { position: relative; isolation: isolate; padding: 104px 0 96px; text-align: center; overflow: hidden; }
.get-bg { position: absolute; inset: 0; z-index: -1; }
.get-bg img { width: 100%; height: 100%; object-fit: cover; }
.get-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(19, 44, 37, .9), rgba(19, 44, 37, .8) 40%, rgba(19, 44, 37, .95));
}
.get .lede { max-width: 620px; margin: 0 auto 1.6em; }
.get .hero-meta { margin-top: 24px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 60px 0 0; text-align: left; }
.platform {
  padding: 22px 24px;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 0 rgba(10, 20, 16, .75);
}
.platform h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 1.35rem; margin-bottom: .4em; }
.platform p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.status {
  font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .15em .7em; border-radius: 999px; border: 2px solid var(--line);
  background: #c9f1fb;
}
.status.warm { background: #ffd9a8; }
.status.leaf { background: #d9ecc4; }
.reqs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 26px 0 0; text-align: left;
  border: 2px solid rgba(253, 236, 208, .4); border-radius: var(--radius);
  background: rgba(14, 26, 22, .55);
}
.reqs div { padding: 16px 20px; border-left: 2px solid rgba(253, 236, 208, .22); }
.reqs div:first-child { border-left: 0; }
.reqs dt { font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.reqs dd { margin: 4px 0 0; font-size: .98rem; line-height: 1.45; }
@media (max-width: 900px) {
  .platforms { grid-template-columns: 1fr; }
  .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reqs div:nth-child(odd) { border-left: 0; }
  .reqs div:nth-child(n + 3) { border-top: 2px solid rgba(253, 236, 208, .22); }
}
@media (max-width: 480px) {
  .reqs { grid-template-columns: 1fr; }
  .reqs div { border-left: 0; }
  .reqs div + div { border-top: 2px solid rgba(253, 236, 208, .22); }
}

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

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--paper); border: 3px solid var(--line); border-radius: 18px;
  box-shadow: 0 4px 0 var(--line);
}
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 16px 58px 16px 22px;
  font-family: var(--display); font-weight: 600; font-size: 1.17rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  font-size: 1.4rem; line-height: 1; padding-bottom: 2px;
  background: var(--orange); border: 2px solid var(--line); border-radius: 50%;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > :not(summary) { margin: 0; padding: 0 22px 18px; color: var(--ink-soft); }
.faq details > p + p { padding-top: 0; }
.faq-more { text-align: center; margin: 34px 0 0; }

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

.footer { padding: 44px 0 40px; background: var(--green-deep); color: var(--letter); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.footer-brand span { font-size: .92rem; color: #cdbf9f; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { font-family: var(--display); font-weight: 500; color: var(--letter); text-decoration: none; }
.footer nav a:hover { color: var(--gold); text-decoration: underline; }

/* ---------------------------------------------------------------- support, privacy, terms */

.doc-page { padding: 132px 0 88px; }
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); margin-bottom: .2em; }
.doc h2 { font-size: 1.65rem; margin: 2em 0 .55em; scroll-margin-top: 110px; }
.doc h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.doc-meta { color: var(--ink-soft); font-weight: 700; margin-bottom: 2em; }
.doc li { margin-bottom: .45em; }
.doc li::marker { color: var(--orange-deep); }
.summary, .contact-card {
  margin: 2em 0; padding: 24px 28px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--line);
}
.summary h2 { margin-top: 0; font-size: 1.4rem; }
.summary ul { margin-bottom: 0; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card .contact-email { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: var(--ink); overflow-wrap: anywhere; }
.doc .faq { max-width: none; margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.4em; border: 3px solid var(--line); border-radius: 16px; background: var(--paper); }
.doc table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .96rem; line-height: 1.45; }
.doc th, .doc td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--cream-deep); }
.doc th { font-family: var(--display); font-weight: 600; background: var(--cream-deep); }
.doc tr:last-child td { border-bottom: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 2.6em; padding-top: 1.6em; border-top: 3px dashed var(--cream-deep); }
.legal-links a { font-family: var(--display); font-weight: 600; }

.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 24px 80px; }
.lost img { width: 150px; margin: 0 auto 18px; }
.lost h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.lost p { color: var(--ink-soft); margin-bottom: 1.6em; }

/* ---------------------------------------------------------------- less motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
