/* =========================================================
   Pixellake — public website
   ========================================================= */
:root {
  --bg: #05060f;
  --bg-2: #0a0c1d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(148, 163, 255, 0.14);
  --line-2: rgba(148, 163, 255, 0.28);
  --text: #eef0ff;
  --muted: #9aa0c3;
  --dim: #6b7096;
  --cyan: #22d3ee;
  --indigo: #6366f1;
  --violet: #a855f7;
  --grad: linear-gradient(110deg, #22d3ee 0%, #6366f1 45%, #a855f7 100%);
  --radius: 18px;
  --max: 1240px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* faint engineering grid */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); opacity: .35;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--cyan); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text); transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); background: var(--panel-2); }
.btn-primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(99,102,241,.7); }
.btn-primary:hover { box-shadow: 0 16px 50px -8px rgba(99,102,241,.9); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- utility bar + header ---------- */
.utility { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.utility span { display: inline-flex; align-items: center; gap: 8px; }
.utility .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5, 6, 15, .72); backdrop-filter: blur(18px) saturate(160%); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; font: 500 10.5px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px; color: var(--muted); font: 500 15px var(--font); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a.active { color: var(--text); background: var(--panel); }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; width: 560px; padding: 18px; border-radius: 20px; background: rgba(12, 14, 32, .96); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.menu > li:hover .mega, .menu > li:focus-within .mega, .menu > li.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega a:hover { background: var(--panel-2); }
.mega img, .mega .ph { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.mega .ph { background: var(--grad); }
.mega strong { display: block; font-size: 15px; }
.mega span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega .all { grid-column: 1 / -1; justify-content: center; color: var(--cyan); font-weight: 600; font-size: 14px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 114px); display: flex; align-items: center; overflow: hidden; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 20% 40%, rgba(5,6,15,.9), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--bg)); }
.aurora { position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%; filter: blur(120px); opacity: .45; pointer-events: none;
  background: conic-gradient(from 120deg, #22d3ee, #6366f1, #a855f7, #22d3ee); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero .wrap { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding-top: 40px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(42px, 6vw, 78px); margin: 22px 0 22px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 600px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-cards { display: grid; gap: 16px; }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line-2); border-radius: var(--radius); backdrop-filter: blur(14px); }
.status-card { padding: 20px 22px; display: flex; gap: 16px; align-items: center; animation: float 7s ease-in-out infinite; }
.status-card:nth-child(2) { margin-left: 40px; animation-delay: -2s; }
.status-card:nth-child(3) { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.status-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(99,102,241,.18); border: 1px solid var(--line-2); }
.status-card .ico svg { width: 22px; height: 22px; color: var(--cyan); }
.status-card img.ico { padding: 0; background: none; border: 0; }
.status-card strong { display: block; }
.status-card small { color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.8s infinite; }
@keyframes cue { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(255,255,255,.015); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font-family: var(--display); font-size: 18px; white-space: nowrap; }
.marquee span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.block { padding: 120px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card { position: relative; padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s; }
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(99,102,241,.18), transparent 40%); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card .icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(168,85,247,.18)); border: 1px solid var(--line-2); }
.card .icon svg { width: 26px; height: 26px; color: #c7d2fe; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* solutions */
.sol-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; padding: 0; min-height: 380px; }
.sol-card .info { padding: 44px; display: flex; flex-direction: column; }
.sol-card .info img.logo { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 22px; }
.sol-card h3 { font-size: 34px; }
.sol-card .tag { color: var(--cyan); font-weight: 600; margin-bottom: 12px; }
.sol-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 26px; }
.chip { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255,255,255,.03); }
.sol-card .shot { position: relative; background: radial-gradient(circle at 70% 30%, rgba(99,102,241,.35), transparent 60%), #0b0d22; display: flex; align-items: center; justify-content: center; padding: 34px; border-left: 1px solid var(--line); }
.sol-card .shot img { border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px var(--line-2); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .6s; }
.sol-card:hover .shot img { transform: perspective(1200px) rotateY(0) rotateX(0); }
.sol-card .actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.mini-sol { display: flex; gap: 18px; align-items: flex-start; }
.mini-sol img { width: 56px; height: 56px; border-radius: 14px; }

/* approach timeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { position: relative; padding-top: 86px; }
.step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: 0; left: 0; width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
  font: 700 22px var(--display); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg), 0 0 40px -10px var(--indigo); }
.step h3 { font-size: 22px; }
.step p { color: var(--muted); font-size: 15px; }

/* industries */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { padding: 14px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-weight: 500; transition: .25s; }
.pill:hover { border-color: var(--cyan); color: #fff; box-shadow: 0 0 30px -10px var(--cyan); }

/* HQ */
.hq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; overflow: hidden; padding: 0; }
.hq .info { padding: 48px; }
.hq address { font-style: normal; font-size: 20px; line-height: 1.6; margin: 18px 0 26px; }
.hq iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: invert(.9) hue-rotate(195deg) saturate(.6) brightness(.95); }
.kv { display: grid; gap: 14px; margin-bottom: 28px; }
.kv div { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.kv svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.kv a:hover { color: var(--text); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 70px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(99,102,241,.35), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto 30px; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: 110px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .aurora { width: 700px; height: 700px; top: -420px; right: -200px; opacity: .35; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); margin-top: 16px; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 720px; }
.crumbs { font-size: 13.5px; color: var(--dim); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--text); }

