/* ============================================================
   ZERO HAIL — Customer Portal · "Storm Glass"
   Deep storm-navy sky, frosted 3D glass, ice light, volt-yellow spark.
   ============================================================ */

:root {
  --bg: #060912;
  --line: rgba(170, 205, 255, .13);
  --line-2: rgba(170, 205, 255, .24);
  --text: #eef3ff;
  --soft: #c3cbe0;
  --muted: #8a95ae;
  --dim: #56607a;
  --ice: #8be9ff;
  --ice-2: #4cc3ff;
  --volt: #ffd400;
  --volt-2: #ffe866;
  --volt-glow: rgba(255, 212, 0, .45);
  --ice-glow: rgba(139, 233, 255, .35);
  --ok: #4ff0a0;
  --bad: #ff6b7d;
  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Sora", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; background: var(--bg); color: var(--text); font: 400 15px/1.65 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -10; pointer-events: none;
  background:
    radial-gradient(40% 35% at 15% 10%, rgba(70, 90, 255, .20), transparent 70%),
    radial-gradient(35% 30% at 90% 20%, rgba(0, 200, 255, .12), transparent 70%),
    radial-gradient(45% 40% at 70% 95%, rgba(120, 60, 255, .14), transparent 70%),
    radial-gradient(30% 25% at 30% 80%, rgba(255, 212, 0, .05), transparent 70%),
    linear-gradient(180deg, #070a14, #060912 40%, #05070e);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(3%, -2%, 0) rotate(4deg) scale(1.05); } }
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--volt); color: #000; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
.eyebrow, .label { font: 400 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: var(--ice); display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(139,233,255,.07); border: 1px solid rgba(139,233,255,.18); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.eyebrow.plain { padding: 0; background: none; border: 0; color: var(--muted); }
.eyebrow.plain::before { display: none; }
.volt { color: var(--volt); }
.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
.mt { margin-top: 16px; }

/* ---------------- glass ---------------- */
.card, .result, .cust, .item, .empty {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 55%, rgba(139,233,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}

/* ---------------- logo ---------------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .bolt { position: relative; width: 34px; height: 34px; flex: none; border-radius: 11px; background: linear-gradient(145deg, #ffe866, #ffd400 45%, #c79a00); box-shadow: 0 8px 20px -6px var(--volt-glow), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 6px rgba(0,0,0,.2); transform: perspective(200px) rotateX(10deg) rotateY(-14deg); }
.logo .bolt::after { content: ""; position: absolute; inset: 7px 10px; background: #0a0d18; clip-path: polygon(64% 0, 0 54%, 43% 54%, 29% 100%, 100% 42%, 57% 42%, 79% 0); }
.logo .wm { display: flex; flex-direction: column; line-height: 1; }
.logo .wm b { font: 800 16px var(--display); letter-spacing: -.01em; color: var(--text); margin: 0; text-transform: none; }
.logo .wm b span { color: var(--volt); }
.logo .wm small { font: 400 8.5px var(--mono); letter-spacing: .3em; color: var(--muted); margin-top: 4px; }

/* ---------------- header ---------------- */
.bar {
  position: fixed; top: 12px; left: 12px; right: 12px; z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 8px 0 12px; border-radius: 20px;
  background: rgba(10, 14, 28, .55); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0,0,0,.8);
}
@media (min-width: 900px) { .bar { left: 50%; right: auto; width: min(1200px, calc(100% - 48px)); transform: translateX(-50%); top: 16px; height: 66px; } }
.bar .spacer { flex: 1; }
.bar nav { display: none; gap: 4px; margin-left: 20px; }
@media (min-width: 980px) { .bar nav { display: flex; } }
.bar nav a { padding: 9px 15px; border-radius: 12px; color: var(--soft); font: 500 13.5px var(--body); transition: color .2s, background .2s; }
.bar nav a:hover, .bar nav a[aria-current] { color: #fff; background: rgba(255,255,255,.07); }
.bar nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--volt); }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px; border-radius: 13px; cursor: pointer; border: 0; background: rgba(255,255,255,.05); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); font: 400 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; transition: background .2s, box-shadow .2s; }
.pill-btn:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill-btn.volt { background: linear-gradient(180deg, var(--volt-2), var(--volt)); color: #0a0d18; font-weight: 700; box-shadow: 0 8px 22px -10px var(--volt-glow), inset 0 1px 0 rgba(255,255,255,.6); }
.lang-btn b { color: var(--volt); font-weight: 700; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

/* ---------------- 3D buttons ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: 18px; cursor: pointer; isolation: isolate;
  font: 700 14px var(--display); letter-spacing: -.005em; color: #0a0d18;
  background: linear-gradient(180deg, #fff27a, var(--volt) 48%, #e6b800);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -3px 0 rgba(150,110,0,.55) inset, 0 6px 0 #9c7a00, 0 18px 34px -10px var(--volt-glow);
  transform: translateY(-3px); transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .2s;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-5px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -3px 0 rgba(150,110,0,.55) inset, 0 8px 0 #9c7a00, 0 26px 40px -12px var(--volt-glow); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 0 rgba(150,110,0,.55) inset, 0 1px 0 #9c7a00, 0 8px 16px -8px var(--volt-glow); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn .arr { display: grid; place-items: center; width: 30px; height: 30px; margin-right: -12px; border-radius: 10px; background: #0a0d18; color: var(--volt); transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { color: var(--text); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px var(--line-2), 0 6px 0 rgba(0,0,0,.45), 0 16px 30px -14px rgba(0,0,0,.6); }
.btn.ghost:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px var(--ice), 0 8px 0 rgba(0,0,0,.45), 0 20px 34px -14px var(--ice-glow); }
.btn.ghost:active { box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 rgba(0,0,0,.45); }
.btn.ice { color: #04121a; background: linear-gradient(180deg, #c8f6ff, var(--ice) 50%, var(--ice-2)); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 6px 0 #1d7fa6, 0 18px 34px -10px var(--ice-glow); }
.btn.ice:hover { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 8px 0 #1d7fa6, 0 24px 38px -10px var(--ice-glow); }
.btn.ice:active { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 0 #1d7fa6; }
.btn.block { width: 100%; }
.btn.sm { min-height: 46px; padding: 0 18px; border-radius: 14px; font-size: 12.5px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.ghost .spinner { border-color: rgba(255,255,255,.25); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- motion ---------------- */
.rv { opacity: 0; transform: perspective(900px) translateY(40px) rotateX(14deg); transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-tilt] .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.16), transparent 45%); opacity: 0; transition: opacity .4s; }
[data-tilt]:hover .glare { opacity: 1; }

