/* PerfDeck website - clean dusk design. The landing page floats over the Innsbruck scene (#world); the other pages are light and still. */
@font-face { font-family: "Inter"; src: url(/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(/fonts/b612-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url(/fonts/b612-mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #04070c; --bg2: #080d15; --bg3: #0d1520; --line: rgba(170, 195, 225, .12); --line2: rgba(170, 195, 225, .2);
  --ink: #f2f5f9; --ink2: #c3cdd8; --muted: #7f8c9b; --cyan: #38c6ff; --amber: #ffb02e; --green: #4de27a; --red: #ff5a4a;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "B612 Mono", "SFMono-Regular", Consolas, Menlo, monospace;
  --max: 1200px; --r: 16px; --veil: 0;
  /* compatibility with the account / admin scripts */
  --navy: #04070c; --navy2: #080d15; --navy3: #0d1520; --line-d: rgba(170, 195, 225, .12); --paper: #04070c; --panel: #0b121c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink2); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: var(--ink); text-decoration: none; } a:hover { color: #fff; }
img, svg, video { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 600; letter-spacing: -.025em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
b, strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .center { text-align: center; }
code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: .08em .4em; border-radius: 6px; color: #dceaf7; }
.kicker, .lbl, .copy p.kicker { display: inline-block; font-family: var(--mono); font-size: .72rem; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.hidden { display: none !important; }

/* ---------- header ---------- */
header.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border: 0; background: linear-gradient(180deg, rgba(4,7,12,.78) 0%, rgba(4,7,12,.35) 60%, rgba(4,7,12,0) 100%); transition: background .4s, box-shadow .4s; }
body:not(.scene-home) header.top { position: sticky; background: rgba(4,7,12,.92); box-shadow: 0 1px 0 var(--line); }
body.scene-home.past header.top, body.scene-home.no3d header.top { background: rgba(4,7,12,.94); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.brand .lg { width: 30px; height: 30px; } .brand b { color: var(--cyan); font-weight: 600; }
nav.main { display: flex; gap: 28px; margin-left: 8px; }
nav.main a { color: #aab6c3; font-size: .9rem; font-weight: 500; }
nav.main a:hover, nav.main a.on { color: #fff; }
nav.main .only-mobile { display: none; }
.top .cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: #fff; border-radius: 10px; padding: 6px 11px; font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-family: var(--font); font-weight: 600; font-size: .95rem; letter-spacing: -.005em; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn.pri { background: #fff; color: #05080d; }
.btn.pri:hover { background: #dff4ff; color: #05080d; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn.ghost:hover { border-color: #fff; }
.btn.light { background: rgba(255,255,255,.08); color: #fff; border-color: var(--line2); }
.btn.light:hover { background: rgba(255,255,255,.14); }
.btn.danger { background: #c9433a; color: #fff; }
.btn.discord { background: #5865f2; color: #fff; } .btn.discord:hover { background: #4752c4; color: #fff; }
.btn.discord svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn.sm { padding: 8px 16px; font-size: .86rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- the stage (landing page) ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
/* the canvas is transparent until the valley has loaded: the tablet arrives over the still image, the scene fades in */
#world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s ease; }
body.live3d #world, body.ready3d #world { opacity: 1; }
.stage .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,7,12,.72) 0%, rgba(4,7,12,.38) 32%, rgba(4,7,12,0) 58%), linear-gradient(0deg, rgba(4,7,12,.55), rgba(4,7,12,0) 30%); transition: opacity .6s; }
body[data-chap="2"] .stage .shade, body[data-chap="6"] .stage .shade { background: linear-gradient(270deg, rgba(4,7,12,.72) 0%, rgba(4,7,12,.38) 32%, rgba(4,7,12,0) 58%), linear-gradient(0deg, rgba(4,7,12,.5), rgba(4,7,12,0) 30%); }
/* progress through the flight: one segment per phase, the current one named */
.prog { position: fixed; left: 50%; bottom: 38px; z-index: 40; display: flex; gap: 6px; width: min(640px, calc(100vw - 56px)); translate: -50% 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.prog.on { opacity: 1; }
.prog i { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.16); border-radius: 2px; }
.prog i::after { content: ""; position: absolute; inset: 0; background: var(--cyan); border-radius: 2px; transform-origin: left; transform: scaleX(var(--k, 0)); }
.prog i::before { content: attr(data-l); position: absolute; left: 0; top: 9px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: rgba(255,255,255,.36); transition: color .4s; }
.prog i.cur::before { color: #fff; }
body.no3d .prog { display: none; }
.stage .veil { position: absolute; inset: 0; background: var(--bg); opacity: var(--veil); }
#labels { position: absolute; inset: 0; overflow: hidden; }
/* the hero frame as an image: shown at once, under the canvas that fades in over it; also the fallback without WebGL */
.still { position: absolute; inset: 0; background: #04070c url(/3d/still-hero.jpg) 72% 50% / cover no-repeat; }
body.no3d #world { display: none; }
.only-no3d { display: none; } body.no3d .only-no3d { display: block; }
.flowshot { margin: 26px 0 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); max-width: 480px; }
.flowshot img { display: block; width: 100%; height: auto; }

/* labels pinned to the scene */
.lb { position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; will-change: transform, opacity; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #e9f2fb; }
/* tracker-style label: a small box above the aircraft with a leader line down to it */
.lb.tag { translate: -50% calc(-100% - 34px); padding: 5px 9px; border-radius: 4px; background: rgba(4,7,12,.72); border: 1px solid rgba(255,255,255,.18); line-height: 1.45; text-align: center; }
.lb.tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 30px; background: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,0)); }
.lb.tag b { font-weight: 700; color: #fff; }
.lb.tag span { color: var(--amber); }
.lb.tech { margin: -9px 0 0 0; translate: -50% 0; padding: 3px 7px; border-radius: 4px; background: rgba(4,7,12,.62); color: #dce8f4; font-size: 10.5px; }
.lb.tech b { color: #fff; font-weight: 700; }
.lb.tech.cyan { color: var(--cyan); } .lb.tech.cyan b { color: var(--cyan); }
.lb.tech.amber { color: var(--amber); } .lb.tech.amber b { color: var(--amber); }
.lb.tech.green { color: var(--green); } .lb.tech.green b { color: var(--green); }
.lb.tech.red { color: #ffd2cc; background: rgba(120,16,10,.78); border: 1px solid rgba(255,90,74,.7); } .lb.tech.red b { color: #fff; }
.lb.tech.big { font-size: 12.5px; padding: 4px 9px; }
.lb.tech.twy { background: none; color: #ffd75a; font-size: 10px; }
.lb.tech.twy i { font-style: normal; display: inline-block; min-width: 18px; padding: 1px 4px; margin-right: 5px; background: #ffd75a; color: #111; font-weight: 700; text-align: center; border-radius: 2px; }
/* taxiway location signs: black with a yellow letter and border, as on the airfield */
.lb.tech.sign { padding: 0; background: none; }
.lb.tech.sign i { margin: 0; min-width: 22px; padding: 3px 6px; background: #111; color: #ffd75a; border: 1.5px solid #ffd75a; font-size: 12px; border-radius: 2px; }
.lb.tech.eos { background: rgba(4,7,12,.7); color: #bfe9ff; border: 1px solid rgba(56,198,255,.35); }

/* ---------- chapters ---------- */
main { position: relative; z-index: 2; }
.chap { position: relative; }
.chap .pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.chap .pin > .wrap { width: 100%; }
/* one screen per phase of the flight: the scroll steps from phase to phase, each phase plays by itself (story.js) */
.chap { height: 100vh; height: 100svh; }
/* without the scene the phases are plain sections, as tall as their text and pictures */
body.no3d .chap { height: auto; min-height: 100svh; } body.no3d .chap .pin { position: relative; height: auto; min-height: 100svh; padding: 90px 0; }
.copy { max-width: 520px; will-change: opacity, transform; }
.copy.right { margin-left: auto; }
.copy p { font-size: 1.08rem; color: #b8c4d1; }
.c0 .copy { max-width: 600px; }
.c0 .copy p.lead { font-size: 1.2rem; color: #c9d3de; max-width: 520px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
/* the scroll cue of the hero: the word, a mouse with its wheel turning, an arrow below; readable on any frame of the scene */
.hint { position: absolute; left: 50%; bottom: 40px; translate: -50% 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.82); text-shadow: 0 1px 8px rgba(0,0,0,.7); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hint i { position: relative; width: 22px; height: 34px; border: 1.6px solid rgba(255,255,255,.82); border-radius: 12px; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.hint i::before { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.9s ease-in-out infinite; }
.hint i::after { content: ""; position: absolute; left: 50%; bottom: -17px; width: 8px; height: 8px; margin-left: -5px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: cue 1.9s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 70% { opacity: 1; transform: translateY(9px); } 100% { opacity: 0; transform: translateY(11px); } }
@keyframes cue { 0%, 100% { opacity: .45; transform: translateY(0) rotate(45deg); } 55% { opacity: 1; transform: translateY(5px) rotate(45deg); } }
.spec { display: flex; flex-wrap: wrap; gap: 0; margin: 26px 0 0; border-top: 1px solid var(--line2); }
.spec div { padding: 14px 26px 0 0; margin-right: 26px; }
.spec dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.spec dd { margin: 4px 0 0; font-family: var(--mono); font-size: 1.12rem; color: #fff; }
.spec dd.c { color: var(--cyan); } .spec dd.a { color: var(--amber); } .spec dd.g { color: var(--green); }
.steps ol { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); opacity: .38; transition: opacity .45s; counter-increment: s; }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 15px; font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .1em; }
.steps li b { display: block; font-size: 1.12rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.steps li span { display: block; font-size: .96rem; color: #a7b4c2; margin-top: 2px; }
.steps li.on { opacity: 1; } .steps li.on::before { color: var(--cyan); }
body.no3d .steps li { opacity: 1; }
.eos { margin: 22px 0 0; padding: 16px 18px; font-family: var(--mono); font-size: .82rem; line-height: 1.8; color: #dff1ff; background: rgba(4,7,12,.55); border: 1px solid rgba(56,198,255,.28); border-radius: 12px; white-space: pre-wrap; }
.eos b { color: var(--cyan); font-weight: 400; }
.note { font-size: .82rem !important; color: var(--muted) !important; margin-top: 14px; }

/* ---------- sections after the story ---------- */
.flow { position: relative; z-index: 2; padding: 120px 0; background: var(--bg); }
.flow.first { padding-top: 140px; background: linear-gradient(180deg, rgba(4,7,12,0), var(--bg) 160px); }
.sec-head { max-width: 720px; margin: 0 0 54px; }
.sec-head.center { margin: 0 auto 54px; text-align: center; }
.sec-head p { font-size: 1.08rem; color: #9fadbb; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.gallery figure { margin: 0; }
.shot { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.shot img { display: block; width: 100%; height: auto; }
.gallery figcaption { margin-top: 14px; }
.gallery figcaption b { display: block; font-size: 1rem; }
.gallery figcaption span { color: #8d9aa8; font-size: .9rem; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(260px, 380px)); justify-content: center; gap: 22px; }
.plan { position: relative; padding: 34px 32px; border: 1px solid var(--line2); border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); text-align: left; }
.plan.hi { border-color: rgba(56,198,255,.55); background: linear-gradient(180deg, rgba(56,198,255,.08), rgba(56,198,255,.015)); }
.plan .tag { position: absolute; top: -12px; right: 24px; background: var(--cyan); color: #04121d; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; }
.plan h3 { font-size: 1rem; font-weight: 600; color: #c9d3de; }
.price { font-size: 3rem; font-weight: 600; letter-spacing: -.04em; color: #fff; margin: 6px 0 2px; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); color: #b8c4d1; font-size: .95rem; }
.plan li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin: 0 12px 2px 2px; }
.plan .lbl { margin-bottom: 6px; }

/* ---------- other pages: light and still ---------- */
.backdrop { position: absolute; left: 0; right: 0; top: 0; height: 520px; z-index: 0; background: center 35% / cover no-repeat; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); }
body.scene-read .backdrop, body.scene-app .backdrop { height: 320px; opacity: .3; }
main > section, main > div { position: relative; z-index: 1; }
section.sec { padding: 90px 0; }
section.sec:first-child { padding-top: 110px; }
.light, .white, .dark { background: transparent; color: inherit; }
.lead { font-size: 1.15rem; color: #b8c4d1; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.feature.rev .txt { order: 2; }
.feature h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.feature ul { padding-left: 1.1em; color: #b8c4d1; } .feature li { margin: .45em 0; }
.ipad { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.ipad .bar { display: none; }
.ipad .scr { border-radius: 0; overflow: hidden; }
.ipad img { display: block; width: 100%; height: auto; }
.step, .card { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.025); }
.step h3, .card h3 { margin-top: 0; }
.step p, .card p { color: #a7b4c2; font-size: .96rem; }
.callout { padding: 16px 20px; margin: 18px 0; border: 1px solid rgba(255,176,46,.35); border-radius: 12px; background: rgba(255,176,46,.06); color: #e9dcc5; }
.callout.blue { border-color: rgba(56,198,255,.35); background: rgba(56,198,255,.06); color: #d7ecf7; }
.faq details { padding: 16px 20px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.faq summary { font-weight: 600; color: #fff; cursor: pointer; }
.refer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 44px; border: 1px solid var(--line2); border-radius: 22px; }
.refer .big { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1.05; }
.refer .big em { color: var(--amber); font-style: normal; }
.refer .box { padding: 22px; border: 1px dashed var(--line2); border-radius: 14px; font-family: var(--mono); }
.refer .box .k { font-size: .68rem; letter-spacing: .2em; color: var(--muted); } .refer .box .v { color: var(--cyan); margin: 6px 0 12px; word-break: break-all; }

/* documents and forms */
.page { padding: 80px 0 100px; }
.page.narrow .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.doc h2 { margin-top: 2em; font-size: 1.45rem; letter-spacing: -.015em; }
.doc h3 { margin-top: 1.5em; }
.doc ul, .doc ol { padding-left: 1.3em; } .doc li { margin: .35em 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: .93rem; margin: 1em 0; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; text-align: left; vertical-align: top; }
.doc th { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form { max-width: 460px; margin: 0 auto; padding: 34px; border: 1px solid var(--line2); border-radius: 20px; background: rgba(255,255,255,.025); }
label { display: block; font-weight: 500; font-size: .9rem; margin: 14px 0 6px; color: #d3dce6; }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; font: inherit; color: #fff; background: rgba(0,0,0,.35); }
select option { background: #0b121c; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(56,198,255,.35); border-color: var(--cyan); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; margin-top: 14px; } .check input { margin-top: 5px; }
.msg { border-radius: 12px; padding: 11px 14px; margin: 12px 0; font-size: .92rem; display: none; }
.msg.err { display: block; background: rgba(255,90,74,.1); color: #ffb9b0; border: 1px solid rgba(255,90,74,.35); }
.msg.ok { display: block; background: rgba(77,226,122,.1); color: #b5f3c8; border: 1px solid rgba(77,226,122,.3); }
.msg.info { display: block; background: rgba(56,198,255,.1); color: #c8ecff; border: 1px solid rgba(56,198,255,.3); }

/* account / admin */
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.side { position: sticky; top: 92px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); }
.side a { display: block; padding: 9px 12px; border-radius: 10px; color: #c6d0db; font-size: .92rem; font-weight: 500; }
.side a.on, .side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.panel { padding: 26px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.02); }
.panel h3 { margin-top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel.efb { background: rgba(56,198,255,.03); border-color: rgba(56,198,255,.18); }
.efb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.efb-grp { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.2); }
.efb-h { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--cyan); text-transform: uppercase; margin-bottom: 4px; }
.efb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.efb-h + .efb-row { border-top: 0; }
.efb-row > span { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: #c5d3e0; text-transform: uppercase; white-space: nowrap; }
.panel.efb input[type=text] { max-width: 260px; font-family: var(--mono); }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0,0,0,.35); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: 6px 11px; border-radius: 7px; font-family: var(--mono); font-size: .74rem; color: #8ea3b7; cursor: pointer; white-space: nowrap; }
.seg label:hover { color: #fff; }
.seg input:checked + label { background: var(--cyan); color: #04121d; }
.seg input:focus-visible + label { outline: 2px solid var(--cyan); }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 14px; font-size: .95rem; } .kv b { color: var(--muted); font-weight: 500; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.pill.ok { background: rgba(77,226,122,.14); color: #9df0b6; } .pill.warn { background: rgba(255,176,46,.16); color: #ffd48a; } .pill.bad { background: rgba(255,90,74,.15); color: #ffb3aa; } .pill.off { background: rgba(255,255,255,.07); color: #aab7c4; }
.key { display: inline-block; padding: 11px 15px; border: 1px solid var(--line2); border-radius: 10px; background: rgba(0,0,0,.4); font-family: var(--mono); font-size: 1.05rem; letter-spacing: .06em; color: var(--green); user-select: all; }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list th { color: var(--muted); font-family: var(--mono); font-weight: 400; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.stat .n { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; color: #fff; } .stat .l { color: var(--muted); font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- footer ---------- */
footer { position: relative; z-index: 2; background: var(--bg); color: #7f8c9b; padding: 64px 0 40px; font-size: .9rem; border-top: 1px solid var(--line); }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #c9d3de; margin: 0 0 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
footer a { color: #aab6c3; display: block; padding: 3px 0; }
footer a:hover { color: #fff; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 12px; font-size: .78rem; color: #66727f; line-height: 1.7; }
.notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; gap: 16px; max-width: 720px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--line2); border-radius: 14px; background: rgba(8,13,21,.96); font-size: .88rem; color: #c3cdd8; }
.notice.show { display: flex; }
.notice a { color: var(--cyan); }

@media (max-width: 960px) {
  .grid2, .grid3, .gallery, .plans, .stats, .feature, .refer, .dash, .efb-cols { grid-template-columns: 1fr; }
  .feature.rev .txt { order: 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .side { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
}
@media (max-width: 760px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 10px 28px 18px; background: rgba(4,7,12,.97); border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; } nav.main a { padding: 11px 0; font-size: 1rem; } nav.main .only-mobile { display: block; }
  .menu-btn { display: block; } .top .cta { display: none; }
  .wrap { padding: 0 20px; }
  /* phones: the text sits at the bottom, over a soft shade; the scene shows above it */
  .chap .pin { align-items: flex-end; padding-bottom: 7vh; }
  .copy, .copy.right { max-width: none; margin: 0; }
  .stage .shade, body[data-chap="2"] .stage .shade, body[data-chap="6"] .stage .shade { background: linear-gradient(0deg, rgba(4,7,12,.92) 0%, rgba(4,7,12,.6) 42%, rgba(4,7,12,0) 70%); }
  .prog { top: 76px; bottom: auto; width: calc(100vw - 40px); gap: 4px; }
  .prog i::before { display: none; }
  .still { background-image: url(/3d/still-hero-m.jpg); background-position: 50% 50%; }
  h1 { font-size: 2.5rem; } h2 { font-size: 1.75rem; }
  .copy p, .c0 .copy p.lead { font-size: 1rem; }
  .steps ol { margin-top: 16px; } .steps li { padding: 9px 0 9px 38px; } .steps li span { display: none; } .steps li.on span { display: block; }
  .eos { font-size: .7rem; padding: 12px 14px; }
  .spec div { padding-right: 16px; margin-right: 12px; }
  .hint { display: none; }
  footer .wrap { grid-template-columns: 1fr; }
  .flow { padding: 80px 0; }
  .lb.tech { font-size: 9px; } .lb.tag { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hint i::before, .hint i::after { animation: none; } #world { transition: none; } }
