/* ============================================================================
   Client Portal — the public website and the new vault pieces.
   Builds on app.css (tokens, glass, buttons, fields). Metals: bronze (Plus),
   silver (Pro), gold (Advance), electric (pay as you go), platinum (Custom).
   ========================================================================== */

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-ang { to { --ang: 360deg; } }

[data-metal='bronze'] { --m1: #cd7f32; --m2: #f3b884; --m3: #8a4f1d; --mg: rgba(205, 127, 50, 0.55); }
[data-metal='silver'] { --m1: #c4cfdc; --m2: #ffffff; --m3: #7d8ba0; --mg: rgba(205, 216, 232, 0.5); }
[data-metal='gold'] { --m1: #f5c542; --m2: #fff0a8; --m3: #b07d0c; --mg: rgba(245, 197, 66, 0.6); }
[data-metal='electric'] { --m1: #38bdf8; --m2: #c4f6ff; --m3: #6366f1; --mg: rgba(56, 189, 248, 0.6); }
[data-metal='platinum'] { --m1: #a5b4fc; --m2: #eef2ff; --m3: #6366f1; --mg: rgba(165, 180, 252, 0.45); }

body.no-scroll { overflow: hidden; }
.center { text-align: center; }
.fine { font-size: 12.5px; color: var(--dim); }
.linkish { background: none; border: 0; padding: 0; color: var(--cyan); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.linkish:disabled { color: var(--dim); cursor: default; text-decoration: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.table-wrap { overflow-x: auto; }

/* ---- the frame: navigation, footer ------------------------------------------ */
.site { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.site-main { flex: 1; }
.site-nav { position: sticky; top: 0; z-index: 30; gap: 22px; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.site-nav.scrolled { background: rgba(4, 6, 14, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links .nl { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav-links .nl svg { width: 15px; height: 15px; }
.nav-links .nl:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); text-decoration: none; }
.nav-links .nl.on { color: var(--text); }
.nav-links .nl.on::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.burger { display: none; flex: none; }

.site-foot { position: relative; z-index: 1; margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(4, 6, 14, 0), rgba(4, 6, 14, 0.85)); }
.f-in { max-width: 1240px; margin: 0 auto; padding: 44px 28px 26px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.f-brand p { color: var(--dim); font-size: 13.5px; max-width: 360px; margin: 14px 0; }
.f-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.f-mail svg { width: 15px; height: 15px; }
.f-col { display: flex; flex-direction: column; gap: 9px; }
.f-col b { font: 600 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.f-col a { color: var(--muted); font-size: 14px; }
.f-col a:hover { color: var(--text); }
.f-base { max-width: 1240px; margin: 0 auto; padding: 16px 28px 30px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
.f-disc { max-width: 620px; }

/* ---- shared section bits ------------------------------------------------------- */
.sx { max-width: 1240px; margin: 0 auto; padding: 46px 28px; }
.sx-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.sx-head .eyebrow { justify-content: center; }
.sx-head h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.sx-head p { color: var(--muted); font-size: 16.5px; margin: 14px auto 0; max-width: 640px; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 620px; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.ticks svg { width: 16px; height: 16px; color: var(--ok); margin-top: 3px; flex: none; }
.save { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px; font: 700 11.5px/1 var(--mono); letter-spacing: 0.02em; color: #052e1a; background: linear-gradient(120deg, #6ee7b7, #34d399); box-shadow: 0 0 18px -6px rgba(52, 211, 153, 0.9); white-space: nowrap; }
.save.alt { color: #dbeafe; background: rgba(56, 189, 248, 0.14); box-shadow: none; border: 1px solid rgba(56, 189, 248, 0.4); }
.save.big { height: 30px; padding: 0 12px; font-size: 13px; }

/* plan chips, in their metal */
.plan-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font: 700 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  color: #0b0f1d; background: linear-gradient(120deg, var(--m1, #94a3b8), var(--m2, #e2e8f0) 55%, var(--m1, #94a3b8)); box-shadow: 0 0 16px -6px var(--mg, transparent); }
.plan-chip svg { width: 12px; height: 12px; }

/* ---- Home ------------------------------------------------------------------- */
.hero { max-width: 1240px; margin: 0 auto; padding: 56px 28px 36px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; min-height: calc(100vh - 140px); }
.hero h1 { font-family: var(--display); font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 13.5px; margin-top: 18px; }
.hero-note svg { width: 15px; height: 15px; color: var(--warn); }
.hero-visual { --rx: 0deg; --ry: 0deg; position: relative; height: 470px; perspective: 1200px; transform-style: preserve-3d; }
.hero-visual > * { transition: transform 0.6s var(--ease); }
.hv-glow { position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent 65%); filter: blur(40px); }
.hv-doc { position: absolute; border-radius: 18px; padding: 16px; background: linear-gradient(180deg, rgba(18, 26, 54, 0.95), rgba(9, 13, 30, 0.95)); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; }
.hv-pdf { width: 330px; left: 50%; top: 40px; margin-left: -150px; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(60px); animation: floaty 7s ease-in-out infinite; }
.hv-xls { width: 230px; left: 2%; top: 210px; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(10px) rotate(-6deg); animation: floaty 8s ease-in-out -2s infinite; opacity: 0.92; }
.hv-web { width: 240px; right: 0; top: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(-20px) rotate(5deg); animation: floaty 9s ease-in-out -4s infinite; opacity: 0.9; }
@keyframes floaty { 50% { translate: 0 -10px; } }
.hv-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.hv-head .fx { font: 700 10px/1 var(--mono); padding: 4px 5px; border-radius: 5px; color: #050711; }
.hv-head b { font-size: 14px; }
.hv-head small { margin-left: auto; color: var(--dim); font-size: 11.5px; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.hv-kpis div { padding: 9px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.hv-kpis small { display: block; color: var(--dim); font-size: 10.5px; font-family: var(--mono); letter-spacing: 0.08em; }
.hv-kpis b { font: 700 15px/1.3 var(--display); }
.hv-kpis b.ok { color: var(--ok); }
.hv-chart { width: 100%; height: 110px; display: block; }
.hv-bar { fill: rgba(139, 92, 246, 0.55); transform-origin: bottom; transform-box: fill-box; animation: grow 1.2s var(--ease) both; }
.hv-line { fill: none; stroke: #22d3ee; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.2s 0.6s var(--ease) forwards; filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.8)); }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hv-lines { display: grid; gap: 7px; margin-top: 10px; }
.hv-lines i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); }
.hv-src { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 11.5px; color: var(--ok); font-family: var(--mono); }
.hv-src svg { width: 13px; height: 13px; }
.hv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.hv-grid i { height: 14px; border-radius: 3px; background: rgba(52, 211, 153, 0.12); }
.hv-grid i.k { background: rgba(52, 211, 153, 0.35); }
.hv-grid i.f { background: #34d399; box-shadow: 0 0 12px rgba(52, 211, 153, 0.8); animation: blink 2s ease-in-out infinite; }
.hv-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.hv-tabs i { width: 46px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); }
.hv-tabs i.on { background: #a78bfa; }
.hv-tip { margin-top: 10px; font-size: 11px; font-family: var(--mono); color: #c4b5fd; padding: 6px 8px; border-radius: 8px; background: rgba(167, 139, 250, 0.12); border: 1px dashed rgba(167, 139, 250, 0.4); }
.hv-stamp { position: absolute; right: 6%; bottom: 40px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font: 700 12px/1.25 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #d1fae5;
  background: rgba(6, 40, 30, 0.85); border: 1px solid rgba(52, 211, 153, 0.5); box-shadow: 0 0 40px -10px rgba(52, 211, 153, 0.7); transform: rotate(-4deg) translateZ(90px); animation: stamp 0.9s 1.2s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.hv-stamp svg { width: 26px; height: 26px; color: var(--ok); }
@keyframes stamp { from { opacity: 0; transform: rotate(-4deg) scale(1.8); } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4, 6, 14, 0.4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; gap: 34px; padding: 16px 17px; }
.mq-set span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 600 13px/1 var(--mono); letter-spacing: 0.06em; white-space: nowrap; }
.mq-set svg { width: 14px; height: 14px; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 18px; border-left: 1px solid var(--line-2); }
.st-v { font: 700 48px/1 var(--display); letter-spacing: -0.04em; }
.st-v span { font-size: 26px; color: var(--muted); margin-left: 2px; }
.stat small { display: block; margin-top: 10px; color: var(--muted); font-size: 13.5px; max-width: 220px; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product { padding: 28px; border-radius: 24px; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.product:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 0 50px -16px rgba(34, 211, 238, 0.55), var(--shadow); }
.product[data-kind='sector']:hover { border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 0 50px -16px rgba(167, 139, 250, 0.6), var(--shadow); }
.pr-top { display: flex; align-items: center; gap: 14px; }
.pr-top h3 { font-family: var(--display); font-size: 24px; margin: 0 0 4px; letter-spacing: -0.02em; }
.r-ico.big { width: 52px; height: 52px; border-radius: 16px; }
.r-ico.big svg { width: 24px; height: 24px; }
.product > p { color: var(--muted); font-size: 15px; margin: 16px 0 0; }
.pr-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pr-foot .btn { margin-left: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 56px; height: 2px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), rgba(139, 92, 246, 0.5), transparent); background-size: 200% 100%; animation: flow 4s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.step { position: relative; padding: 26px; border-radius: 22px; text-align: center; }
.step-n { position: absolute; top: 14px; left: 18px; font: 700 12px/1 var(--mono); color: var(--dim); letter-spacing: 0.1em; }
.step-ico { width: 60px; height: 60px; margin: 6px auto 16px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); box-shadow: 0 0 30px -10px rgba(139, 92, 246, 0.8); position: relative; z-index: 1; }
.step-ico svg { width: 26px; height: 26px; color: var(--cyan); }
.step h3 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

.fmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fmt { padding: 24px; border-radius: 22px; transition: transform 0.35s var(--ease); }
.fmt:hover { transform: translateY(-4px) rotate(-0.4deg); }
.fmt .fx { display: inline-block; font: 700 12px/1 var(--mono); padding: 7px 9px; border-radius: 8px; color: #050711; }
.fmt h3 { font-family: var(--display); font-size: 20px; margin: 16px 0 8px; }
.fmt p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.fmt .fmt-who { font: 600 11.5px/1 var(--mono); color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-tile { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(8, 12, 28, 0.45); }
.why-tile .k-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 12px; }
.why-tile .k-ico svg { width: 18px; height: 18px; color: var(--cyan); }
.why-tile b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.why-tile p { color: var(--dim); font-size: 13.5px; margin: 0; }

.teaser-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.teaser { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border-radius: 20px; color: var(--text); text-decoration: none !important; }
.teaser b { font: 700 38px/1 var(--display); letter-spacing: -0.03em; margin-top: 6px; }
.teaser small { color: var(--muted); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 38px; border-radius: 26px; margin-top: 30px; margin-bottom: 20px; flex-wrap: wrap;
  background: radial-gradient(ellipse at 0% 0%, rgba(34, 211, 238, 0.14), transparent 60%), radial-gradient(ellipse at 100% 100%, rgba(236, 72, 153, 0.14), transparent 60%), var(--panel); }
.cta-band h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .hero-cta { margin: 0; }

/* ---- metal hover: a rotating border in the card's metal, a glow, a spotlight -------- */
.metal-hover { position: relative; isolation: isolate; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.metal-hover::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.6px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), transparent 0deg, var(--m1) 50deg, var(--m2) 80deg, var(--m1) 110deg, transparent 170deg, transparent 190deg, var(--m3) 230deg, var(--m1) 260deg, transparent 320deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity 0.4s; animation: spin-ang 3.6s linear infinite; }
.metal-hover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--m1) 20%, transparent), transparent 62%); }
.metal-hover:hover, .metal-hover:focus-within { transform: translateY(-6px); border-color: color-mix(in srgb, var(--m1) 60%, transparent);
  box-shadow: 0 0 0 1px var(--mg), 0 0 46px -8px var(--mg), 0 40px 90px -30px var(--mg), var(--shadow); }
.metal-hover:hover::before, .metal-hover:hover::after, .metal-hover:focus-within::before, .metal-hover:focus-within::after { opacity: 1; }

/* ---- Pricing ---------------------------------------------------------------- */
.pricing-head { text-align: center; padding-bottom: 10px; }
.pricing-head .eyebrow { justify-content: center; }
.pricing-head h1, .demo-head h1, .legal h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 14px; }
.pricing-head .lede { margin: 0 auto; }
.pricing-head .alert { max-width: 640px; margin: 18px auto 0; text-align: left; }
.cur-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.cur-seg button { height: 34px; padding: 0 16px; font-size: 14px; }
.tax-note { color: var(--dim); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plans-2 { grid-template-columns: 1.2fr 1fr; margin-top: 26px; }
.plan { display: flex; flex-direction: column; padding: 28px 26px 22px; border-radius: 26px; }
.plan h3 { font-family: var(--display); font-size: 28px; margin: 16px 0 4px; letter-spacing: -0.02em; }
.pl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pl-blurb { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 700 50px/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(120deg, #fff, var(--m2, #fff) 60%, var(--m1, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price span { color: var(--muted); font-size: 15px; }
.per { margin: 10px 0 18px; color: var(--muted); font-size: 14px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.per b { color: var(--text); }
.per .per-v { color: var(--m2, var(--text)); font-weight: 700; }
.per s { color: var(--dim); font-size: 12.5px; }
.feats { list-style: none; padding: 16px 0 0; margin: 0 0 22px; display: grid; gap: 10px; border-top: 1px solid var(--line); flex: 1; }
.feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.feats li svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--m1, var(--ok)); }
.feats li.no { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.15); }
.feats li.no svg { color: var(--dim); }
.plan-btn { width: 100%; }
.plan .btn-primary { background: linear-gradient(120deg, var(--m1), var(--m2) 55%, var(--m1)); color: #0b0f1d; box-shadow: 0 12px 30px -12px var(--mg); }
.plan .btn-primary:hover { filter: brightness(1.06); }
.pl-fine { display: block; text-align: center; margin-top: 10px; color: var(--dim); font-size: 12px; }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-radius: 99px; white-space: nowrap;
  font: 700 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #0b0f1d; background: linear-gradient(120deg, var(--m1), var(--m2) 55%, var(--m1)); box-shadow: 0 6px 24px -6px var(--mg); }
.ribbon svg { width: 14px; height: 14px; }
/* Pro and Advance stand forward even at rest; Advance glows */
.plan[data-plan='pro'] { border-color: rgba(205, 216, 232, 0.28); }
.plan[data-plan='advance'] { transform: translateY(-12px); border-color: rgba(245, 197, 66, 0.45); box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.25), 0 0 70px -24px rgba(245, 197, 66, 0.7), var(--shadow);
  background: radial-gradient(ellipse at 50% -10%, rgba(245, 197, 66, 0.14), transparent 55%), var(--panel); }
.plan[data-plan='advance']::before { opacity: 0.55; }
.plan[data-plan='advance']:hover { transform: translateY(-18px); }
.plan[data-plan='plus'] { opacity: 0.94; }

/* pay as you go: always a little charged, struck by lightning on hover */
.payg { position: relative; isolation: isolate; border-color: rgba(56, 189, 248, 0.35); overflow: visible;
  background: radial-gradient(ellipse at 100% 0%, rgba(56, 189, 248, 0.14), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(99, 102, 241, 0.14), transparent 55%), var(--panel);
  animation: hum 3.2s ease-in-out infinite; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.payg::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), transparent, #38bdf8 20deg, #e0f2fe 30deg, transparent 60deg, transparent 180deg, #818cf8 200deg, #c4f6ff 210deg, transparent 240deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin-ang 1.6s linear infinite; opacity: 0.8; }
.payg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.22), transparent 60%); }
.payg:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6), 0 0 60px -10px rgba(56, 189, 248, 0.75), 0 0 120px -30px rgba(129, 140, 248, 0.7), var(--shadow); }
.payg:hover::after { opacity: 1; }
.payg:hover::before { animation-duration: 0.7s; opacity: 1; }
@keyframes hum { 0%, 100% { box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.18), 0 0 30px -14px rgba(56, 189, 248, 0.6), var(--shadow); } 50% { box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.32), 0 0 44px -12px rgba(56, 189, 248, 0.8), var(--shadow); } }
.payg.flash { animation: hum 3.2s ease-in-out infinite, flicker 0.32s steps(2) 1; }
@keyframes flicker { 0% { filter: brightness(1.35) saturate(1.3); } 50% { filter: brightness(0.92); } 100% { filter: none; } }
.zap-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.zap { fill: none; stroke: #e0f7ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px #38bdf8) drop-shadow(0 0 9px #38bdf8); animation: zap 0.42s ease-out forwards; }
@keyframes zap { 0% { opacity: 0; stroke-width: 3; } 15% { opacity: 1; } 100% { opacity: 0; stroke-width: 0.6; } }
.payg .price b { background: linear-gradient(120deg, #e0f2fe, #38bdf8 60%, #818cf8); -webkit-background-clip: text; background-clip: text; }
.payg .plan-chip svg { animation: blink 1.4s ease-in-out infinite; }
.btn-electric { width: 100%; border: 0; color: #031525; background: linear-gradient(120deg, #38bdf8, #c4f6ff 50%, #818cf8); background-size: 200% 100%; box-shadow: 0 12px 34px -12px rgba(56, 189, 248, 0.9); animation: sheen 3s linear infinite; }
.btn-electric:hover { filter: brightness(1.08); }
@keyframes sheen { to { background-position: -200% 0; } }
.qty { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; }
.q-v { min-width: 44px; height: 40px; display: grid; place-items: center; border-radius: 10px; font: 700 20px/1 var(--display); border: 1px solid rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.08); }
.q-t { color: var(--muted); font-size: 14px; margin-left: 6px; }
.q-t b { color: var(--text); font-size: 17px; }
.custom { border-style: dashed; }
.custom .price b { font-size: 40px; }

/* cost per report: bars that grow when they come into view */
.bars { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 16px; }
.bar-l { font-weight: 600; color: var(--muted); text-align: right; }
.bar-track { height: 18px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); overflow: hidden; border: 1px solid var(--line); }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--m3), var(--m1), var(--m2)); box-shadow: 0 0 18px -4px var(--mg); transition: width 1.3s var(--ease); }
.bars.in .bar-fill { width: var(--w); }
.bar-v { display: flex; align-items: baseline; gap: 10px; }
.bar-v b { font: 700 20px/1 var(--display); }
.bar-v em { font-style: normal; font: 700 12px/1 var(--mono); color: var(--ok); }
.bar-v em.up { color: var(--bad); }

/* the calculator */
.calc-box { max-width: 880px; margin: 0 auto; padding: 26px; border-radius: 24px; }
.calc-top label { display: block; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.calc-n { font: 700 34px/1 var(--display); color: var(--text); margin-left: 6px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6 var(--p, 30%), rgba(255, 255, 255, 0.08) var(--p, 30%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid #8b5cf6; box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.25), 0 6px 18px rgba(0, 0, 0, 0.5); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #8b5cf6; box-shadow: 0 0 0 6px rgba(139, 92, 246, 0.25); }
.calc-scale { display: flex; justify-content: space-between; color: var(--dim); font: 500 11.5px/1 var(--mono); margin-top: 8px; }
.calc-list { display: grid; gap: 10px; margin: 22px 0 18px; }
.calc-row { display: grid; grid-template-columns: 150px 1fr 220px auto; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.calc-row.best { background: color-mix(in srgb, var(--m1) 10%, transparent); border-color: color-mix(in srgb, var(--m1) 45%, transparent); box-shadow: 0 0 30px -14px var(--mg); }
.calc-track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.calc-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--m3), var(--m1)); transition: width 0.45s var(--ease); }
.calc-v b { font: 700 18px/1.1 var(--display); display: block; }
.calc-v small { color: var(--dim); font-size: 12px; }
.best-tag { display: inline-flex; align-items: center; gap: 5px; font: 700 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--m2); white-space: nowrap; }
.best-tag svg { width: 14px; height: 14px; }
.calc-verdict { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-verdict small { display: block; color: var(--dim); font-size: 12.5px; }
.calc-verdict b { font: 700 22px/1.3 var(--display); }
.calc-verdict b span { font: 500 14px/1 var(--font); color: var(--muted); }
.calc-verdict .btn { margin-left: auto; }

/* the comparison table */
.cmp th, .cmp td { text-align: center; }
.cmp td:first-child, .cmp th:first-child { text-align: left; color: var(--muted); }
.cmp th[data-metal='gold'], .cmp td[data-metal='gold'] { background: rgba(245, 197, 66, 0.05); }
.cmp .yes svg { width: 18px; height: 18px; color: var(--ok); }
.cmp .no svg { width: 16px; height: 16px; color: var(--dim); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: 16px; padding: 0 20px; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--cyan); }
.faq-item p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 12, 28, 0.45); }
.trust-item svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.trust-item b { display: block; font-size: 14.5px; }
.trust-item small { color: var(--dim); }

/* ---- the checkout sheet ----------------------------------------------------- */
.modal.checkout { position: relative; width: min(520px, 100%); padding: 28px 26px 20px; border-color: color-mix(in srgb, var(--m1, #8b5cf6) 45%, transparent);
  box-shadow: 0 0 0 1px var(--mg, transparent), 0 0 80px -30px var(--mg, transparent), var(--shadow); max-height: calc(100vh - 32px); overflow-y: auto; }
.co-x { position: absolute; top: 12px; right: 12px; }
.co-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.co-head h2 { margin: 0; flex: 1; min-width: 160px; }
.co-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.co-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; border-radius: 12px; cursor: pointer; text-align: left; color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); transition: all 0.2s; }
.co-plan b { font-size: 14px; }
.co-plan small { color: var(--dim); font-size: 11.5px; }
.co-plan:hover { border-color: color-mix(in srgb, var(--m1) 50%, transparent); }
.co-plan[aria-pressed='true'] { border-color: var(--m1); background: color-mix(in srgb, var(--m1) 12%, transparent); box-shadow: 0 0 22px -8px var(--mg); }
.co-renew { display: grid; gap: 8px; margin-bottom: 14px; }
.co-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; cursor: pointer; text-align: left; color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); transition: all 0.2s; }
.co-opt svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.co-opt b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.co-opt b em { font: 700 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; color: #052e1a; background: #6ee7b7; padding: 4px 6px; border-radius: 6px; }
.co-opt small { color: var(--dim); font-size: 12.5px; }
.co-opt[aria-pressed='true'] { border-color: var(--m1, var(--cyan)); background: color-mix(in srgb, var(--m1, #22d3ee) 10%, transparent); }
.co-opt[aria-pressed='true'] svg { color: var(--m1, var(--cyan)); }
.co-opt:disabled { opacity: 0.45; cursor: not-allowed; }
.co-qty { margin: 4px 0 14px; }
.co-sum { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px dashed var(--line-2); }
.co-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.co-sum span { color: var(--muted); }
.co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; }
.co-total span { color: var(--muted); }
.co-total b { font: 700 32px/1 var(--display); letter-spacing: -0.03em; }
.co-pay { width: 100%; margin-top: 12px; }
.checkout .co-pay { background: linear-gradient(120deg, var(--m1, #22d3ee), var(--m2, #8b5cf6) 55%, var(--m1, #22d3ee)); color: #0b0f1d; border: 0; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: var(--dim); font-size: 12px; }
.co-secure svg { width: 13px; height: 13px; }
.celebrate { text-align: center; border-color: color-mix(in srgb, var(--m1) 50%, transparent); box-shadow: 0 0 0 1px var(--mg), 0 0 90px -20px var(--mg), var(--shadow); }
.celebrate .btns { justify-content: center; }
.cel-ring { width: 78px; height: 78px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--m1) 35%, transparent), transparent 70%); border: 2px solid var(--m1); box-shadow: 0 0 40px -6px var(--mg); animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); }
.cel-ring svg { width: 36px; height: 36px; color: var(--m2); }

/* ---- Demo --------------------------------------------------------------------- */
.demo-head { padding-bottom: 18px; }
.demo-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.demo-tab { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; cursor: pointer; text-align: left; color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); transition: all 0.25s; }
.demo-tab b { display: block; font-size: 14px; }
.demo-tab small { color: var(--dim); font-size: 12px; }
.demo-tab:hover { border-color: rgba(34, 211, 238, 0.45); }
.demo-tab[aria-selected='true'] { border-color: rgba(34, 211, 238, 0.7); background: rgba(34, 211, 238, 0.1); box-shadow: 0 0 26px -10px rgba(34, 211, 238, 0.8); }
.demo-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; padding-top: 6px; }
.demo-frame { border-radius: 20px; overflow: hidden; }
.demo-frame .viewer-body { height: 76vh; min-height: 520px; }
.demo-side { position: sticky; top: 90px; }
.demo-side h3 { font-family: var(--display); font-size: 22px; margin: 0 0 6px; letter-spacing: -0.02em; }
.demo-side p { font-size: 14px; }
.dl-card { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; margin-top: 10px; cursor: pointer; color: var(--text); text-align: left; transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.dl-card .fx { font: 700 11px/1 var(--mono); padding: 6px 7px; border-radius: 7px; color: #050711; }
.dl-card .dl-t { flex: 1; min-width: 0; }
.dl-card b { display: block; font-size: 14.5px; }
.dl-card small { display: block; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-card > svg { width: 18px; height: 18px; color: var(--muted); }
.dl-card:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 0 26px -10px rgba(34, 211, 238, 0.8); }
.dl-card[data-kind='xlsx']:hover { border-color: rgba(52, 211, 153, 0.55); box-shadow: 0 0 26px -10px rgba(52, 211, 153, 0.8); }
.dl-card.got > svg { color: var(--ok); }
.side-note { display: flex; gap: 8px; margin-top: 14px; color: var(--dim); font-size: 12.5px; }
.side-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* ---- the viewer (in the demo page and full screen from the vault) ----------------- */
.modal-wrap.wide { padding: 18px; }
.viewer { width: min(1400px, 100%); height: calc(100vh - 36px); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #0a0f22; border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: pop 0.25s var(--ease); }
.viewer-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); background: rgba(6, 10, 24, 0.9); }
.viewer-bar b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-bar .spacer { flex: 1; }
.v-dots { display: flex; gap: 6px; }
.v-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fb7185; }
.v-dots i:nth-child(2) { background: #fbbf24; }
.v-dots i:nth-child(3) { background: #34d399; }
.v-tag { font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line); white-space: nowrap; }
.viewer-body { position: relative; flex: 1; background: #fff; }
.viewer .viewer-body { min-height: 0; }
.viewer-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity 0.4s; }
.viewer-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: #0a0f22; color: var(--muted); transition: opacity 0.4s; }
.loaded .viewer-frame { opacity: 1; }
.loaded .viewer-load { opacity: 0; pointer-events: none; }

/* ---- sign in / sign up inside the site -------------------------------------------- */
.site .auth { min-height: auto; padding: 46px 28px 20px; }
.auth-hero h1 { font-family: var(--display); font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 26px; }
.auth-solo { max-width: 480px; margin: 40px auto; padding: 0 16px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 18px; flex-wrap: wrap; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 18px; cursor: pointer; }
.check-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: #8b5cf6; flex: none; }
.otp-row { display: flex; gap: 10px; justify-content: center; margin: 8px 0 20px; }
.otp { width: 52px; height: 62px; text-align: center; font: 700 28px/1 var(--display); border-radius: 14px; border: 1px solid var(--line-2); background: rgba(6, 10, 24, 0.6); color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.otp:focus { border-color: rgba(34, 211, 238, 0.7); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14); transform: translateY(-2px); }
.otp-row.full .otp { border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 0 18px -6px rgba(52, 211, 153, 0.8); }
.auth-card .foot b, .auth-card .sub b { color: var(--text); }

/* ---- policies, contact -------------------------------------------------------- */
.legal { max-width: 900px; }
.legal-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0 18px; }
.legal-nav a { padding: 7px 12px; border-radius: 10px; color: var(--muted); font-size: 13.5px; border: 1px solid var(--line); }
.legal-nav a.on { color: var(--text); border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.08); }
.legal-body { padding: 28px 30px; border-radius: 22px; }
.legal-body h2 { font-family: var(--display); font-size: 19px; margin: 22px 0 8px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--muted); line-height: 1.75; margin: 0 0 10px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; margin-top: 26px; }
.contact-card { padding: 24px; border-radius: 22px; }
.contact-card h3 { font-family: var(--display); margin: 0 0 14px; }
.contact-card > p { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.contact-card > p svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--cyan); }
.field.area textarea { width: 100%; padding: 22px 14px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(6, 10, 24, 0.55); outline: none; resize: vertical; min-height: 110px; color: var(--text); font: inherit; }
.field.area textarea:focus { border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12); }
.field.area label { top: 8px; transform: none; font-size: 12px; }
.modal.wide-modal { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }

