/* kotorvr.com - the colours and type are docs/launch/brand.md sections 3 and 4. Gold on Night only. Mobile first. */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/cinzel-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); }

:root {
  --gold-light: #A8803F; --gold: #87612A; --gold-deep: #6A4520; --rim: #DCB872; --edge: #24170A;
  --night: #0E1014; --glow: #1E2129; --parchment: #EDE3CF; --ash: #9A958A;
  --line: rgba(168, 128, 63, .28);
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 68rem; --text: 42rem;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--parchment);
  font: 1.0625rem/1.65 var(--sans);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--glow), transparent 70%),
    radial-gradient(1px 1px at 12% 18%, rgba(237, 227, 207, .5), transparent),
    radial-gradient(1px 1px at 78% 9%, rgba(237, 227, 207, .4), transparent),
    radial-gradient(1px 1px at 42% 31%, rgba(237, 227, 207, .3), transparent),
    radial-gradient(1px 1px at 90% 38%, rgba(237, 227, 207, .35), transparent),
    radial-gradient(1px 1px at 24% 52%, rgba(237, 227, 207, .25), transparent);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rim); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #F0D69A; }
:focus-visible { outline: 2px solid var(--rim); outline-offset: 3px; border-radius: 2px; }
code { font-size: .9em; overflow-wrap: anywhere; background: var(--glow); padding: .1em .35em; border-radius: 3px; border: 1px solid var(--line); }
strong { color: #F6EEDC; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.prose { max-width: var(--text); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--rim); color: var(--night); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: .02em; color: var(--rim); }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); margin: 0 0 .75rem; }
h2 { font-size: clamp(1.45rem, 4.2vw, 2rem); margin: 2.75rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin: .35rem 0; }
.lede { font-size: 1.15rem; color: #F3EBDA; }
.muted { color: var(--ash); }

/* the preview bar and the owed chips (never in a launch build) */
.preview-bar { background: #3A2A10; color: #F6E3B8; text-align: center; font-size: .85rem; padding: .35rem 1rem; border-bottom: 1px solid var(--gold); }
.tbd { display: inline-block; font: 600 .72rem/1.4 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #1A1204;
  background: #E7C66B; border-radius: 3px; padding: .05rem .4rem; vertical-align: middle; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(14, 16, 20, .88); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .8rem; padding-bottom: .8rem; }
.brand img { width: 176px; height: auto; }
.site-header ul { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; margin: 0; padding: 0; }
.site-header li { margin: 0; }
.site-header nav a { font-family: var(--serif); font-weight: 600; font-size: .9rem; letter-spacing: .06em; color: var(--parchment);
  text-decoration: none; display: inline-block; padding: .35rem 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--rim); border-bottom-color: var(--gold-light); }

main { padding-bottom: 3rem; }
.page-head { padding: 2.5rem 0 .5rem; }
.page-head p { color: var(--ash); max-width: var(--text); }

/* the home hero */
.hero { text-align: center; padding: 2rem 0 1rem; }
.hero .logo { width: min(92vw, 54rem); margin: 0 auto; filter: drop-shadow(0 6px 28px rgba(0, 0, 0, .6)); }
.hero .name { font-family: var(--serif); font-size: clamp(.95rem, 3vw, 1.15rem); letter-spacing: .12em; color: var(--ash); margin: 1.25rem 0 .25rem; text-transform: uppercase; }
.hero .tagline { font-family: var(--serif); font-size: clamp(1.6rem, 5.4vw, 2.6rem); color: var(--rim); margin: 0 0 .75rem; }
.hero .honest { max-width: 36rem; margin: 0 auto 1.25rem; color: var(--parchment); }

/* buttons */
.downloads { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; margin: 1rem 0 .5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.5rem;
  font: 700 1rem/1.2 var(--serif); letter-spacing: .06em; text-decoration: none; color: var(--night);
  background: linear-gradient(180deg, var(--rim), var(--gold-light) 55%, var(--gold)); border: 1px solid var(--gold-deep);
  border-radius: 4px; box-shadow: 0 2px 12px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.button:hover { color: var(--night); filter: brightness(1.08); }
.button-quiet { background: transparent; color: var(--rim); border-color: var(--gold-light); box-shadow: none; }
.button-quiet:hover { color: var(--night); background: var(--rim); }
.button-soon { background: transparent; color: var(--ash); border: 1px dashed var(--gold-deep); box-shadow: none; cursor: default; }
.button small { font: 500 .75rem/1 var(--sans); letter-spacing: 0; }
.cta-note { font-size: .9rem; color: var(--ash); text-align: center; }

/* the trailer: a poster until pressed (site.js swaps in the privacy-enhanced embed) */
.video { position: relative; max-width: 56rem; margin: 1.5rem auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #000; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-poster { display: block; width: 100%; height: 100%; }
.play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: rgba(14, 16, 20, .72); border: 2px solid var(--rim); }
.play::after { content: ""; position: absolute; left: 34px; top: 25px; border-style: solid; border-width: 17px 0 17px 26px; border-color: transparent transparent transparent var(--rim); }
.video-poster:hover .play { background: rgba(168, 128, 63, .35); }
.video-soon img { opacity: .55; }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .75rem 1rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  text-align: center; font-family: var(--serif); font-size: .85rem; color: var(--parchment); }
@media (min-width: 40rem) { .video-note { font-size: 1rem; } }

/* sections, cards, rules */
.rule { border: 0; height: 1px; margin: 3rem auto; max-width: 30rem; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); position: relative; overflow: visible; }
.rule::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; transform: rotate(45deg); background: var(--night); border: 1px solid var(--gold-light); }
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 1.25rem 0; }
.card { background: linear-gradient(180deg, var(--glow), rgba(30, 33, 41, .55)); border: 1px solid var(--line); border-radius: 6px; padding: 1.1rem 1.25rem; margin: 0; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.panel { background: var(--glow); border: 1px solid var(--line); border-left: 3px solid var(--gold-light); border-radius: 4px; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.panel p:last-child { margin-bottom: 0; }
.soon { color: var(--ash); font-style: italic; }

/* the FAQ */
.faq-group h2 { font-size: 1.35rem; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .7rem; font: 400 1.5rem/1 var(--sans); color: var(--gold-light); }
details[open] summary::after { content: "\2212"; }
summary h3 { display: inline; margin: 0; font-size: 1.05rem; color: var(--parchment); }
summary:hover h3 { color: var(--rim); }
details p { margin: 0 0 1rem; }

/* tables (the fact sheet) */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
th { font-family: var(--serif); font-weight: 600; color: var(--rim); width: 34%; }

/* media */
.assets { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); list-style: none; padding: 0; }
.assets li { margin: 0; }
.assets .thumb { background: var(--night); border: 1px solid var(--line); border-radius: 4px; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1rem; }
.assets .thumb img { max-height: 7.5rem; max-width: 100%; width: auto; }
.assets p { font-size: .9rem; margin: .4rem 0 0; }
.shots { display: grid; gap: .75rem; grid-template-columns: 1fr; list-style: none; padding: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .88rem; color: var(--ash); }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding: 0; margin: 0 0 .75rem; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--parchment); }
.site-footer .social a, .site-footer .tip a { color: var(--rim); }
.disclaimer { font-size: .8rem; line-height: 1.55; max-width: 52rem; margin-top: 1rem; }

@media (min-width: 40rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .brand img { width: 230px; }
}
@media (min-width: 60rem) {
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
