/* WHAT TO WEAR · VR Video Player — shared site styles (light theme) */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f6;
  --card: #ffffff;
  --card-edge: #e3e6e3;
  --text: #16191c;
  --muted: #5f6b73;
  --accent: #1f7a4d;          /* greenscreen green, darkened for contrast on white */
  --accent-soft: #eaf5ef;
  --accent2: #1d6fa5;         /* telemetry blue */
  --accent2-soft: #e9f2f9;
  --shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 8px 24px rgba(16, 24, 32, .06);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- header / nav ---- */
header.site { padding: 22px 0 0; }
.brand-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--muted);
}
nav.site {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--card-edge);
  flex-wrap: wrap;
}
nav.site .logo {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
nav.site .logo img { width: 28px; height: 28px; border-radius: 6px; }
nav.site a { color: var(--muted); text-decoration: none; padding: 6px 0; font-size: 15px; }
nav.site a:hover, nav.site a.active { color: var(--accent); }

/* ---- full-bleed banners ---- */
.banner {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.banner.short { min-height: 320px; }
/* Legibility over bright photography: a soft white wash from the reading side. */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(255,255,255,.94) 0%,
              rgba(255,255,255,.86) 34%,
              rgba(255,255,255,.42) 62%,
              rgba(255,255,255,.12) 100%);
}
.banner .banner-inner { position: relative; max-width: 1080px; margin: 0 auto; padding: 56px 24px; width: 100%; }
.banner .banner-text { max-width: 560px; }
.banner h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0 0 16px;
}
.banner h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.7px; margin: 0 0 12px; }
.banner p { color: #3c464e; font-size: 17.5px; margin: 0 0 22px; }
.banner .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--accent);
  margin: 0 0 12px;
}
@media (max-width: 720px) {
  .banner, .banner.short { min-height: 380px; }
  .banner::before { background: linear-gradient(180deg, rgba(255,255,255,.93) 40%, rgba(255,255,255,.6) 100%); }
}

/* ---- badges ---- */
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid var(--card-edge);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.75);
}
.badge.hot { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---- sections ---- */
section { padding: 56px 0; }
section h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.5px; }
section p.sub { color: var(--muted); margin: 0 0 30px; max-width: 720px; }
.rule { border: 0; border-top: 1px solid var(--card-edge); margin: 0; }

/* ---- cards ---- */
.grid { display: grid; gap: 18px; }
.grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.cols3, .grid.cols2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
/* Line-art icons (inline SVG) — no emoji anywhere on the site. */
.card .icon { display: block; width: 26px; height: 26px; margin-bottom: 12px; color: var(--accent); }
.card .icon svg { width: 100%; height: 100%; display: block; }

.card.worker { border-top: 3px solid var(--accent); }
.card.worker.lighting { border-top-color: var(--accent2); }
.card .ports { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.card .ports b { color: var(--text); font-weight: 600; }

.card.idea h3 { font-size: 15.5px; }
.card.idea { padding: 16px 18px; }
.tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 2px;
}
.tag.easy { background: var(--accent-soft); color: var(--accent); }
.tag.med  { background: #fdf1dc; color: #92600b; }
.tag.adv  { background: #fdeaea; color: #a3312f; }

/* ---- code & tables ---- */
pre {
  background: var(--bg-soft);
  border: 1px solid var(--card-edge);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
}
code { font-family: var(--mono); font-size: .92em; color: var(--accent2); }
pre code { color: var(--text); }
.comment { color: var(--muted); }
.k { color: var(--accent); font-weight: 600; }

table.spec { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0 6px; }
table.spec th, table.spec td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--card-edge); }
table.spec th { color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: .4px; }
table.spec tr:nth-child(even) td { background: var(--bg-soft); }
table.spec td:first-child { font-family: var(--mono); font-size: 13px; white-space: nowrap; }

/* docs layout */
.doc h3 { font-size: 21px; margin: 36px 0 8px; }
.doc h4 { font-size: 16px; margin: 26px 0 6px; }
.doc p { color: var(--muted); max-width: 760px; }
.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  margin: 16px 0;
  color: #2a3b32;
}
.note.blue { border-color: var(--accent2); background: var(--accent2-soft); color: #23414f; }

/* pipeline diagram */
.pipeline { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; margin: 20px 0; }
.pipeline .stage {
  flex: 1 1 150px;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pipeline .stage b { display: block; font-size: 14px; }
.pipeline .stage span { font-size: 12px; color: var(--muted); }
.pipeline .arrow { align-self: center; color: var(--accent); font-size: 20px; }

/* ---- support accordions ---- */
details.faq {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 12px;
  padding: 4px 20px;
  margin: 0 0 10px;
  box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 0;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "+";
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
  width: 22px;
}
details.faq[open] summary::before { content: "–"; }
details.faq p, details.faq li { color: var(--muted); font-size: 14.5px; margin: 0 0 12px 22px; }
details.faq ul { margin: 0 0 12px; }

/* ---- legal pages ---- */
.legal h3 { font-size: 19px; margin: 30px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; max-width: 780px; }
.legal .updated { font-size: 13px; color: var(--muted); }

/* ---- links ---- */
a { color: var(--accent); }
.doc a, .legal a, .card a { text-underline-offset: 2px; }

/* ---- footer ---- */
footer.site {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--card-edge);
  margin-top: 40px;
  background: var(--bg-soft);
}
footer.site .links { margin-top: 8px; }
footer.site .links a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site .links a:hover { color: var(--accent); }
footer.site .dev { margin-top: 10px; font-size: 12px; }
footer.site .dev a { color: var(--muted); }

/* ---- footer layout ---- */
footer.site .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
footer.site .footer-title { font-size: 16px; font-weight: 700; color: var(--text); margin-top: 6px; }
footer.site .footer-note { margin: 6px 0 0; max-width: 320px; line-height: 1.55; }
footer.site .footer-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text);
}
footer.site .footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
footer.site .footer-col a:hover { color: var(--accent); }
footer.site .footer-base {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--card-edge);
  font-size: 12.5px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer.site .footer-base a { color: var(--muted); text-decoration: none; }
footer.site .footer-base a:hover { color: var(--accent); }
@media (max-width: 720px) {
  footer.site .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  footer.site .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---- three-step demonstration strip ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps figure { margin: 0; }
.steps img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--card-edge);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.steps figcaption { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.steps figcaption b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 3px; }
.steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 1px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 26px; } }