/* solution detail */
.sol-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sol-hero .logo { width: 84px; height: 84px; border-radius: 22px; margin-bottom: 22px; box-shadow: 0 20px 60px -15px var(--indigo); }
.download-box { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.download-box .fine { width: 100%; font-size: 13px; color: var(--dim); }
.hero-shot img { border-radius: 16px; box-shadow: 0 40px 100px -25px #000, 0 0 0 1px var(--line-2); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure { margin: 0; cursor: zoom-in; }
.gallery img { border-radius: 14px; border: 1px solid var(--line); transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.015); }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.prose { max-width: 780px; font-size: 17px; color: #d6d9f5; }
.prose h2 { font-size: 30px; margin-top: 1.6em; color: var(--text); }
.prose h3 { font-size: 22px; margin-top: 1.4em; color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 20px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.versions { width: 100%; border-collapse: collapse; font-size: 15px; }
.versions th { text-align: left; color: var(--dim); font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 0 14px 12px; border-bottom: 1px solid var(--line); }
.versions td { padding: 18px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.versions tr:hover td { background: rgba(255,255,255,.02); }
.versions .ver { font-family: var(--display); font-weight: 700; font-size: 18px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }
.badge.latest { background: rgba(52,211,153,.15); color: #34d399; }
.badge.beta { background: rgba(251,191,36,.15); color: #fbbf24; }
.hash { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--muted); word-break: break-all; }
.copy { background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 6px; font-size: 11px; padding: 2px 8px; margin-left: 6px; cursor: pointer; }
.copy:hover { color: var(--text); }
details.notes summary { cursor: pointer; color: var(--cyan); font-size: 14px; }
details.notes div { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; }
.alert.ok { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.4); color: #a7f3d0; }
.alert.err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.4); color: #fecaca; }

/* ---------- footer ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, transparent, rgba(99,102,241,.05)); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.site-footer h4 { font: 600 13px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); transition: color .2s; }
.site-footer ul a:hover { color: var(--text); }
.site-footer .about p { color: var(--muted); max-width: 330px; margin-top: 16px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); }
.social a:hover { color: var(--text); border-color: var(--cyan); }
.social svg { width: 18px; height: 18px; }
.site-footer .bottom { border-top: 1px solid var(--line); padding: 24px 0 34px; display: flex; justify-content: space-between; gap: 20px; color: var(--dim); font-size: 13.5px; flex-wrap: wrap; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,4,10,.92); display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 100px #000; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero .wrap, .sol-hero .wrap, .hq, .sol-card { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .sol-card .shot { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .menu, .nav-cta .btn { display: none; }
  .burger { display: inline-grid; place-items: center; }
  .site-header.open .menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0; padding: 16px 20px 24px; background: rgba(5,6,15,.97); border-bottom: 1px solid var(--line); }
  .site-header.open .mega { position: static; opacity: 1; visibility: visible; transform: none; width: auto; grid-template-columns: 1fr; box-shadow: none; margin: 6px 0; }
  .grid-4, .grid-3, .grid-2, .steps, .gallery, .form .row { grid-template-columns: 1fr; }
  section.block { padding: 80px 0; }
  .utility .hide-sm { display: none; }
  .cta-band { padding: 46px 24px; }
  .sol-card .info, .hq .info { padding: 30px; }
  .versions th:nth-child(4), .versions td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* cookie choice */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90; max-width: 880px; margin: 0 auto; display: flex; gap: 20px; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-radius: 18px; background: rgba(12,14,32,.96); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px #000; backdrop-filter: blur(16px); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; color: var(--muted); font-size: 14.5px; } .cookie-bar a { color: var(--cyan); text-decoration: underline; }
.cookie-bar div { display: flex; gap: 10px; flex: none; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-bar div { justify-content: flex-end; } }

/* contact page map */
.map-card { padding: 0; overflow: hidden; min-height: 340px; display: flex; }
.map-card iframe { flex: 1; width: 100%; min-height: 340px; border: 0; display: block; filter: invert(.9) hue-rotate(195deg) saturate(.6) brightness(.95); }

/* price */
.price-badge { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 6px 14px; border-radius: 999px; font: 700 15px var(--font); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(52,211,153,.14); color: #34d399; border: 1px solid rgba(52,211,153,.45); }
.chip-price { color: #34d399; border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.08); font-weight: 700; }
.fine .price { color: #34d399; }
/* ---- advertising ---- */
.form-step { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 10px 0 0; }
.form-step span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #6366f1); color: #fff; font-size: 14px; }
.tier-radio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tier-card { cursor: pointer; } .tier-card input { position: absolute; opacity: 0; width: 0; }
.tier-card span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.tier-card em { font-style: normal; color: var(--text); font-size: 13.5px; } .tier-card small { color: var(--muted); font-size: 12.5px; }
.tier-card input:checked + span { border-color: var(--indigo); background: rgba(99,102,241,.14); box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.tier-card input:focus-visible + span { outline: 2px solid var(--indigo); }
.day-pick { display: flex; gap: 8px; flex-wrap: wrap; } .day-pick label { margin: 0; cursor: pointer; } .day-pick input { position: absolute; opacity: 0; width: 0; }
.day-pick span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; font-size: 14px; }
.day-pick input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.field select.multi { min-height: 150px; padding: 8px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); } label.check input { margin-top: 4px; width: auto; }
.small { font-size: 13px; } .muted { color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier { display: flex; flex-direction: column; } .tier h3 { margin: 6px 0 2px; } .tier .price { font-size: 18px; color: var(--text); margin-bottom: 12px; }
.tier ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; line-height: 1.7; flex: 1; }
.tier.featured { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.stat-card span { display: block; color: var(--muted); font-size: 13px; } .stat-card strong { font-size: 30px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 10px; }
.bars div { flex: 1; background: linear-gradient(180deg, #6366f1, #22d3ee); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars div:hover::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #111; color: #fff; padding: 3px 7px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.rtable { width: 100%; border-collapse: collapse; font-size: 14.5px; } .rtable th, .rtable td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.rtable th { color: var(--muted); font-weight: 500; font-size: 13px; } .rtable td.num, .rtable th.num { text-align: right; }
.pill-s { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; background: rgba(255,255,255,.08); }
.pill-s.green { background: rgba(52,211,153,.15); color: #6ee7b7; } .pill-s.amber { background: rgba(251,191,36,.15); color: #fcd34d; } .pill-s.violet { background: rgba(167,139,250,.16); color: #c4b5fd; }
.portal-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; } .portal-nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.portal-nav a.on { background: rgba(255,255,255,.06); color: var(--text); } .portal-nav .right { margin-left: auto; }
@media (max-width: 900px) { .tier-radio, .tiers, .stat-row { grid-template-columns: 1fr 1fr; } }

/* ---- time-slot picker ---- */
.tw { display: grid; gap: 10px; margin-bottom: 14px; }
.tw-modes { display: inline-flex; gap: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; overflow: hidden; width: max-content; }
.tw-mode { background: transparent; color: #a5a8c2; border: 0; padding: 9px 16px; font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.tw-mode.on { background: #6366f1; color: #fff; }
.tw-list { display: grid; gap: 8px; }
.tw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tw-row input[type=time] { width: 150px; margin: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: inherit; font: inherit; color-scheme: dark; }
.tw-word { color: #a5a8c2; font-size: 13.5px; }
.tw-rm { background: transparent; border: 1px solid rgba(255,255,255,.14); color: #a5a8c2; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.tw-rm:hover { color: #fff; border-color: #f87171; background: rgba(248,113,113,.15); }
.tw-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tw-add, .tw-preset { background: transparent; border: 1px dashed rgba(255,255,255,.22); color: #c7c9e0; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 12.5px; cursor: pointer; }
.tw-add { border-style: solid; border-color: #6366f1; color: #fff; }
.tw-add:hover, .tw-preset:hover { background: rgba(99,102,241,.16); }
.tw-mode:focus-visible, .tw-add:focus-visible, .tw-preset:focus-visible, .tw-rm:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.tw-note { color: #8b8fae; font-size: 12.5px; }
.tw-field { margin-bottom: 4px; } .tw-label { display: block; font-size: 13px; color: #a5a8c2; margin-bottom: 8px; font-weight: 500; }

.shrink-note { display: block; margin-top: 6px; color: #6ee7b7; font-size: 12.5px; }
/* readable dropdown lists on the dark theme */
select { color-scheme: dark; }
select option, select optgroup { background: #161a2c; color: #e8eaf6; }
select option:checked { background: #4f46e5; color: #fff; }