/* ---- the vault: wallet, actions, billing ------------------------------------------ */
.wallet { flex-wrap: wrap; }
.wallet .al-txt { min-width: 0; }
.w-top { display: flex; align-items: center; gap: 8px; }
.w-btns { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.w-btns .btn { height: 32px; padding: 0 11px; font-size: 12.5px; }
.allowance[data-tone='full'] .al-used { color: var(--bad); }

.act-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 34px; padding: 0 9px; border-radius: 10px; cursor: pointer; color: var(--muted);
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.035); font-size: 12.5px; font-weight: 600; transition: all 0.2s; }
.act-btn svg { width: 15px; height: 15px; }
.act-btn:hover, .act-btn[aria-expanded='true'] { color: var(--text); border-color: rgba(139, 92, 246, 0.6); background: rgba(139, 92, 246, 0.12); box-shadow: 0 0 20px -8px rgba(139, 92, 246, 0.9); }
.mail-btn:hover { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.1); box-shadow: 0 0 20px -8px rgba(34, 211, 238, 0.9); }
.act-btn.busy { opacity: 0.55; pointer-events: none; }
.more-btn span { display: none; }
.file-btn.locked { opacity: 0.72; border-style: dashed; }
.file-btn.locked .fx { filter: grayscale(0.7); }
.file-btn .lock-tick { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #f5c542; }
.file-btn .lock-tick svg { width: 10px; height: 10px; color: #2b1d00; }
.vault tr.leaving { opacity: 0.35; transition: opacity 0.3s; }
.type-tag.regen { color: #c4b5fd; border-color: rgba(167, 139, 250, 0.4); }
.plane { position: fixed; z-index: 90; width: 18px; height: 18px; color: var(--cyan); pointer-events: none; filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.9)); }
.plane svg { width: 18px; height: 18px; }

.menu.pop { position: fixed; right: auto; top: 0; min-width: 270px; max-width: calc(100vw - 16px); z-index: 70; }
.menu.pop button { align-items: flex-start; }
.menu.pop button svg { margin-top: 2px; }
.menu.pop .mi { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu.pop .mi b { font-weight: 600; font-size: 14px; }
.menu.pop .mi small { color: var(--dim); font-size: 12px; }
.menu.pop button.danger, .menu.pop button.danger svg { color: #fda4af; }
.menu.pop button.danger:hover { background: rgba(251, 113, 133, 0.12); }
.menu.pop button.locked .mi b { color: #fde68a; }
.menu.pop .mlock { margin-left: auto; color: #f5c542 !important; }
.menu.pop button:disabled { opacity: 0.5; cursor: default; }
.menu.pop button:disabled:hover { background: transparent; }
.pop-head { padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.pop-head b { font-size: 14px; }
.pop-head span { font-size: 12.5px; color: var(--dim); }

.ga-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cost-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.cost-note svg { width: 15px; height: 15px; color: var(--warn); }
.cost-note b { color: var(--text); }
.cn-lock { display: inline-flex; align-items: center; gap: 4px; color: #fde68a; font-size: 12px; }
.cn-lock svg { width: 12px; height: 12px; color: #f5c542; }
.out-of-credits { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; flex-wrap: wrap;
  border: 1px solid rgba(245, 197, 66, 0.4); background: linear-gradient(120deg, rgba(245, 197, 66, 0.1), rgba(139, 92, 246, 0.08)); }
.out-of-credits b { display: block; font-size: 15px; }
.out-of-credits span { color: var(--muted); font-size: 13.5px; }
.regen-note { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(167, 139, 250, 0.45); background: rgba(139, 92, 246, 0.1); margin-bottom: 14px; font-size: 13.5px; }
.regen-note > svg { width: 18px; height: 18px; color: #c4b5fd; flex: none; }
.regen-note > div { flex: 1; color: var(--muted); }
.regen-note b { color: var(--text); }

.plan-card { padding: 18px; border-radius: 18px; margin-bottom: 16px; border: 1px solid color-mix(in srgb, var(--m1, #8b5cf6) 45%, transparent);
  background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--m1, #8b5cf6) 16%, transparent), transparent 60%), rgba(8, 12, 28, 0.6); box-shadow: 0 0 40px -20px var(--mg, transparent); }
.plan-card.none { border-style: dashed; border-color: var(--line-2); background: rgba(8, 12, 28, 0.4); }
.plan-card p { color: var(--muted); font-size: 13.5px; margin: 8px 0 12px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-name { font: 700 22px/1 var(--display); background: linear-gradient(120deg, #fff, var(--m2, #fff), var(--m1, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; color: var(--muted); font-size: 12.5px; }
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta svg { width: 14px; height: 14px; color: var(--m1, var(--cyan)); }
.grants { display: grid; gap: 8px; }
.grant { display: grid; grid-template-columns: 1fr 90px auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.grant.spent { opacity: 0.55; }
.g-l b { display: block; font-size: 14px; }
.g-l small, .g-r small { display: block; color: var(--dim); font-size: 11.5px; }
.g-bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.g-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #22d3ee, #8b5cf6); }
.g-r { text-align: right; }
.g-r b { font: 700 15px/1.2 var(--display); }

.upsell { text-align: center; border-color: rgba(245, 197, 66, 0.45); box-shadow: 0 0 80px -30px rgba(245, 197, 66, 0.8), var(--shadow); }
.upsell .btns { justify-content: center; }
.up-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; background: rgba(245, 197, 66, 0.12); border: 1px solid rgba(245, 197, 66, 0.5); }
.up-ico svg { width: 28px; height: 28px; color: #f5c542; }
.upsell .btn-primary { background: linear-gradient(120deg, #f5c542, #fff0a8 55%, #f5c542); color: #2b1d00; }

/* the control room's new sections */
.admin-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.admin-grid > .section { margin-bottom: 24px; }
.empty.slim { padding: 22px 10px; }
.demo-list { display: grid; gap: 8px; }
.demo-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: opacity 0.2s; }
.demo-item.removing { opacity: 0.45; border-style: dashed; }
.di-n { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; font: 700 12px/1 var(--mono); color: var(--dim); border: 1px solid var(--line); flex: none; }
.di-main { flex: 1; min-width: 0; }
.di-main small { display: block; color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inline-edit { width: 100%; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--text); font-weight: 600; font-size: 14px; outline: none; }
.inline-edit:hover { border-color: var(--line); }
.inline-edit:focus { border-color: rgba(34, 211, 238, 0.6); background: rgba(6, 10, 24, 0.6); }
.demo-item .btn-icon.on { color: var(--warn); }
.leads { display: grid; gap: 10px; }
.lead { padding: 14px 16px; border-radius: 14px; }
.lead-top { display: flex; justify-content: space-between; gap: 10px; }
.lead-top small { color: var(--dim); white-space: nowrap; }
.lead p { color: var(--muted); font-size: 13.5px; margin: 6px 0 10px; white-space: pre-wrap; }
.lead-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.lead-meta a, .lead-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lead-meta svg { width: 13px; height: 13px; }

/* ---- smaller screens ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 34px; }
  .hero-visual { height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plans-2 { grid-template-columns: 1fr; }
  .plan[data-plan='advance'] { transform: none; order: -1; }
  .plan[data-plan='advance']:hover { transform: translateY(-6px); }
  .plan[data-plan='pro'] { order: -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-wrap { grid-template-columns: 1fr; }
  .demo-side { position: static; }
  .admin-grid { grid-template-columns: 1fr; }
  .f-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; left: 12px; right: 12px; top: 64px; flex-direction: column; align-items: stretch; padding: 8px; border-radius: 16px; background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); margin: 0; }
  .site-nav.open .nav-links { display: flex; animation: pop 0.2s var(--ease); }
  .nav-links .nl { height: 44px; }
  .nav-links .nl.on::after { display: none; }
  .nav-links .nl.on { background: rgba(255, 255, 255, 0.06); }
  .burger { display: inline-flex; }
  .site-nav .badge-admin, .site-nav .brand small { display: none; }
  .site-nav { gap: 10px; }
  .site-nav .brand > span { white-space: nowrap; font-size: 15.5px; }
  .hide-sm { display: none; }
  .products, .steps, .fmt-grid, .teaser-row, .trust, .contact-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 100px 1fr 96px; gap: 10px; }
  .bar-l { font-size: 13px; }
  .calc-row { grid-template-columns: 1fr auto; }
  .calc-track { grid-column: 1 / -1; order: 3; }
  .best-tag { grid-column: 1 / -1; }
  .co-plans { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .sx { padding: 34px 16px; }
  .hero { padding: 26px 16px 20px; }
  .hero-visual { height: 360px; transform: scale(0.84); transform-origin: top center; margin-bottom: -40px; }
  .hv-pdf { width: 290px; margin-left: -145px; }
  .hv-xls { display: none; }
  .st-v { font-size: 38px; }
  .f-in { grid-template-columns: 1fr; padding: 34px 16px 20px; }
  .f-base { padding: 14px 16px 26px; }
  .otp { width: 44px; height: 54px; font-size: 24px; }
  .otp-row { gap: 7px; }
  .demo-frame .viewer-body { height: 70vh; min-height: 420px; }
  .viewer { height: calc(100vh - 20px); border-radius: 14px; }
  .modal-wrap.wide { padding: 8px; }
  .legal-body { padding: 20px 18px; }
  .site .auth { padding: 26px 16px 10px; }
  .grant { grid-template-columns: 1fr auto; }
  .g-bar { display: none; }
  .price b { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .mq-track, .hv-pdf, .hv-xls, .hv-web, .steps::before, .payg, .payg::before, .metal-hover::before, .btn-electric { animation: none !important; }
  .bars .bar-fill { width: var(--w); transition: none; }
}
