/* vbcut.com — one small stylesheet, zero JS. Mobile-first; parents on phones at tournaments. */

:root {
  color-scheme: light dark;
  --ink: #14181f;
  --muted: #5a6472;
  --bg: #ffffff;
  --wash: #f4f6f9;
  --accent: #0c4180;        /* brand blue — matches media/mark.svg */
  --accent-ink: #ffffff;
  --line: #e3e8ef;
  --max: 42rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }
img, video { max-width: 100%; height: auto; }

/* visible focus for keyboard users — never remove without replacing */
a:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* skip link: first tab stop on every page, parked off-screen until focused */
.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: var(--accent-ink);
  padding: 0.6rem 1rem; border-radius: 0 0 0.5rem 0;
  text-decoration: none; z-index: 10;
}
.skip:focus { left: 0; top: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* header / nav */
header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav.site a { margin-left: 1rem; font-size: 0.95rem; text-decoration: none; color: var(--muted); }
nav.site a:hover { color: var(--ink); }

/* hero */
/* Longhand for the same reason as .prose: .hero shares its element with .wrap. */
.hero { text-align: center; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.75rem;
}
.hero .sub { font-size: 1.15rem; color: var(--muted); margin: 0 auto 1.75rem; max-width: 34rem; }

.before-after {
  display: flex; align-items: center; justify-content: center; gap: 0.9rem;
  margin: 0 auto 1.75rem; font-weight: 600; flex-wrap: wrap;
}
.before-after .chip {
  background: var(--wash); border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.55rem 0.9rem; font-size: 0.98rem;
}
.before-after .chip strong { display: block; font-size: 1.25rem; letter-spacing: -0.01em; }
.before-after .arrow { color: var(--accent); font-size: 1.4rem; }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; border-radius: 0.65rem;
  padding: 0.85rem 1.6rem; font-size: 1.05rem;
}
.btn:hover { filter: brightness(1.08); }
.cta-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

/* sections */
section { padding: 2.25rem 0; }
section.alt { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 1.45rem; letter-spacing: -0.01em; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
p  { margin: 0.6rem 0; }
ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

.cards { display: grid; gap: 0.9rem; grid-template-columns: 1fr; margin-top: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }  /* 4 pillars -> 2×2 */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1rem 1.1rem;
}
.card h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0 0; }
ol.steps li {
  counter-increment: step; position: relative; padding-left: 2.6rem; margin: 0.9rem 0;
}
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ — native <details>, no JS */
details {
  border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.75rem 1rem; margin: 0.6rem 0; background: var(--bg);
}
details summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); }

/* prose pages (privacy / support / filming) */
/* Longhand on purpose: .prose sits on the SAME element as .wrap and is declared later, so the
   shorthand `padding: 2.5rem 0 3rem` was zeroing .wrap's side gutters — prose pages rendered
   flush against the phone bezel. Same convention as header/footer .wrap. */
.prose { padding-top: 2.5rem; padding-bottom: 3rem; }
.prose h1 { font-size: 1.8rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.prose .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.prose h2 { margin-top: 2rem; font-size: 1.25rem; }
.callout {
  background: var(--wash); border-left: 4px solid var(--accent);
  border-radius: 0 0.5rem 0.5rem 0; padding: 0.8rem 1rem; margin: 1rem 0;
}
.callout.big { font-size: 1.05rem; font-weight: 600; }

/* definition-style contact/company facts — same class name and shape as raycave.com's
   sheet, per the sibling convention. Used by /support/, which is the URL Apple treats
   as the App Store Support URL and expects to carry real contact details. */
dl.facts { margin: 1.25rem 0 0; }
dl.facts div {
  display: flex; gap: 1rem; padding: 0.6rem 0;
  border-top: 1px solid var(--line); flex-wrap: wrap;
}
dl.facts div:last-child { border-bottom: 1px solid var(--line); }
dl.facts dt { flex: 0 0 9.5rem; color: var(--muted); font-size: 0.95rem; margin: 0; }
dl.facts dd { margin: 0; flex: 1 1 14rem; }
/* Phone portrait: stack label over value — the fixed label column leaves a dead zone between
   short labels and their values and squeezes the address. Block, not flex, so the row's 1rem
   gap doesn't reappear as vertical bloat. */
@media (max-width: 480px) {
  dl.facts div { display: block; }
  dl.facts dt { margin-bottom: 0.15rem; }
  dl.facts dd { width: 100%; }
}

/* footer */
footer.site { border-top: 1px solid var(--line); margin-top: 2rem; }
footer.site .wrap { padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.9rem; color: var(--muted); }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 1rem; }
footer.site a:hover { color: var(--ink); }
footer.site .legal { margin-top: 0.5rem; }
/* the company link sits in running text, not the nav row — drop the nav spacing
   and underline it so it reads as a link rather than as part of the copyright */
footer.site .legal a { margin-right: 0; text-decoration: underline; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f5; --muted: #9aa4b2; --bg: #101318; --wash: #181d25;
    --accent: #67a0e4; --accent-ink: #0b1020; --line: #29303b;
  }
}
