/* Drive-through Analytics by LaMotheo. Brand: navy #021448, sage #A0BB83. */

@font-face { font-family: 'Bricolage Grotesque'; font-weight: 600; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 700; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url(../fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url(../fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url(../fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --navy-950: #010a26; --navy-900: #021448; --navy-850: #061d5a; --navy-800: #0b2569; --navy-700: #183784; --navy-600: #2a4ea3;
  --sage: #A0BB83; --sage-300: #c3d6ae; --sage-600: #7c9a5c; --sage-700: #5d7a41; --sage-wash: #eef4e7;
  --bg: #f4f6fb; --surface: #ffffff; --surface-2: #f8f9fc; --line: #e2e7f1; --line-2: #cfd7e6;
  --ink: #0a1430; --ink-2: #47536f; --ink-3: #6f7a95;
  --good: #1f8a4c; --good-bg: #e6f5ec; --warn: #a86400; --warn-bg: #fdf1dd; --bad: #c03a2b; --bad-bg: #fbe7e4; --info: #1c5cab; --info-bg: #e5effc;
  --gold: #b07a12; --gold-bg: #fbf1dc;
  /* chart slots: validated categorical order (light) */
  --c1: #2a78d6; --c2: #eb6834; --c3: #1baf7a; --c4: #eda100; --c5: #e87ba4; --c6: #008300; --c7: #6250d6; --c8: #e34948;
  --c-muted: #aab4c8; --c-pos: #1baf7a; --c-neg: #e34948;
  --chart-surface: #ffffff; --grid: #edf0f6; --axis: #c9d1e0; --tick: #6f7a95;
  --r: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(2, 20, 72, .05), 0 6px 20px -8px rgba(2, 20, 72, .12);
  --shadow-lg: 0 30px 60px -20px rgba(1, 10, 38, .55);
  --font-h: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) body.app {
    color-scheme: dark;
    --bg: #070d1f; --surface: #0f1730; --surface-2: #131c39; --line: #212c4b; --line-2: #2c3a60;
    --ink: #eef1f8; --ink-2: #b7c0d6; --ink-3: #8c97b3;
    --good: #4fc782; --good-bg: #10301f; --warn: #f0b04a; --warn-bg: #33250b; --bad: #f07a6c; --bad-bg: #3a1714; --info: #79aef0; --info-bg: #11264a; --gold: #e3b453; --gold-bg: #33270d;
    --sage-wash: #1a2615;
    --c1: #3987e5; --c2: #d95926; --c3: #199e70; --c4: #c98500; --c5: #d55181; --c6: #008300; --c7: #9085e9; --c8: #e66767;
    --c-muted: #4b577a; --c-pos: #199e70; --c-neg: #e66767;
    --chart-surface: #0f1730; --grid: #1c2645; --axis: #34416a; --tick: #8c97b3;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -10px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--navy-700); text-underline-offset: 2px; }
body.app a { color: var(--info); }
img, svg { max-width: 100%; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(42, 78, 163, .08); padding: .1em .35em; border-radius: 5px; }
.break { word-break: break-all; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy-900); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.ic.big { width: 30px; height: 30px; }
.ic.huge { width: 54px; height: 54px; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.mt { margin-top: 20px; }
.mb { margin-bottom: 16px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow, .narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.hp { position: absolute; left: -5000px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.t-right { text-align: right; }
.pre { white-space: pre-wrap; }

/* ---------- buttons, tags ---------- */
.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .68em 1.15em; border-radius: 999px; border: 1.5px solid var(--b);
  font: 600 .95rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; color: inherit; background: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.btn-sm { padding: .45em .85em; font-size: .85rem; }
.btn-lg { padding: .9em 1.5em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-900); color: #fff !important; --b: var(--navy-900); box-shadow: 0 6px 16px -8px rgba(2, 20, 72, .7); }
.btn-primary:hover { background: var(--navy-700); }
.btn-sage { background: var(--sage); color: var(--navy-950) !important; --b: var(--sage); box-shadow: 0 8px 22px -10px rgba(160, 187, 131, .9); }
.btn-sage:hover { background: var(--sage-300); }
.btn-ghost { --b: var(--line-2); color: var(--ink) !important; background: var(--surface); }
.btn-ghost:hover { --b: var(--ink-3); }
.btn-ghost-light { --b: rgba(255, 255, 255, .35); color: #fff !important; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); --b: rgba(255, 255, 255, .6); }
.btn-danger { background: var(--bad); color: #fff !important; --b: var(--bad); }
.btn-wa { background: #1d9e57; color: #fff !important; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 8px; }
.icon-btn.on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.icon-btn.danger:hover { color: var(--bad); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.link-btn { background: none; border: 0; padding: 0; color: var(--info); font: 600 .95rem var(--font); cursor: pointer; text-align: left; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--navy-700); }
.tag { display: inline-flex; align-items: center; gap: .3em; padding: .2em .65em; border-radius: 999px; font: 600 .75rem/1.4 var(--font); letter-spacing: .01em; white-space: nowrap; }
.tag .ic { width: 1em; height: 1em; }
.tag-good { background: var(--good-bg); color: var(--good); }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-bad { background: var(--bad-bg); color: var(--bad); }
.tag-info { background: var(--info-bg); color: var(--info); }
.tag-gold { background: var(--gold-bg); color: var(--gold); }
.tag-muted { background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }
.eyebrow { font: 700 .76rem/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-700); margin: 0 0 .9em; display: inline-flex; align-items: center; gap: .55em; }
.eyebrow.on-dark { color: var(--sage); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(160, 187, 131, .7); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(160, 187, 131, 0); } 100% { box-shadow: 0 0 0 0 rgba(160, 187, 131, 0); } }
.flash { padding: .8em 1.1em; border-radius: var(--r-sm); margin: 0 0 16px; font-weight: 500; transition: opacity .5s; }
.flash.fade { opacity: 0; }
.flash-ok { background: var(--good-bg); color: var(--good); }
.flash-bad { background: var(--bad-bg); color: var(--bad); }
.flash-info { background: var(--info-bg); color: var(--info); }
main > .flash { width: min(1200px, 100% - 32px); margin: 16px auto; }
.content > .flash { width: auto; margin: 0 0 16px; }

/* ---------- public header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head.on-dark { background: rgba(1, 10, 38, .72); border-bottom-color: rgba(255, 255, 255, .08); color: #fff; }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo-img { height: 36px; width: auto; }
.logo-mark { display: inline-flex; align-items: center; gap: 10px; }
.logo-word { font: 800 1.18rem/1 var(--font-h); letter-spacing: -.01em; color: inherit; }
.logo-word small { display: block; font: 600 .58rem/1.4 var(--font); letter-spacing: .32em; text-transform: uppercase; opacity: .7; }
.site-head:not(.on-dark) .logo-word, .side .logo-word { color: inherit; }
.brand-tag { display: inline-flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid currentColor; border-left-color: rgba(127, 140, 170, .35); font: 700 .72rem/1.15 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--sage-700); }
.on-dark .brand-tag { color: var(--sage); }
.brand-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--sage); transform: rotate(45deg); flex: none; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: .5em .8em; border-radius: 999px; text-decoration: none; color: inherit; font-weight: 500; opacity: .85; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { opacity: 1; background: rgba(127, 140, 170, .14); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav ul { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--navy-950); color: #fff; display: none; }
  body.nav-open .site-nav ul { display: flex; }
  .nav-cta { margin: 8px 0 0; }
  .brand-tag { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 75% 10%, #12317f 0%, rgba(18, 49, 127, 0) 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900) 70%, #08205e); padding: 64px 0 90px; margin-top: -71px; padding-top: 135px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::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: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%); }
.lane { position: absolute; left: -10%; right: -10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(160, 187, 131, .55) 0 26px, transparent 26px 52px); transform: rotate(-8deg); animation: lane 3.5s linear infinite; }
.lane-1 { bottom: 110px; } .lane-2 { bottom: 60px; opacity: .45; animation-duration: 5s; }
@keyframes lane { to { background-position: 52px 0; } }
.glow { position: absolute; width: 520px; height: 520px; right: 4%; top: 18%; background: radial-gradient(circle, rgba(160, 187, 131, .22), transparent 65%); filter: blur(10px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: .45em; }
.hero h1 .hl { color: var(--sage); background: linear-gradient(90deg, var(--sage), #d7e8c4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { font-size: 1.14rem; color: #c9d2ea; max-width: 34em; }
.lede-dark { font-size: 1.1rem; color: var(--ink-2); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #aeb9d8; font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: .45em; }
.trust .ic { color: var(--sage); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero { padding-bottom: 60px; } }

/* ---------- the live window ---------- */
.win { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .12); padding: 14px; backdrop-filter: blur(8px); color: #fff; }
.win::after { content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, rgba(160, 187, 131, .7), transparent 40%, transparent 60%, rgba(90, 150, 230, .55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.win-empty { padding: 60px 24px; text-align: center; color: #c9d2ea; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 2px 4px 10px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dots i:first-child { background: #ef7a62; } .dots i:nth-child(2) { background: #e8b44c; } .dots i:nth-child(3) { background: var(--sage); }
.win-live { display: inline-flex; align-items: center; gap: 8px; font: 700 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.win-ctrl { margin-left: auto; display: flex; gap: 6px; }
.win .icon-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; width: 32px; height: 32px; }
.win .icon-btn:hover { background: rgba(255, 255, 255, .16); }
.win-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; }
.win-tabs::-webkit-scrollbar { display: none; }
.win-tab { flex: none; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #c9d2ea; font: 600 .82rem var(--font); padding: .45em .95em; border-radius: 999px; cursor: pointer; transition: all .2s; }
.win-tab:hover { color: #fff; }
.win-tab[aria-selected=true] { background: var(--sage); color: var(--navy-950); border-color: var(--sage); }
.win-progress { height: 3px; background: rgba(255, 255, 255, .1); border-radius: 3px; overflow: hidden; margin: 0 2px 12px; }
.win-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sage), #7fb2ff); }
.win-progress span.run { animation: winprog linear forwards; }
.win-progress span.hold, .win.paused .win-progress span { animation-play-state: paused; }
@keyframes winprog { from { width: 0; } to { width: 100%; } }
.win-body { position: relative; display: grid; min-height: 470px; }
.wc { grid-area: 1 / 1; background: #fbfcff; color: var(--ink); border-radius: 16px; padding: 18px; transition: opacity .42s ease, transform .42s ease; --c1: #2a78d6; --chart-surface: #fbfcff; }
.wc.enter { opacity: 0; transform: translateY(14px) scale(.985); }
.wc.leave { opacity: 0; transform: translateY(-10px) scale(.985); pointer-events: none; }
.wc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wc-ind { font: 700 .7rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); }
.wc-title { font-size: 1.18rem; margin: .2em 0 0; }
.wc-open { display: inline-flex; align-items: center; gap: .35em; font: 600 .82rem var(--font); color: var(--navy-700); text-decoration: none; white-space: nowrap; padding: .35em .7em; border-radius: 999px; background: var(--info-bg); }
.wc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.wc .kpi { padding: 10px 11px; }
.wc .kpi-v { font-size: 1.12rem; }
.wc .kpi-l { font-size: .72rem; }
.wc .kpi-d, .wc .kpi-sub { font-size: .7rem; }
.wc-charts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.wc-main, .wc-side { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px 6px; min-width: 0; }
.wc-ct { font: 600 .8rem var(--font); color: var(--ink-2); margin: 0 0 4px; }
.wc-insight { display: flex; gap: .6em; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; background: var(--sage-wash); border-radius: 10px; font-size: .88rem; color: #33441f; }
.wc-insight .ic { color: var(--sage-700); margin-top: .15em; }
.wc .dn { gap: 10px; }
.wc .dn-svg { width: 120px; height: 120px; }
.wc .dn-legend { font-size: .76rem; }
.wc .hb-row { grid-template-columns: minmax(70px, 44%) 1fr auto; font-size: .8rem; }
@media (max-width: 640px) { .wc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wc-charts { grid-template-columns: 1fr; } .win-body { min-height: 0; } .wc-head { flex-direction: column; } }
.win-light { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.win-light::after { display: none; }
.win-light .win-tab { color: var(--ink-2); border-color: var(--line); background: var(--surface-2); }
.win-light .win-tab[aria-selected=true] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.win-light .icon-btn { background: var(--surface-2); color: var(--ink-2); border-color: var(--line); }
.win-light .win-progress { background: var(--line); }
.win-light .win-live { color: var(--sage-700); }
.win-light .wc { background: var(--surface-2); border: 1px solid var(--line); }
body.app .win:not(.win-light) { background: var(--navy-900); }

/* ---------- bands (public sections) ---------- */
.band { padding: 84px 0; }
.band-soft { background: linear-gradient(180deg, #f1f4fa, #f7f9fc); }
.band-dark { background: radial-gradient(900px 500px at 15% 0%, #12317f, transparent 60%), var(--navy-950); color: #fff; }
.band.first { padding-top: 60px; }
.h-xl { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
.h-lg { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; }
.h-md { font-size: 1.35rem; }
.h-sm { font-size: 1.1rem; }
.page-head { padding: 64px 0 24px; background: linear-gradient(180deg, #eaf0fa, var(--bg)); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.lane-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.lane-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 42px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 14px, transparent 14px 26px); z-index: 0; }
.lane-steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 22px; box-shadow: var(--shadow); z-index: 1; }
.lane-steps li:nth-child(2) { border-color: var(--sage-300); }
.lane-steps .ic.big { color: var(--navy-700); margin: 6px 0 10px; }
.lane-steps h3 { font-size: 1.1rem; }
.lane-steps p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.step-n { position: absolute; top: -13px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); color: #fff; font: 700 .85rem/28px var(--font); text-align: center; }
@media (max-width: 900px) { .lane-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lane-steps::before { display: none; } }
@media (max-width: 560px) { .lane-steps { grid-template-columns: 1fr; } }
.sec-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sec-grid li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sec-grid li.is-free { border-color: var(--sage-300); background: linear-gradient(180deg, #fbfdf8, #fff); }
.sec-grid h3 { font: 600 .98rem var(--font); margin: 0 0 .2em; }
.sec-grid p { font-size: .85rem; color: var(--ink-3); margin: 0; }
.sec-grid .tag { margin-left: auto; }
.sec-n { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font: 700 .8rem var(--font); color: var(--ink-2); }
@media (max-width: 640px) { .sec-grid { grid-template-columns: 1fr; } }

/* menu board */
.menu-board { color: #fff; }
.mb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.mb-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; margin: 0 0 .25em; }
.mb-sub { color: #aeb9d8; margin: 0; }
.launch-pill { background: rgba(160, 187, 131, .14); border: 1px solid rgba(160, 187, 131, .45); color: #dfeacf; padding: .7em 1.1em; border-radius: 14px; max-width: 360px; font-size: .92rem; }
.launch-pill code { background: rgba(255, 255, 255, .12); color: #fff; }
.mb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mb-item { position: relative; display: flex; flex-direction: column; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px 22px; }
.mb-item h3 { font-size: 1.15rem; margin: 0; }
.mb-price { font: 800 2.3rem/1.1 var(--font-h); margin: 10px 0 8px; letter-spacing: -.02em; }
.mb-price s { font-size: 1rem; color: #8d99bb; font-weight: 600; }
.mb-item > p:not(.mb-price) { color: #c3cbe2; font-size: .93rem; }
.mb-item .ticks { margin: 4px 0 20px; flex: 1; }
.mb-item .btn { align-self: flex-start; }
.mb-hero { background: linear-gradient(180deg, #2a4ea3, #183784); border-color: rgba(160, 187, 131, .6); box-shadow: 0 30px 60px -30px rgba(42, 120, 214, .9); }
.mb-free { background: rgba(160, 187, 131, .08); }
.mb-flag { position: absolute; top: -12px; right: 18px; background: var(--sage); color: var(--navy-950); font: 700 .72rem var(--font); padding: .3em .8em; border-radius: 999px; letter-spacing: .04em; }
.mb-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.mb-extra { display: flex; gap: 14px; align-items: center; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 18px; padding: 18px 20px; }
.mb-extra > .ic { width: 28px; height: 28px; color: var(--sage); }
.mb-extra h3 { font-size: 1.02rem; margin: 0 0 .2em; }
.mb-extra h3 span { color: var(--sage); margin-left: .4em; }
.mb-extra p { margin: 0; color: #aeb9d8; font-size: .9rem; }
.mb-extra .btn { margin-left: auto; }
@media (max-width: 1020px) { .mb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mb-grid, .mb-extras { grid-template-columns: 1fr; } .mb-extra { flex-wrap: wrap; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin: .4em 0; font-size: .93rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1em; height: .55em; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.ticks.dark li::before { border-color: var(--sage-600); }

.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.sample-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.sample-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(2, 20, 72, .35); }
.sample-card .tag { align-self: flex-start; }
.sample-card h3 { margin: 4px 0 0; font-size: 1.12rem; }
.sample-card p { color: var(--ink-2); font-size: .93rem; margin: 0; flex: 1; }
.sample-meta { font-size: .8rem; color: var(--ink-3); }
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.promise .ic.big { color: var(--sage-700); margin-bottom: 10px; }
.promise h3 { font-size: 1.12rem; }
.promise p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }
.catering { display: flex; justify-content: space-between; align-items: center; gap: 28px; background: linear-gradient(120deg, var(--sage-wash), #eaf1fb); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.cta-col { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) { .catering { flex-direction: column; align-items: flex-start; padding: 26px; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose li { margin: .35em 0; }
.how-list { padding-left: 0; list-style: none; counter-reset: how; }
.how-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 14px; }
.how-list h2 { margin: 0 0 .5em; font-size: 1.2rem; display: flex; align-items: center; gap: .5em; }
.how-list h2 .ic { color: var(--sage-700); }
.learn-list { display: grid; gap: 14px; }
.learn-card { display: block; text-decoration: none; color: var(--ink); }
.learn-card h2 { font-size: 1.2rem; }
.sample-bar { background: var(--sage-wash); border-bottom: 1px solid var(--sage-300); }
.sample-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
.sample-bar p { margin: 0; color: #33441f; }
.sample-bar .cta-row { margin: 0; }
.report-wrap { padding: 28px 0 60px; }

/* footer */
.site-foot { background: var(--navy-950); color: #b7c1dc; padding: 56px 0 24px; margin-top: 0; }
.site-foot a { color: #e4e9f6; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font: 700 .78rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: .45em 0; }
.foot-line { margin-top: 14px; font-size: .92rem; max-width: 30em; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 18px; font-size: .85rem; }
.site-foot .brand { color: #fff; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.field { margin-bottom: 14px; }
.field label, .inst-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input:not([type]), select, textarea, .inline-form input {
  width: 100%; padding: .7em .85em; border: 1.5px solid var(--line-2); border-radius: 10px; font: inherit; background: var(--surface); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--navy-600); outline: none; box-shadow: 0 0 0 3px rgba(42, 78, 163, .15); }
.hint { font-size: .84rem; color: var(--ink-3); margin: 6px 0 0; }
.check { display: flex; gap: .6em; align-items: flex-start; margin: 10px 0; font-size: .93rem; cursor: pointer; }
.check input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--navy-900); flex: none; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; margin: 10px 0; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: var(--line-2); }
.radio-card:has(input:checked) { border-color: var(--navy-700); background: var(--info-bg); }
.radio-card:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.radio-card input { margin-top: .25em; width: 18px; height: 18px; accent-color: var(--navy-900); flex: none; }
.radio-card > span > strong { display: block; }
.radio-card small { display: block; color: var(--ink-2); font-size: .86rem; margin-top: .2em; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 160px; width: auto; }
.form .btn-block { margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; align-items: end; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* auth */
.auth-wrap { min-height: calc(100vh - 300px); display: grid; place-items: center; padding: 48px 16px; background: radial-gradient(700px 400px at 50% 0%, #e3ebf8, transparent); }
.auth-card { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(2, 20, 72, .3); }
.auth-card h1 { font-size: 1.7rem; }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--navy-950) 252px, transparent 252px); }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--navy-950); color: #c9d2ea; padding: 20px 14px; overflow-y: auto; }
.side-brand { display: block; padding: 4px 8px; color: #fff; text-decoration: none; }
.side-brand .logo-img { height: 34px; }
.side-tag { display: flex; align-items: center; gap: 8px; margin: 10px 8px 22px; font: 700 .7rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side nav a, .side-foot a, .side-foot button { display: flex; align-items: center; gap: 12px; padding: .62em .8em; border-radius: 10px; color: #c9d2ea !important; text-decoration: none; font: 500 .94rem var(--font); background: none; border: 0; width: 100%; cursor: pointer; text-align: left; }
.side nav a:hover, .side-foot a:hover, .side-foot button:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.side nav a[aria-current] { background: linear-gradient(90deg, rgba(160, 187, 131, .22), rgba(160, 187, 131, .06)); color: #fff !important; box-shadow: inset 3px 0 0 var(--sage); }
.side nav a[aria-current] .ic { color: var(--sage); }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 12px; }
.main-col { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 28px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-title { font-size: 1.25rem; margin: 0; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .4em .8em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 .85rem var(--font); color: var(--ink) !important; text-decoration: none; }
.chip-credit .ic { color: var(--sage-700); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff !important; display: grid; place-items: center; font: 700 .82rem var(--font); text-decoration: none; }
.side-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; cursor: pointer; }
.side-toggle .ic { width: 24px; height: 24px; }
.content { padding: 28px; width: 100%; max-width: 1320px; }
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; background: none; }
  .side { position: fixed; left: 0; top: 0; bottom: 0; width: 262px; z-index: 60; transform: translateX(-102%); transition: transform .25s; }
  body.side-open .side { transform: none; box-shadow: var(--shadow-lg); }
  .side-toggle { display: block; }
  .top { padding: 0 14px; }
  .content { padding: 18px 14px; }
  .hide-sm { display: none; }
}

.welcome { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.welcome h2 { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.stat-l { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.stat strong { font: 700 1.5rem/1.2 var(--font-h); }
.stat strong small { font: 500 .85rem var(--font); color: var(--ink-3); }
.stat small { font-size: .8rem; color: var(--ink-3); }
.stat a { font-size: .85rem; font-weight: 600; }
@media (max-width: 860px) { .stat-row, .stat-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.big-num { font: 800 3rem/1 var(--font-h); margin: 6px 0; }
.sec-head { margin: 26px 0 12px; }
.sec-head h2 { margin: 0; font-size: 1.2rem; }
.progress-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink) !important; margin-bottom: 14px; }
.progress-card p { margin: 0; color: var(--ink-3); font-size: .9rem; }
.progress-card .link-arrow { margin-left: auto; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--sage-600); animation: spin .8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 60px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 20px; }
.empty-state .cta-row { justify-content: center; }
.promo-band { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, var(--sage-wash), var(--info-bg)); }
.promo-band p { margin: 0; flex: 1; }
.promo-band > .ic { width: 26px; height: 26px; color: var(--sage-700); }

/* tables */
.table-card { padding: 0; overflow: hidden; }
.table-card .pad, .pad { padding: 18px 20px 6px; }
.table-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font: 600 .78rem var(--font); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td.up { color: var(--good); } .tbl td.down { color: var(--bad); }
.tbl-form input, .tbl-form select { padding: .45em .55em; font-size: .88rem; }
.w-xs { width: 70px !important; } .w-sm { width: 120px !important; } .w-lg { min-width: 240px; }
.row-menu { position: relative; display: inline-block; text-align: left; }
.row-menu summary { list-style: none; }
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px; display: grid; gap: 10px; }
.row-menu-pop form { display: grid; gap: 6px; }
.row-menu-pop input, .row-menu-pop select { padding: .5em .6em; font-size: .88rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 16px 0; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; font-weight: 600; }
.narrow-card { max-width: 720px; }
.bank { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; }
.gauge { height: 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; margin: 12px 0; }
.gauge span { display: block; height: 100%; background: var(--good); border-radius: 99px; }
.gauge span.warn { background: var(--warn); } .gauge span.bad { background: var(--bad); }
.gauge-card { margin-bottom: 18px; }
.enq-list { display: grid; gap: 12px; }
.enq-card summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; cursor: pointer; list-style: none; }
.enq-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; align-items: end; border-top: 1px solid var(--line); padding-top: 14px; }
.enq-form .field:nth-of-type(4) { grid-column: span 3; }
@media (max-width: 860px) { .enq-form { grid-template-columns: 1fr; } .enq-form .field:nth-of-type(4) { grid-column: auto; } }
.enq { border-top: 1px solid var(--line); padding: 12px 0; }
.lots { padding-left: 1.1em; color: var(--ink-2); }
.buy-list { display: grid; gap: 12px; }
.buy-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; flex-wrap: wrap; }
.buy-item p { margin: 0; }
.buy-item .price { font-weight: 700; color: var(--sage-700); margin-left: .3em; }
.buy-btns { display: flex; gap: 6px; }
.refer { display: flex; gap: 24px; align-items: flex-start; }
.refer .ic.huge { color: var(--sage-600); }
.copy-row { display: flex; gap: 8px; margin: 14px 0; }
.copy-row input { flex: 1; }
.warn-card { border-color: var(--warn); background: var(--warn-bg); }
.codes { display: grid; grid-template-columns: repeat(4, max-content); gap: 8px 18px; list-style: none; padding: 0; }
.setup-2fa { display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; }
.qr svg { width: 200px; height: 200px; border-radius: 12px; border: 1px solid var(--line); }
.danger-zone { border-color: var(--bad-bg); }
.ok-card { text-align: center; }
.ok-card .ic.big { color: var(--good); width: 44px; height: 44px; }
.cat-list li { margin: .4em 0; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.seg a, .seg button { display: inline-flex; align-items: center; gap: .45em; padding: .5em .95em; border-radius: 9px; border: 0; background: none; font: 600 .9rem var(--font); color: var(--ink-2); cursor: pointer; text-decoration: none; }
.seg [aria-selected=true], .seg .on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(2, 20, 72, .15); }

/* stepper & order */
.stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: .45em .9em .45em .45em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-weight: 600; font-size: .88rem; }
.stepper span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .8rem; }
.stepper .on { color: var(--ink); border-color: var(--navy-700); } .stepper .on span { background: var(--navy-900); color: #fff; }
.stepper .done span { background: var(--sage); color: var(--navy-950); }
.order-form { display: grid; gap: 18px; }
.drop { position: relative; border: 2px dashed var(--line-2); text-align: center; padding: 44px 20px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--navy-600); background: var(--info-bg); }
.drop.has { border-style: solid; border-color: var(--sage-600); background: var(--sage-wash); }
.drop.bad { border-color: var(--bad); background: var(--bad-bg); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); color: var(--navy-700); margin-bottom: 12px; }
.drop h2 { font-size: 1.25rem; }
.drop p { color: var(--ink-2); margin: 0; }
.linkish { color: var(--info); text-decoration: underline; cursor: pointer; font-weight: 600; display: inline; }
.drop-file { margin-top: 12px !important; font-weight: 700; color: var(--ink) !important; }
.up-bar { height: 6px; border-radius: 6px; background: var(--line); margin: 18px auto 0; max-width: 420px; overflow: hidden; }
.up-bar span { display: block; height: 100%; width: 0; background: var(--sage-600); transition: width .2s; }
.formats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -6px; }
.formats span { display: inline-flex; align-items: center; gap: .35em; font-size: .82rem; padding: .3em .7em; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.formats .soon { border-style: dashed; color: var(--ink-3); }
.consent h2 { display: flex; align-items: center; gap: .5em; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot p { margin: 0; }
.unlock-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .unlock-grid { grid-template-columns: 1fr; } }
.locked-list { list-style: none; padding: 0; margin: 14px 0; }
.locked-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.locked-list .ic { color: var(--gold); margin-top: .25em; }
.locked-list p { margin: .15em 0 0; color: var(--ink-2); font-size: .92rem; }
.pay-col { display: grid; gap: 12px; }
.pay-opt h3 { font-size: 1.05rem; margin-bottom: .3em; }
.pay-opt p { color: var(--ink-2); font-size: .92rem; }
.pay-best { border: 2px solid var(--sage-600); }
.redirect-box { max-width: 420px; margin: 18vh auto; text-align: center; }

/* ---------- report ---------- */
.rep-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.rep-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin: 0 0 .3em; }
.rep-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-3); font-size: .9rem; margin: 0; }
.m-i { display: inline-flex; align-items: center; gap: .35em; }
.m-ai { color: var(--info); font-weight: 600; }
.m-exp.soon { color: var(--bad); font-weight: 600; }
.rep-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rep-actions .inline { display: inline; }
.rep-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); position: sticky; top: 76px; z-index: 20; }
body.pub .rep-toolbar { top: 80px; }
.layout-pick { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.layout-pick label { font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.layout-pick select { width: auto; padding: .45em .7em; }
@media (max-width: 700px) { .layout-pick { margin-left: 0; } .rep-toolbar { position: static; } .seg button { padding: .5em .7em; } }
.loading { padding: 60px; text-align: center; color: var(--ink-3); }
.explain-note { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--info-bg); color: var(--info); font-weight: 600; }
.preview-band { display: flex; align-items: center; gap: 18px; padding: 16px 20px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(110deg, var(--navy-900), var(--navy-700)); color: #fff; }
.preview-band p { margin: .2em 0 0; color: #c9d2ea; font-size: .93rem; }
.preview-band .btn { margin-left: auto; }
.pv-ring { --p: 40; flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--sage) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); position: relative; }
.pv-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--navy-850); }
.pv-ring span { position: relative; font: 700 .85rem var(--font); }
@media (max-width: 640px) { .preview-band { flex-wrap: wrap; } .preview-band .btn { margin-left: 0; } }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kpi-l { font-size: .8rem; color: var(--ink-3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-vrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px 8px; flex-wrap: wrap; }
.kpi-vrow .spark { width: 72px; height: 22px; }
.kpi.is-text .kpi-v { white-space: normal; font-size: 1.05rem; line-height: 1.25; }
.kpi-v { font: 700 1.45rem/1.15 var(--font-h); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-v small { font: 600 .8rem var(--font); color: var(--ink-3); margin-left: 2px; }
.kpi-d { display: inline-flex; align-items: center; gap: .25em; font-size: .8rem; font-weight: 600; }
.kpi-d .ic { width: .95em; height: .95em; }
.kpi-d.up { color: var(--good); } .kpi-d.down { color: var(--bad); }
.kpi-sub { font-size: .8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.tone-good .kpi-v { color: var(--good); } .kpi.tone-warn .kpi-v { color: var(--warn); } .kpi.tone-bad .kpi-v { color: var(--bad); }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dash-grid .wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.w-card { padding: 16px 18px 12px; }
.w-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.w-sec { font: 700 .7rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); }
.w-title { font: 600 1rem/1.3 var(--font); margin: .15em 0 0; }
.w-tools { display: flex; gap: 4px; flex: none; }
.w-chart { position: relative; min-width: 0; }
.w-findings .findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.findings p { margin: .2em 0 0; color: var(--ink-2); font-size: .93rem; }
.locked-card { position: relative; overflow: hidden; min-height: 200px; display: grid; }
.locked-card.big { min-height: 230px; margin-bottom: 16px; }
.lk-skel { grid-area: 1 / 1; display: flex; align-items: flex-end; gap: 10px; padding: 30px 20px 10px; filter: blur(5px); opacity: .5; }
.lk-skel span { flex: 1; background: linear-gradient(180deg, var(--c1), color-mix(in srgb, var(--c1) 40%, transparent)); border-radius: 6px 6px 0 0; }
.lk-over { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 22px; background: linear-gradient(90deg, var(--surface) 30%, color-mix(in srgb, var(--surface) 70%, transparent)); }
.lk-over h3 { margin: .4em 0 0; font-size: 1.1rem; }
.lk-over p { color: var(--ink-2); font-size: .93rem; margin: 0 0 8px; max-width: 36em; }
.story-sec { margin-bottom: 16px; }
.st-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.st-head > .icon-btn { margin-left: auto; }
.st-n { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--navy-900); color: #fff; display: grid; place-items: center; font: 700 .95rem var(--font); }
.st-title { font-size: 1.35rem; margin: 0 0 .3em; }
.st-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.st-sum { font-size: 1.05rem; color: var(--ink); max-width: 60em; }
.st-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 12px; }
.st-charts.one { grid-template-columns: 1fr; }
@media (max-width: 900px) { .st-charts { grid-template-columns: 1fr; } }
.st-chart { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 8px; min-width: 0; }
.st-chart figcaption { font: 600 .9rem var(--font); color: var(--ink-2); margin-bottom: 4px; }
.st-sub { font: 700 .85rem var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 6px; }
.st-bullets { margin: 0 0 8px; padding-left: 1.2em; }
.st-bullets li { margin: .35em 0; }
.st-table { margin-top: 10px; }
.st-table summary { cursor: pointer; font-weight: 600; color: var(--info); padding: 6px 0; }
.recs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; counter-reset: rec; }
.rec { counter-increment: rec; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px 52px; position: relative; background: var(--surface-2); }
.rec::before { content: counter(rec); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--sage); color: var(--navy-950); display: grid; place-items: center; font: 700 .85rem var(--font); }
.rec h3 { font: 600 1rem/1.3 var(--font); margin: 0 0 .4em; }
.rec-why { color: var(--ink-2); font-size: .9rem; margin: 0 0 .5em; }
.rec-act { display: flex; gap: .5em; font-size: .92rem; font-weight: 500; margin: 0; }
.rec-act .ic { color: var(--sage-700); margin-top: .2em; }
.checklist { list-style: none; padding: 0; margin: 8px 0 0; }
.checklist li { border-top: 1px solid var(--line); }
.checklist .check { margin: 0; padding: 12px 0; }
.checklist strong { display: block; font-weight: 600; }
.checklist small { color: var(--ink-3); }
.checklist input:checked + span strong { text-decoration: line-through; color: var(--ink-3); }
.data-sec { margin-bottom: 16px; }
.analyst-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(110deg, var(--sage-wash), var(--info-bg)); flex-wrap: wrap; }
.analyst-cta h3 { margin: 0 0 .25em; } .analyst-cta p { margin: 0; color: var(--ink-2); }
.proc { text-align: center; padding: 40px 24px; max-width: 620px; margin: 10px auto; }
.proc-ring { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; border: 6px solid var(--line); border-top-color: var(--sage-600); animation: spin 1.4s linear infinite; }
.proc-pct { animation: spin 1.4s linear infinite reverse; font: 700 1.05rem var(--font); }
.proc-steps { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 18px 0; flex-wrap: wrap; }
.proc-steps li { padding: .35em .85em; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-3); font-size: .86rem; font-weight: 600; }
.proc-steps li.on { border-color: var(--navy-700); color: var(--ink); background: var(--info-bg); }
.proc-steps li.done { background: var(--sage-wash); color: var(--sage-700); border-color: var(--sage-300); }
.proc-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.proc-bar span { display: block; height: 100%; width: 3%; background: linear-gradient(90deg, var(--sage-600), var(--c1)); transition: width .6s; }

/* modal & present */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(1, 10, 38, .55); display: grid; place-items: center; padding: 16px; }
.modal-box { width: min(560px, 100%); max-height: 86vh; overflow: auto; background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-lg); }
.cust-list { list-style: none; padding: 0; margin: 10px 0; }
.cust-list li { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); padding: 4px 0; }
.cust-list .check { flex: 1; margin: 6px 0; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.present { position: fixed; inset: 0; z-index: 100; background: radial-gradient(1000px 600px at 70% 0%, #12317f, transparent 60%), var(--navy-950); color: #fff; display: flex; flex-direction: column; padding: 18px 28px 22px; }
body.presenting { overflow: hidden; }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-brand { font: 700 .8rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.pr-ctl { display: flex; gap: 6px; }
.present .icon-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.pr-stage { flex: 1; display: grid; place-items: center; min-height: 0; }
.pr-slide { width: min(1100px, 100%); background: #fbfcff; color: var(--ink); border-radius: 22px; padding: 26px 30px; box-shadow: var(--shadow-lg); animation: slidein .5s ease; }
@keyframes slidein { from { opacity: 0; transform: translateY(16px); } }
.pr-sec { font: 700 .75rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); margin: 0; }
.pr-title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: .2em 0 .7em; }
.pr-sum { font-size: 1.08rem; color: var(--ink-2); margin: 14px 0 0; }
.pr-prog { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.pr-prog span { width: 26px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.pr-prog span.on { background: var(--sage); } .pr-prog span.done { background: rgba(160, 187, 131, .45); }

/* ---------- charts ---------- */
.ch { position: relative; }
.ch-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch-gl { stroke: var(--grid); stroke-width: 1; }
.ch-zero { stroke: var(--axis); stroke-width: 1; }
.ch-tick { fill: var(--tick); font: 11.5px var(--font); font-variant-numeric: tabular-nums; }
.ch-mark { stroke: var(--axis); stroke-dasharray: 3 4; }
.ch-cross { stroke: var(--ink-3); stroke-width: 1; opacity: 0; pointer-events: none; }
.ch-cross.on { opacity: .45; }
.ch-hit { fill: transparent; cursor: crosshair; }
.ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ln.dash { stroke-dasharray: 5 5; stroke-width: 1.75; }
.area { stroke: none; opacity: .12; }
.fband { stroke: none; opacity: .16; }
.dot { stroke: var(--chart-surface); stroke-width: 2; }
.bar { stroke: none; }
.dot.hollow { fill: var(--chart-surface); stroke: var(--k); stroke-width: 2; }
.s1 { --k: var(--c1); } .s2 { --k: var(--c2); } .s3 { --k: var(--c3); } .s4 { --k: var(--c4); }
.s5 { --k: var(--c5); } .s6 { --k: var(--c6); } .s7 { --k: var(--c7); } .s8 { --k: var(--c8); }
.muted { --k: var(--c-muted); } .pos { --k: var(--c-pos); } .neg { --k: var(--c-neg); }
.ln.s1, .ln.s2, .ln.s3, .ln.s4, .ln.s5, .ln.s6, .ln.s7, .ln.s8 { stroke: var(--k); }
.area, .fband, .dot, .bar, .dseg { fill: var(--k); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--k); flex: none; }
.sw.dash { height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--k) 0 4px, transparent 4px 7px); }
.ch-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.ch-key { display: inline-flex; align-items: center; gap: .45em; }
.ch-note { font-size: .78rem; color: var(--ink-3); margin: 6px 0 0; }
.ch-empty { color: var(--ink-3); font-size: .9rem; padding: 30px 0; text-align: center; }
.ch-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--navy-950); color: #fff; border-radius: 10px; padding: 8px 11px; font-size: .8rem; opacity: 0; transition: opacity .12s; min-width: 120px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.ch-tip.on { opacity: 1; }
.ch-tip-t { font-weight: 700; margin-bottom: 4px; color: var(--sage); }
.ch-tip-r { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ch-tip-n { color: #c9d2ea; margin-right: auto; padding-right: 8px; }
.ch-tip .sw { --c1: #3987e5; --c2: #d95926; --c3: #199e70; --c4: #c98500; --c-muted: #6b7799; }
.hb { display: grid; gap: 7px; padding: 4px 0; }
.hb-row, .dv-row { display: grid; grid-template-columns: minmax(70px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.hb-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.hb-track { height: 16px; display: block; }
.hb-bar { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--k); transform-origin: left; }
.hb-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .82rem; min-width: 3.6em; text-align: right; }
.dv { display: grid; gap: 7px; padding: 4px 0; }
.dv-track { position: relative; height: 16px; display: block; }
.dv-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--axis); }
.dv-bar { position: absolute; top: 0; height: 100%; background: var(--k); border-radius: 4px; }
.dn { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dn-svg { width: 150px; height: 150px; flex: none; }
.dn-total { fill: var(--ink); font: 700 17px var(--font-h); }
.dn-cap { fill: var(--ink-3); font: 11px var(--font); }
.dseg { stroke: none; transition: opacity .15s; }
.dseg:hover { opacity: .8; }
.dn-legend { list-style: none; padding: 0; margin: 0; flex: 1; min-width: 150px; display: grid; gap: 6px; font-size: .86rem; }
.dn-legend li { display: flex; align-items: center; gap: 8px; }
.dn-name { flex: 1; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-legend strong { font-variant-numeric: tabular-nums; }
.spark { flex: none; }
.spark .ln { stroke-width: 1.6; }
/* chart entrance */
.anim .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: grow .7s cubic-bezier(.2, .8, .2, 1) both; }
.anim .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s ease forwards; }
.anim .ln.dash { stroke-dasharray: 5 5; stroke-dashoffset: 0; animation: fadein .9s ease both; }
.anim .area, .anim .fband, .anim .dot { animation: fadein .9s ease both; }
.hb.anim .hb-bar, .dv.anim .dv-bar { animation: growx .7s cubic-bezier(.2, .8, .2, 1) both; }
.dn-svg.anim .dseg { animation: fadein .7s ease both; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes growx { from { transform: scaleX(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- installer ---------- */
body.install { background: var(--bg); }
.inst { max-width: 680px; margin: 40px auto; padding: 0 16px; }
.inst-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 18px; }
.inst-brand small { color: var(--ink-3); font-weight: 500; }
.inst fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 16px; background: var(--surface); }
.inst legend { font-weight: 700; padding: 0 6px; }
.inst-form label { margin-bottom: 12px; }
.inst-form label input { margin-top: 4px; font-weight: 400; }
.inst .ok { color: var(--good); font-weight: 700; } .inst .bad { color: var(--bad); font-weight: 600; }
.inst pre { background: var(--navy-950); color: #e4e9f6; padding: 14px; border-radius: 10px; overflow-x: auto; font-size: .85rem; }
.log li, .checks li { margin: .3em 0; }
.checks { list-style: none; padding: 0; }
.checks .ok { color: var(--good); font-weight: 500; } .checks .bad { color: var(--bad); font-weight: 500; }

/* ---------- print (PDF) ---------- */
body.print-page { background: #fff; }
.print-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); position: sticky; top: 0; z-index: 5; }
.print-bar p { margin: 0; }
.print-doc { max-width: 900px; margin: 0 auto; padding: 24px; }
.print-cover { border-bottom: 3px solid var(--sage); padding-bottom: 18px; margin-bottom: 22px; }
.print-brand { display: flex; align-items: center; gap: 12px; font: 700 .8rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); }
.print-brand .logo-word { color: var(--navy-900); }
.print-cover h1 { font-size: 2rem; margin: 14px 0 .2em; }
.print-cover p { color: var(--ink-3); margin: 0; }
.print-doc .card { box-shadow: none; }
.print-foot { font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 20px; }
@media print {
  .no-print, .site-head, .side, .top, .site-foot { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .print-doc { padding: 0; max-width: none; }
  .story-sec { border: 0; padding: 0 0 12px; border-bottom: 1px solid #ddd; border-radius: 0; }
  .st-chart, .kpi, .rec, .st-head, .kpi-row { break-inside: avoid; }
  .st-head { break-after: avoid; }
  .st-charts { grid-template-columns: 1fr 1fr; }
  .ch-tip, .ch-hit, .ch-cross { display: none; }
  a { color: inherit; text-decoration: none; }
  @page { margin: 14mm; }
}