/* ============================================================
   HOME — 3D hail lab hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; align-items: center; padding: 110px 0 40px; }
.hero #lab { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: crosshair; }
.hero .fallback { position: absolute; inset: 0; z-index: -2; background: url(/img/photo/mustang-wide-1600.webp) 70% center / cover; opacity: .55; }
.hero .shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6,9,18,.94) 0%, rgba(6,9,18,.6) 36%, rgba(6,9,18,0) 62%), linear-gradient(180deg, rgba(6,9,18,.55), transparent 22%, transparent 72%, var(--bg)); }
@media (max-width: 899px) { .hero { align-items: flex-end; padding-top: 50svh; } .hero .shade { background: linear-gradient(180deg, rgba(6,9,18,.3), transparent 22%, rgba(6,9,18,.55) 46%, var(--bg) 70%); } }
.hero .copy { position: relative; z-index: 1; max-width: 640px; pointer-events: none; }
.hero .copy > * { pointer-events: auto; }
.hero h1 { font-size: clamp(50px, 9.2vw, 132px); font-weight: 800; letter-spacing: -.055em; line-height: .86; margin-top: 20px; pointer-events: none; }
.hero h1 .l { display: block; overflow: hidden; padding: .04em 0 .08em; }
.hero h1 .l span { display: inline-block; transform: translateY(110%) rotateX(-60deg); transform-origin: 50% 100%; animation: rise 1.2s var(--ease) forwards; animation-delay: var(--d, .1s); }
.hero h1 .hail span { background: linear-gradient(180deg, #fff6a6, var(--volt) 55%, #d2a300); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.hero .zeros { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; opacity: 0; animation: fade 1s .6s var(--ease) forwards; }
.hero .zeros span { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); font: 600 13px var(--body); color: var(--soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .zeros span::before { content: "0"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); color: #0a0d18; font: 800 12px var(--display); box-shadow: 0 0 14px var(--volt-glow); }
.hero .lead { max-width: 46ch; color: var(--soft); font-size: clamp(15px, 1.4vw, 17.5px); margin: 20px 0 0; opacity: 0; animation: fade 1s .75s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; opacity: 0; animation: fade 1s .9s var(--ease) forwards; }
@media (max-width: 460px) { .hero .ctas .btn { flex: 1 1 100%; } }
.quick { display: flex; align-items: center; gap: 6px; margin-top: 18px; padding: 6px; max-width: 520px; border-radius: 18px; background: rgba(10,14,28,.6); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; animation: fade 1s 1s var(--ease) forwards; }
.quick .ico { display: grid; place-items: center; width: 40px; color: var(--muted); }
.quick input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; color: var(--text); }
.quick input::placeholder { color: var(--muted); }
.quick input:focus { outline: none; }
.quick button { flex: none; height: 46px; padding: 0 18px; border: 0; border-radius: 13px; cursor: pointer; background: rgba(139,233,255,.14); color: var(--ice); font: 700 12.5px var(--display); box-shadow: inset 0 0 0 1px rgba(139,233,255,.3); transition: background .2s; }
.quick button:hover { background: rgba(139,233,255,.24); }

.lab-hud { position: absolute; right: 24px; bottom: 28px; z-index: 2; display: flex; gap: 10px; align-items: center; }
@media (min-width: 1300px) { .lab-hud { right: calc((100vw - 1260px) / 2 + 40px); } }
@media (max-width: 899px) { .lab-hud { top: 88px; bottom: auto; right: 14px; left: 14px; justify-content: space-between; } }
.lab-hud .meter { padding: 9px 16px; border-radius: 16px; background: rgba(10,14,28,.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); min-width: 104px; }
.lab-hud .meter small { display: block; font: 400 9.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lab-hud .meter b { font: 800 24px/1.15 var(--display); font-variant-numeric: tabular-nums; transition: color .4s; }
.lab-hud .meter b.hot { color: #ff9a9a; }
.lab-hud .meter b.cool { color: var(--ok); }
@media (max-width: 899px) { .lab-hud .btn { min-height: 50px; padding: 0 18px; font-size: 12.5px; } }
.lab-hint { position: absolute; z-index: 2; font: 400 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); white-space: nowrap; pointer-events: none; padding: 6px 12px; border-radius: 999px; background: rgba(10,14,28,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (min-width: 900px) { .lab-hint { right: 24px; bottom: 102px; } }
@media (min-width: 1300px) { .lab-hint { right: calc((100vw - 1260px) / 2 + 40px); } }
@media (max-width: 899px) { .lab-hint { left: 50%; transform: translateX(-50%); top: 160px; } }

.statbar { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 800px) { .statbar { grid-template-columns: repeat(4, 1fr); } }
.statbar div { padding: 22px; box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.statbar b { display: block; font: 800 26px/1.15 var(--display); letter-spacing: -.04em; }
.statbar b em { font-style: normal; color: var(--volt); }
.statbar span { font: 400 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

section.block { padding: 110px 0; position: relative; }
@media (max-width: 700px) { section.block { padding: 72px 0; } }
.sec-head { display: grid; gap: 18px; margin-bottom: 44px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.sec-head h2 { font-size: clamp(34px, 5.4vw, 74px); font-weight: 800; letter-spacing: -.05em; margin-top: 16px; }
.sec-head p { color: var(--muted); max-width: 44ch; margin: 0; font-size: 16px; }
@media (min-width: 900px) { .sec-head p { justify-self: end; } }

/* 3D action cards */
.actions-grid { display: grid; gap: 18px; perspective: 1400px; }
@media (min-width: 900px) { .actions-grid { grid-template-columns: repeat(3, 1fr); } }
.acard { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 26px; border-radius: var(--r-xl); isolation: isolate; background: linear-gradient(165deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.9); }
@media (min-width: 900px) { .acard { min-height: 520px; } }
.acard .media { position: absolute; inset: 10px; z-index: -1; border-radius: calc(var(--r-xl) - 10px); overflow: hidden; }
.acard .media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.6); transform: scale(1.08); transition: transform 1.2s var(--ease), filter .6s; }
.acard .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,9,18,.1), rgba(6,9,18,.25) 40%, rgba(6,9,18,.96)); }
.acard:hover .media img { transform: scale(1.02); filter: saturate(1.05) brightness(.75); }
.acard .top { display: flex; justify-content: space-between; align-items: flex-start; transform: translateZ(50px); }
.acard .ico3d { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; color: #0a0d18; background: linear-gradient(145deg, #fff27a, var(--volt) 50%, #c99c00); box-shadow: 0 16px 30px -10px var(--volt-glow), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -4px 8px rgba(0,0,0,.18); }
.acard:nth-child(2) .ico3d { background: linear-gradient(145deg, #e6fbff, var(--ice) 50%, var(--ice-2)); box-shadow: 0 16px 30px -10px var(--ice-glow), inset 0 1px 0 rgba(255,255,255,.7); }
.acard:nth-child(3) .ico3d { background: linear-gradient(145deg, #ffffff, #c9d3ee 55%, #8a97ba); box-shadow: 0 16px 30px -10px rgba(200,210,255,.35), inset 0 1px 0 #fff; }
.acard .tag { padding: 7px 11px; border-radius: 999px; background: rgba(6,9,18,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 400 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.acard .body { margin-top: auto; transform: translateZ(70px); }
.acard .n { font: 400 11px var(--mono); letter-spacing: .2em; color: var(--ice); }
.acard h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.045em; margin-top: 10px; }
.acard p { margin: 12px 0 0; color: var(--soft); max-width: 34ch; font-size: 14.5px; }
.acard .go { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 8px 8px 8px 18px; border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line); font: 400 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.acard .go i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--volt); color: #0a0d18; transition: transform .4s var(--spring); }
.acard:hover .go i { transform: translateX(4px) rotate(-10deg) scale(1.05); }

/* process — spinning 3D cubes */
.process { display: grid; gap: 14px; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process > div { position: relative; padding: 30px 24px; border-radius: var(--r-lg); background: linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px var(--line); }
.process .scene { width: 54px; height: 54px; perspective: 400px; }
.process .cube { width: 54px; height: 54px; position: relative; transform-style: preserve-3d; animation: spinCube 12s linear infinite; animation-delay: var(--d, 0s); }
@keyframes spinCube { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.process .cube i { position: absolute; inset: 0; border-radius: 7px; display: grid; place-items: center; font: 800 18px var(--display); font-style: normal; color: #0a0d18; background: linear-gradient(145deg, var(--volt-2), var(--volt)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.process .cube i:nth-child(1) { transform: translateZ(27px); }
.process .cube i:nth-child(2) { transform: rotateY(90deg) translateZ(27px); background: linear-gradient(145deg, #e0b800, #b88f00); }
.process .cube i:nth-child(3) { transform: rotateY(180deg) translateZ(27px); }
.process .cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(27px); background: linear-gradient(145deg, #e0b800, #b88f00); }
.process .cube i:nth-child(5) { transform: rotateX(90deg) translateZ(27px); background: linear-gradient(145deg, #fff6a6, #ffe14d); }
.process h3 { font-size: 22px; font-weight: 700; margin-top: 30px; }
.process p { color: var(--muted); margin: 10px 0 0; font-size: 14px; }

/* gallery — 3D carousel */
.flow { position: relative; height: 500px; perspective: 1600px; display: grid; place-items: center; overflow: hidden; }
@media (max-width: 700px) { .flow { height: 400px; } }
.flow .ring3d { position: relative; width: 300px; height: 390px; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
@media (max-width: 700px) { .flow .ring3d { width: 220px; height: 300px; } }
.flow figure { position: absolute; inset: 0; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px var(--line); cursor: pointer; transition: filter .6s; }
.flow figure img { width: 100%; height: 100%; object-fit: cover; }
.flow figure figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(6,9,18,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 400 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.flow .nav { position: absolute; bottom: 8px; display: flex; gap: 10px; z-index: 5; }
.flow .nav button { width: 50px; height: 50px; border-radius: 15px; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--text); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.flow .nav button:hover { background: rgba(255,255,255,.14); }

/* visit */
.visit { display: grid; gap: 18px; perspective: 1400px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr 1fr; } }
.visit .map { position: relative; min-height: 380px; border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px #000; transform: rotateY(8deg) rotateX(4deg); transform-origin: right center; }
@media (max-width: 899px) { .visit .map { transform: none; min-height: 300px; } }
.visit .map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(185deg) saturate(.6) brightness(.9) contrast(.95); }
.visit .info { padding: 30px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 18px; background: linear-gradient(160deg, rgba(255,212,0,.09), rgba(255,255,255,.02) 50%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px var(--line); }
.visit .info h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.05em; }
.visit .row { display: grid; grid-template-columns: 38px 1fr; gap: 12px; color: var(--soft); align-items: start; }
.visit .row > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(139,233,255,.08); color: var(--ice); box-shadow: inset 0 0 0 1px rgba(139,233,255,.2); }
.visit .row small { display: block; font: 400 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.visit .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.visit .btns .btn { flex: 1 1 150px; }

.marquee { overflow: hidden; padding: 24px 0; white-space: nowrap; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee div { display: inline-flex; gap: 46px; animation: marq 40s linear infinite; font: 800 clamp(26px, 3.6vw, 48px) var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(170,205,255,.4); }
.marquee div span:nth-child(3n+2) { color: var(--volt); -webkit-text-stroke: 0; }
.marquee div span::after { content: "✦"; margin-left: 46px; color: var(--ice); -webkit-text-stroke: 0; font-size: .5em; vertical-align: middle; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------------- footer ---------------- */
.foot { position: relative; margin-top: 50px; padding: 70px 0 calc(110px + var(--safe-b)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; overflow: hidden; }
@media (min-width: 640px) { .foot { padding-bottom: 40px; } }
.foot .cols { display: grid; gap: 30px; }
@media (min-width: 800px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot .cols > div > b { display: block; color: var(--text); font: 400 10.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.foot a { color: var(--soft); transition: color .2s; }
.foot a:hover { color: var(--volt); }
.foot .logo { margin-bottom: 18px; }
.foot .big { margin-top: 60px; font: 800 clamp(60px, 16vw, 240px)/.86 var(--display); letter-spacing: -.07em; white-space: nowrap; user-select: none; background: linear-gradient(180deg, rgba(170,205,255,.18), rgba(170,205,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot .big span { background: linear-gradient(180deg, rgba(255,212,0,.42), rgba(255,212,0,0) 85%); -webkit-background-clip: text; background-clip: text; }
.foot .legalname { margin-top: 18px; font-size: 12px; color: var(--dim); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

.callbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 55; display: flex; gap: 8px; padding: 7px; border-radius: 22px; background: rgba(10,14,28,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 50px -20px #000, inset 0 0 0 1px var(--line-2); }
.callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 16px; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.callbar a.primary { background: linear-gradient(180deg, var(--volt-2), var(--volt)); color: #0a0d18; font-weight: 700; box-shadow: 0 10px 24px -10px var(--volt-glow); }
@media (min-width: 640px) { .callbar { display: none; } }
body:has(.actions) .callbar { display: none; }
body:has(.actions) .foot { padding-bottom: calc(40px + var(--safe-b)); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 136px 0 50px; }
.page-hero canvas.crystals { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.page-hero .bg { position: absolute; right: -3%; top: 96px; bottom: 16px; width: min(46%, 540px); z-index: -2; border-radius: var(--r-xl); overflow: hidden; transform: perspective(1200px) rotateY(-20deg) rotateX(4deg); transform-origin: right center; box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1px var(--line); opacity: .7; animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 50% { transform: perspective(1200px) rotateY(-15deg) rotateX(2deg) translateY(-10px); } }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg), rgba(6,9,18,.15) 60%); }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-hero .bg { width: 75%; opacity: .32; right: -25%; } }
.page-hero h1 { font-size: clamp(38px, 7vw, 96px); font-weight: 800; letter-spacing: -.055em; line-height: .92; margin-top: 18px; max-width: 13ch; }
.page-hero h1 em { font-style: normal; background: linear-gradient(180deg, #fff6a6, var(--volt) 60%, #d2a300); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--soft); max-width: 50ch; margin: 18px 0 0; font-size: 16px; }
.page-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.back-link:hover { color: var(--ice); }

.form-layout { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; } }
.rail { display: none; }
@media (min-width: 1000px) {
  .rail { display: block; position: sticky; top: 108px; perspective: 900px; }
  .rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; transform: rotateY(14deg); transform-origin: left center; transform-style: preserve-3d; }
  .rail li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 18px; color: var(--dim); background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px rgba(170,205,255,.06); transition: all .5s var(--ease); }
  .rail li b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); font: 400 12px var(--mono); transition: all .4s; }
  .rail li span { font: 700 15px var(--display); letter-spacing: -.02em; }
  .rail li.done { color: var(--soft); }
  .rail li.done b { background: rgba(79,240,160,.12); box-shadow: inset 0 0 0 1px rgba(79,240,160,.4); color: var(--ok); }
  .rail li.on { color: #fff; background: linear-gradient(90deg, rgba(255,212,0,.13), rgba(255,255,255,.03)); box-shadow: inset 0 0 0 1px rgba(255,212,0,.32), 0 20px 30px -20px var(--volt-glow); transform: translateZ(30px) translateX(6px); }
  .rail li.on b { background: var(--volt); color: #0a0d18; box-shadow: 0 6px 16px -6px var(--volt-glow); }
  .rail .help { margin-top: 22px; padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
  .rail .help p { margin: 8px 0 14px; color: var(--muted); font-size: 13.5px; }
  .rail .secure { margin-top: 12px; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 12.5px; }
  .rail .secure svg { color: var(--ice); }
}

.steps { position: sticky; top: 82px; z-index: 30; padding: 12px 0 14px; margin-bottom: 8px; background: linear-gradient(180deg, var(--bg) 70%, rgba(6,9,18,0)); }
@media (min-width: 1000px) { .steps { display: none; } }
.steps .track { display: flex; gap: 6px; }
.steps .track i { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.steps .track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ice), var(--volt)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.steps .track i.done::after, .steps .track i.on::after { transform: scaleX(1); }
.steps .meta { display: flex; justify-content: space-between; margin-top: 10px; font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.steps .meta b { color: var(--volt); font-weight: 400; }

#form { perspective: 1600px; }
.step { display: none; }
.step.on { display: block; animation: flipIn .8s var(--ease) both; transform-origin: 50% 0; }
@keyframes flipIn { from { opacity: 0; transform: rotateX(-16deg) translateY(30px) translateZ(-80px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.card { padding: clamp(20px, 3vw, 32px); }
.card + .card { margin-top: 16px; }
.card h2 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; font-size: clamp(19px, 2.2vw, 25px); font-weight: 700; }
.card h2 .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font: 400 11px var(--mono); color: #04121a; background: linear-gradient(145deg, #e6fbff, var(--ice)); box-shadow: 0 8px 18px -8px var(--ice-glow); }
.card h2 small { font: 400 13px var(--body); color: var(--muted); letter-spacing: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid.g2 { grid-template-columns: 1fr 1fr; } .span2 { grid-column: span 2; } }
.grid.g3m { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 600px) { .grid.g3m { gap: 16px; } }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span, .label { font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field > span small { text-transform: none; letter-spacing: 0; font-family: var(--body); }
.req { color: var(--volt); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border-radius: var(--r-md); border: 0; -webkit-appearance: none; appearance: none;
  background: rgba(3,6,14,.55); color: var(--text); font-size: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 1px var(--line), 0 1px 0 rgba(255,255,255,.05);
  transition: box-shadow .2s, background .2s;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238be9ff' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field select option { background: #0c1222; }
.field input::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.field input::placeholder, .field textarea::placeholder { color: #4a5470; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 1px var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: rgba(3,6,14,.7); box-shadow: inset 0 2px 6px rgba(0,0,0,.45), inset 0 0 0 1.5px var(--ice), 0 0 0 5px rgba(139,233,255,.1), 0 10px 30px -12px var(--ice-glow); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .multi, .field.invalid .sig { box-shadow: inset 0 0 0 1.5px var(--bad), 0 0 0 5px rgba(255,107,125,.12); }
.field.invalid > span { color: #ff9aa7; }
.hint { font-size: 12.5px; color: var(--muted); }
.hint.ok { color: var(--ok); }
.hint.bad { color: #ff9aa7; }
.input-row { display: flex; gap: 10px; align-items: center; }
.input-row input { flex: 1; }
.input-row .btn { transform: none; min-height: 56px; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px var(--line-2); }

.multi { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; padding: 10px; border-radius: var(--r-md); background: rgba(3,6,14,.45); box-shadow: inset 0 2px 8px rgba(0,0,0,.4), inset 0 0 0 1px var(--line); }
.multi .ph, .multi .add { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.multi .ph { box-shadow: 0 10px 20px -10px #000; animation: popIn .5s var(--spring); }
@keyframes popIn { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }
.multi .ph img { width: 100%; height: 100%; object-fit: cover; }
.multi .ph .rm { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 9px; border: 0; display: grid; place-items: center; background: rgba(6,9,18,.75); color: #fff; cursor: pointer; }
.multi .ph .q { position: absolute; left: 7px; bottom: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.multi .ph .q.bad { background: #ffb547; box-shadow: 0 0 8px #ffb547; }
.multi .add { display: grid; place-items: center; text-align: center; cursor: pointer; color: var(--ice); background: repeating-linear-gradient(135deg, rgba(139,233,255,.05) 0 8px, transparent 8px 16px); box-shadow: inset 0 0 0 1.5px rgba(139,233,255,.35); transition: background-color .2s, transform .2s; }
.multi .add:hover { background-color: rgba(139,233,255,.08); transform: translateY(-2px); }
.multi .add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.multi .add b { display: block; margin-top: 6px; font: 700 11px var(--display); }
.multi .add small { font: 400 9.5px var(--mono); letter-spacing: .1em; color: var(--muted); }
.multi.full .add { display: none; }
.photo-check { font-size: 12.5px; min-height: 1em; }

.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.check:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 8px; background: rgba(3,6,14,.6); box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; cursor: pointer; transition: all .25s var(--spring); }
.check input:checked { background: var(--volt); box-shadow: 0 0 14px var(--volt-glow); transform: scale(1.08); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2.4px solid #0a0d18; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.invalid { box-shadow: inset 0 0 0 1.5px var(--bad); }

.sig { position: relative; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(180deg, #fbfcff, #e9edf6); box-shadow: 0 24px 40px -24px #000, inset 0 0 0 1px rgba(255,255,255,.5); }
.sig canvas { width: 100%; height: 190px; display: block; touch-action: none; cursor: crosshair; }
.sig .sig-line { position: absolute; left: 22px; right: 22px; bottom: 44px; border-bottom: 1px solid #c3c9d8; pointer-events: none; }
.sig .sig-x { position: absolute; left: 22px; bottom: 50px; color: #9aa3b8; font: 700 20px var(--display); pointer-events: none; }
.sig .sig-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa3b8; font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.sig.signed .sig-ph { display: none; }
.sig .sig-clear { position: absolute; top: 10px; right: 10px; padding: 7px 12px; border-radius: 9px; border: 1px solid #d3d8e4; background: #fff; color: #333; cursor: pointer; font: 400 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }

.legal { max-height: 320px; overflow: auto; padding: 20px 22px; border-radius: var(--r-md); background: rgba(3,6,14,.45); box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--volt); font-size: 14px; color: var(--soft); line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal p:last-child { margin: 0; }
.legal strong { color: #fff; }

.form-msg { display: none; padding: 14px 16px; border-radius: var(--r-md); font-size: 14px; margin-top: 14px; }
.form-msg.show { display: block; animation: stepIn .4s var(--ease); }
.form-msg.error { background: rgba(255,107,125,.1); box-shadow: inset 0 0 0 1px rgba(255,107,125,.45); color: #ffc2ca; }
.form-msg.info { background: rgba(139,233,255,.06); box-shadow: inset 0 0 0 1px rgba(139,233,255,.25); color: var(--soft); }
.form-msg.info a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.form-msg.ok { background: rgba(79,240,160,.07); box-shadow: inset 0 0 0 1px rgba(79,240,160,.35); color: #bff7da; }

.actions { position: sticky; bottom: 0; z-index: 30; display: flex; gap: 12px; padding: 18px 0 calc(16px + var(--safe-b)); margin-top: 18px; background: linear-gradient(180deg, rgba(6,9,18,0), var(--bg) 38%); }
.actions .btn { flex: 1; }
.actions .btn.ghost { flex: 0 0 auto; }
@media (min-width: 1000px) { .actions { justify-content: flex-end; } .actions .btn { flex: 0 0 auto; min-width: 230px; } .actions .btn.ghost { min-width: 0; } }

.review { display: grid; gap: 12px; }
@media (min-width: 700px) { .review { grid-template-columns: 1fr 1fr; } }
.review .blk { padding: 18px; border-radius: var(--r-md); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.review .blk h3 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.review .blk h3 button { background: none; border: 0; cursor: pointer; color: var(--ice); font: inherit; letter-spacing: inherit; text-transform: uppercase; }
.review dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.review dt { color: var(--dim); }
.review dd { margin: 0; overflow-wrap: anywhere; }
.review .thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.review .thumbs img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; }

.finish { text-align: center; padding-top: 150px; padding-bottom: 80px; perspective: 900px; }
.finish .tick { position: relative; width: 120px; height: 120px; margin: 0 auto 32px; border-radius: 36px; display: grid; place-items: center; color: #0a0d18; background: linear-gradient(145deg, #fff27a, var(--volt) 50%, #c99c00); box-shadow: 0 30px 60px -20px var(--volt-glow), inset 0 2px 0 rgba(255,255,255,.7), inset 0 -6px 12px rgba(0,0,0,.2); animation: tick3d 1.2s var(--spring) both; }
@keyframes tick3d { from { transform: rotateY(-180deg) scale(.4); opacity: 0; } }
.finish h2 { font-size: clamp(36px, 6vw, 70px); font-weight: 800; letter-spacing: -.05em; }
.finish p { color: var(--soft); max-width: 48ch; margin: 16px auto 0; }
.finish .docno { display: inline-block; margin-top: 18px; padding: 8px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font: 400 12px var(--mono); letter-spacing: .08em; color: var(--soft); }
.finish .row { display: flex; flex-direction: column; gap: 16px; max-width: 380px; margin: 34px auto 0; }

/* ---------------- search ---------------- */
.search { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 700px) { .search { flex-direction: row; align-items: center; } }
.search .box { position: relative; flex: 1; }
.search .box svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--ice); }
.search .box input { width: 100%; height: 66px; padding: 0 18px 0 54px; border: 0; border-radius: 20px; background: rgba(3,6,14,.55); color: var(--text); font-size: 17px; box-shadow: inset 0 2px 8px rgba(0,0,0,.45), inset 0 0 0 1px var(--line-2); }
.search .box input:focus { outline: none; box-shadow: inset 0 2px 8px rgba(0,0,0,.45), inset 0 0 0 1.5px var(--ice), 0 0 0 5px rgba(139,233,255,.1); }
.search .btn { min-height: 62px; }

.result { margin-top: 22px; overflow: hidden; animation: flipIn .8s var(--ease) both; }
.result .head { display: flex; gap: 24px; align-items: center; padding: 26px; }
.orb { --p: 0; position: relative; width: 116px; height: 116px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from -90deg, var(--ice) 0, var(--volt) calc(var(--p) * 1%), rgba(255,255,255,.07) 0); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8), 0 0 40px -10px var(--volt-glow); }
.orb::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #2a3554, #0b1022 60%); box-shadow: inset 0 -8px 16px rgba(0,0,0,.5), inset 0 4px 10px rgba(255,255,255,.08); }
.orb::after { content: ""; position: absolute; left: 24%; top: 14%; width: 34%; height: 18%; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.35), transparent 70%); filter: blur(2px); }
.orb span { position: relative; z-index: 1; font: 800 28px var(--display); letter-spacing: -.05em; }
.orb span small { font-size: 13px; color: var(--muted); }
.result .hello { font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.result h3 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.045em; margin-top: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 0 0 1px currentColor; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge.s-volt { color: var(--volt); background: rgba(255,212,0,.07); }
.badge.s-ice { color: var(--ice); background: rgba(139,233,255,.07); }
.badge.s-green { color: var(--ok); background: rgba(79,240,160,.07); }
.badge.s-red { color: #ff9aa7; background: rgba(255,107,125,.07); }
.badge.s-grey { color: var(--soft); background: rgba(255,255,255,.04); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 26px 26px; perspective: 700px; }
.stages div { min-width: 0; padding: 14px 12px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transform: rotateX(20deg); transform-origin: 50% 100%; }
.stages b { display: block; font: 700 13px/1.15 var(--display); letter-spacing: -.02em; color: var(--dim); overflow-wrap: anywhere; }
.stages small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--dim); }
.stages i { display: block; height: 5px; border-radius: 5px; margin-bottom: 12px; background: rgba(255,255,255,.08); }
.stages div.done { background: rgba(79,240,160,.05); box-shadow: inset 0 0 0 1px rgba(79,240,160,.25); }
.stages div.done i { background: linear-gradient(90deg, var(--ice), var(--ok)); }
.stages div.done b { color: #fff; }
.stages div.now { transform: translateZ(30px) translateY(-6px); background: linear-gradient(180deg, rgba(255,212,0,.15), rgba(255,212,0,.03)); box-shadow: inset 0 0 0 1px rgba(255,212,0,.45), 0 20px 30px -16px var(--volt-glow); }
.stages div.now i { background: var(--volt); box-shadow: 0 0 14px var(--volt-glow); animation: pulse 1.6s ease-in-out infinite; }
.stages div.now b { color: #fff; }
.stages div.now small { color: var(--soft); }
@keyframes pulse { 50% { opacity: .5; } }
@media (max-width: 560px) { .stages small { display: none; } .stages b { font-size: 10px; } .stages div { padding: 10px 7px; } }
.result .note { margin: 0 26px 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255,212,0,.06); box-shadow: inset 3px 0 0 var(--volt); color: var(--soft); font-size: 14.5px; }
.result .details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; padding: 22px 26px; border-top: 1px solid var(--line); font-size: 15px; }
@media (min-width: 800px) { .result .details { grid-template-columns: repeat(4, 1fr); } }
.result .details small { display: block; margin-bottom: 4px; font: 400 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.result .actions-row { display: flex; gap: 12px; padding: 6px 26px 28px; }
.result .actions-row .btn { flex: 1; }
@media (max-width: 460px) { .result .head { padding: 20px 18px; gap: 16px; } .orb { width: 90px; height: 90px; } .orb span { font-size: 22px; } .stages, .result .details { padding-left: 16px; padding-right: 16px; } .result .actions-row { padding: 6px 18px 22px; } .result .note { margin: 0 18px 18px; } }

.empty { margin-top: 22px; padding: 44px 20px; text-align: center; color: var(--muted); }
.empty h3 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.skeleton { margin-top: 22px; height: 120px; border-radius: var(--r-lg); background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(139,233,255,.08), rgba(255,255,255,.03)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.cust { margin-top: 12px; border-radius: var(--r-md); }
.cust > button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 0; background: none; cursor: pointer; text-align: left; border-radius: var(--r-md); }
.cust > button:hover { background: rgba(255,255,255,.03); }
.cust .av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #04121a; font: 800 15px var(--display); background: linear-gradient(145deg, #e6fbff, var(--ice) 55%, var(--ice-2)); box-shadow: 0 10px 20px -10px var(--ice-glow), inset 0 1px 0 #fff; }
.cust .who { flex: 1; min-width: 0; }
.cust .who b { display: block; font: 700 16px/1.2 var(--display); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust .who small { color: var(--muted); font-size: 13px; }
.cust .chev { color: var(--muted); transition: transform .4s var(--spring); }
.cust.open .chev { transform: rotate(90deg); color: var(--volt); }
.cust .more { display: none; padding: 4px 20px 20px 82px; }
@media (max-width: 560px) { .cust .more { padding-left: 20px; } .cust .badge { display: none; } }
.cust.open .more { display: block; animation: stepIn .5s var(--ease); }
.cust dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 20px; margin: 0; }
.cust dt { font: 400 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.cust dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.cust .neg { color: #ff9aa7; }

/* ---------------- admin ---------------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs button { flex: none; padding: 11px 16px; border-radius: 13px; border: 0; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font: 400 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.tabs button.on { background: var(--volt); color: #0a0d18; box-shadow: 0 8px 20px -10px var(--volt-glow); }
.list { display: grid; gap: 12px; margin-top: 16px; }
.item { padding: 18px; border-radius: var(--r-md); }
.item .row1 { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.item h4 { font-size: 17px; font-weight: 700; }
.item .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.item .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.item .links a { padding: 7px 11px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); font: 400 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.item .links a:hover { color: var(--ice); box-shadow: inset 0 0 0 1px var(--ice); }
.warn { color: #ffc46b; font-size: 12.5px; margin-top: 8px; }
.okline { color: var(--ok); font-size: 12.5px; margin-top: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
#lab, canvas.crystals { opacity: 0; transition: opacity 1.4s var(--ease); }
#lab.ready, canvas.crystals.ready { opacity: 1; }
@media (max-width: 760px) { #lab.ready ~ * {} .page-hero canvas.crystals.ready { opacity: .55; } }

/* ---------- Display font: Big Shoulders (condensed, uppercase) ---------- */
:root { --display: "Big Shoulders Display", Impact, sans-serif; }
h1, h2, h3, h4 { font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: .88; }
.hero h1 { font-size: clamp(84px, 15vw, 210px); letter-spacing: -.01em; line-height: .8; }
.sec-head h2 { font-size: clamp(54px, 8vw, 112px); letter-spacing: 0; }
.page-hero h1 { font-size: clamp(64px, 11vw, 144px); letter-spacing: 0; line-height: .84; max-width: none; }
.acard h3 { font-size: clamp(44px, 4.2vw, 60px); letter-spacing: 0; }
.process h3 { font-size: 34px; }
.visit .info h3 { font-size: clamp(44px, 4.6vw, 64px); letter-spacing: 0; }
.card h2 { font-size: clamp(28px, 3vw, 36px); }
.finish h2 { font-size: clamp(60px, 9vw, 108px); letter-spacing: 0; }
.result h3 { font-size: clamp(34px, 4.4vw, 50px); letter-spacing: 0; }
.empty h3 { font-size: 36px; }
.foot .big { font-weight: 900; letter-spacing: -.01em; font-size: clamp(90px, 24vw, 340px); line-height: .8; text-transform: uppercase; }
.marquee div { font-weight: 900; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(32px, 4.4vw, 58px); }
.statbar b { font-size: 34px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.lab-hud .meter b { font-size: 30px; letter-spacing: 0; text-transform: uppercase; }
#labState { font-size: 20px !important; line-height: 1.5 !important; }
.btn { font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.btn.sm { font-size: 16px; }
.quick button { font: 800 16px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.logo .wm b { font: 900 21px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.rail li span { font: 800 21px var(--display); text-transform: uppercase; letter-spacing: .03em; }
.stages b { font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 560px) { .stages b { font-size: 13px; } }
.cust .who b { font: 800 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.cust .av, .acard .ico3d, .orb span { font-family: var(--display); }
.orb span { font-size: 38px; font-weight: 900; letter-spacing: 0; }
.multi .add b { font: 800 14px var(--display); text-transform: uppercase; letter-spacing: .05em; }
.hero .zeros span { font: 800 17px var(--display); letter-spacing: .05em; text-transform: uppercase; }
.hero .zeros span::before { font: 900 15px var(--display); }
.item h4 { font-size: 24px; }
