/* solarerp.in — marketing site.
   A product-brochure system: white canvas, near-black ink, one SolarERP green, grey neutrals, pill-shaped
   controls, heavy tight display type, real product screenshots. One animated spectrum ring per section.
   Type: Plus Jakarta Sans (display, buttons) · Inter (body) · Sometype Mono (labels).
   Static file on purpose: it is served as-is from public/, so a `git pull` deploy ships it with no build step. */

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
    /* Neutrals */
    --white: #fff;
    --ink: #202020;
    --onyx: #0b100d;
    --carbon: #2a2a2a;
    --slate: #646464;
    --ash: #767676;   /* AA (4.5:1) for small grey text on white */
    --fog: #b3b3b3;
    --cloud: #d4d4d4;
    --line: #e8e8e8;
    --mist: #f8f9fa;
    --band: #f3f5f3;
    --mercury: #eeeeee;

    /* Brand: SolarERP green (product primary). Text-on-white uses the 700 step for AA contrast. */
    --green: #62bf52;
    --green-600: #47a53a;
    --green-700: #2f8a3a;
    --green-50: #f0f9ee;
    --green-100: #def2d9;

    /* Supporting signal colours — status pills and data marks only, never a primary button. */
    --blue: #0091ff;
    --teal: #16c0a4;
    --mint: #6ee7b7;
    --violet: #6647f0;
    --red: #e5484d;

    --spectrum: conic-gradient(from var(--angle), #62bf52 0%, #2dd4bf 16%, #38bdf8 32%, #0091ff 46%, #6366f1 60%, #a855f7 70%, #38bdf8 84%, #62bf52 100%);
    --brand-grad: linear-gradient(83deg, #62bf52 -5%, #16c0a4 48%, #0091ff 112%);
    --tone-grad: linear-gradient(90deg, #5f635f 0%, #8e928e 100%);   /* lightest stop still 3:1 for large text */
    --dark-fade: linear-gradient(rgb(17, 17, 17) 24%, rgb(0, 0, 0));

    --ff-display: 'Plus Jakarta Sans', 'Jakarta Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ff-body: 'Inter', 'Inter Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --ff-mono: 'Sometype Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --r-pill: 9999px;
    --r-card: 12px;
    --r-img: 16px;
    --r-lg: 20px;
    --r-input: 9px;

    --shadow-sm: 0 4px 4px rgba(13, 21, 48, .04);
    --shadow-soft: 0 1px 1px -.5px rgba(18, 43, 20, .05), 0 3px 3px -1.5px rgba(18, 43, 20, .05), 0 6px 6px -3px rgba(18, 43, 20, .05), 0 12px 12px -6px rgba(18, 43, 20, .05);
    --shadow-lift: 0 30px 60px -28px rgba(16, 26, 18, .30), 0 10px 22px -12px rgba(16, 26, 18, .16);

    --ease: cubic-bezier(.33, 1, .68, 1);
    --maxw: 1200px;
    --gutter: 20px;
    --header-h: 64px;
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* Metric-matched local fallbacks so the web-font swap barely moves the layout. */
@font-face { font-family: 'Jakarta Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 103%; ascent-override: 94%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

/* ---------------- Base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--ff-body); letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; font-feature-settings: "calt" 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--onyx); text-wrap: balance; }
p { text-wrap: pretty; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green-100); color: var(--onyx); }
[hidden] { display: none !important; }
main { display: block; position: relative; z-index: 1; }
main:focus { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); font: 700 14px var(--ff-display); transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(880px + var(--gutter) * 2); }

/* Framed column: two hairline rails down the page (wide screens only), crossed by section rules. */
.rails { position: fixed; inset: 0; pointer-events: none; z-index: 0; display: none; }
.rails::before, .rails::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: #efefef; }
.rails::before { left: calc(50% - 640px); }
.rails::after { right: calc(50% - 640px); }
@media (min-width: 1360px) { .rails { display: block; } }

.sec { position: relative; border-top: 1px solid var(--line); }
.sec-pad { padding-block: 88px; }
@media (min-width: 900px) { .sec-pad { padding-block: 120px; } }
@media (min-width: 1360px) {
    .sec::before, .sec::after { content: ''; position: absolute; top: -5px; width: 9px; height: 9px; z-index: 2;
        background: linear-gradient(#bdbdbd 0 0) center / 1px 100% no-repeat, linear-gradient(#bdbdbd 0 0) center / 100% 1px no-repeat; }
    .sec::before { left: calc(50% - 644px); }
    .sec::after { right: calc(50% - 644px); }
    .sec.no-cross::before, .sec.no-cross::after { display: none; }
}

/* ---------------- Type ---------------- */
.display { font: 750 clamp(40px, 6.4vw, 76px)/1.03 var(--ff-display); letter-spacing: -0.045em; }
.nowrap { white-space: nowrap; }
.h2 { font: 700 clamp(34px, 4.6vw, 56px)/1.06 var(--ff-display); letter-spacing: -0.04em; }
.h3 { font: 700 clamp(22px, 2.3vw, 28px)/1.2 var(--ff-display); letter-spacing: -0.028em; }
.h4 { font: 700 18px/1.3 var(--ff-display); letter-spacing: -0.02em; }
.tone { background: var(--tone-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 17px; line-height: 1.55; color: var(--slate); letter-spacing: -0.012em; }
@media (min-width: 900px) { .lede { font-size: 19px; } }
.muted { color: var(--slate); }
.mono { font-family: var(--ff-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.mono-lc { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0; color: var(--ash); }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.center .lede, .lede.center { margin-inline: auto; }
.mw-640 { max-width: 640px; }
.mw-720 { max-width: 720px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-xs { width: 14px; height: 14px; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; }

/* ---------------- Buttons ---------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font: 700 14px/1 var(--ff-display); letter-spacing: -0.01em; white-space: nowrap; user-select: none; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 16px; height: 16px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfcfcf; background: var(--mist); }
.btn-soft { background: rgba(0, 0, 0, .05); color: var(--ink); }
.btn-soft:hover { background: rgba(0, 0, 0, .09); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f1; }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--ff-display); color: var(--ink); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }
.u-link { text-decoration: underline; text-decoration-color: var(--cloud); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .15s; }
.u-link:hover { text-decoration-color: var(--green); }

/* The spectrum ring: a 2px rotating conic border plus a soft glow behind. Used once per section. */
.ring { --ring-fill: var(--ink); border: 2px solid transparent; background: linear-gradient(var(--ring-fill), var(--ring-fill)) padding-box, var(--spectrum) border-box; animation: spin 4.5s linear infinite; }
.ring::after { content: ''; position: absolute; inset: 3px; z-index: -1; border-radius: inherit; background: var(--spectrum); filter: blur(14px); opacity: .5; animation: spin 4.5s linear infinite; pointer-events: none; }
.btn.ring:hover { --ring-fill: #000; background: linear-gradient(var(--ring-fill), var(--ring-fill)) padding-box, var(--spectrum) border-box; }
@keyframes spin { to { --angle: 360deg; } }

/* ---------------- Pills, tags, status ---------------- */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 14px 4px 5px; line-height: 1.3; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font: 600 13px/1 var(--ff-body); color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s, background-color .15s; }
.pill:hover { border-color: #d7d7d7; }
.pill .ico { width: 14px; height: 14px; color: var(--ash); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font: 500 10px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: #fff; }
.tag-green { background: var(--green-100); color: #1f6b2b; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font: 600 13.5px/1 var(--ff-body); color: var(--ink); white-space: nowrap; }
.chip .ico { width: 15px; height: 15px; }
.status { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 9px; border-radius: var(--r-pill); font: 600 11px/1 var(--ff-body); letter-spacing: .01em; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-done { background: #dcfaec; color: #0b7a4b; }
.st-progress { background: var(--blue); color: #fff; }
.st-progress::before { background: #fff; }
.st-new { background: #e7f2ff; color: #0063c4; }
.st-overdue { background: #ffe4e6; color: #c42b35; }
.st-wait { background: #f1f1f1; color: #5c5c5c; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(98, 191, 82, .18); flex: none; }

/* Coloured icon tile (feature labels, mega menu, tabs) */
.tile { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; color: #fff; background: var(--green); }
.tile .ico { width: 18px; height: 18px; }
.tile-sm { width: 22px; height: 22px; border-radius: 7px; }
.tile-sm .ico { width: 13px; height: 13px; }
.t-green { background: linear-gradient(140deg, #79cf69, #43a836); }
.t-teal { background: linear-gradient(140deg, #34d3b6, #0e9f88); }
.t-blue { background: linear-gradient(140deg, #3aa9ff, #0071e3); }
.t-violet { background: linear-gradient(140deg, #8b74ff, #5b3ee6); }
.t-ink { background: linear-gradient(140deg, #3a3a3a, #111); }

/* ---------------- Announcement bar + header ---------------- */
.announce { position: relative; z-index: 51; background: var(--mist); border-bottom: 1px solid var(--line); font-size: 13px; }
.announce a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 6px 0; color: var(--carbon); text-align: center; }
.announce b { font-weight: 700; color: var(--ink); }
.announce .tag { height: 20px; background: var(--green-100); color: #1f6b2b; }
.announce .ico { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.announce a:hover .ico { transform: translateX(3px); }
.announce .long { display: none; }
@media (min-width: 640px) { .announce .long { display: inline; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .94); }
.nav-bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--ff-display); letter-spacing: -0.035em; color: var(--onyx); flex: none; }
.brand-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(150deg, #74cc64, #4fb13f); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12), 0 1px 2px rgba(31, 107, 43, .25); flex: none; }
.brand-mark::after { content: ''; width: 10px; height: 10px; background: #fff; border-radius: 2px; transform: rotate(45deg); }
.nav-links { display: none; align-items: center; gap: 2px; margin-left: 8px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: var(--r-pill); font: 500 14.5px/1 var(--ff-body); color: var(--carbon); transition: background-color .15s, color .15s; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current="true"] { background: rgba(0, 0, 0, .045); color: var(--ink); }
.nav-link .ico-xs { color: var(--ash); transition: transform .2s var(--ease); }
.nav-item:hover .nav-link .ico-xs, .nav-item.is-open .nav-link .ico-xs { transform: rotate(180deg); }
.nav-new { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.nav-cta { display: none; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill); margin-left: auto; background: rgba(0, 0, 0, .05); }
.menu-btn .ico { width: 20px; height: 20px; }
@media (min-width: 1024px) {
    .nav-links, .nav-cta { display: flex; }
    .menu-btn { display: none; }
}

/* Mega menu: opens on hover / keyboard focus with no JS; site.js adds Escape and closes it after a link is used. */
.mega { position: absolute; left: -12px; top: calc(100% + 10px); width: min(860px, calc(100vw - 48px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .mega, .nav-item:focus-within .mega, .nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-item.is-closed .mega { opacity: 0; visibility: hidden; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 250px; gap: 4px; }
.mega-col { padding: 6px; }
.mega-h { padding: 8px 10px 6px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; transition: background-color .15s; }
.mega-item:hover, .mega-item:focus-visible { background: var(--mist); }
.mega-item b { display: block; font: 600 14px/1.3 var(--ff-body); color: var(--ink); }
.mega-item span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--ash); margin-top: 2px; }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; padding: 16px; border-radius: 14px; overflow: hidden; color: #fff; background: #0c0f0d; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .6s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .82)); }
.mega-feature > * { position: relative; z-index: 1; }
.mega-feature b { font: 700 17px/1.2 var(--ff-display); letter-spacing: -0.02em; margin-top: 8px; }
.mega-feature span { font-size: 12.5px; color: #cfcfcf; margin-top: 4px; }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu nav { padding: 8px 0 20px; }
.mobile-menu .m-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line); font: 600 16px var(--ff-display); letter-spacing: -0.015em; }
.mobile-menu .m-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .m-sub a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font: 500 14px var(--ff-body); }
.mobile-menu .m-cta { display: flex; gap: 10px; padding-top: 18px; }
.mobile-menu .m-cta .btn { flex: 1; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding-top: 56px; overflow: clip; }
@media (min-width: 900px) { .hero { padding-top: 84px; } }
.hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 720px; z-index: -1; pointer-events: none;
    background-image: linear-gradient(to right, rgba(16, 26, 18, .055) 1px, transparent 1px), linear-gradient(to bottom, rgba(16, 26, 18, .055) 1px, transparent 1px);
    background-size: 56px 56px; background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); }
.hero-copy { max-width: 1040px; }
.hero h1 { margin-top: 22px; }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 22px; max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 32px; }
.hero-actions .fine { font-size: 12.5px; line-height: 1.35; color: var(--ash); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--slate); }
.checks b { color: var(--ink); font-weight: 600; }
.checks .ico { width: 18px; height: 18px; color: var(--green-600); }

/* Product stage: tabs in a curved notch, a browser frame holding the live demo, and a caption bar */
.stage { position: relative; margin-top: 56px; }
@media (min-width: 900px) { .stage { margin-top: 72px; } }
.stage::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 120px; width: 100vw; transform: translateX(-50%); z-index: -2;
    background: radial-gradient(45% 70% at 10% 35%, rgba(98, 191, 82, .11), transparent 70%), radial-gradient(45% 70% at 90% 35%, rgba(0, 145, 255, .08), transparent 70%), linear-gradient(#f2f4f2, #f6f7f6 55%, #fff); }
.stage-notch { position: relative; margin-inline: auto; padding: 10px 0 14px; }
.stage-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.stage-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
    /* A white tongue drops out of the page into the band; S-curved shoulders join it to the band's top edge. */
    .stage-notch { width: max-content; padding: 12px 22px 18px; background: #fff; }
    .stage-notch::before, .stage-notch::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; background: no-repeat 0 0 / 100% 100%; }
    .stage-notch::before { right: calc(100% - 1px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0C66 0 54 64 120 64V0Z' fill='%23fff'/%3E%3C/svg%3E"); }
    .stage-notch::after { left: calc(100% - 1px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0V64C66 64 54 0 120 0Z' fill='%23fff'/%3E%3C/svg%3E"); }
    .stage-tabs { justify-content: center; margin-inline: 0; padding: 0; overflow: visible; }
}
.s-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 9px; border-radius: 10px; border: 1px solid transparent; background: #f1f2f1; font: 600 14px/1 var(--ff-body); color: var(--slate); white-space: nowrap; overflow: hidden; transition: color .15s, background-color .15s, border-color .15s, box-shadow .2s; }
.s-tab:hover { color: var(--ink); background: #ebedeb; }
.s-tab[aria-selected="true"] { color: var(--ink); background: #fff; border-color: #e2e5e2; box-shadow: 0 1px 2px rgba(16, 26, 18, .06), 0 4px 10px -4px rgba(16, 26, 18, .14); }
.s-tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.s-tab[aria-selected="true"] .prog { transform: scaleX(var(--p, 0)); }

.stage-frame { position: relative; margin-top: 22px; }
.stage-frame::before { content: ''; position: absolute; inset: 6% 4% -2%; border-radius: 40px; background: conic-gradient(from 200deg, #62bf52, #2dd4bf, #38bdf8, #6366f1, #62bf52); filter: blur(60px); opacity: .22; z-index: -1; }
.browser { position: relative; border-radius: var(--r-img); border: 1px solid #e3e3e3; background: #fff; box-shadow: var(--shadow-lift); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid #ececec; background: #fafafa; }
.browser-bar .dots { display: flex; gap: 6px; flex: none; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2e2; }
.browser-bar .url { flex: 1; display: flex; justify-content: center; min-width: 0; }
.browser-bar .url span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 24px; padding: 0 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid #ececec; font: 400 11.5px/1 var(--ff-mono); color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar .url .ico { width: 11px; height: 11px; color: var(--green-600); flex: none; }
.browser-bar .spacer { width: 42px; flex: none; }
.screens { position: relative; aspect-ratio: 16 / 10; background: #f5f6f5; }
.screens .screen { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.screens .screen.is-active { opacity: 1; }
.screens .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.av-1 { background: #3aa9ff; } .av-2 { background: #8b74ff; } .av-3 { background: #34d3b6; } .av-4 { background: #f472b6; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.stage-caption { position: relative; z-index: 4; width: min(820px, 94%); margin: -34px auto 0; padding: 12px 12px 12px 14px; border-radius: 16px; background: #1b1d1b; color: #fff; box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .55); }
.stage-caption .tile { background: rgba(255, 255, 255, .09); color: #fff; }
.stage-caption .cap-x { flex: 1; min-width: 0; }
.stage-caption .cap-t { display: block; font: 700 15px/1.25 var(--ff-display); letter-spacing: -0.015em; }
.stage-caption .cap-d { display: block; font-size: 13px; line-height: 1.45; color: #b3b3b3; margin-top: 2px; }
.stage-caption .btn { flex: none; }
.stage-caption [data-cap] { display: none; align-items: center; gap: 14px; }
.stage-caption [data-cap].is-active { display: flex; animation: capin .45s var(--ease); }
@keyframes capin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) { .stage-caption { width: 100%; margin-top: 12px; } .stage-caption [data-cap].is-active { flex-wrap: wrap; } .stage-caption .cap-x { flex: 1 1 calc(100% - 52px); } .stage-caption .btn { margin-left: 48px; } }

/* ---------------- Hero live demo: the SolarERP admin rebuilt in HTML ----------------
   .dm is a fixed 1200×750 canvas (940 wide when compact) scaled to the frame by site.js. */
.demo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f5f7; }
.dm { --dm-w: 1200px; position: absolute; left: 0; top: 0; width: var(--dm-w); height: calc(var(--dm-w) * .625); transform: scale(var(--dm-s, 1)); transform-origin: 0 0; display: grid; grid-template-columns: 60px 216px minmax(0, 1fr); background: #f4f5f7; font: 400 13px/1.4 var(--ff-body); color: #1f2937; letter-spacing: 0; text-align: left; user-select: none; }
.dm.is-compact { --dm-w: 940px; grid-template-columns: 60px 0 minmax(0, 1fr); }
.dm.is-compact .dm-side { visibility: hidden; padding: 0; border: 0; }
.dm .ico { width: 16px; height: 16px; }
.dm b { font-weight: 600; }
.dm small { display: block; font-size: 11px; font-weight: 400; color: #8a919c; }
.dm .is-pressed { transform: scale(.95); }

.dm-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; background: #fff; border-right: 1px solid #eceef1; }
.dm-logo { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 10px; background: linear-gradient(150deg, #74cc64, #4fb13f); }
.dm-logo::after { content: ''; width: 12px; height: 12px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.dm-ri { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #6b7280; transition: background-color .35s, color .35s; }
.dm-ri .ico { width: 18px; height: 18px; }
.dm-ri-end { margin-top: auto; }
.dm[data-scene="leads"] .dm-ri[data-k="crm"], .dm[data-scene="projects"] .dm-ri[data-k="epc"], .dm[data-scene="net-metering"] .dm-ri[data-k="epc"],
.dm[data-scene="finance"] .dm-ri[data-k="fin"], .dm[data-scene="ask-solar"] .dm-ri[data-k="ai"] { background: #eaf6e7; color: #2f8a3a; }

.dm-side { padding: 16px 12px; background: #fff; border-right: 1px solid #eceef1; overflow: hidden; }
.dm-co { display: flex; align-items: center; gap: 8px; padding: 4px 10px 12px; font: 700 15px/1 var(--ff-display); letter-spacing: -0.02em; color: #111827; }
.dm-erp { padding: 3px 6px; border-radius: 5px; background: #e3f4df; color: #2f8a3a; font: 700 9px/1 var(--ff-body); letter-spacing: .06em; }
.dm-sec { padding: 13px 10px 5px; font: 600 10px/1 var(--ff-body); letter-spacing: .08em; text-transform: uppercase; color: #9aa1ab; }
.dm-item { display: flex; align-items: center; gap: 10px; height: 33px; padding: 0 10px; border-radius: 9px; font-weight: 500; color: #374151; transition: background-color .35s, color .35s, box-shadow .35s; }
.dm-item .ico { color: #8a919c; transition: color .35s; }
.dm-item .n { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: #f1f3f5; color: #4b5563; font: 600 10.5px/1.3 var(--ff-body); transition: background-color .35s, color .35s; }
.dm[data-scene="leads"] .dm-item[data-k="leads"], .dm[data-scene="projects"] .dm-item[data-k="projects"], .dm[data-scene="net-metering"] .dm-item[data-k="net-metering"],
.dm[data-scene="finance"] .dm-item[data-k="finance"], .dm[data-scene="ask-solar"] .dm-item[data-k="ask-solar"] { background: #eef8ec; color: #2f8a3a; box-shadow: inset 2px 0 0 #47a53a; }
.dm[data-scene="leads"] .dm-item[data-k="leads"] .ico, .dm[data-scene="projects"] .dm-item[data-k="projects"] .ico, .dm[data-scene="net-metering"] .dm-item[data-k="net-metering"] .ico,
.dm[data-scene="finance"] .dm-item[data-k="finance"] .ico, .dm[data-scene="ask-solar"] .dm-item[data-k="ask-solar"] .ico { color: #2f8a3a; }
.dm[data-scene="leads"] .dm-item[data-k="leads"] .n, .dm[data-scene="projects"] .dm-item[data-k="projects"] .n, .dm[data-scene="net-metering"] .dm-item[data-k="net-metering"] .n { background: #d7f0d1; color: #2f8a3a; }

.dm-main { display: flex; flex-direction: column; min-width: 0; }
.dm-top { display: flex; align-items: center; gap: 12px; flex: none; height: 58px; padding: 0 22px; background: #fff; border-bottom: 1px solid #eceef1; }
.dm-crumb { font-size: 13px; color: #8a919c; white-space: nowrap; }
.dm-crumb span { margin: 0 4px; }
.dm-crumb b { color: #111827; }
.dm-search { display: flex; align-items: center; gap: 8px; width: 250px; height: 34px; margin-left: auto; padding: 0 10px 0 12px; border-radius: 9px; border: 1px solid #eceef1; background: #f7f8fa; font-size: 12.5px; color: #9aa1ab; }
.dm-search kbd { margin-left: auto; font: 500 10.5px var(--ff-mono); color: #9aa1ab; }
.dm-plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #22a447; color: #fff; }
.dm-bell { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: #4b5563; }
.dm-bell i { position: absolute; right: 8px; top: 7px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; background: #e5484d; }
.dm-me { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.dm-me b { display: block; color: #111827; }
.dm-me small { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; }
.dm-av { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; color: #fff; font: 700 10px/1 var(--ff-body); }
.dm-av.av-g { width: 30px; height: 30px; background: #47a53a; font-size: 11px; }

.dm-body { position: relative; flex: 1; min-height: 0; }
.dm-page { position: absolute; inset: 0; padding: 20px 22px; overflow: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.dm-page.is-active { opacity: 1; transform: none; }
.dm-h { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dm-h > div:first-child { margin-right: auto; min-width: 0; }
.dm-h h4 { font: 700 20px/1.2 var(--ff-display); letter-spacing: -0.025em; color: #111827; }
.dm-h p { margin-top: 2px; font-size: 12px; color: #8a919c; }
.dm-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid #e3e6ea; background: #fff; color: #374151; font: 600 12px/1 var(--ff-body); white-space: nowrap; transition: transform .12s, background-color .25s, color .25s, border-color .25s; }
.dm-btn .ico { width: 14px; height: 14px; }
.dm-btn.g { border-color: #22a447; background: #22a447; color: #fff; }
.dm-btn.sm { height: 26px; padding: 0 9px; font-size: 11.5px; }
.dm-btn.wide { justify-content: center; width: 100%; height: 36px; margin-top: 12px; }
.dm-btn.is-ok { border-color: #bfe6c7; background: #e8f7ec; color: #1f7a35; }
.dm-chip { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 11px; border-radius: 8px; border: 1px solid #e3e6ea; background: #fff; font-size: 12px; color: #6b7280; white-space: nowrap; transition: opacity .4s; }
.dm-chip b { color: #111827; }
.dm-chip.red { border-color: #fecdd3; background: #fff1f2; color: #c42b35; font-weight: 600; }
.dm-filters { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dm-find { display: flex; align-items: center; gap: 7px; width: 220px; height: 30px; margin-left: auto; padding: 0 10px; border-radius: 8px; border: 1px solid #e3e6ea; background: #fff; font-size: 12px; color: #9aa1ab; }
.dm-find .ico { width: 14px; height: 14px; }
.dm-card { border: 1px solid #eceef1; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.dm-pad { padding: 16px; }
.dm-ct { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font: 700 13px/1.3 var(--ff-display); color: #111827; }
.dm-ct.mt { margin-top: 16px; }
.dm-ct b { font: 700 15px var(--ff-display); }
.dm-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 700 10px/1 var(--ff-body); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.p-new { background: #e7f0ff; color: #2563eb; } .p-con { background: #efeaff; color: #5b3ee6; } .p-sur { background: #dcfaf3; color: #0e7f6c; } .p-pro { background: #e3f4df; color: #2f8a3a; }
.p-soft, .p-d, .p-live, .p-age { text-transform: none; letter-spacing: 0; }
.p-soft, .p-d { background: #f1f3f5; color: #4b5563; } .p-up, .p-live { background: #e3f4df; color: #2f8a3a; } .p-age { background: #fff1f2; color: #c42b35; }

/* Leads */
.dm-tbl { overflow: hidden; }
.dm-tr { display: grid; grid-template-columns: 96px 1.35fr 1.25fr .9fr .85fr .6fr 1.05fr; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-top: 1px solid #f0f1f3; font-size: 12.5px; color: #4b5563; }
.dm-tr > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-tr.th { height: 38px; border-top: 0; background: #fafbfc; font: 600 11px/1 var(--ff-body); color: #6b7280; }
.dm-tr .id { font: 500 11px var(--ff-mono); color: #6b7280; }
.dm-tr .nm b { color: #111827; }
.dm-tr .nm small { font-size: 10.5px; }
.src { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #f4f5f7; font-size: 11px; color: #4b5563; }
.dm-score { font-weight: 600; color: #9aa1ab; transition: color .35s; }
.dm-score.is-hot { color: #e5484d; animation: dmPulse .8s ease 2; }
.dm-who { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: #374151; }
.dm-none { color: #b0b5bd; }
.dm-new { height: 0; overflow: hidden; border-top-width: 0; transition: height .45s var(--ease); }
.dm-new.is-in { height: 52px; border-top-width: 1px; animation: dmFlash 2.6s ease; }
.dm-new.is-open, .dm-new.is-open > .dm-assign { overflow: visible; }
.dm-assign { position: relative; display: inline-flex; }
.dm-assign .dm-who { display: none; }
.dm-assign.is-done .dm-btn { display: none; }
.dm-assign.is-done .dm-who { display: inline-flex; animation: dmPop .4s var(--ease); }
.dm-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; width: 200px; padding: 6px; border-radius: 12px; border: 1px solid #e3e6ea; background: #fff; box-shadow: 0 18px 40px -16px rgba(16, 24, 40, .35); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .2s, transform .2s; }
.dm-assign.is-open .dm-menu { opacity: 1; transform: none; }
.mi { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; font-weight: 600; color: #111827; transition: background-color .2s; }
.mi.is-hover { background: #f1f3f5; }

/* Projects */
.dm-pay { display: grid; gap: 6px; min-width: 270px; font-size: 12px; color: #6b7280; }
.dm-pay b { color: #111827; }
.dm-bar { height: 8px; overflow: hidden; border-radius: 999px; background: #eef0f2; }
.dm-bar i { display: block; width: 70%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #62bf52, #2fb57a); }
.dm-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 14px 18px; }
.dm-steps .st { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--ff-body); color: #9aa1ab; white-space: nowrap; transition: color .35s; }
.dm-steps .st i { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d5d9de; background: #fff; transition: border-color .35s, background-color .35s, box-shadow .35s; }
.dm-steps .st.done, .dm-steps .st.now { color: #111827; }
.dm-steps .st.done i { border-color: #47a53a; background: #47a53a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dm-steps .st.now i { border-color: #47a53a; box-shadow: 0 0 0 5px rgba(98, 191, 82, .18); }
.dm-steps .st.now i::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #47a53a; animation: dmPulse 1.6s ease infinite; }
.dm-steps .ln { flex: 1; min-width: 14px; height: 2px; border-radius: 2px; background: #e3e6ea; transition: background-color .5s; }
.dm-steps .ln.on { background: #47a53a; }
.dm-grid2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.dm-chk { display: flex; align-items: center; gap: 11px; padding: 8px 4px; border-top: 1px solid #f0f1f3; font-weight: 500; color: #111827; }
.dm-chk > i { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #d5d9de; transition: border-color .25s, background-color .25s, transform .12s; }
.dm-chk.is-done > i { border-color: #47a53a; background: #47a53a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dm-chk.is-done > span { color: #6b7280; }
.dm-thumbs { display: none; gap: 6px; margin-top: 8px; }
.dm-thumbs.is-in { display: flex; animation: dmPop .45s var(--ease); }
.dm-thumbs span { position: relative; width: 56px; height: 40px; overflow: hidden; border-radius: 8px; background: linear-gradient(170deg, #b9d7f2 0 38%, #ddd6c9 38% 100%); }
.dm-thumbs span::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 7px; height: 14px; border-radius: 2px; background: repeating-linear-gradient(90deg, #22344a 0 7px, #3b5372 7px 8px); transform: skewX(-12deg); }
.dm-team { display: flex; gap: 22px; }
.dm-team .dm-who small { font-size: 10.5px; }
.dm-mat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid #f0f1f3; font-size: 12px; color: #374151; }
.dm-mat small { font: 400 10.5px var(--ff-mono); }
.dm-next { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; border: 1px dashed #d5d9de; font-weight: 600; color: #374151; transition: border-color .4s, background-color .4s; }
.dm-next.is-on { border-style: solid; border-color: #bfe6c7; background: #f2fbf3; }

/* Net-metering board */
.dm-kan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dm-col { min-height: 470px; padding: 10px; border-radius: 12px; background: #eceef1; }
.dm-colh { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 10px; font: 700 12px/1.2 var(--ff-display); color: #374151; }
.dm-colh .c { padding: 2px 8px; border-radius: 999px; background: #fff; font: 600 11px var(--ff-body); color: #4b5563; }
.dm-k { display: grid; gap: 4px; margin-bottom: 8px; padding: 11px 12px; border-radius: 10px; border: 1px solid #e3e6ea; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: height .35s var(--ease), padding .35s var(--ease), margin .35s var(--ease), opacity .25s, border-color .35s, box-shadow .35s; }
.dm-k b { color: #111827; }
.dm-k .row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.dm-k.is-alert { border-color: #fecdd3; box-shadow: 0 0 0 3px rgba(229, 72, 77, .12); animation: dmShake .5s ease; }
.dm-k.is-gone { height: 0 !important; margin: 0; padding-block: 0; border-width: 0; opacity: 0; overflow: hidden; }
.dm-k.is-landed { border-color: #9fd795; box-shadow: 0 0 0 3px rgba(98, 191, 82, .16); animation: dmLand .6s var(--ease); }
.dm-sla { padding: 3px 7px; border-radius: 6px; background: #f4f5f7; font: 600 10.5px var(--ff-mono); color: #6b7280; transition: background-color .4s, color .4s; }
.dm-sla.bad { background: #ffe4e6; color: #c42b35; }
.dm-sla.ok { background: #e3f4df; color: #2f8a3a; }
.dm-drop { height: 0; border-radius: 10px; border: 2px dashed transparent; transition: height .35s var(--ease), margin .35s var(--ease), border-color .3s, background-color .3s; }
.dm-drop.is-open { margin-bottom: 8px; border-color: #9fd795; background: #f2fbf0; }
.dm-ghost { position: absolute; left: 0; top: 0; z-index: 15; margin: 0; pointer-events: none; animation: none !important; box-shadow: 0 24px 44px -16px rgba(16, 24, 40, .45); transition-property: transform; transition-timing-function: cubic-bezier(.45, .05, .25, 1); }

/* Finance */
.dm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.dm-kpis .dm-card { position: relative; padding: 14px 16px; }
.dm-kpis small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.dm-kpis b { display: block; margin-top: 6px; font: 700 22px/1.1 var(--ff-display); letter-spacing: -0.02em; color: #111827; }
.dm-kpis b.up { color: #1f7a35; }
.dm-kpis .dm-pill { position: absolute; right: 14px; top: 14px; }
.dm-grid2.fin { grid-template-columns: 1fr 1.1fr; }
.dm-recv { display: flex; align-items: center; gap: 22px; padding-top: 6px; }
.dm-donut { flex: none; width: 170px; height: 170px; transform: rotate(-90deg); }
.dm-donut circle { fill: none; stroke-width: 16; stroke-dasharray: 0 289; stroke-dashoffset: var(--off); transition: stroke-dasharray 1.1s var(--ease); }
.dm-donut .bg { stroke: #eef0f2; stroke-dasharray: none; }
.dm-donut.is-in circle:not(.bg) { stroke-dasharray: var(--len) 289; }
.dm-donut.is-in .s2 { transition-delay: .2s; } .dm-donut.is-in .s3 { transition-delay: .4s; } .dm-donut.is-in .s4 { transition-delay: .6s; }
.dm-donut .s1 { stroke: #47a53a; } .dm-donut .s2 { stroke: #16c0a4; } .dm-donut .s3 { stroke: #3aa9ff; } .dm-donut .s4 { stroke: #e5484d; }
.dm-legend { display: grid; flex: 1; gap: 10px; }
.dm-legend li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 9px; font-size: 12px; color: #4b5563; }
.dm-legend i { width: 10px; height: 10px; border-radius: 3px; }
.dm-legend .s1 { background: #47a53a; } .dm-legend .s2 { background: #16c0a4; } .dm-legend .s3 { background: #3aa9ff; } .dm-legend .s4 { background: #e5484d; }
.dm-legend b { color: #111827; }
.dm-debt { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f1f3; font-size: 12px; }
.dm-debt b { color: #111827; }
.dm-debt .amt { font: 700 13px var(--ff-display); }

/* Ask Solar */
.dm-chat { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 14px; border: 1px solid #eceef1; background: #fff; }
.dm-chat-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #f0f1f3; }
.dm-chat-h b { margin-right: auto; font: 700 14px var(--ff-display); color: #111827; }
.dm-thread { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 18px 22px; overflow: hidden; background: #fbfbfc; }
.dm-msg { display: none; max-width: 72%; padding: 11px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.dm-msg.is-in { display: block; animation: dmRise .4s var(--ease); }
.dm-msg.ai { align-self: flex-start; border: 1px solid #eceef1; border-top-left-radius: 4px; background: #fff; color: #1f2937; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.dm-msg.me { align-self: flex-end; border-top-right-radius: 4px; background: #202020; color: #fff; }
.dm-msg.typing.is-in { display: inline-flex; gap: 4px; padding: 14px 16px; }
.dm-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa1ab; animation: dmDot 1s ease infinite; }
.dm-msg.typing i:nth-child(2) { animation-delay: .15s; } .dm-msg.typing i:nth-child(3) { animation-delay: .3s; }
.dm-msg p { margin-bottom: 2px; }
.dm-visit { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 10px; margin-top: 8px; padding: 9px 10px; border-radius: 10px; border: 1px solid #eef0f2; background: #f7f8fa; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.dm-visit.is-in { opacity: 1; transform: none; }
.dm-visit .t { font: 600 12px var(--ff-mono); color: #2f8a3a; }
.dm-sugg { display: flex; gap: 8px; margin-top: 12px; opacity: 0; transition: opacity .35s; }
.dm-sugg.is-in { opacity: 1; }
.dm-chipb { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #d7ead3; background: #f2fbf0; color: #1f7a35; font: 600 12px var(--ff-body); transition: background-color .25s, color .25s, border-color .25s, transform .12s; }
.dm-chipb.is-ok { border-color: #22a447; background: #22a447; color: #fff; }
.dm-input { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid #f0f1f3; background: #fff; }
.dm-input .ph { display: flex; flex: 1; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid #e3e6ea; font-size: 12.5px; color: #9aa1ab; }
.dm-mic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e3e6ea; color: #374151; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .12s; }
.dm-mic.is-on { border-color: #e5484d; background: #e5484d; color: #fff; box-shadow: 0 0 0 6px rgba(229, 72, 77, .18); animation: dmPulse 1s ease infinite; }

/* Toasts, cursor, click ripple */
.dm-toasts { position: absolute; right: 18px; top: 14px; z-index: 12; display: grid; gap: 8px; width: 310px; pointer-events: none; }
.dm-toast { display: flex; align-items: center; gap: 11px; padding: 11px 14px 11px 11px; border-radius: 12px; background: #16181a; color: #fff; font-size: 12.5px; box-shadow: 0 16px 32px -14px rgba(0, 0, 0, .5); animation: dmToastIn .45s var(--ease) both; }
.dm-toast .i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: rgba(98, 191, 82, .2); color: #8fe07f; }
.dm-toast b { color: #fff; }
.dm-toast small { margin-top: 1px; color: #9ca3af; }
.dm-toast.is-out { animation: dmToastOut .35s ease both; }
.dm-cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 24px; height: 24px; margin: -3px 0 0 -3px; opacity: 0; pointer-events: none; transform: translate(940px, 640px); transition: transform .8s cubic-bezier(.45, .05, .25, 1), opacity .3s; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.dm-cursor.is-on { opacity: 1; }
.dm-cursor svg { transform-origin: 3px 3px; transition: transform .12s; }
.dm-cursor.is-down svg { transform: scale(.82); }
.dm-ripple { position: absolute; left: 0; top: 0; z-index: 19; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(98, 191, 82, .35); pointer-events: none; animation: dmRipple .55s ease-out forwards; }
@keyframes dmRipple { from { opacity: 1; scale: .3; } to { opacity: 0; scale: 1.6; } }
@keyframes dmToastIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes dmToastOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes dmPulse { 50% { opacity: .55; } }
@keyframes dmPop { from { opacity: 0; transform: scale(.92); } }
@keyframes dmRise { from { opacity: 0; transform: translateY(8px); } }
@keyframes dmFlash { 0%, 45% { background-color: #eaf7e6; } 100% { background-color: transparent; } }
@keyframes dmLand { from { transform: scale(1.03); } }
@keyframes dmShake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
@keyframes dmDot { 50% { opacity: .3; transform: translateY(-2px); } }

/* Trust strip + marquee */
.trust { display: grid; gap: 18px; align-items: center; padding: 44px 0 56px; }
@media (min-width: 900px) { .trust { grid-template-columns: 240px 1fr; gap: 32px; } }
.trust .mono { line-height: 1.6; }
.trust .mono b { color: var(--ink); font-weight: 500; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.wm { display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1 var(--ff-display); letter-spacing: -0.03em; color: #8f938f; white-space: nowrap; }
.wm .ico { width: 18px; height: 18px; }
.wm small { font: 500 10px/1 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: #b0b3b0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Problem: the tangle ---------------- */
.problem .knot { position: relative; margin: 56px calc(var(--gutter) * -1) 0; }
@media (min-width: 1100px) { .problem .knot { margin-inline: -60px; } }
.knot-inner { position: relative; }
.knot-img { width: 100%; height: auto; aspect-ratio: 1400 / 340; }
.knot-tag { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(16, 26, 18, .35); font: 600 12.5px/1 var(--ff-body); color: var(--carbon); white-space: nowrap; transform: translate(-50%, -50%); animation: bobc 6s ease-in-out infinite; }
.knot-tag .ico { width: 15px; height: 15px; }
.knot-tag.q { border-radius: 14px 14px 14px 4px; font-weight: 500; color: var(--slate); }
.knot-tag:nth-child(2n) { animation-delay: -2s; }
.knot-tag:nth-child(3n) { animation-delay: -4s; }
@keyframes bobc { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 7px)); } }
.k-x { color: #1d7a3f; } .k-w { color: #19a35b; } .k-d { color: #a26b2c; } .k-i { color: #1f5fbf; } .k-j { color: #2b6fd6; } .k-f { color: #2f5bd3; }
@media (max-width: 899px) { .knot-tag.opt { display: none; } .knot-tag { font-size: 11px; padding: 6px 9px; } }
@media (max-width: 639px) { .problem .knot { overflow-x: clip; } .knot-inner { width: 150%; margin-left: -25%; } .knot-tag { left: var(--mx, var(--x)); top: var(--my, var(--y)); } .knot-tag.m-off { display: none; } }
.pain { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); text-align: left; }
@media (min-width: 900px) { .pain { grid-template-columns: repeat(3, 1fr); margin-top: 24px; } }
.pain > div { padding: 28px 4px 4px; }
@media (min-width: 900px) { .pain > div { padding: 32px 32px 8px; border-left: 1px solid var(--line); } .pain > div:first-child { border-left: 0; padding-left: 0; } }
.pain h3 { font: 700 24px/1.2 var(--ff-display); letter-spacing: -0.03em; }
.pain p { margin-top: 10px; color: var(--slate); font-size: 15.5px; }
.pain .mono { display: block; margin-bottom: 14px; }

/* ---------------- Module wall ---------------- */
.wall { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 112px; padding: 14px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; font: 500 13px/1.25 var(--ff-body); color: var(--slate); transition: background-color .2s, color .2s; }
.cell .ico { width: 22px; height: 22px; color: #4a4a4a; transition: color .2s, transform .3s var(--ease); }
.cell:hover { background: var(--mist); color: var(--ink); }
.cell:hover .ico { color: var(--green-700); transform: translateY(-2px); }
.feat { grid-column: span 3; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 20px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.feat::before { content: ''; position: absolute; inset: 0; opacity: .9; pointer-events: none; }
.feat.g1::before { background: radial-gradient(80% 60% at 30% 25%, rgba(98, 191, 82, .16), transparent 70%); }
.feat.g2::before { background: radial-gradient(80% 60% at 70% 25%, rgba(0, 145, 255, .13), transparent 70%); }
.feat.g3::before { background: radial-gradient(80% 60% at 30% 25%, rgba(22, 192, 164, .15), transparent 70%); }
.feat.g4::before { background: radial-gradient(80% 60% at 70% 25%, rgba(102, 71, 240, .12), transparent 70%); }
.feat .mini { position: absolute; left: 22px; right: 22px; top: 22px; bottom: 74px; border-radius: 10px; border: 1px solid #e6e6e6; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: transform .5s var(--ease); }
.feat:hover .mini { transform: translateY(-4px); }
.feat .mini img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.7)); transform-origin: var(--o, 60% 30%); }
.feat .mini::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, #fff); }
.feat h3 { position: relative; display: flex; align-items: center; gap: 10px; font: 700 21px/1.1 var(--ff-display); letter-spacing: -0.03em; }
.feat p { position: relative; margin-top: 6px; font-size: 13.5px; color: var(--slate); }
.wall-foot { display: flex; justify-content: center; margin-top: 28px; }
@media (max-width: 899px) { .cell.m-hide { display: none; } }
@media (min-width: 900px) {
    .wall { grid-template-columns: repeat(8, 1fr); grid-auto-flow: dense; margin-inline: -40px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
    .cell { aspect-ratio: 1 / .86; min-height: 0; }
    .feat { grid-column: span 2; grid-row: span 2; min-height: 0; }
    .feat-1 { grid-column: 3 / span 2; grid-row: 2 / span 2; }
    .feat-2 { grid-column: 5 / span 2; grid-row: 2 / span 2; }
    .feat-3 { grid-column: 3 / span 2; grid-row: 4 / span 2; }
    .feat-4 { grid-column: 5 / span 2; grid-row: 4 / span 2; }
}

/* ---------------- Lifecycle feature blocks ---------------- */
.label { display: inline-flex; align-items: center; gap: 9px; font: 600 14px/1 var(--ff-body); color: var(--carbon); }
.feature-head { display: grid; gap: 22px; }
@media (min-width: 900px) { .feature-head { grid-template-columns: 1fr auto; align-items: end; } }
.feature-head .h2 { margin-top: 18px; max-width: 920px; }
.feature-head .lede { margin-top: 16px; max-width: 640px; }
.panel { position: relative; margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.panel-view { position: relative; padding: 28px 18px 0; background: radial-gradient(#dfe2df 1px, transparent 1.2px) 0 0 / 20px 20px, var(--band); overflow: hidden; }
@media (min-width: 900px) { .panel-view { padding: 44px 64px 0; } }
.panel-view .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: 0 -2px 30px -12px rgba(16, 26, 18, .25); }
.panel-view .screens { aspect-ratio: 16 / 8.6; }
.ftabs { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .ftabs { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.ftab { position: relative; display: block; width: 100%; text-align: left; padding: 20px 22px 22px; border-top: 1px solid var(--line); color: var(--ash); transition: background-color .2s; }
.ftab:first-child { border-top: 0; }
@media (min-width: 900px) { .ftab { border-top: 0; border-left: 1px solid var(--line); padding: 24px 26px 28px; } .ftab:first-child { border-left: 0; } }
.ftab:hover { background: var(--mist); }
.ftab::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--green); transform-origin: top; transform: scaleY(0); }
.ftab[aria-selected="true"]::before { transform: scaleY(var(--p, 1)); }
.ftab .ft-t { display: flex; align-items: center; gap: 9px; font: 700 15.5px/1.25 var(--ff-display); letter-spacing: -0.015em; color: var(--slate); transition: color .2s; }
.ftab .ft-t .ico { width: 17px; height: 17px; }
.ftab .ft-d { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ash); transition: color .2s; }
.ftab[aria-selected="true"] .ft-t { color: var(--ink); }
.ftab[aria-selected="true"] .ft-t .ico { color: var(--green-700); }
.ftab[aria-selected="true"] .ft-d { color: var(--slate); }
@media (max-width: 899px) { .ftab:not([aria-selected="true"]) .ft-d { display: none; } }

/* ---------------- Dark panel: SolarERP 3D ---------------- */
.dark-sec { position: relative; z-index: 1; padding: 8px 0; }
@media (min-width: 900px) { .dark-sec { padding: 12px 0; } }
.dark { position: relative; margin: 0 8px; border-radius: 24px; background: #000; background-image: var(--dark-fade); color: #fff; overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .dark { margin: 0 12px; border-radius: 28px; } }
.dark h2, .dark h3 { color: #fff; }
.dark .tone { background: linear-gradient(90deg, #8d918d, #5e625e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .lede, .dark .muted { color: #a9aca9; }
.dark .mono { color: #8a8d8a; }
.dark-grain { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000, transparent 70%); }
.glow { position: absolute; left: 50%; width: 1100px; height: 520px; transform: translateX(-50%); z-index: -1; pointer-events: none; filter: blur(50px); opacity: .55;
    background: radial-gradient(closest-side at 30% 60%, rgba(98, 191, 82, .55), transparent), radial-gradient(closest-side at 55% 50%, rgba(22, 192, 164, .45), transparent), radial-gradient(closest-side at 75% 55%, rgba(0, 145, 255, .45), transparent); }
.s3d { padding: 88px 0 0; }
@media (min-width: 900px) { .s3d { padding-top: 120px; } }
.d3-head { text-align: center; }
.d3-head h2 { margin-top: 22px; }
.d3-head .lede { margin: 18px auto 0; max-width: 700px; }
.d3-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.badge-3d { --ring-fill: #111; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: var(--r-pill); background: #111; color: #fff; font: 600 13px/1 var(--ff-body); }
.badge-3d .tag { background: #fff; color: #000; }
.badge-3d .grad { font-weight: 800; }

.d3-stage { position: relative; margin-top: 56px; }
.sun-arc { position: relative; margin: 0 5% -14px; }
.sun-arc svg { width: 100%; height: auto; overflow: visible; }
.sun-arc .arc { stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; stroke-dasharray: 1 7; stroke-linecap: round; fill: none; }
.sun-arc .t { font: 500 11px var(--ff-mono); fill: #7b7f7b; letter-spacing: .06em; }
.sun-arc .tick { fill: #0b0b0b; stroke: rgba(255, 255, 255, .35); stroke-width: 1; }
.device { position: relative; z-index: 1; padding: 10px; border-radius: 24px; background: linear-gradient(#1c1c1c, #121212); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6); }
.device img { width: 100%; border-radius: 16px; aspect-ratio: 2000 / 1079; object-fit: cover; }
.d3-chip { position: absolute; z-index: 2; display: none; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: var(--r-pill); background: rgba(20, 20, 20, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); font: 600 13px/1 var(--ff-body); color: #fff; white-space: nowrap; animation: bob 7s ease-in-out infinite; }
.d3-chip .tile { width: 26px; height: 26px; border-radius: 50%; }
.d3-chip .tile .ico { width: 14px; height: 14px; }
@media (min-width: 1100px) { .d3-chip { display: inline-flex; } }
.c1 { left: -28px; top: 30%; } .c2 { left: -12px; top: 58%; animation-delay: -2.5s; } .c3 { right: -28px; top: 38%; animation-delay: -1.2s; } .c4 { right: -14px; top: 66%; animation-delay: -4s; }
.d3-strip { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); display: flex; gap: 0; border-radius: 16px; background: rgba(14, 14, 14, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.d3-strip > div { padding: 12px 18px; border-left: 1px solid rgba(255, 255, 255, .08); }
.d3-strip > div:first-child { border-left: 0; }
.d3-strip .k { font: 500 9.5px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: #8a8d8a; }
.d3-strip .v { margin-top: 6px; font: 700 18px/1 var(--ff-display); letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.d3-strip .v small { font: 500 11px var(--ff-body); color: #a0a3a0; margin-left: 3px; letter-spacing: 0; }
@media (max-width: 899px) { .d3-strip { position: static; transform: none; margin-top: 12px; overflow-x: auto; } .d3-strip > div { flex: 1 0 auto; } }

.d3-grid { display: grid; margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .d3-grid { grid-template-columns: repeat(3, 1fr); margin-top: 96px; } }
.d3-cell { position: relative; display: flex; flex-direction: column; padding: 28px 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .d3-cell { padding: 32px 30px 0; border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, .1); } .d3-cell:first-child { border-left: 0; } }
.d3-cell .mono { color: #d4d6d4; }
.d3-cell .mono b { color: var(--green); font-weight: 500; margin-right: 8px; }
.d3-cell p { margin-top: 12px; color: #a9aca9; font-size: 15px; }
.d3-shot { position: relative; margin-top: 26px; height: 280px; overflow: hidden; }
.d3-shot img { position: absolute; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); border: 1px solid rgba(255, 255, 255, .08); transition: transform .6s var(--ease); }
.d3-cell:hover .d3-shot img { transform: translateY(-6px); }
.d3-shot .s-designer { left: 0; top: 0; width: 132%; max-width: none; }
.d3-shot .s-sld { left: 0; top: 0; width: 118%; max-width: none; background: #fff; }
.d3-shot .s-proposal { right: 6%; top: 18px; width: 46%; transform: rotate(4deg); background: #fff; }
.d3-cell:hover .d3-shot .s-proposal { transform: rotate(2deg) translateY(-6px); }
.d3-shot .s-phone { left: 8%; top: 0; width: 44%; border-radius: 20px; }
.d3-shot .s-phone2 { left: 46%; top: 36px; width: 40%; border-radius: 20px; }
.d3-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); }
.d3-foot span { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: #9a9d9a; }
.d3-foot .ico { width: 14px; height: 14px; color: var(--green); }

/* ---------------- Built for India bento ---------------- */
.bento { display: grid; gap: 14px; margin-top: 56px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 16px; } .b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } }
.b { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.b-tint { background: linear-gradient(180deg, #fbfcfb, #f6f8f6); }
.b h3 { font: 700 21px/1.2 var(--ff-display); letter-spacing: -0.028em; margin-top: 14px; }
.b p { margin-top: 8px; font-size: 14.5px; color: var(--slate); }
.b .viz { margin-top: auto; padding-top: 24px; }

.bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 22px; }
.bar { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bar i { display: block; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #7fd170, #4fb13f); transform-origin: bottom; transition: transform 1s var(--ease); }
.bar.cap i { background: linear-gradient(180deg, #b9e6b0, #8fd282); }
.bar b { display: block; margin-bottom: 7px; text-align: center; font: 700 13px/1 var(--ff-display); letter-spacing: -0.01em; color: var(--ink); }
.bar span { display: block; margin-top: 9px; text-align: center; font: 500 10.5px/1 var(--ff-mono); letter-spacing: .04em; color: var(--ash); }
.bars-cap { position: absolute; right: 0; top: 0; font: 500 10px/1 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); }
.reveal-ready .bars:not(.is-in) .bar i { transform: scaleY(.04); }

.gst { display: grid; gap: 8px; }
.gst-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.gst-row .route { font: 600 13.5px/1.3 var(--ff-body); color: var(--ink); }
.gst-row .route small { display: block; font: 400 11.5px var(--ff-mono); color: var(--ash); margin-top: 3px; }
.gst-row .split { display: flex; gap: 4px; }
.gst-row .split span { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: var(--r-pill); font: 600 11.5px/1 var(--ff-body); }
.gst-c { background: #e7f2ff; color: #0063c4; } .gst-s { background: #dcfaec; color: #0b7a4b; } .gst-i { background: #efeaff; color: #5b3ee6; }

.pipe { display: grid; gap: 7px; }
.pipe-row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; font-size: 13px; color: var(--slate); }
.pipe-row .node { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--green); background: #fff; justify-self: center; }
.pipe-row.done .node { background: var(--green); }
.pipe-row.now .node { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.pipe-row.todo .node { border-color: var(--cloud); }
.pipe-row.now { color: var(--ink); font-weight: 600; }
.pipe-row .sla { font: 500 11px/1 var(--ff-mono); color: var(--ash); }

.wa { position: relative; padding: 18px 16px; border-radius: 16px; background: #efeae2; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1.2px); background-size: 14px 14px; }
.wa-b { position: relative; max-width: 300px; padding: 9px 11px 8px; border-radius: 4px 12px 12px 12px; background: #fff; font-size: 13.5px; line-height: 1.45; color: #111b21; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa-b + .wa-b { margin-top: 6px; }
.wa-b .meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 2px; font-size: 10.5px; color: #667781; }
.wa-b .ticks { color: #53bdeb; font-weight: 700; letter-spacing: -2px; }
.wa-b.btn-row { padding: 0; display: flex; border-radius: 12px; overflow: hidden; }
.wa-b.btn-row span { flex: 1; text-align: center; padding: 9px; font-size: 13px; font-weight: 500; color: #027eb5; }
.wa-from { font: 500 10px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: #7a8a80; margin-bottom: 8px; }

.sources { display: flex; flex-wrap: wrap; gap: 8px; }
.into { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font: 600 13.5px/1.3 var(--ff-body); }
.into .ico { width: 16px; height: 16px; color: var(--green); }
.into small { display: block; font: 400 11.5px var(--ff-mono); color: #a4a7a4; margin-top: 2px; }

.own { display: grid; gap: 10px; }
.own-url { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font: 400 13px/1 var(--ff-mono); color: var(--ink); white-space: nowrap; overflow: hidden; }
.own-url .ico { width: 14px; height: 14px; color: var(--green-600); }
.own-url em { font-style: normal; color: var(--green-700); }
.own-li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate); }
.own-li .ico { width: 16px; height: 16px; color: var(--green-600); }

/* ---------------- Ask Solar + staff app ---------------- */
.duo { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1.25fr 1fr; } }
.card { position: relative; border-radius: 24px; border: 1px solid var(--line); background: #fff; overflow: hidden; padding: 30px; display: flex; flex-direction: column; }
@media (min-width: 900px) { .card { padding: 40px; } }
.card h3 { margin-top: 18px; }
.card .lede { margin-top: 12px; font-size: 16px; }
.card-ai { background: radial-gradient(70% 60% at 85% 0%, rgba(102, 71, 240, .09), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(98, 191, 82, .1), transparent 70%), #fff; }
.ai-shot { position: relative; margin-top: 28px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); aspect-ratio: 16 / 9; }
.ai-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform: scale(1.35); transform-origin: 70% 30%; }
.voice { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(20, 20, 20, .9); color: #fff; font-size: 14px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
.voice .mic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #0b100d; }
.voice .mic .ico { width: 16px; height: 16px; }
.wave { display: inline-flex; gap: 2px; align-items: center; height: 16px; }
.wave i { width: 2px; height: 30%; border-radius: 2px; background: #9be38d; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.9s; } .wave i:nth-child(3) { animation-delay: -.7s; } .wave i:nth-child(4) { animation-delay: -.5s; } .wave i:nth-child(5) { animation-delay: -.3s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.ai-points { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 640px) { .ai-points { grid-template-columns: repeat(3, 1fr); } }
.ai-points b { display: block; font: 700 14.5px var(--ff-display); letter-spacing: -0.01em; }
.ai-points p { margin-top: 4px; font-size: 13.5px; color: var(--slate); }

.card-app { background: #0f1210; color: #fff; border-color: #0f1210; }
.card-app h3 { color: #fff; }
.card-app .lede { color: #a9aca9; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 12px 30px -10px rgba(98, 191, 82, .5); }
.app-list { display: grid; gap: 0; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.app-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.app-list .ico { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.app-list b { font: 600 14.5px var(--ff-display); letter-spacing: -0.01em; color: #fff; }
.app-list span { display: block; font-size: 13.5px; color: #9a9d9a; margin-top: 2px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stat { padding: 30px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .stat { padding: 40px 28px 36px; } }
.stat .n { font: 700 clamp(40px, 5vw, 60px)/1 var(--ff-display); letter-spacing: -0.05em; color: var(--onyx); }
.stat .n sup { font-size: .45em; letter-spacing: 0; vertical-align: .9em; margin-left: 2px; color: var(--green-600); }
.stat .k { margin-top: 12px; font-size: 14.5px; color: var(--slate); }
.stat:last-child { grid-column: span 2; }
@media (min-width: 900px) { .stat:last-child { grid-column: auto; } }

/* ---------------- Pricing ---------------- */
.price-wrap { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: #fff; }
.price-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.price-table th, .price-table td { padding: 15px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table thead th { vertical-align: bottom; padding-top: 28px; padding-bottom: 22px; }
.price-table .row-k { width: 26%; font: 600 13px var(--ff-body); color: var(--slate); }
.price-table tbody th[scope="row"] { font-weight: 500; color: var(--carbon); }
.price-table .is-featured { background: #f6faf5; }
.price-table thead .is-featured { position: relative; box-shadow: inset 0 3px 0 var(--green); }
.plan-name { display: flex; align-items: center; gap: 8px; font: 700 21px/1.1 var(--ff-display); letter-spacing: -0.03em; color: var(--onyx); }
.plan-desc { margin-top: 8px; font: 400 13.5px/1.45 var(--ff-body); color: var(--slate); max-width: 260px; }
.plan-price { font: 700 28px/1 var(--ff-display); letter-spacing: -0.04em; color: var(--onyx); white-space: nowrap; }
.plan-price small { display: block; margin-top: 6px; font: 400 12px var(--ff-body); letter-spacing: 0; color: var(--ash); }
.yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-100); color: #1f6b2b; }
.yes .ico { width: 13px; height: 13px; }
.no { color: var(--fog); }
.swipe-hint { display: none; }
@media (max-width: 760px) { .swipe-hint { display: block; margin-top: 36px; text-align: center; } .swipe-hint + .price-wrap { margin-top: 12px; } }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--ash); text-align: center; }

/* ---------------- FAQ ---------------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 380px 1fr; gap: 72px; } .faq-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-side .lede { margin-top: 16px; font-size: 16px; }
.faq-side .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 17px/1.4 var(--ff-display); letter-spacing: -0.018em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #000; }
.faq-plus { position: relative; flex: none; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--ink); border-radius: 2px; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-a { padding: 0 52px 24px 0; color: var(--slate); font-size: 15.5px; line-height: 1.6; }

/* ---------------- Contact (dark) + lead form ---------------- */
.contact { padding: 80px 0; }
@media (min-width: 900px) { .contact { padding: 112px 0; } }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 560px; gap: 64px; align-items: start; } }
.contact h2 { margin-top: 20px; }
.contact .lede { margin-top: 18px; max-width: 520px; }
.facts { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid rgba(255, 255, 255, .12); }
.facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.facts dt { font: 500 11px/1.6 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: #8a8d8a; }
.facts dd { font-size: 15px; color: #d7d9d7; }
.facts a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.facts a:hover { text-decoration-color: var(--green); }
.lead-card { position: relative; border-radius: 24px; background: #fff; color: var(--ink); padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
@media (min-width: 640px) { .lead-card { padding: 34px; } }
.lead-card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 20px; }
.lead-card-h b { font: 700 19px var(--ff-display); letter-spacing: -0.025em; }

.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field-label { display: block; margin-bottom: 6px; font: 600 13px/1.3 var(--ff-body); color: var(--carbon); }
.field-label .opt { font-weight: 400; color: var(--ash); }
.field { display: block; width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-input); border: 1px solid var(--cloud); background: #fff; font: 400 15px var(--ff-body); color: var(--ink); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
textarea.field { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; }
select.field { padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23838383' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field::placeholder { color: var(--fog); }
.field:hover { border-color: #bdbdbd; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(98, 191, 82, .2); }
.field[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.err { margin-top: 6px; font-size: 12.5px; color: #c42b35; }
.form-alert { padding: 12px 14px; border-radius: 12px; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; font-size: 14px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font: 600 13px/1 var(--ff-body); color: var(--carbon); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; user-select: none; }
.check-chip::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--cloud); background: #fff center / 10px no-repeat; transition: background-color .15s, border-color .15s; }
.check-chip:hover { border-color: #cfcfcf; }
.check-chip:has(:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.check-chip:has(:checked)::before { border-color: var(--green); background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b100d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.check-chip:has(:focus-visible) { outline: 2px solid var(--green-700); outline-offset: 2px; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
@media (min-width: 640px) { .form-foot { flex-direction: row; align-items: center; justify-content: space-between; } }
.form-foot .fine { font-size: 12.5px; color: var(--ash); }
.form-success { padding: 26px; border-radius: 18px; background: var(--green-50); border: 1px solid var(--green-100); }
.form-success .tile { margin-bottom: 14px; }
.form-success b { display: block; font: 700 22px/1.2 var(--ff-display); letter-spacing: -0.03em; color: var(--onyx); }
.form-success p { margin-top: 8px; color: var(--slate); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Demo dialog */
.lead-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .55); overflow: hidden; }
.lead-dialog::backdrop { background: rgba(9, 13, 10, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lead-dialog[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-scroll { max-height: calc(100dvh - 24px); overflow-y: auto; }
.dlg-head { position: relative; padding: 28px 28px 22px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 0%, rgba(98, 191, 82, .12), transparent 70%), #fff; }
.dlg-head h2 { font: 700 26px/1.15 var(--ff-display); letter-spacing: -0.035em; margin-top: 14px; padding-right: 40px; }
.dlg-head p { margin-top: 8px; color: var(--slate); font-size: 14.5px; }
.dlg-close { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .05); transition: background-color .15s; }
.dlg-close:hover { background: rgba(0, 0, 0, .1); }
.dlg-close .ico { width: 18px; height: 18px; }
.dlg-body { padding: 24px 28px 28px; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; z-index: 1; padding-top: 72px; border-top: 1px solid var(--line); background: #fff; overflow: hidden; }
.foot-top { display: grid; gap: 28px; padding-bottom: 48px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr auto; align-items: end; } }
.foot-top p { margin-top: 16px; max-width: 460px; color: var(--slate); font-size: 15px; }
.foot-top .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding: 40px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .foot-cols { grid-template-columns: repeat(5, 1fr); } }
.foot-cols h3 { font: 500 11px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.foot-cols ul { display: grid; gap: 11px; margin-top: 18px; }
.foot-cols li { font-size: 14px; color: var(--slate); }
.foot-cols a { color: var(--slate); transition: color .15s; }
.foot-cols a:hover { color: var(--ink); }
.foot-cols .hl { color: var(--green-700); font-weight: 600; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ash); }
.legal .r { margin-left: auto; }
@media (max-width: 639px) { .legal .r { margin-left: 0; } }
.wordmark-xl { display: block; margin-top: 10px; margin-bottom: -.2em; font: 800 clamp(84px, 19vw, 300px)/.9 var(--ff-display); letter-spacing: -0.065em; text-align: center; white-space: nowrap; color: transparent; background: linear-gradient(180deg, #e9ece9 0%, #f6f7f6 55%, #fff 92%); -webkit-background-clip: text; background-clip: text; user-select: none; pointer-events: none; }

/* ---------------- Inner pages ---------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ash); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--cloud); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero { position: relative; padding: 48px 0 40px; overflow: clip; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 56px; } }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(to right, rgba(16, 26, 18, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(16, 26, 18, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 30% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 30% 0%, #000 20%, transparent 75%); }
.page-hero h1 { margin-top: 22px; }
.page-hero .lede { margin-top: 18px; max-width: 640px; }
.page-hero .meta { margin-top: 16px; }

.page-body { display: grid; gap: 48px; padding-top: 48px; padding-bottom: 96px; }
@media (min-width: 1000px) { .page-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; padding-top: 56px; } }
.aside-card { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--mist); }
@media (min-width: 1000px) { .aside-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card b { display: block; margin-top: 14px; font: 700 18px/1.25 var(--ff-display); letter-spacing: -0.02em; }
.aside-card p { margin-top: 8px; font-size: 14px; color: var(--slate); }
.aside-card .btn { margin-top: 18px; }
.aside-card .alt { display: block; margin-top: 12px; font-size: 13.5px; color: var(--slate); }

.prose { max-width: 720px; font-size: 16.5px; line-height: 1.72; color: #3a3d3a; }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2 { margin-top: 1.9em; font: 700 28px/1.2 var(--ff-display); letter-spacing: -0.032em; color: var(--onyx); }
.prose h3 { margin-top: 1.6em; font: 700 21px/1.3 var(--ff-display); letter-spacing: -0.022em; color: var(--onyx); }
.prose h4 { margin-top: 1.4em; font: 700 17px var(--ff-display); color: var(--onyx); }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--green-700); text-decoration: underline; text-decoration-color: rgba(47, 138, 58, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--green-700); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose ol li::marker { color: var(--green-700); font-weight: 600; }
.prose li + li { margin-top: .45em; }
.prose blockquote { padding: 16px 20px; border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; background: var(--mist); color: var(--carbon); }
.prose code { font: 400 .88em var(--ff-mono); padding: .15em .45em; border-radius: 6px; background: var(--mercury); color: var(--ink); }
.prose pre { overflow-x: auto; padding: 16px; border-radius: 12px; background: #111; color: #eee; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose img { border-radius: var(--r-img); border: 1px solid var(--line); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-weight: 600; color: var(--ink); background: var(--mist); }

/* Modules registry */
.mod-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search .ico { position: absolute; left: 16px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; color: var(--ash); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 18px 0 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font: 400 15px var(--ff-body); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(98, 191, 82, .2); }
.mod-count { font-size: 14px; color: var(--ash); }
.mod-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
@media (max-width: 639px) { .mod-cta { margin-left: 0; } }
.mod-body { padding-bottom: 96px; }
.addon-band { display: grid; gap: 18px; align-items: center; margin-top: 40px; padding: 18px; border-radius: 22px; background: #0c0f0d; color: #fff; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.addon-band:hover { transform: translateY(-2px); }
.addon-band img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; }
.addon-copy { display: grid; gap: 8px; justify-items: start; }
.addon-copy .tag { background: #fff; color: #000; }
.addon-copy b { font: 700 19px/1.25 var(--ff-display); letter-spacing: -0.02em; }
.addon-copy > span:last-child { font-size: 14px; color: #a9aca9; }
@media (min-width: 900px) { .addon-band { grid-template-columns: 150px 1fr auto; padding: 16px 24px 16px 16px; } .addon-band img { height: 104px; } }
.jump { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jump ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.jump ol::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); font: 600 12.5px/1 var(--ff-body); color: var(--slate); white-space: nowrap; transition: background-color .15s, color .15s; }
.jump a span { font: 500 10.5px/1 var(--ff-mono); color: var(--fog); }
.jump a:hover { background: rgba(0, 0, 0, .045); color: var(--ink); }
.jump a[aria-current="true"] { background: var(--ink); color: #fff; }
.jump a[aria-current="true"] span { color: #9a9a9a; }
.mod-area { padding-top: 56px; scroll-margin-top: calc(var(--header-h) + 64px); }
.mod-area-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 18px; }
.mod-area-head h2 { font: 700 26px/1.15 var(--ff-display); letter-spacing: -0.03em; }
.mod-area-head .mono { margin-left: auto; }
.mod-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mod-grid { grid-template-columns: repeat(3, 1fr); } }
.mod-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border-radius: var(--r-card); border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.mod-card:hover { border-color: #d3dbd3; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.mod-code { align-self: flex-start; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--mist); border: 1px solid var(--line); font: 500 10.5px/1 var(--ff-mono); letter-spacing: .04em; color: var(--slate); }
.mod-name { margin-top: 8px; font: 700 16px/1.3 var(--ff-display); letter-spacing: -0.018em; color: var(--ink); }
.mod-blurb { font-size: 14px; color: var(--slate); }
.mod-empty { padding: 56px 0; text-align: center; color: var(--slate); }
.next-band { display: grid; gap: 24px; margin-top: 72px; padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 0%, rgba(98, 191, 82, .1), transparent 70%), var(--mist); }
@media (min-width: 900px) { .next-band { grid-template-columns: 1fr auto; align-items: center; padding: 44px 48px; } }
.next-band .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 404 */
.nf { position: relative; min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0 96px; overflow: clip; }
.nf-code { font: 800 clamp(120px, 26vw, 260px)/.85 var(--ff-display); letter-spacing: -0.07em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.nf h1 { margin-top: 18px; }
.nf .lede { margin-top: 14px; }
.nf .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* ---------------- Motion ---------------- */
/* Content is only hidden once site.js is running (it adds .reveal-ready after marking what is already on screen),
   so a blocked or missing script never leaves the page blank. The hero enters with plain CSS on load. */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.hero .reveal, .page-hero .reveal { animation: rise .9s var(--ease) both; }
.hero .reveal.d1, .page-hero .reveal.d1 { animation-delay: .08s; } .hero .reveal.d2, .page-hero .reveal.d2 { animation-delay: .16s; } .hero .reveal.d3, .page-hero .reveal.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
    .ring, .ring::after { animation: none; }
}
