/* EXRVIA website — navy + signal red from EXRVIA Studio; the real Studio footage is the hero. */
:root {
  --navy: #0b1430; --navy-2: #111d40; --line: #26355f; --ink: #0f1a33; --paper: #f5f7fb; --card: #ffffff;
  --muted: #5b6886; --muted-d: #b9c5de; --red: #e5484d; --red-2: #ff6b70; --ok: #1f8a5b; --warn-bg: #fff6e5; --warn: #8a5a00;
  --disp: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy); color: #fff; font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--red-2); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }

/* top band + nav */
.band { background: var(--red); font-size: 14px; font-weight: 600; }
.band .wrap { display: flex; justify-content: center; align-items: center; gap: 12px; padding-block: 9px; flex-wrap: wrap; text-align: center; }
.band b { background: #fff; color: var(--red); border-radius: 999px; padding: 2px 10px; font-size: 11.5px; letter-spacing: .08em; }
.band a { font-weight: 700; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 20, 48, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 26px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--disp); font-weight: 800; font-size: 23px; letter-spacing: .05em; text-decoration: none; white-space: nowrap; }
.logo svg { width: 24px; height: 24px; }
.logo small { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: #9fb0d0; }
.nav .links { display: flex; gap: 22px; margin-left: 14px; }
.nav .links a { color: #c9d4ea; text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav .links a:hover { color: #fff; }
.nav .sp { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: #d63c42; }
.btn-ghost { border: 1.5px solid #3a4a78; color: #e3e9f6; background: transparent; } .btn-ghost:hover { border-color: #6d7fb2; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: center; padding-block: 56px 80px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-2); }
h1 { font-family: var(--disp); font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.02em; margin: 14px 0 20px; text-wrap: balance; }
.lead { font-size: 19px; color: #c9d4ea; max-width: 33em; margin: 0; }
.ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.window { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px #2c3b68; }
.window .bar { display: flex; align-items: center; gap: 7px; background: #e8ecf4; padding: 9px 12px; }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .window .bar i:nth-child(2) { background: #febc2e; } .window .bar i:nth-child(3) { background: #28c840; }
.window .bar span { margin-left: 12px; font-size: 12px; color: #56627e; background: #fff; border-radius: 6px; padding: 3px 12px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window .shot { display: block; position: relative; padding: 0; border: 0; width: 100%; cursor: pointer; background: #000; }
.window .shot img { display: block; width: 100%; }
.playbig { position: absolute; inset: 0; display: grid; place-items: center; }
.playbig span { display: inline-flex; align-items: center; gap: 10px; background: rgba(11,20,48,.88); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.playbig span::before { content: ""; width: 0; height: 0; border-left: 14px solid var(--red-2); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.shot:hover .playbig span { background: var(--red); } .shot:hover .playbig span::before { border-left-color: #fff; }

/* sections */
.light { background: var(--paper); color: var(--ink); }
section .wrap { padding-block: 80px; }
h2 { font-family: var(--disp); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.015em; margin: 10px 0 12px; text-wrap: balance; }
.sub { color: var(--muted); font-size: 18px; max-width: 46em; margin: 0; }
.dark .sub { color: var(--muted-d); }

/* video theater */
.theater { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 28px; margin-top: 34px; align-items: start; }
.stage { background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,26,51,.22); aspect-ratio: 16 / 9; }
.stage video { display: block; width: 100%; height: 100%; background: #000; }
.info { background: var(--card); border-radius: 14px; padding: 24px; box-shadow: 0 1px 0 #dfe5f1, 0 8px 22px rgba(15,26,51,.06); min-width: 0; }
.info .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.info h3 { font-family: var(--disp); font-size: 26px; margin: 10px 0 8px; line-height: 1.15; }
.info p { margin: 0 0 18px; color: #3d4a6b; }
.info .row { display: flex; gap: 10px; flex-wrap: wrap; }
.pv { display: inline-block; background: var(--warn-bg); color: var(--warn); border: 1px solid #f0c36a; border-radius: 5px; padding: 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; font-family: var(--mono); }
.btn-line { border: 1.5px solid #cfd8ea; color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; list-style: none; padding: 0; }
.card { margin: 0; }
.card button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 #dfe5f1, 0 6px 18px rgba(15,26,51,.06); transition: transform .15s ease, box-shadow .15s ease; }
.card button:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #dfe5f1, 0 12px 26px rgba(15,26,51,.12); }
.card button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.card .im { position: relative; aspect-ratio: 16 / 9; background: #e9eef7; overflow: hidden; }
.card .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(11,20,48,.86); color: #fff; font-size: 11.5px; border-radius: 6px; padding: 2px 7px; font-family: var(--mono); }
.card .pv { position: absolute; left: 8px; top: 8px; }
.card .t { padding: 12px 14px 14px; color: var(--ink); }
.card .t b { font-family: var(--disp); font-size: 16px; display: block; }
.card .t span { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 3px; }
.card[aria-current="true"] button { outline: 3px solid var(--red); outline-offset: -3px; }
.card[aria-current="true"] .im::after { content: "Now playing"; position: absolute; left: 8px; bottom: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; list-style: none; padding: 0; }
.steps li { background: var(--navy-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.steps img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.steps div { padding: 16px 18px 20px; }
.steps .k { font-family: var(--mono); font-size: 11px; color: var(--red-2); letter-spacing: .14em; }
.steps b { display: block; font-family: var(--disp); font-size: 19px; margin-top: 2px; }
.steps p { margin: 6px 0 0; color: var(--muted-d); font-size: 14.5px; }
.engines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.engines li { font-family: var(--mono); font-size: 14px; border: 1px solid #cfd8ea; border-radius: 8px; padding: 8px 14px; background: #fff; color: var(--ink); }

/* sign-up */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 52px; align-items: start; }
.gets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.gets li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; color: #c9d4ea; }
.gets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); margin-top: 9px; }
.gets b { color: #fff; }
form.su { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
form.su h3 { font-family: var(--disp); font-size: 22px; margin: 0; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 14px; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field textarea { width: 100%; border: 1.5px solid #d3dbea; border-radius: 10px; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 84px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips label { position: relative; font-weight: 500; font-size: 13.5px; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; border: 1.5px solid #d3dbea; border-radius: 999px; padding: 6px 12px; }
.chips input:checked + span { border-color: var(--red); color: var(--red); font-weight: 700; background: #fff4f4; }
.chips input:focus-visible + span { outline: 3px solid var(--red-2); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; color: #3d4a6b; align-items: start; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.err { color: #c62828; font-size: 13px; min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.done { border-radius: 12px; padding: 16px; background: #eefaf3; color: #14593b; font-weight: 600; }
.fail { border-radius: 12px; padding: 12px 16px; background: #fdecec; color: #8f1d22; font-size: 14px; }
form.su button[disabled] { opacity: .6; cursor: progress; }

footer .wrap { padding-block: 30px; border-top: 1px solid var(--line); color: #9fb0d0; font-size: 13.5px; display: flex; gap: 18px; justify-content: space-between; flex-wrap: wrap; }
footer a { color: #c9d4ea; }
.tracking { max-width: 60em; }

/* privacy page */
.doc { background: var(--paper); color: var(--ink); }
.doc .wrap { max-width: 820px; padding-block: 56px 80px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { color: #2f3b5a; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 10px 0; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid #dde3ef; padding: 8px 10px; vertical-align: top; }
.doc .tw { overflow-x: auto; }
.fill { background: #fff3c4; padding: 0 4px; border-radius: 3px; }

@media (max-width: 1080px) { .nav .links { display: none; } .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hero .wrap, .theater, .signup { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 28px 56px; gap: 30px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card .t span { display: none; }
  section .wrap { padding-block: 56px; }
}
@media (max-width: 520px) {
  .logo small { display: none; } .nav .btn { padding: 10px 14px; font-size: 14px; }
  .steps { grid-template-columns: 1fr; } .lead { font-size: 17px; } form.su { padding: 20px; }
  .window .bar span { display: none; }
}
