/* =========================================================
   Corepoint Software Solutions — styles
   Palette: black, white, electric blue
   ========================================================= */
:root {
  --bg: #05060A;
  --bg-2: #0A0C12;
  --panel: rgba(255,255,255,.035);
  --panel-2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --white: #FFFFFF;
  --text: #EDF1F7;
  --muted: #8A93A6;
  --dim: #5B6375;
  --blue: #1E7BFF;
  --blue-2: #3B8CFF;
  --blue-3: #7CC4FF;
  --glow: rgba(30,123,255,.55);
  --green: #2BD576;
  --amber: #FFB020;
  --red: #FF4D5E;
  --r: 20px;
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.dim { color: var(--dim); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: "Saira", "Geist", "Inter", sans-serif; font-style: italic; font-weight: 800;
  letter-spacing: .02em; font-size: 21px; color: var(--white); line-height: 1;
}
.wordmark b { font-weight: 800; color: var(--blue-2); }
.wordmark.sm { font-size: 15px; }

/* ---------- Shine text ---------- */
.shine {
  background: linear-gradient(100deg, #5AA6FF 0%, #FFFFFF 40%, #8CC8FF 55%, #1E7BFF 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes shine { 0%,100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-glow {
  color: #fff; background: linear-gradient(180deg, #3B8CFF, #1667E8);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 8px 24px -10px var(--glow);
}
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.24) inset, 0 12px 32px -10px var(--glow); }
.btn-glass { color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.btn-glass:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); }
.btn-white { color: #05060A; background: #fff; box-shadow: 0 10px 40px -10px rgba(255,255,255,.45); }
.btn-white:hover { background: #E8F1FF; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 16px 0 auto; z-index: 100; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; width: 100%; max-width: 1080px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(10,12,18,.8); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled .nav-pill { background: rgba(8,10,15,.82); border-color: var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 54px; height: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }
.nav-links a:not(.btn) { color: #B5BDCC; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 40px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -10% -20% auto; height: 900px; z-index: -2; opacity: .55; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; }
.aurora i:nth-child(1) { width: 720px; height: 420px; left: 30%; top: -60px; background: radial-gradient(closest-side, rgba(30,123,255,.55), transparent); }
.aurora i:nth-child(2) { width: 560px; height: 360px; left: 12%; top: 120px; background: radial-gradient(closest-side, rgba(124,196,255,.28), transparent); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 600px; height: 380px; right: 8%; top: 80px; background: radial-gradient(closest-side, rgba(22,103,232,.45), transparent); animation-delay: -12s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,30px) scale(1.08); } 66% { transform: translate(-50px,10px) scale(.95); } }
.floor {
  position: absolute; left: -50%; right: -50%; top: 330px; height: 900px; z-index: -1;
  background-image: linear-gradient(rgba(124,196,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(124,196,255,.13) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(700px) rotateX(62deg); transform-origin: top center;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 40%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 40%, transparent 75%);
  animation: floor 14s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.noise { position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-copy { text-align: center; max-width: 920px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #C9D3E6;
  background: linear-gradient(rgba(10,12,18,.8), rgba(10,12,18,.8)) padding-box,
              linear-gradient(90deg, rgba(124,196,255,.6), rgba(30,123,255,.15), rgba(124,196,255,.6)) border-box;
  border: 1px solid transparent;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(43,213,118,.18), 0 0 12px var(--green); }
.badge-arrow { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .25s; }
.badge:hover .badge-arrow { transform: translateX(3px); }
.hero h1 { margin-top: 28px; font-size: clamp(46px, 8.6vw, 104px); letter-spacing: -0.055em; line-height: .98;
  background: linear-gradient(180deg, #fff 30%, #A9B6CC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .shine { -webkit-background-clip: text; background-clip: text; }
.lead { margin: 28px auto 0; max-width: 640px; font-size: clamp(16px, 1.9vw, 19px); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 34px; color: var(--dim); font-size: 14px; font-weight: 500; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--dim); margin-right: 20px; }
.hero-facts b { color: var(--text); font-weight: 700; }

/* ---------- Product shot ---------- */
.stage { position: relative; margin: 80px auto 0; max-width: 1120px; perspective: 1600px; }
.stage-glow { position: absolute; inset: 10% 6% -6%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(30,123,255,.25), transparent 70%);  }
.app {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(16,19,28,.96), rgba(8,10,15,.98));
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(124,196,255,.08), 0 40px 120px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(30,123,255,.35);
  font-size: 13px;
}
.app::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 30%); }
.app-top { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.app-brand { display: flex; align-items: center; gap: 8px; flex: none; }
.app-brand img { width: 38px; height: auto; }
.app-brand em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--blue-3); border: 1px solid rgba(124,196,255,.35); border-radius: 5px; padding: 1px 5px; }
.app-tools { display: flex; gap: 6px; overflow: hidden; flex: 1; }
.tool { flex: none; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); color: #AEB7C8; font-weight: 600; font-size: 12px; background: rgba(255,255,255,.02); }
.tool.on { color: var(--green); border-color: rgba(43,213,118,.35); background: rgba(43,213,118,.07); }
.tool.danger { color: var(--red); border-color: rgba(255,77,94,.35); }
.app-clock { font-family: "Geist Mono", monospace; font-weight: 700; color: #fff; font-size: 14px; flex: none; }
.app-grid { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto auto; }
.pane { padding: 14px 16px 16px; }
.pane header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pane h4 { font-size: 13px; letter-spacing: -0.01em; font-weight: 700; color: #fff; }
.count { font-size: 11px; font-weight: 800; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 8px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--green); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.calls { border-right: 1px solid var(--line); }
.thead, .row { display: grid; grid-template-columns: 54px 82px 1.3fr 1fr 1fr; gap: 10px; align-items: center; padding: 0 10px; }
.thead { color: var(--dim); font-size: 11px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rows { display: grid; }
.row { height: 42px; border-bottom: 1px solid rgba(255,255,255,.04); color: #C9D1DF; white-space: nowrap; }
.row span { overflow: hidden; text-overflow: ellipsis; }
.row .mono { color: #fff; font-size: 12px; }
.row.new { animation: rowIn .7s var(--ease); background: linear-gradient(90deg, rgba(30,123,255,.18), transparent 70%); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); } }
.st { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.st.red { color: var(--red); } .st.amber { color: var(--amber); } .st.blue { color: var(--blue-2); } .st.dim { color: var(--muted); }
.map { border-bottom: 1px solid var(--line); }
.minimap { width: 100%; height: 150px; border-radius: 12px; background: #070910; border: 1px solid var(--line); }
.road { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 2; }
.river { fill: none; stroke: rgba(30,123,255,.25); stroke-width: 6; stroke-linecap: round; }
.ring { fill: none; stroke: rgba(124,196,255,.1); }
.sweep { transform-origin: 150px 100px; animation: spin 5s linear infinite; }
.bigmap .sweep { transform-origin: 260px 130px; }
.sweep.slow { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(360deg); } }
.blip circle { fill: var(--red); }
.blip .ping { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.unit-dot { fill: var(--blue-3); filter: drop-shadow(0 0 6px #3B8CFF); }
.unit-dot.amber { fill: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
.units ul { display: grid; gap: 7px; }
.units li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; color: #AEB7C8; font-weight: 600; font-size: 12px; }
.units small { color: var(--dim); font-size: 11px; }
.u { text-align: center; border-radius: 999px; padding: 3px 0; font-weight: 800; font-size: 11.5px; color: #05060A; transition: background .4s; }
.u.green { background: var(--green); } .u.amber { background: var(--amber); } .u.blue { background: var(--blue-2); color: #fff; }
.toast {
  position: absolute; right: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 14px; max-width: 320px;
  background: rgba(20,14,16,.92); border: 1px solid rgba(255,77,94,.4); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8), 0 0 40px -10px rgba(255,77,94,.4);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--red); flex: none; }
.toast b { display: block; color: #fff; font-size: 13px; }
.toast small { color: #D7B4B9; font-size: 12px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: "Saira", sans-serif; font-style: italic; font-weight: 800; font-size: 26px; letter-spacing: .01em; color: #2A3142; text-transform: uppercase; transition: color .3s; }
.marquee span:hover { color: #fff; }
.marquee i { font-style: normal; color: var(--blue); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 128px 0; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head.left { text-align: left; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-3); margin-bottom: 20px; }
.eyebrow::before { content: none; }
.section h2 { font-size: clamp(36px, 5.6vw, 66px); letter-spacing: -0.05em; color: #fff; }
.sub { margin: 22px auto 0; max-width: 580px; color: var(--muted); font-size: 18px; }
.sub.left { margin-left: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 30px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; gap: 24px;
  transition: border-color .3s, transform .4s var(--ease);
}
.tile:hover { border-color: rgba(124,196,255,.28); }
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(59,140,255,.16), transparent 60%);
}
.spot:hover::after { opacity: 1; }
.tile h3 { font-size: 22px; letter-spacing: -0.03em; color: #fff; }
.tile p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 420px; }
.t-map { grid-column: span 4; grid-row: span 2; min-height: 560px; }
.t-search { grid-column: span 2; grid-row: span 2; }
.t-records, .t-super, .t-discord { grid-column: span 2; }
.bigmap { flex: 1; width: 100%; min-height: 300px; border-radius: 14px; background: #06080D; border: 1px solid var(--line); }

.search-demo { margin-top: auto; display: grid; gap: 12px; }
.search-bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 12px; background: #080A10; border: 1px solid rgba(124,196,255,.3); box-shadow: 0 0 0 4px rgba(30,123,255,.08); font-family: "Geist Mono", monospace; color: #fff; font-weight: 700; }
.mag { color: var(--blue-3); font-size: 18px; }
.caret { width: 2px; height: 20px; background: var(--blue-2); animation: blink 1s steps(1) infinite; }
.result { border-radius: 14px; padding: 16px; background: #0A0C13; border: 1px solid var(--line); }
.res-top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #1E7BFF, #0B3D91); }
.res-top b { display: block; color: #fff; font-size: 15px; }
.res-top small { color: var(--muted); font-size: 12.5px; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.flag { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: #AEB7C8; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.flag.red { color: #FF8A95; background: rgba(255,77,94,.12); border-color: rgba(255,77,94,.35); }

.charges { margin-top: auto; display: grid; gap: 6px; font-size: 13.5px; }
.ch { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: #C9D1DF; }
.ch b { color: #fff; font-weight: 700; white-space: nowrap; }
.ch.total { background: rgba(30,123,255,.14); border-color: rgba(59,140,255,.4); color: #fff; font-weight: 700; }
.ch.total b { color: var(--blue-3); }

.approve { margin-top: auto; display: grid; gap: 12px; }
.ap-card { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.ap-card small { display: block; color: var(--muted); font-size: 12px; }
.ap-card b { color: #fff; font-size: 15px; }
.ap-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ap-steps span { text-align: center; font-size: 12px; font-weight: 700; padding: 9px 0; border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.ap-steps .done { color: #BFD7FF; border-color: rgba(59,140,255,.3); }
.ap-steps .now { color: #05060A; background: var(--green); border-color: var(--green); box-shadow: 0 0 24px -4px var(--green); }

.rolemap { margin-top: auto; display: grid; gap: 8px; }
.rolemap div { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.dr { padding: 8px 10px; border-radius: 10px; color: #C7CCFF; background: rgba(88,101,242,.14); border: 1px solid rgba(88,101,242,.35); }
.cr { padding: 8px 10px; border-radius: 10px; color: #fff; background: rgba(30,123,255,.14); border: 1px solid rgba(59,140,255,.35); text-align: right; }
.rolemap i { height: 2px; background: linear-gradient(90deg, rgba(88,101,242,.6), var(--blue-2)); position: relative; overflow: hidden; }
.rolemap i::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: #fff; animation: dash 1.8s linear infinite; }
@keyframes dash { to { left: 100%; } }

/* ---------- Integration ---------- */
.section-glow { background:
  radial-gradient(50% 60% at 80% 50%, rgba(30,123,255,.14), transparent 70%), var(--bg); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(34px, 4.4vw, 54px); }
#access { padding-top: 0; }
.faq-wrap .head { position: sticky; top: 120px; }
.recent { display: grid; gap: 6px; }
.recent small { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.recent div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid var(--line); font-size: 12.5px; color: #C9D1DF; }
.recent div span:first-child { font-family: "Geist Mono", monospace; font-weight: 700; color: #fff; }
.recent .ok { color: var(--green); font-weight: 700; } .recent .bad { color: #FF8A95; font-weight: 700; }
.ticks { margin-top: 32px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: #C9D1DF; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(30,123,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%237CC4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  border: 1px solid rgba(59,140,255,.4); }
.flow { display: flex; flex-direction: column; align-items: center; }
.node { display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.node small { color: var(--muted); font-weight: 600; }
.node-ic { font-family: "Saira", sans-serif; font-style: italic; font-weight: 800; font-size: 14px; color: #fff; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #2A3142, #11141C); border: 1px solid var(--line-2); }
.n-core { box-shadow: 0 0 60px -10px rgba(30,123,255,.6); border-color: rgba(124,196,255,.35); }
.n-core img { width: 70px; height: auto; }
.beam { width: 2px; height: 70px; background: linear-gradient(var(--line-2), rgba(59,140,255,.5)); position: relative; overflow: hidden; }
.beam i { position: absolute; left: 0; width: 100%; height: 26px; top: -26px; background: linear-gradient(transparent, #fff, transparent); animation: beam 1.6s linear infinite; }
@keyframes beam { to { top: 100%; } }
.feed { width: 100%; margin-top: 26px; padding: 8px; border-radius: 20px; background: rgba(8,10,15,.8); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); display: grid; }
.feed-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; }
.feed-row + .feed-row { border-top: 1px solid rgba(255,255,255,.05); }
.feed-row.in { animation: rowIn .6s var(--ease); background: rgba(30,123,255,.07); }
.feed-row b { display: block; color: #fff; font-size: 14.5px; }
.feed-row small { color: var(--muted); font-size: 12.5px; }
.feed-row time { color: var(--dim); font-size: 12px; font-weight: 600; }
.tag { font-family: "Geist Mono", monospace; text-align: center; font-size: 11px; font-weight: 700; padding: 5px 0; border-radius: 8px; }
.t-red { color: #FF8A95; background: rgba(255,77,94,.13); }
.t-blue { color: #8CC0FF; background: rgba(30,123,255,.16); }
.t-amber { color: #FFC960; background: rgba(255,176,32,.13); }
.t-white { color: #E5E9F0; background: rgba(255,255,255,.08); }

/* ---------- Roles ---------- */
.roles { border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); padding: 10px; }
.role-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(0,0,0,.35); overflow-x: auto; scrollbar-width: none; }
.role-tabs::-webkit-scrollbar { display: none; }
.role-tabs button { flex: 1 0 auto; height: 46px; padding: 0 20px; border: 0; border-radius: 14px; cursor: pointer; background: transparent; color: var(--muted); font: 700 14.5px "Geist", "Inter", sans-serif; transition: color .2s, background .3s, box-shadow .3s; }
.role-tabs button:hover { color: #fff; }
.role-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #2A7FFF, #1561DB); box-shadow: 0 8px 26px -8px var(--glow); }
.role-panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px 44px; min-height: 360px; }
.role-copy h3 { font-size: clamp(26px, 3.4vw, 40px); color: #fff; letter-spacing: -0.04em; }
.role-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 520px; }
.role-copy ul { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.role-copy li { position: relative; padding-left: 18px; color: #C9D1DF; font-size: 14.5px; font-weight: 500; }
.role-copy li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-2); box-shadow: 0 0 10px var(--blue); transform: rotate(45deg); }
.role-panel.swap .role-copy { animation: rowIn .5s var(--ease); }
.role-visual { position: relative; height: 280px; border-radius: 22px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(70% 70% at 50% 40%, rgba(30,123,255,.35), transparent 70%), #070910; border: 1px solid var(--line); }
.role-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.role-visual img { position: relative; width: 230px; height: auto;  animation: hover 5s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px) rotate(-3deg); } }
.role-big { position: absolute; left: 22px; bottom: 6px; font-family: "Saira", sans-serif; font-style: italic; font-weight: 800; font-size: 110px; line-height: 1; color: rgba(255,255,255,.05); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(124,196,255,.25); background: rgba(30,123,255,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 17px; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 20px; color: var(--blue-3); background: rgba(255,255,255,.05); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding: 100px 24px; border-radius: 36px;
  background: linear-gradient(180deg, #0B1630, #05060A); border: 1px solid rgba(124,196,255,.2); isolation: isolate; }
.final-glow { position: absolute; inset: auto -20% -60% -20%; height: 140%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 100%, rgba(30,123,255,.35), transparent 70%); }
.final::before { content: none; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(124,196,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(124,196,255,.08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.final-mark { width: 140px; height: auto; margin: 0 auto 26px; display: block; }
.final h2 { font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -0.055em; color: #fff; }
.final p { margin: 22px auto 0; max-width: 480px; color: #A9B6CC; font-size: 18px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding: 80px 0 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer-giant { font-family: "Saira", sans-serif; font-style: italic; font-weight: 800; text-align: center; line-height: .8; margin-top: 30px;
  font-size: clamp(70px, 19vw, 260px); letter-spacing: -0.02em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-map { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .t-search, .t-records, .t-super, .t-discord { grid-column: span 1; grid-row: auto; }
  .split, .faq-wrap { grid-template-columns: 1fr; gap: 56px; }
  .faq-wrap .head { position: static; }
  .role-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .role-visual { height: 200px; }
}
@media (max-width: 820px) {
  .app-grid { grid-template-columns: 1fr; }
  .calls { grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .hide-md { display: none; }
  .thead, .row { grid-template-columns: 46px 84px 1.3fr 1fr; }
  .app-tools .tool:nth-child(n+3) { display: none; }
}
@media (max-width: 760px) {
  .nav { inset: 10px 0 auto; padding: 0 10px; }
  .nav-pill { height: 58px; border-radius: 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 10px; right: 10px; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px; border-radius: 20px; background: rgba(8,10,15,.96); border: 1px solid var(--line-2);
    backdrop-filter: blur(18px); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px; font-size: 16px; }
  .nav-links .btn { margin: 8px 0 0; height: 48px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 130px; }
  .cta-row .btn { flex: 1 1 100%; }
  .stage { margin-top: 56px; }
  .app { transform: none !important; border-radius: 16px; }
  .app-brand .wordmark, .app-brand em { display: none; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .section { padding: 96px 0; }
  .head { margin-bottom: 44px; }
  .bento { grid-template-columns: 1fr; }
  .t-map, .t-search, .t-records, .t-super, .t-discord { grid-column: auto; }
  .t-map { min-height: 420px; }
  .tile { padding: 24px; }
  .role-copy ul { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: 50px 1fr; }
  .feed-row time { display: none; }
  .final { padding: 72px 20px; border-radius: 26px; }
  .marquee span { font-size: 20px; }
  .hero-facts li + li::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .app { transform: none; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */

/* Active nav link */
.nav-links a[aria-current="page"]:not(.btn) { color: #fff; background: rgba(255,255,255,.08); }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 190px 0 100px; overflow: hidden; isolation: isolate; text-align: center; }
.page-hero .aurora { height: 700px; }
.page-hero .floor { top: 300px; opacity: .6; }
.page-hero h1 {
  font-size: clamp(44px, 7.2vw, 92px); letter-spacing: -0.055em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #A9B6CC); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .lead { margin-top: 24px; }
.page-hero .cta-row { margin-top: 34px; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: #fff; }

/* Alternating feature rows */
.features { display: grid; gap: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; padding: 40px 0; }
.feature:nth-child(even) .feature-visual { order: -1; }
.feature .eyebrow { margin-bottom: 16px; }
.feature h3 { font-size: clamp(28px, 3.4vw, 42px); color: #fff; letter-spacing: -0.045em; }
.feature > div > p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 500px; }
.points { margin-top: 26px; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 22px; color: #C9D1DF; font-weight: 500; }
.points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-2); box-shadow: 0 0 10px var(--blue); transform: rotate(45deg); }
.feature-visual {
  position: relative; overflow: hidden; border-radius: 24px; padding: 28px; min-height: 360px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: radial-gradient(80% 80% at 50% 0%, rgba(30,123,255,.16), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line);
}
.feature-visual .bigmap { min-height: 300px; }
.feature-visual .charges, .feature-visual .approve, .feature-visual .rolemap, .feature-visual .search-demo { margin-top: 0; }
.mini-board { display: grid; gap: 6px; font-size: 13px; }
.mini-board .row { grid-template-columns: 54px 92px 1fr 1fr; background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 10px; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line);
  transition: border-color .3s, transform .35s var(--ease);
}
.card:hover { border-color: rgba(124,196,255,.28); }
a.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 20px; color: #fff; letter-spacing: -0.03em; }
.card p { color: var(--muted); font-size: 15px; }
.ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(59,140,255,.25), rgba(30,123,255,.08)); border: 1px solid rgba(124,196,255,.3); box-shadow: 0 0 30px -8px var(--glow); }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--blue-3); display: inline-flex; gap: 6px; }
.card .more span { transition: transform .25s; }
a.card:hover .more span { transform: translateX(4px); }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.025); overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: "Saira", sans-serif; font-style: italic; font-weight: 800; font-size: 64px; line-height: 1;
  background: linear-gradient(180deg, var(--blue-3), rgba(30,123,255,.1)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.step h3 { font-size: 20px; color: #fff; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Roadmap */
.roadmap { position: relative; display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.roadmap::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue-2), rgba(255,255,255,.06)); }
.rm { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 18px 22px 18px 0; }
.rm-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #0A0C12; border: 1px solid var(--line-2); font-weight: 800; font-size: 13px; color: var(--muted); z-index: 1; }
.rm.now .rm-dot { color: #fff; border-color: var(--blue-2); box-shadow: 0 0 0 5px rgba(30,123,255,.15), 0 0 30px -4px var(--glow); background: #0D1B36; }
.rm h3 { font-size: 18px; color: #fff; }
.rm p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.pill { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; color: var(--muted); border: 1px solid var(--line-2); }
.pill.now { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 20px -4px var(--glow); }

/* Big statement */
.statement { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.12; color: #fff; max-width: 980px; }
.statement .dim { color: #3D4558; }

/* Requirement / info list */
.info { display: grid; gap: 10px; }
.info div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.info span { color: var(--muted); }
.info b { color: #fff; text-align: right; }

/* FAQ groups */
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h3 { font-size: 22px; color: #fff; margin-bottom: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.channels { display: grid; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .3s, transform .3s var(--ease); }
.channel:hover { border-color: rgba(124,196,255,.35); transform: translateY(-2px); }
.channel b { display: block; color: #fff; font-size: 17px; }
.channel small { color: var(--muted); font-size: 14px; }
.channel .arrow { margin-left: auto; color: var(--blue-3); font-weight: 800; }
.channel.discord .ic { background: linear-gradient(180deg, rgba(88,101,242,.35), rgba(88,101,242,.1)); border-color: rgba(88,101,242,.5); box-shadow: 0 0 30px -8px rgba(88,101,242,.8); }
.form { padding: 34px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form h3 { grid-column: 1 / -1; font-size: 24px; color: #fff; }
.form > p { grid-column: 1 / -1; color: var(--muted); margin-top: -6px; font-size: 15px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: #C9D1DF; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 15px "Geist", "Inter", sans-serif; color: #fff; padding: 13px 15px; border-radius: 12px;
  background: rgba(0,0,0,.35); border: 1px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%237CC4FF' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option { background: #0A0C12; }
.field input::placeholder, .field textarea::placeholder { color: #4E566A; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(30,123,255,.18); }
.form .btn { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }

/* Footer columns */
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-col h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }

/* Section helpers */
.section.tight { padding: 100px 0; }
.center { text-align: center; }
.mt-48 { margin-top: 48px; }

@media (max-width: 1024px) {
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 24px 0; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 140px 0 70px; }
  .cards, .cards.two, .cards.four, .steps { grid-template-columns: 1fr; }
  .feature-visual { padding: 18px; min-height: 0; }
  .mini-board .row { grid-template-columns: 46px 84px 1fr; }
  .mini-board .row span:nth-child(4) { display: none; }
  .rm { grid-template-columns: 44px 1fr; }
  .rm .pill { grid-column: 2; justify-self: start; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .info div { flex-direction: column; gap: 4px; }
  .info b { text-align: left; }
}

/* =========================================================
   Form system
   ========================================================= */
.form-system { display: grid; gap: 14px; scroll-margin-top: 110px; }
.form-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(0,0,0,.35); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.form-tabs::-webkit-scrollbar { display: none; }
.form-tabs button { flex: 1 0 auto; height: 42px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; background: transparent; color: var(--muted); font: 700 14px "Geist", "Inter", sans-serif; transition: color .2s, background .3s, box-shadow .3s; }
.form-tabs button:hover { color: #fff; }
.form-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #2A7FFF, #1561DB); box-shadow: 0 8px 26px -8px var(--glow); }
.form-system .form[hidden], .form-done[hidden] { display: none; }
.field label i { color: var(--blue-3); font-style: normal; }
.field { position: relative; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,77,94,.15); }
.counter { justify-self: end; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.counter.near { color: var(--amber); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { gap: 10px; }
.form .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.loading .spinner { display: inline-block; }
.form-status { grid-column: 1 / -1; min-height: 1px; font-size: 14px; font-weight: 600; }
.form-status.err { color: #FF8A95; }
.form-done { text-align: center; padding: 56px 28px; border-radius: 24px; border: 1px solid rgba(43,213,118,.35);
  background: radial-gradient(60% 80% at 50% 0%, rgba(43,213,118,.14), transparent 70%), rgba(255,255,255,.03); }
.done-ic { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #05060A; background: var(--green); box-shadow: 0 0 40px -6px var(--green); }
.form-done h3 { font-size: 28px; color: #fff; }
.form-done p { margin: 12px auto 0; max-width: 420px; color: var(--muted); }
.form-done .cta-row { margin-top: 26px; }

/* Home bento without the map tile (the real 3D map has its own section) */
.bento .t-search, .bento .t-records, .bento .t-super, .bento .t-discord { grid-column: span 3; grid-row: auto; }
@media (max-width: 1024px) { .bento .t-search, .bento .t-records, .bento .t-super, .bento .t-discord { grid-column: span 1; } }
@media (max-width: 760px) { .bento .t-search, .bento .t-records, .bento .t-super, .bento .t-discord { grid-column: auto; } }

/* =========================================================
   Live 3D map (home page section)
   ========================================================= */
.map-frame { position: relative; height: clamp(440px, 64vh, 640px); border-radius: 28px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); background: #05060A; box-shadow: 0 0 0 1px rgba(124,196,255,.06), 0 40px 120px -40px rgba(30,123,255,.45); }
.map-canvas, .map-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-frame.active .map-canvas canvas { cursor: grab; }
.map-frame.active .map-canvas canvas:active { cursor: grabbing; }
.map-labels { position: absolute; inset: 0; z-index: 10; pointer-events: none; overflow: hidden; }

/* Labels drawn over the 3D scene */
.ml { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; font: 600 12px "Geist", "Inter", sans-serif; }
.ml-landmarks { font: italic 800 14px "Saira", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); text-shadow: 0 2px 12px #000, 0 0 2px #000; }
.ml-postals { font: 700 10.5px "Geist Mono", monospace; color: #cfe3ff; background: rgba(5,6,10,.7); border: 1px solid rgba(124,196,255,.35); border-radius: 5px; padding: 1px 5px; }
.ml-places { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 11.5px; padding: 3px 8px 3px 5px; border-radius: 999px; background: rgba(8,10,15,.78); border: 1px solid rgba(255,255,255,.14); }
.ml-places i { width: 9px; height: 9px; border-radius: 50%; }
.ml-units { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 4px; border-radius: 999px; background: rgba(8,10,15,.85); border: 1px solid var(--c); box-shadow: 0 0 18px -4px var(--c); color: #fff; }
.ml-units b { font: 800 11px "Geist", "Inter", sans-serif; color: #05060A; background: var(--c); border-radius: 999px; padding: 1px 7px; }
.ml-units small { display: none; }
.ml-units { padding: 3px; }
.ml-calls { pointer-events: auto; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 10px; background: rgba(20,12,14,.9); border: 1px solid rgba(255,176,32,.6); color: #fff; box-shadow: 0 10px 30px -10px #000; }
.ml-calls.hot { border-color: rgba(255,77,94,.7); box-shadow: 0 0 24px -6px rgba(255,77,94,.8); }
.ml-calls b { font: 700 11px "Geist Mono", monospace; background: var(--amber); color: #05060A; border-radius: 6px; padding: 2px 6px; }
.ml-calls.hot b { background: var(--red); color: #fff; }
.ml-calls span { font-size: 12px; }

/* Tools */
.map-tools { position: absolute; z-index: 20; top: 16px; right: 16px; display: grid; gap: 8px; }
.map-tools button, .compass { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font: 800 13px "Geist", "Inter", sans-serif; cursor: pointer;
  background: rgba(8,10,15,.78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .2s, background .2s; }
.map-tools button:hover { border-color: rgba(124,196,255,.5); background: rgba(30,123,255,.18); }
.map-tools svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compass { cursor: default; border-radius: 50%; }
.compass span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 12px; color: var(--red); position: relative; }
.compass span::before { content: ""; position: absolute; top: 5px; left: 50%; translate: -50% 0; border: 5px solid transparent; border-bottom: 8px solid var(--red); }

/* "Click to explore" — keeps page scrolling normal until the visitor opts in */
.map-activate { position: absolute; z-index: 15; left: 50%; bottom: 40px; translate: -50% 0; display: grid; justify-items: center; gap: 4px; padding: 12px 22px; border-radius: 16px; cursor: pointer;
  color: #fff; font: 700 15px "Geist", "Inter", sans-serif; background: rgba(8,10,15,.82); border: 1px solid rgba(124,196,255,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 40px -10px var(--glow); transition: opacity .3s, visibility .3s; }
.map-activate small { font-size: 12px; font-weight: 500; color: var(--muted); }
.map-frame.active .map-activate { opacity: 0; visibility: hidden; }

/* Selected call */
.call-card { position: absolute; z-index: 20; left: 16px; top: 16px; width: 340px; padding: 18px; border-radius: 20px; background: rgba(8,10,15,.9); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -30px #000; }
.call-card[hidden], .call-card img[hidden] { display: none; }
.call-card .eyebrow { margin-bottom: 8px; }
.call-card h3 { font-size: 21px; color: #fff; }
.cc-where { margin-top: 4px; color: var(--dim); font: 500 12px "Geist Mono", monospace; }
.call-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 12px; border-radius: 12px; border: 1px solid var(--line); background: #0A0C12; }
.call-card .btn { margin-top: 12px; border: 0; cursor: pointer; font-family: inherit; }
.call-card .btn:disabled { opacity: .55; cursor: default; transform: none; }
.cc-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); min-height: 1em; }
.cc-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 19px; background: rgba(255,255,255,.08); }

.map-credit { position: absolute; z-index: 15; left: 16px; right: 16px; bottom: 10px; text-align: center; font-size: 11px; color: var(--dim); pointer-events: none; }
.map-credit a { color: var(--muted); pointer-events: auto; }

/* Loading */
.map-loading { position: absolute; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 16px; background: radial-gradient(50% 50% at 50% 50%, #0B1630, #05060A); transition: opacity .8s var(--ease), visibility .8s; }
.map-loading img { width: 120px; height: auto;  }
.map-loading p { color: #C9D1DF; font-weight: 600; }
.map-loading-track { width: 220px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.map-loading-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-3)); box-shadow: 0 0 12px var(--blue); transition: width .4s; }
.map-loading.done { opacity: 0; visibility: hidden; }
.map-loading.error p { color: #FF8A95; }

@media (max-width: 760px) {
  .map-frame { height: 520px; border-radius: 20px; }
  .map-tools { top: 10px; right: 10px; }
  .map-tools button, .compass { width: 40px; height: 40px; }
  .call-card { left: 10px; right: 60px; top: 10px; width: auto; padding: 14px; }
  .map-activate { bottom: 30px; width: calc(100% - 40px); }
  .map-credit { font-size: 9.5px; bottom: 6px; }
}

/* House numbers (appear once zoomed in) */
.ml-numbers { font: 700 10px "Geist Mono", monospace; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; }

/* Full screen map */
.map-frame:fullscreen { width: 100vw; height: 100vh; border-radius: 0; border: 0; }
.map-frame.expanded { position: fixed; inset: 0; z-index: 500; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; border: 0; }
body.map-expanded { overflow: hidden; }

/* Evidence uploader */
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 14px; border: 1.5px dashed rgba(124,196,255,.35); background: rgba(30,123,255,.05); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--blue-2); background: rgba(30,123,255,.12); }
.drop.full-up { opacity: .5; pointer-events: none; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { color: #fff; font-size: 14.5px; }
.drop small { color: var(--muted); font-size: 12.5px; }
.drop-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-list { display: grid; gap: 6px; margin-top: 8px; }
.drop-list:empty { display: none; }
.drop-list li { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 13px; }
.drop-list img, .drop-list .ft { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; display: grid; place-items: center; background: #0A0C12; font: 700 10px "Geist Mono", monospace; color: var(--blue-3); }
.drop-list .fn { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-list small { color: var(--dim); }
.drop-list button { width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 17px; background: rgba(255,255,255,.08); }
.drop-list button:hover { background: rgba(255,77,94,.3); }

/* =========================================================
   Top bar actions, pricing, plans, showcase, testimonials,
   accounts and legal pages
   ========================================================= */
.nav-actions { display: inline-flex; gap: 8px; margin-left: 8px; }
.nav-links .nav-actions .btn { margin-left: 0; }
.nav-links .btn[aria-current="page"] { box-shadow: 0 0 0 2px rgba(124,196,255,.45) inset; }

/* Billing period switch */
.billing-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.billing { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.4); border: 1px solid var(--line); }
.billing button { height: 40px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer; background: transparent; color: var(--muted); font: 700 14px "Geist", "Inter", sans-serif; transition: color .2s, background .3s; }
.billing button:hover { color: #fff; }
.billing button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #2A7FFF, #1561DB); box-shadow: 0 8px 22px -10px var(--glow); }
.billing em { font-style: normal; font-size: 11px; padding: 2px 6px; margin-left: 4px; border-radius: 6px; background: rgba(43,213,118,.18); color: var(--green); }

/* Plan cards */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.plan[data-plan="enterprise"] { border-color: rgba(124,196,255,.45); background: radial-gradient(90% 60% at 50% 0%, rgba(30,123,255,.16), transparent 70%), rgba(255,255,255,.03); }
.plan h3 { font-size: 22px; color: #fff; }
.plan-blurb { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-top: 18px; color: #fff; }
.plan-price .cur { font-size: 22px; font-weight: 700; }
.plan-price .amt { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan-price .per { color: var(--muted); font-weight: 600; margin-left: 4px; }
.plan-bill { margin-top: 6px; color: var(--dim); font-size: 13px; min-height: 20px; }
.plan-cta { margin-top: 18px; width: 100%; }
.plan-feats { margin-top: 22px; display: grid; gap: 9px; }
.plan-feats li { position: relative; padding-left: 26px; color: #C9D1DF; font-size: 14px; }
.plan-feats li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(30,123,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%237CC4FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.plans-note { margin-top: 28px; text-align: center; color: var(--dim); font-size: 14px; }
.plans-note a, .compare-link { color: var(--blue-3); font-weight: 700; }

/* Plan comparison table (matches the reference: tiers across, features down) */
.compare-section { padding-top: 170px; }
.compare-top { display: flex; justify-content: flex-end; margin-bottom: 12px; font-size: 14px; }
.compare-scroll { overflow-x: auto; border-radius: var(--r); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { color: #fff; font-size: 15px; font-weight: 700; vertical-align: bottom; }
.compare thead th:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.compare thead small { display: block; margin-top: 4px; color: var(--dim); font-size: 12px; font-weight: 600; }
.compare tbody th { text-align: left; color: #E3E8F1; font-weight: 500; }
.compare tbody tr:hover { background: rgba(255,255,255,.02); }
.compare .val { color: #fff; font-weight: 600; }
.compare .dash { color: #3A4152; }
.compare .tick { width: 20px; height: 20px; fill: none; stroke: var(--blue-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.compare .tick circle { fill: rgba(30,123,255,.14); }
.compare th:first-child { width: 34%; }

/* Showcase */
.shots { display: grid; gap: 22px; }
.shot { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #0A0C12; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #0A0C12; }
.shot figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 16px 20px; }
.shot figcaption b { color: #fff; font-size: 17px; }
.shot figcaption span { color: var(--muted); font-size: 14.5px; }
.credit-note { margin-top: 16px; text-align: center; color: var(--dim); font-size: 12.5px; }
.credit-note a { color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quotes:empty { display: none; }
.quote { margin: 0; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.quote blockquote { margin: 0; color: #E3E8F1; font-size: 17px; line-height: 1.6; }
.quote figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.quote figcaption b { color: #fff; }
.quote figcaption span { color: var(--muted); }
.empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 24px; border-radius: 24px; border: 1px dashed var(--line-2); }
.empty[hidden] { display: none; }
.empty h3 { font-size: 22px; color: #fff; }
.empty p { margin-top: 10px; color: var(--muted); }

/* Accounts: log in, sign up, forgot password */
.auth-body .nav-links a:not(.btn) { display: none; }
.auth { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 120px 16px 48px; overflow: hidden; isolation: isolate; }
.auth-card { width: 100%; max-width: 440px; padding: 36px 32px; border-radius: 26px; border: 1px solid var(--line-2); background: rgba(10,12,18,.88); box-shadow: 0 40px 100px -40px #000; display: grid; gap: 14px; }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; justify-self: center; margin-bottom: 6px; }
.auth-brand img { width: 56px; height: auto; }
.auth-card h1 { text-align: center; font-size: 30px; letter-spacing: -0.04em; color: #fff; }
.auth-sub { text-align: center; color: var(--muted); font-size: 15px; margin-top: -4px; }
.btn-discord { width: 100%; gap: 10px; color: #fff; background: #5865F2; border: 0; cursor: pointer; font-family: inherit; border-radius: 12px; }
.btn-discord:hover { background: #4752C4; }
.btn-discord svg { width: 22px; height: 22px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-form { display: grid; gap: 14px; }
.auth-form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; border-radius: 12px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.small-link { font-size: 13px; font-weight: 600; color: var(--blue-3); }
.hint { color: var(--dim); font-size: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: #C9D1DF; font-size: 14px; cursor: pointer; padding: 4px 0; }
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.check a, .auth-foot a, .form-status a, .plan-pick a { color: var(--blue-3); font-weight: 600; }
.check.bad span { color: #FF8A95; }
.form-status.ok { color: #9EE6BC; }
.auth-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan-pick { text-align: center; font-size: 14px; color: #C9D1DF; padding: 10px 12px; border-radius: 12px; background: rgba(30,123,255,.1); border: 1px solid rgba(59,140,255,.3); }
.plan-pick[hidden] { display: none; }

/* Legal pages */
.legal { padding: 150px 0 110px; }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--dim); font-size: 14px; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: #fff; }
.prose { max-width: 760px; color: #C9D1DF; font-size: 16px; line-height: 1.75; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); color: #fff; letter-spacing: -0.045em; }
.prose .updated { margin-top: 10px; color: var(--dim); font-size: 14px; }
.prose > p { margin-top: 22px; }
.prose section { margin-top: 40px; scroll-margin-top: 110px; }
.prose h2 { font-size: 22px; color: #fff; letter-spacing: -0.02em; margin-bottom: 10px; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--blue-3); }
.prose b { color: #fff; }

@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
  .nav-actions .btn { height: 46px; }
  .auth-body .nav-links a:not(.btn) { display: block; }
  .plans { grid-template-columns: 1fr; }
  .plan-blurb { min-height: 0; }
  .billing button { padding: 0 12px; font-size: 13px; }
  .auth-card { padding: 28px 20px; }
  .compare-section { padding-top: 130px; }
  .legal { padding: 120px 0 80px; }
}

/* Account portal */
.portal { padding: 140px 0 100px; min-height: 80vh; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.portal-head h1 { font-size: clamp(32px, 5vw, 52px); color: #fff; letter-spacing: -0.045em; }
.portal-head .eyebrow { margin-bottom: 10px; }
.portal-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-top: 28px; align-items: start; }
.panel { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.panel.full { grid-column: 1 / -1; }
.panel[hidden] { display: none; }
.panel h2 { font-size: 20px; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel .muted, .t-list .muted, .discord-row .muted { color: var(--muted); font-size: 14px; }
.kv { margin: 0; display: grid; }
.kv div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; color: #fff; font-size: 14.5px; overflow-wrap: anywhere; }
.kv dd small { color: var(--dim); }
.kv dd a { color: var(--blue-3); }
.discord-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.discord-row img { border-radius: 50%; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--blue-3); font: 600 13.5px "Geist", "Inter", sans-serif; }
.t-form { padding: 0; border: 0; background: none; margin-top: 14px; }
.sub-h { font-size: 15px; color: #fff; margin: 22px 0 10px; }
.t-list { display: grid; gap: 10px; }
.t-list li { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.2); display: grid; gap: 8px; }
.t-list blockquote { margin: 0; color: #E3E8F1; font-size: 14.5px; }
.t-list .pill { justify-self: start; }
.t-list .row { display: flex; gap: 8px; }
.t-list .btn { border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 900px) { .portal-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .portal { padding: 120px 0 70px; } .kv div { grid-template-columns: 1fr; gap: 2px; } .panel { padding: 20px; } }

/* Performance: let the browser skip drawing sections that are far off screen */
main > section.section { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* =========================================================
   Design polish: sharper type, hairline gradient borders,
   static light, animated borders on two hero elements only
   ========================================================= */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

body { font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-weight: 700; }
.hero h1, .page-hero h1 { font-weight: 700; letter-spacing: -0.05em; }
.section h2 { font-weight: 700; }

/* Hairline gradient borders: brighter on top, like light hitting a glass edge */
.tile, .card, .plan, .panel, .step, .quote, .feature-visual, .faq details, .roles, .final, .auth-card, .form, .shot, .map-frame {
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(17,20,29,.92), rgba(9,11,16,.96)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 40%, rgba(124,196,255,.10)) border-box !important;
}
.form-system .form { background: linear-gradient(180deg, rgba(17,20,29,.92), rgba(9,11,16,.96)) padding-box, linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04)) border-box !important; }
.tile:hover, .card:hover, .plan:hover {
  background:
    linear-gradient(180deg, rgba(19,23,33,.95), rgba(10,12,18,.97)) padding-box,
    linear-gradient(180deg, rgba(124,196,255,.45), rgba(255,255,255,.06) 50%, rgba(124,196,255,.2)) border-box !important;
}
.card, .plan, .tile { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover, a.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(30,123,255,.45); }

/* Top bar: glass with a lit edge */
.nav-pill {
  border: 1px solid transparent !important;
  background: linear-gradient(rgba(10,12,18,.82), rgba(10,12,18,.82)) padding-box, linear-gradient(90deg, rgba(255,255,255,.08), rgba(124,196,255,.35), rgba(255,255,255,.08)) border-box !important;
}

/* Hero: a static light beam and fading grid (no animation, no blur filter) */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 55% at 50% 0%, rgba(124,196,255,.22), transparent 70%),
    conic-gradient(from 180deg at 50% -10%, transparent 160deg, rgba(30,123,255,.16) 175deg, rgba(124,196,255,.22) 180deg, rgba(30,123,255,.16) 185deg, transparent 200deg),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.badge { box-shadow: 0 0 0 1px rgba(124,196,255,.12), 0 10px 30px -12px rgba(30,123,255,.5); }

/* Product preview: crisp lit frame instead of heavy glow */
.app { box-shadow: 0 0 0 1px rgba(124,196,255,.12), 0 30px 80px -40px rgba(0,0,0,.9), 0 0 0 8px rgba(255,255,255,.02); }

/* Section heads: thin divider line above the eyebrow */
.head .eyebrow { padding: 6px 12px; border-radius: 999px; background: rgba(30,123,255,.08); border: 1px solid rgba(124,196,255,.2); letter-spacing: .14em; }
.head.left .eyebrow { margin-left: 0; }

/* Primary buttons: lit top edge + shine on hover only */
.btn-glow { overflow: hidden; background: linear-gradient(180deg, #4A97FF, #1A66E6); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -10px var(--glow); }
.btn-glow::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); opacity: 0; }
.btn-glow:hover::after { opacity: 1; animation: btnShine .8s var(--ease); }
@keyframes btnShine { from { left: -60%; } to { left: 130%; } }

/* Animated gradient border: Enterprise plan + final call-to-action only */
.plan[data-plan="enterprise"], .final {
  background:
    linear-gradient(180deg, rgba(14,24,48,.96), rgba(8,10,16,.98)) padding-box,
    conic-gradient(from var(--spin), rgba(124,196,255,.15), #3B8CFF, rgba(124,196,255,.15) 30%, rgba(255,255,255,.08) 60%, rgba(124,196,255,.15)) border-box !important;
  animation: spinBorder 8s linear infinite;
}
@keyframes spinBorder { to { --spin: 360deg; } }

/* Comparison table polish */
.compare-scroll { border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.compare thead th { position: sticky; top: 0; background: #0A0C12; }

@media (prefers-reduced-motion: reduce) {
  .plan[data-plan="enterprise"], .final { animation: none; }
}

/* =========================================================
   Christmas theme (html.holiday): snow, lights, Santa hat
   ========================================================= */
.snow { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
html.holiday .nav-pill { position: relative; }
/* C9 Christmas bulbs hanging from the bottom of the header */
html.holiday .nav-pill::after, html.holiday .nav-pill::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: calc(100% - 3px); height: 44px; pointer-events: none;
  background-repeat: repeat-x; background-size: 230px 44px; background-position: center top;
}
html.holiday .nav-pill::after { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22230%22%20height%3D%2244%22%20viewBox%3D%220%200%20230%2044%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22g0%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff3b3b%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff3b3b%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b0%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffb3b3%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ff3b3b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff3b3b%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g1%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2322c55e%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2322c55e%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23a7f3c0%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%2322c55e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2322c55e%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g2%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233b8cff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233b8cff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b2%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b9d6ff%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%233b8cff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233b8cff%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g3%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff8a1f%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff8a1f%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b3%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd0a3%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ff8a1f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff8a1f%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g4%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd23f%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd23f%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b4%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff1b0%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ffd23f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd23f%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%203%20Q11.5%203%2023.0%209%20Q34.5%203%2046.0%203%20Q57.5%203%2069.0%209%20Q80.5%203%2092.0%203%20Q103.5%203%20115.0%209%20Q126.5%203%20138.0%203%20Q149.5%203%20161.0%209%20Q172.5%203%20184.0%203%20Q195.5%203%20207.0%209%20Q218.5%203%20230.0%203%22%20fill%3D%22none%22%20stroke%3D%22%2324331f%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22M0%203%20Q11.5%203%2023.0%209%20Q34.5%203%2046.0%203%20Q57.5%203%2069.0%209%20Q80.5%203%2092.0%203%20Q103.5%203%20115.0%209%20Q126.5%203%20138.0%203%20Q149.5%203%20161.0%209%20Q172.5%203%20184.0%203%20Q195.5%203%20207.0%209%20Q218.5%203%20230.0%203%22%20fill%3D%22none%22%20stroke%3D%22%234a6340%22%20stroke-width%3D%22.6%22%20opacity%3D%22.6%22%2F%3E%3Crect%20x%3D%2219.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%227%22%20rx%3D%221.2%22%20fill%3D%22%231d3a1f%22%2F%3E%3Crect%20x%3D%2219.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%221.6%22%20fill%3D%22%233d6b3a%22%2F%3E%3Cpath%20d%3D%22M19.4%2015%20C15.0%2018%2015.6%2027%2023.0%2036%20C30.4%2027%2031.0%2018%2026.6%2015%20Z%22%20fill%3D%22url%28%23b0%29%22%2F%3E%3Cpath%20d%3D%22M19.8%2018%20C18.4%2021%2019.0%2025%2021.4%2029%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%2265.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%227%22%20rx%3D%221.2%22%20fill%3D%22%231d3a1f%22%2F%3E%3Crect%20x%3D%2265.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%221.6%22%20fill%3D%22%233d6b3a%22%2F%3E%3Cpath%20d%3D%22M65.4%2015%20C61.0%2018%2061.6%2027%2069.0%2036%20C76.4%2027%2077.0%2018%2072.6%2015%20Z%22%20fill%3D%22url%28%23b1%29%22%2F%3E%3Cpath%20d%3D%22M65.8%2018%20C64.4%2021%2065.0%2025%2067.4%2029%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%22111.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%227%22%20rx%3D%221.2%22%20fill%3D%22%231d3a1f%22%2F%3E%3Crect%20x%3D%22111.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%221.6%22%20fill%3D%22%233d6b3a%22%2F%3E%3Cpath%20d%3D%22M111.4%2015%20C107.0%2018%20107.6%2027%20115.0%2036%20C122.4%2027%20123.0%2018%20118.6%2015%20Z%22%20fill%3D%22url%28%23b2%29%22%2F%3E%3Cpath%20d%3D%22M111.8%2018%20C110.4%2021%20111.0%2025%20113.4%2029%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%22157.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%227%22%20rx%3D%221.2%22%20fill%3D%22%231d3a1f%22%2F%3E%3Crect%20x%3D%22157.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%221.6%22%20fill%3D%22%233d6b3a%22%2F%3E%3Cpath%20d%3D%22M157.4%2015%20C153.0%2018%20153.6%2027%20161.0%2036%20C168.4%2027%20169.0%2018%20164.6%2015%20Z%22%20fill%3D%22url%28%23b3%29%22%2F%3E%3Cpath%20d%3D%22M157.8%2018%20C156.4%2021%20157.0%2025%20159.4%2029%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3Crect%20x%3D%22203.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%227%22%20rx%3D%221.2%22%20fill%3D%22%231d3a1f%22%2F%3E%3Crect%20x%3D%22203.8%22%20y%3D%228%22%20width%3D%226.4%22%20height%3D%221.6%22%20fill%3D%22%233d6b3a%22%2F%3E%3Cpath%20d%3D%22M203.4%2015%20C199.0%2018%20199.6%2027%20207.0%2036%20C214.4%2027%20215.0%2018%20210.6%2015%20Z%22%20fill%3D%22url%28%23b4%29%22%2F%3E%3Cpath%20d%3D%22M203.8%2018%20C202.4%2021%20203.0%2025%20205.4%2029%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E"); z-index: 1; }
html.holiday .nav-pill::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22230%22%20height%3D%2244%22%20viewBox%3D%220%200%20230%2044%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22g0%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff3b3b%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff3b3b%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b0%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffb3b3%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ff3b3b%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff3b3b%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g1%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%2322c55e%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2322c55e%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b1%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23a7f3c0%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%2322c55e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2322c55e%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g2%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233b8cff%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233b8cff%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b2%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b9d6ff%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%233b8cff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233b8cff%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g3%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff8a1f%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff8a1f%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b3%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd0a3%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ff8a1f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ff8a1f%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22g4%22%20cx%3D%2250%25%22%20cy%3D%2250%25%22%20r%3D%2250%25%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd23f%22%20stop-opacity%3D%22.75%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd23f%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22b4%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff1b0%22%2F%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%23ffd23f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffd23f%22%20stop-opacity%3D%22.85%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cellipse%20cx%3D%2223.0%22%20cy%3D%2225%22%20rx%3D%2213%22%20ry%3D%2215%22%20fill%3D%22url%28%23g0%29%22%2F%3E%3Cellipse%20cx%3D%2269.0%22%20cy%3D%2225%22%20rx%3D%2213%22%20ry%3D%2215%22%20fill%3D%22url%28%23g1%29%22%2F%3E%3Cellipse%20cx%3D%22115.0%22%20cy%3D%2225%22%20rx%3D%2213%22%20ry%3D%2215%22%20fill%3D%22url%28%23g2%29%22%2F%3E%3Cellipse%20cx%3D%22161.0%22%20cy%3D%2225%22%20rx%3D%2213%22%20ry%3D%2215%22%20fill%3D%22url%28%23g3%29%22%2F%3E%3Cellipse%20cx%3D%22207.0%22%20cy%3D%2225%22%20rx%3D%2213%22%20ry%3D%2215%22%20fill%3D%22url%28%23g4%29%22%2F%3E%3C%2Fsvg%3E"); z-index: 0; animation: twinkle 2.4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
/* Santa hat on the logo */
html.holiday .nav .brand { position: relative; }
html.holiday .nav .brand::before {
  content: ""; position: absolute; left: 2px; top: -13px; width: 30px; height: 24px; pointer-events: none; z-index: 2; transform: rotate(-18deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 48'%3E%3Cpath d='M8 38 C14 18 30 4 46 10 C40 16 40 24 44 34 Z' fill='%23e3263a'/%3E%3Cpath d='M46 10 C52 14 54 22 52 30' fill='none' stroke='%23e3263a' stroke-width='6' stroke-linecap='round'/%3E%3Ccircle cx='52' cy='32' r='6' fill='%23fff'/%3E%3Crect x='4' y='34' width='44' height='10' rx='5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Holiday greeting under the hero badge */
.holiday-note { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, rgba(227,38,58,.22), rgba(43,213,118,.18)); border: 1px solid rgba(255,255,255,.14); }
.hero-copy .holiday-note { display: flex; width: max-content; }
.snow-toggle { background: none; border: 0; padding: 5px 0; cursor: pointer; color: var(--muted); font: 600 14.5px inherit; font-family: inherit; text-align: left; }
.snow-toggle:hover { color: #fff; }
@media (max-width: 760px) { html.holiday .nav-pill::after, html.holiday .nav-pill::before { left: 14px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { html.holiday .nav-pill::before { animation: none; opacity: .8; } }

/* =========================================================
   Account portal
   ========================================================= */
.acct { padding: 128px 0 110px; min-height: 80vh; }
.acct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.acct .mono { font-family: "Geist Mono", ui-monospace, monospace; }
.acct .muted { color: var(--muted); }
.acct .sm { font-size: 13px; }
.acct .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.acct button { font-family: inherit; }
.acct .btn { cursor: pointer; border: 0; }
.acct .btn-glass { border: 1px solid var(--line-2); }
.acct .btn.loading { opacity: .6; pointer-events: none; }
.acct .btn-danger { color: #fff; background: linear-gradient(180deg, #FF5C6C, #E0283A); box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 8px 22px -10px rgba(255,77,94,.6); }
.acct .btn-discord-sm { color: #fff; background: #5865F2; }
.acct .btn-discord-sm:hover { background: #4752C4; }
.acct .link-btn { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.acct .link-btn svg { width: 14px; height: 14px; }
.acct .link-btn:hover { text-decoration: underline; }
.acct .link-btn.danger { color: #FF8A95; }

/* Profile header */
.acct-hero { position: relative; display: flex; align-items: center; gap: 22px; padding: 28px 30px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(600px 220px at 0% 0%, rgba(30,123,255,.28), transparent 70%), radial-gradient(500px 200px at 100% 100%, rgba(124,196,255,.10), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 30px 80px -50px rgba(30,123,255,.6); }
.acct-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 36px 36px;
  -webkit-mask-image: radial-gradient(60% 120% at 0% 0%, #000, transparent 70%); mask-image: radial-gradient(60% 120% at 0% 0%, #000, transparent 70%); }
.acct-avatar { position: relative; z-index: 1; width: 76px; height: 76px; border-radius: 50%; flex: none; padding: 3px; background: conic-gradient(from 200deg, #1E7BFF, #7CC4FF, #1E7BFF); box-shadow: 0 10px 30px -10px var(--glow); }
.acct-avatar img, .acct-avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: #0A0F1D; color: #fff; font: 800 24px "Geist", sans-serif; border: 3px solid #05060A; }
.acct-who { position: relative; z-index: 1; min-width: 0; flex: 1; }
.acct-who .eyebrow { margin-bottom: 6px; font-size: 11.5px; }
.acct-who h1 { font-size: clamp(26px, 3.6vw, 36px); color: #fff; letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; }
.acct-handle { color: var(--muted); font-size: 14px; margin-top: 4px; }
.acct-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); color: #C9D1DF; background: rgba(255,255,255,.04); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.green { color: #6FEBA6; border-color: rgba(43,213,118,.35); background: rgba(43,213,118,.08); }
.badge.amber { color: #FFCC6B; border-color: rgba(255,176,32,.35); background: rgba(255,176,32,.08); }
.badge.blue { color: var(--blue-3); border-color: rgba(30,123,255,.4); background: rgba(30,123,255,.1); }
.badge.discord { color: #AEB5FF; border-color: rgba(88,101,242,.45); background: rgba(88,101,242,.12); }
.acct-hero-actions { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; }

/* Layout */
.acct-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.acct-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.acct-nav-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 12px 12px 6px; }
.acct-nav-h:first-child { padding-top: 6px; }
.acct-nav a, .acct-logout { position: relative; display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: 12px; color: #B9C2D3; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color .2s, background .2s; border: 0; background: none; cursor: pointer; text-align: left; }
.acct-nav a svg, .acct-logout svg { color: var(--dim); transition: color .2s; }
.acct-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.acct-nav a:hover svg { color: var(--blue-3); }
.acct-nav a.on { color: #fff; background: linear-gradient(90deg, rgba(30,123,255,.22), rgba(30,123,255,.04)); box-shadow: 0 0 0 1px rgba(59,140,255,.25) inset; }
.acct-nav a.on::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue-2); box-shadow: 0 0 12px var(--blue-2); }
.acct-nav a.on svg { color: var(--blue-3); }
.acct-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--amber); color: #1A1100; font-size: 11px; font-weight: 800; }
.acct-count:empty { display: none; }
.acct-logout { margin-top: 8px; color: #FF8A95; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; padding-top: 4px; height: 48px; }
.acct-logout svg { color: #FF8A95; }
.acct-logout:hover { background: rgba(255,77,94,.08); }

.acct-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.acct-pane { display: flex; flex-direction: column; gap: 16px; animation: acctIn .35s var(--ease); }
.acct-pane[hidden] { display: none; }
@keyframes acctIn { from { opacity: 0; transform: translateY(6px); } }
.acct-flash { padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14px; border: 1px solid rgba(43,213,118,.35); background: rgba(43,213,118,.08); color: #9EE6BC; }
.acct-flash.err { border-color: rgba(255,77,94,.4); background: rgba(255,77,94,.08); color: #FF9AA3; }
.acct-flash[hidden] { display: none; }

/* Cards */
.acct-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.acct-card { position: relative; padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.acct-card h2 { font-size: 19px; color: #fff; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.acct-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.acct-card-head h2 { margin: 0; }
.acct-lead { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; max-width: 60ch; }
.acct-foot { color: var(--dim); font-size: 13px; margin-top: 16px; }
.acct-foot a { color: var(--blue-3); font-weight: 600; }
.acct-card.danger { border-color: rgba(255,77,94,.25); background: linear-gradient(180deg, rgba(255,77,94,.05), rgba(255,255,255,.01)); }
.acct-card.empty { text-align: center; padding: 44px 28px; }
.acct-card.empty .acct-lead { margin: 8px auto 18px; }

/* Key/value list */
.acct-kv { margin: 10px 0 0; display: grid; }
.acct-kv div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.acct-kv div:last-child { border-bottom: 0; }
.acct-kv dt { color: var(--muted); font-size: 14px; }
.acct-kv dd { margin: 0; color: #fff; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.acct-kv .mini-av { width: 22px; height: 22px; border-radius: 50%; }
.acct .tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-decoration: none; border: 1px solid var(--line-2); color: #C9D1DF; }
.acct .tag svg { width: 13px; height: 13px; }
.acct .tag.green { color: #6FEBA6; border-color: rgba(43,213,118,.35); background: rgba(43,213,118,.08); }
.acct .tag.amber { color: #FFCC6B; border-color: rgba(255,176,32,.35); background: rgba(255,176,32,.08); }

/* Account health */
.health { display: flex; align-items: center; gap: 16px; margin: 8px 0 14px; }
.ring { position: relative; width: 74px; height: 74px; flex: none; --rc: var(--amber); }
.ring[data-level="good"] { --rc: var(--blue-2); }
.ring[data-level="great"] { --rc: var(--green); }
.ring svg { width: 74px; height: 74px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 4; }
.ring .ring-fill { stroke: var(--rc); stroke-linecap: round; stroke-dasharray: 0 113.1; transition: stroke-dasharray .8s var(--ease); filter: drop-shadow(0 0 6px var(--rc)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 17px "Geist", sans-serif; letter-spacing: -0.02em; }
.health p { font-size: 14px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checklist li { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #DDE3EE; }
.checklist li .link-btn { margin-left: auto; font-size: 13px; }
.checklist li.ok { color: var(--muted); }
.state { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; }
.state svg { width: 14px; height: 14px; stroke-width: 2.4; }
.state.on { background: rgba(43,213,118,.14); color: var(--green); box-shadow: 0 0 0 1px rgba(43,213,118,.35) inset; }
.state.off { background: rgba(255,176,32,.12); color: var(--amber); box-shadow: 0 0 0 1px rgba(255,176,32,.3) inset; }

/* Forms */
.acct-form { display: grid; gap: 14px; max-width: 520px; }
.acct-form.inline { grid-template-columns: minmax(0, 1fr) auto; align-items: end; max-width: 560px; }
.acct-form.inline .form-status { grid-column: 1 / -1; }
.acct-form .btn { height: 46px; border-radius: 12px; }
.acct-form .field input { height: 46px; }
.acct-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acct-current { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.acct-current small { display: block; color: var(--muted); font-size: 12.5px; }
.acct-current b { color: #fff; font-size: 15px; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 5px; align-items: center; margin-top: 2px; }
.strength i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); transition: background .25s; }
.strength span { font-size: 12px; color: var(--muted); min-width: 60px; text-align: right; }
.strength[data-score="1"] i:nth-child(-n+1) { background: var(--red); }
.strength[data-score="2"] i:nth-child(-n+2) { background: var(--amber); }
.strength[data-score="3"] i:nth-child(-n+3) { background: var(--blue-2); }
.strength[data-score="4"] i { background: var(--green); }

/* Settings rows */
.acct-rows { display: grid; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.acct-row.top { align-items: flex-start; }
.acct-row:last-of-type { border-bottom: 0; }
.acct-row b { display: block; color: #fff; font-size: 15px; }
.acct-row small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; max-width: 52ch; }
.acct-row > div:last-child { display: flex; align-items: center; gap: 8px; flex: none; }
.acct-rows .acct-actions { padding-top: 16px; }
.acct-input { width: 220px; height: 42px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: #fff; font: 600 14px "Geist", sans-serif; outline: none; transition: border-color .2s, box-shadow .2s; }
.acct-input.mono { font-family: "Geist Mono", monospace; text-transform: uppercase; }
.acct-input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(30,123,255,.18); }
.switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid var(--line-2); transition: background .25s, border-color .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .25s var(--ease); }
.switch input:checked + span { background: linear-gradient(180deg, #3B8CFF, #1667E8); border-color: transparent; box-shadow: 0 0 16px -4px var(--glow); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--blue-3); outline-offset: 2px; }

/* Two-factor setup */
.tf-box { padding: 20px; margin: 4px 0 8px; border-radius: 16px; border: 1px solid rgba(59,140,255,.3); background: rgba(30,123,255,.05); }
.tf-steps { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; }
.tf-qr { width: 180px; height: 180px; padding: 8px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.tf-qr svg { width: 100%; height: 100%; stroke: none; }
.tf-text p { font-size: 14px; color: #DDE3EE; margin-bottom: 8px; }
.tf-secret { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.tf-secret code { font: 600 14px "Geist Mono", monospace; letter-spacing: .06em; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); color: #fff; overflow-wrap: anywhere; }
.tf-done p { font-size: 14px; color: #DDE3EE; margin-bottom: 12px; }
.tf-done .codes { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.tf-done .codes li { font: 600 14px "Geist Mono", monospace; text-align: center; padding: 8px; border-radius: 10px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); color: #fff; }

/* Devices */
.devices { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.devices li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.devices li:last-child { border-bottom: 0; }
.devices li > svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: rgba(30,123,255,.1); color: var(--blue-3); }
.devices li > div { flex: 1; min-width: 0; }
.devices b { color: #fff; font-size: 14.5px; }
.devices small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Communities & billing */
.acct-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); align-self: flex-start; }
.acct-tabs button { height: 36px; padding: 0 16px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: 600 14px "Geist", sans-serif; cursor: pointer; }
.acct-tabs button.on { color: #fff; background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px var(--line-2) inset; }
.comm-list { display: grid; gap: 14px; }
.comm-list[hidden] { display: none; }
.comm { border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); overflow: hidden; }
.comm header { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: radial-gradient(400px 120px at 0 0, rgba(30,123,255,.14), transparent 70%); }
.comm header > div { flex: 1; min-width: 0; }
.comm header b { display: block; color: #fff; font-size: 16px; }
.comm header small { color: var(--muted); font-size: 13px; }
.comm-logo { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; font: 800 15px "Geist", sans-serif; color: #fff; background: linear-gradient(135deg, #1E7BFF, #0B2A6E); box-shadow: 0 8px 20px -10px var(--glow); }
.comm dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.comm dl div { padding: 14px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comm dt { color: var(--muted); font-size: 12.5px; }
.comm dd { margin: 3px 0 0; color: #fff; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.billing-note { display: flex; gap: 16px; align-items: flex-start; padding: 18px; margin: 10px 0 18px; border-radius: 16px; border: 1px solid rgba(59,140,255,.25); background: rgba(30,123,255,.05); }
.billing-note > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(30,123,255,.14); color: var(--blue-3); }
.billing-note b { color: #fff; font-size: 15px; }
.billing-note p { color: var(--muted); font-size: 14px; margin-top: 4px; }
#c-billing[hidden] { display: none; }

/* Login: two-factor step */
.tf-step { display: grid; gap: 14px; }
.tf-step h1 { text-align: center; }
.auth-card > [hidden] { display: none !important; }

@media (max-width: 960px) {
  .acct-layout { grid-template-columns: minmax(0, 1fr); }
  .acct-nav { position: sticky; top: 76px; z-index: 5; flex-direction: row; overflow-x: auto; padding: 6px; border-radius: 16px; background: rgba(5,6,10,.92); backdrop-filter: blur(12px); scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav-h { display: none; }
  .acct-nav a, .acct-logout { flex: none; height: 38px; font-size: 13.5px; }
  .acct-nav a.on::before { display: none; }
  .acct-logout { margin: 0; border: 0; border-radius: 12px; height: 38px; padding-top: 0; }
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .acct { padding-top: 104px; }
  .acct-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .acct-card { padding: 22px 18px; }
  .acct-kv div { grid-template-columns: 1fr; gap: 4px; }
  .acct-row { flex-direction: column; align-items: flex-start; }
  .acct-input { width: 100%; }
  .acct-row > div:last-child { width: 100%; }
  .acct-form.inline { grid-template-columns: 1fr; }
  .tf-steps { grid-template-columns: 1fr; }
  .comm dl { grid-template-columns: 1fr 1fr; }
}
.acct-nav a[hidden], .acct [hidden] { display: none !important; }
