/* ═══════════════════════════════════════════════════════════════════════
   ecomit v4: "Scroll Commerce" core stylesheet
   Tokens, base, type, components and global scroll UI shared by every page.
   Brand guardrails: near-black, white, dark purple (#2D0A4E → #6B21A8) only.
   Glass, not glow: purple is an accent (dots, CTAs, selected states), never a wash.
   ═══════════════════════════════════════════════════════════════════════ */


/* ─── 1. Tokens: v5 "clean & premium" light theme ─────────────────────
   White base, soft grey bands, deep navy ink. Three colours, each with a job:
   violet = brand / actions (Build), teal = Run, amber = Grow / highlights.
   Contrast on white: ink 17.9:1 · text-2 10.4:1 · muted 5.9:1 · brand 6.4:1 ·
   teal-ink 5.2:1 · amber-ink 5.4:1. --faint is for decoration only.          */
:root {
  --brand: #5B3FD9;
  --brand-600: #4A30C4;
  --brand-800: #2E1F86;
  --brand-50: #F4F2FE;
  --brand-100: #E6E1FD;
  --brand-200: #CFC6F7;
  --teal: #0FA294;
  --teal-ink: #0B7A70;
  --teal-50: #E8F7F5;
  --amber: #F5A524;
  --amber-ink: #9A5B00;
  --amber-50: #FEF6E7;

  /* legacy names kept so every page keeps working */
  --purple-900: var(--brand-800);
  --purple-700: var(--brand-600);
  --purple-600: var(--brand);
  --purple-grad: linear-gradient(135deg, #5B3FD9 0%, #4A30C4 100%);
  --purple-btn: #5B3FD9;

  --bg: #FFFFFF;
  --bg-2: #F6F7F9;
  --bg-3: #EEF0F3;
  --text: #0B1220;
  --text-2: #344054;
  --muted: #5B6576;
  --faint: #98A2B3;
  --line: #E6E8EC;
  --line-2: #D5DAE1;
  --border-hover: #B9C0CB;

  --glass-1: #F8F9FB;
  --glass-2: #F2F4F7;
  --glass-3: #E8EBF0;
  --glass-purple: var(--brand-50);
  --tile-bg: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-md: 0 1px 2px rgba(16,24,40,0.04), 0 12px 32px -14px rgba(16,24,40,0.14);
  --shadow-lg: 0 2px 4px rgba(16,24,40,0.04), 0 24px 56px -18px rgba(16,24,40,0.22);
  --tile-shadow: var(--shadow-sm);
  --glass-blur: none;
  --nav-bg: rgba(255,255,255,0.92);
  --panel-bg: #FFFFFF;

  --dot: var(--brand);
  --purple-ink: var(--brand);
  --purple-line: var(--brand-200);
  --ring: rgba(91,63,217,0.22);

  --r-tile: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --gap: 20px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-tile: 0.3s var(--ease);
  --nav-h: 68px;

  color-scheme: light;
}

/* ─── 2. Reset & base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 96px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss03";
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--purple-600); color: #fff; }
:focus-visible { outline: 2px solid var(--purple-ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
main { position: relative; z-index: 1; display: block; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 2000;
  background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ─── 3. Typography ──────────────────────────────────────────────────── */
.display {
  font-size: clamp(2.6rem, 6.6vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.0; letter-spacing: -0.042em; font-weight: 600; }
.h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.04; letter-spacing: -0.038em; font-weight: 600; }
.h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.22; letter-spacing: -0.02em; font-weight: 600; }
.h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; }
.lede { font-size: clamp(1.04rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 58ch; }
.body-sm { font-size: .925rem; color: var(--text-2); }
.meta { font-size: .82rem; color: var(--muted); }
.text-muted { color: var(--muted); }
.text-faint { color: var(--faint); }
.text-purple { color: var(--purple-ink); }
.tnum { font-variant-numeric: tabular-nums; }
.text-grad {
  background: linear-gradient(180deg, var(--text) 35%, color-mix(in srgb, var(--text) 52%, transparent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-dim { color: var(--faint); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); flex: none; }
.eyebrow--plain::before { display: none; }

.prose { max-width: 68ch; color: var(--text-2); font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--text); font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.2; margin-top: 2.2em; font-weight: 600; }
.prose h3 { color: var(--text); font-size: 1.2rem; letter-spacing: -.02em; margin-top: 1.8em; font-weight: 600; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.prose ol { list-style: decimal; padding-left: 1.3rem; }
.prose ol li { margin-top: .5em; padding-left: .3rem; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--purple-line); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; }
.prose blockquote { border-left: 2px solid var(--purple-600); padding-left: 1.2rem; color: var(--text); }

/* ─── 4. Layout ──────────────────────────────────────────────────────── */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head .h2 + .lede { margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, .75rem); align-items: center; }
.divider { height: 1px; background: var(--line); border: 0; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; } .span-12 { grid-column: 1 / -1; }
.row-2 { grid-row: span 2; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5 { grid-column: span 3; }
  .span-6, .span-7, .span-8, .span-9 { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .m-first { order: -1; }
  .m-last { order: 99; }
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ─── 5. Icons ───────────────────────────────────────────────────────── */
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}
.ico--16 { width: 16px; height: 16px; }
.ico--18 { width: 18px; height: 18px; }
.ico--20 { width: 20px; height: 20px; }
.ico--28 { width: 28px; height: 28px; }
.ico--32 { width: 32px; height: 32px; }
.ico--40 { width: 40px; height: 40px; stroke-width: 1.3; }
.ico--64 { width: 64px; height: 64px; stroke-width: 1.1; }
.ico--96 { width: 96px; height: 96px; stroke-width: .9; }
/* States: default 60% → hover 100% + draw-in */
.ico-state { color: color-mix(in srgb, var(--text) 62%, transparent); transition: color .25s; }
.ico-host:hover .ico-state, .ico-host:focus-visible .ico-state, .ico-host.is-selected .ico-state { color: var(--text); }
.ico-host:hover .ico-draw { animation: ico-draw .7s var(--ease); }
@keyframes ico-draw { from { stroke-dasharray: 64; stroke-dashoffset: 64; } to { stroke-dasharray: 64; stroke-dashoffset: 0; } }

.chip {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--glass-2); border: 1px solid var(--line-2);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.chip .ico { width: 22px; height: 22px; }
.chip--lg { width: 56px; height: 56px; border-radius: 16px; }
.chip--lg .ico { width: 28px; height: 28px; }
.chip--sm { width: 34px; height: 34px; border-radius: 10px; }
.chip--sm .ico { width: 18px; height: 18px; }
.chip--purple { background: var(--glass-purple); border-color: var(--purple-line); }

/* ─── 6. Buttons ─────────────────────────────────────────────────────── */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  height: var(--h); padding: 0 1.3rem;
  border-radius: 13px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 550; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s, filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary {
  color: #fff;
  background: var(--purple-btn);
  border-color: rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 10px 24px -12px rgba(75,21,128,0.9);
}
.btn--primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn--glass { background: var(--glass-2); border-color: var(--line-2); color: var(--text); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.btn--glass:hover { background: var(--glass-3); border-color: var(--border-hover); transform: translateY(-1px); }
.btn--light { background: #fff; color: #0D0D0D; box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08); }
.btn--light:hover { transform: translateY(-1px); background: #F2F2F2; }
.btn--ghost { color: var(--text-2); padding-inline: .6rem; }
.btn--ghost:hover { color: var(--text); }
.btn--sm { --h: 38px; padding: 0 .95rem; font-size: .875rem; border-radius: 11px; }
.btn--lg { --h: 56px; padding: 0 1.6rem; font-size: 1rem; border-radius: 15px; }
.btn--block { width: 100%; }
.btn .ico--arrow { transition: transform .25s var(--ease); }
.btn:hover .ico--arrow, .link-arrow:hover .ico--arrow, a.tile:hover .ico--arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 550; font-size: .925rem; color: var(--text); }
.link-arrow .ico { width: 17px; height: 17px; }
.link-arrow--muted { color: var(--text-2); }
.link-arrow--muted:hover { color: var(--text); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-grid; place-items: center;
  color: var(--text-2); border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--glass-2); color: var(--text); border-color: var(--line); }
.icon-btn .ico { width: 20px; height: 20px; }

/* ─── 7. Pills & badges ──────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 30px; padding: 0 .8rem; border-radius: 999px;
  background: var(--glass-1); border: 1px solid var(--line-2);
  font-size: .8rem; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.pill .ico { width: 15px; height: 15px; }
.pill--sm { height: 24px; padding: 0 .6rem; font-size: .72rem; }
.pill--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 0 var(--ring); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 var(--ring); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.pill--purple { background: var(--glass-purple); border-color: var(--purple-line); color: var(--text); }
.pill--solid { background: var(--text); color: var(--bg); border-color: transparent; }

.metric-badge {
  display: inline-flex; align-items: baseline; gap: .35rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--glass-purple); border: 1px solid var(--purple-line);
  font-size: .78rem; font-weight: 600; color: var(--text);
}
.metric-badge b { font-size: .95rem; letter-spacing: -.02em; }

.count-badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--purple-600); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* ─── 8. Tiles ───────────────────────────────────────────────────────── */
.tile {
  position: relative; isolation: isolate;
  background: var(--tile-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  padding: clamp(20px, 2.3vw, 30px);
  box-shadow: var(--tile-shadow);
  overflow: hidden;
  transition: border-color var(--t-tile), background var(--t-tile), transform var(--t-tile);
}
.tile::before { /* cursor spotlight: white, low alpha: glass, not glow */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), color-mix(in srgb, var(--text) 7%, transparent), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.tile:hover::before { opacity: 1; }
a.tile, .tile--hover { cursor: pointer; }
a.tile:hover, .tile--hover:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.tile--flush { padding: 0; }
.tile--anchor { padding: clamp(24px, 3vw, 40px); }
.tile--purple {
  background: linear-gradient(180deg, rgba(107,33,168,0.17) 0%, rgba(107,33,168,0.05) 100%), var(--tile-bg);
  border-color: var(--purple-line);
}
.tile--cta {
  background: var(--purple-grad); color: #fff; border-color: rgba(255,255,255,0.12);
  --text: #fff; --text-2: rgba(255,255,255,0.8); --muted: rgba(255,255,255,0.7); --line-2: rgba(255,255,255,0.22);
  --glass-2: rgba(255,255,255,0.12); --dot: #fff;
}
.tile--cta::after { /* faint grid texture inside the CTA tile */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%);
}
.tile--ghost { background: transparent; border-style: dashed; box-shadow: none; }
.tile__title { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.3; }
.tile__body { font-size: .92rem; color: var(--text-2); margin-top: .45rem; line-height: 1.6; }
.tile__foot { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tile--col { display: flex; flex-direction: column; }
.tile--icon .chip { margin-bottom: 1.15rem; }

.stat__num { font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: .6rem; font-weight: 550; font-size: .95rem; }
.stat__sub { color: var(--muted); font-size: .84rem; margin-top: .2rem; }

.feature-list { display: grid; gap: .7rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); font-size: .94rem; line-height: 1.5; }
.feature-list li .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--text); }
.feature-list li.is-off { color: var(--faint); }
.feature-list li.is-off .ico { color: var(--faint); }

/* ─── 9. Navigation ──────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 900; top: 14px; left: 50%;
  width: min(calc(100% - 24px), 1280px);
  transform: translateX(-50%);
  transition: transform .45s var(--ease), top .3s;
}
.nav.is-hidden { transform: translate(-50%, calc(-100% - 24px)); }
.nav__bar {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  height: var(--nav-h); padding: 0 10px 0 20px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--nav-bg) 70%, transparent);
  border: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.nav.is-scrolled .nav__bar, .nav.is-open .nav__bar {
  background: var(--nav-bg); border-color: var(--line);
  backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
}
.nav__logo { display: flex; align-items: center; flex: none; margin-right: .75rem; }
.nav__logo img { height: 26px; width: auto; }
.logo-on-light { display: none !important; }
[data-theme="light"] .logo-on-dark { display: none !important; }
[data-theme="light"] .logo-on-light { display: block !important; }

.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  height: 40px; padding: 0 .85rem; border-radius: 11px;
  font-size: .9rem; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"] { color: var(--text); background: var(--glass-2); }
.nav__link .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); opacity: .7; }
.nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__link small { font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; margin-right: .1rem; }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.nav-cart {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 40px; padding: 0 .85rem 0 .7rem; border-radius: 12px;
  font-size: .875rem; font-weight: 550;
  background: var(--glass-2); border: 1px solid var(--line-2);
  transition: background .2s, border-color .2s;
}
.nav-cart:hover { background: var(--glass-3); border-color: var(--border-hover); }
.nav-cart .ico { width: 20px; height: 20px; }
.nav-cart .count-badge { margin-left: .1rem; }
.nav__burger { display: none; }

.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  display: grid; grid-template-columns: 1fr 300px; gap: 10px;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.995);
  transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease), visibility 0s; }
.mega__head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .8rem; padding: 12px 14px 4px; }
.mega__head b { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.mega__head span { font-size: .85rem; color: var(--muted); }
.mega__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; align-content: start; }
.mega__item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 14px; border-radius: 15px;
  transition: background .2s;
}
.mega__item:hover, .mega__item:focus-visible { background: var(--glass-2); }
.mega__item b { display: block; font-size: .92rem; font-weight: 600; letter-spacing: -.01em; }
.mega__item span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; margin-top: .15rem; }
.mega__feature {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: 20px; border-radius: 16px; min-height: 200px;
  background: linear-gradient(160deg, rgba(107,33,168,0.32), rgba(45,10,78,0.18) 60%, transparent), var(--glass-1);
  border: 1px solid var(--purple-line);
}
.mega__feature b { font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.3; display: block; }
.mega__feature p { font-size: .84rem; color: var(--text-2); margin-top: .35rem; }
.mega__feature .big { font-size: 2.4rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }

@media (max-width: 1240px) {
  .nav-cart span.label { display: none; }
}
@media (max-width: 1320px) and (min-width: 1041px) {
  .nav__link { padding: 0 .65rem; }
}
@media (max-width: 1040px) {
  .nav__links, .nav__actions .nav-quote, .nav__actions .theme-btn { display: none; }
  .nav__burger { display: inline-grid; }
  .nav-cart span.label { display: inline; }
}
@media (max-width: 480px) {
  .nav { top: 10px; width: calc(100% - 20px); }
  .nav__bar { padding-left: 16px; height: 58px; }
  .nav-cart span.label { display: none; }
}

/* ─── 10. Mobile bottom sheet ────────────────────────────────────────── */
.sheet { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet__panel {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  max-height: calc(100dvh - 56px); overflow: auto; overscroll-behavior: contain;
  background: var(--panel-bg); border: 1px solid var(--line); border-radius: 26px;
  padding: 10px 14px 16px;
  transform: translateY(105%); transition: transform .45s var(--ease);
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,0.6);
}
.sheet.is-open { visibility: visible; }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 4px auto 12px; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 8px; }
.sheet__group { padding: 12px 4px; border-top: 1px solid var(--line); }
.sheet__group h3 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.sheet__links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.sheet__links a { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: 8px 10px; border-radius: 12px; font-size: .9rem; font-weight: 500; }
.sheet__links a:active, .sheet__links a:hover { background: var(--glass-2); }
.sheet__links .ico { width: 20px; height: 20px; color: var(--text-2); }
.sheet__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ─── 11. Footer ─────────────────────────────────────────────────────── */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.footer__brand img { height: 28px; width: auto; }
.footer__brand p { color: var(--muted); font-size: .9rem; margin-top: 1.1rem; max-width: 34ch; }
.footer__col h3 { display: flex; align-items: center; gap: .5rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); font-weight: 600; margin-bottom: 1rem; }
.footer__col h3 .ico { width: 18px; height: 18px; color: var(--text-2); }
.footer__col li + li { margin-top: .55rem; }
.footer__col a { font-size: .9rem; color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__mid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding: 24px; border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--tile-bg); }
.newsletter { display: flex; gap: 8px; margin-top: .8rem; max-width: 460px; }
.newsletter input { flex: 1; min-width: 0; }
.footer__meta { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.logo-row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.logo-row img { height: 18px; width: auto; opacity: .7; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 24px 0 28px; margin-top: 40px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer__bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--text); }
.socials { display: flex; gap: 6px; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: color .2s, background .2s; }
.socials a:hover { color: var(--text); background: var(--glass-2); }
.socials .ico { width: 18px; height: 18px; }
.footer__mega {
  font-size: clamp(4rem, 15.5vw, 15rem); font-weight: 600; letter-spacing: -0.06em; line-height: .8;
  white-space: nowrap; text-align: center; margin-bottom: -0.12em; user-select: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 13%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__mega i { font-style: normal; color: var(--purple-600); -webkit-text-fill-color: var(--purple-600); opacity: .6; }
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__mid { grid-template-columns: minmax(0, 1fr); }
}

/* ─── 12. Forms ──────────────────────────────────────────────────────── */
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-size: .82rem; font-weight: 550; color: var(--text-2); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  background: var(--glass-1); border: 1px solid var(--line-2); border-radius: 13px;
  font-size: 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.select option { background: var(--bg-2); color: var(--text); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-hover); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple-line); box-shadow: 0 0 0 4px var(--ring); background: var(--glass-2); }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: rgba(255,255,255,0.55); }
.field .error { font-size: .78rem; color: var(--text); display: none; align-items: center; gap: .35rem; }
.field .error::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.field.is-invalid .error { display: inline-flex; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.check-pill { position: relative; display: inline-flex; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: 0 .95rem;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass-1);
  font-size: .88rem; font-weight: 500; color: var(--text-2); transition: all .2s;
}
.check-pill span .ico { width: 17px; height: 17px; }
.check-pill input:checked + span { color: var(--text); border-color: var(--purple-line); background: var(--glass-purple); }
.check-pill input:focus-visible + span { box-shadow: 0 0 0 3px var(--ring); }

.segmented { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--glass-1); border: 1px solid var(--line-2); gap: 2px; }
.segmented button, .segmented label {
  position: relative; height: 36px; padding: 0 .95rem; border-radius: 10px;
  font-size: .85rem; font-weight: 550; color: var(--text-2); display: inline-flex; align-items: center; gap: .4rem; cursor: pointer;
  transition: color .2s, background .2s;
}
.segmented button[aria-pressed="true"], .segmented button.is-active { background: var(--text); color: var(--bg); }
.segmented em { font-style: normal; font-size: .7rem; font-weight: 600; padding: 2px 6px; border-radius: 999px; background: var(--glass-purple); color: var(--purple-ink); }
.segmented button[aria-pressed="true"] em { background: rgba(107,33,168,0.25); color: var(--purple-600); }
[data-theme="dark"] .segmented button[aria-pressed="true"] em { color: var(--purple-700); }

/* ─── 13. Modal (quote wizard) ───────────────────────────────────────── */
.modal {
  margin: auto; width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 26px;
  background: var(--panel-bg); color: var(--text);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.8);
  overflow: hidden;
}
.modal::backdrop { background: rgba(5,5,5,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[open] { animation: modal-in .45s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__inner { padding: clamp(22px, 3.5vw, 36px); overflow: auto; max-height: calc(100dvh - 34px); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.modal__head h2 { font-size: 1.6rem; letter-spacing: -.035em; line-height: 1.15; font-weight: 600; }
.modal__head p { color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.wizard__steps { display: flex; gap: 6px; margin-bottom: 1.5rem; }
.wizard__steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; }
.wizard__steps span::after { content: ""; position: absolute; inset: 0; background: var(--purple-600); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.wizard__steps span.is-done::after { transform: scaleX(1); }
.wizard__panel { display: none; }
.wizard__panel.is-active { display: block; animation: fade-up .4s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wizard__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; }
.wizard__success { text-align: center; padding: 1.5rem 0 .5rem; }
.wizard__success .ico { margin: 0 auto 1rem; }
.estimate-attach { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border-radius: 14px; border: 1px solid var(--purple-line); background: var(--glass-purple); margin-bottom: 1rem; font-size: .88rem; }
.estimate-attach input { width: 18px; height: 18px; accent-color: var(--purple-600); }

/* ─── 14. Accordion ──────────────────────────────────────────────────── */
.acc { border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--tile-bg); overflow: hidden; }
.acc details { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.acc details:first-child { border-top: 0; }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem clamp(18px, 2.4vw, 28px);
  font-weight: 550; font-size: 1.02rem; letter-spacing: -.01em;
  transition: background .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--glass-1); }
.acc summary .plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 9px; border: 1px solid var(--line-2); }
.acc summary .plus::before, .acc summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); border-radius: 2px; }
.acc summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc details[open] summary .plus { background: var(--glass-purple); border-color: var(--purple-line); }
.acc .acc__body { padding: 0 clamp(18px, 2.4vw, 28px) 1.35rem; color: var(--text-2); font-size: .96rem; line-height: 1.7; max-width: 72ch; }
.acc details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.acc details[open]::details-content { block-size: auto; }

/* ─── 15. Marquee ────────────────────────────────────────────────────── */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: var(--marquee-gap, 14px); width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--marquee-gap, 14px) / 2)); } }

/* Partner logos are black-on-white artwork: blend away the white, invert on dark */
.logo-tile { flex: none; width: 168px; height: 84px; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line); background: var(--tile-bg); }
.logo-tile img { width: 120px; height: 46px; object-fit: contain; filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: .62; transition: opacity .3s; }
[data-theme="light"] .logo-tile img { filter: grayscale(1); mix-blend-mode: multiply; }
.logo-tile:hover img { opacity: 1; }

/* ─── 16. Global scroll UI ───────────────────────────────────────────── */
/* S9: single ambient glow + grain */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient__orb {
  position: absolute; left: 0; top: 0; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,33,168,0.30) 0%, rgba(75,21,128,0.12) 38%, transparent 68%);
  transform: translate(40vw, -30vmax); opacity: .9; will-change: transform, opacity;
}
[data-theme="light"] .ambient__orb { background: radial-gradient(circle, rgba(107,33,168,0.13) 0%, rgba(107,33,168,0.05) 40%, transparent 68%); }
.ambient::after {
  content: ""; position: absolute; inset: -50%; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* S13: cart scroll progress */
.cartbar { position: fixed; top: 0; left: 0; right: 0; height: 14px; z-index: 950; pointer-events: none; }
.cartbar__track { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: color-mix(in srgb, var(--text) 6%, transparent); }
.cartbar__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--purple-900), var(--purple-600)); transform-origin: left; transform: scaleX(0); }
[data-theme="dark"] .cartbar__fill, :root:not([data-theme]) .cartbar__fill { background: linear-gradient(90deg, var(--purple-700), var(--dot)); }
.cartbar__dot { position: absolute; top: 7px; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.cartbar__dot.is-got { background: var(--dot); border-color: var(--dot); transform: scale(1.15); }
.cartbar__cart { position: absolute; top: 0; left: 0; width: 15px; height: 15px; margin-left: -7px; color: var(--text); will-change: transform; }
.cartbar__cart .ico { width: 15px; height: 15px; stroke-width: 1.8; }
@media (max-width: 767px) { .cartbar__cart, .cartbar__dot { display: none; } }

/* S14: section nav dots */
.secdots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 800; display: flex; flex-direction: column; gap: 4px; }
.secdots a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 18px; width: 18px; }
.secdots a::after { content: ""; width: 6px; height: 6px; border-radius: 6px; background: var(--line-2); transition: height .3s var(--ease), background .3s; margin-right: 6px; }
.secdots a.is-active::after { height: 18px; background: var(--dot); }
.secdots a span {
  position: absolute; right: 26px; white-space: nowrap; font-size: .74rem; font-weight: 550;
  padding: .3rem .6rem; border-radius: 8px; background: var(--panel-bg); border: 1px solid var(--line);
  opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .25s var(--ease); pointer-events: none;
}
.secdots a:hover span, .secdots a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 1279px) { .secdots { display: none; } }

/* Floating WhatsApp + sticky mobile bar */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  background: var(--panel-bg); border: 1px solid var(--line-2); color: var(--text);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.6);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  transition: transform .3s var(--ease), border-color .3s;
}
.wa-float:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.wa-float .ico { width: 24px; height: 24px; }
.wa-float::after { content: ""; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 3px var(--bg-2); }
body.has-secdots .wa-float { right: 22px; }

.mbar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 860;
  display: none; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; padding: 6px;
  border-radius: 20px; background: var(--panel-bg); border: 1px solid var(--line);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.7);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  transform: translateY(130%); transition: transform .45s var(--ease);
}
.mbar a, .mbar button { height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-size: .86rem; font-weight: 600; }
.mbar .ico { width: 19px; height: 19px; }
.mbar .mbar__ghost { background: var(--glass-2); }
.mbar.is-shown { transform: none; }
@media (max-width: 767px) {
  body[data-mbar] .mbar { display: grid; }
  body[data-mbar] .wa-float { display: none; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* ─── 17. Page hero (inner pages) & breadcrumbs ──────────────────────── */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(70px, 9vw, 120px)); padding-bottom: clamp(48px, 6vw, 84px); }
.crumbs { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--text); }
.crumbs .ico { width: 13px; height: 13px; opacity: .6; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .7;
}

/* Sticky sub-nav for service pages */
.subnav { position: sticky; top: 10px; z-index: 700; margin-top: -8px; }
.subnav__inner {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%;
  margin-inline: auto; padding: 5px; border-radius: 16px;
  background: var(--nav-bg); border: 1px solid var(--line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { flex: none; height: 36px; padding: 0 .9rem; border-radius: 11px; display: inline-flex; align-items: center; font-size: .84rem; font-weight: 550; color: var(--text-2); transition: color .2s, background .2s; }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--bg); background: var(--text); }
.nav:not(.is-hidden) ~ main .subnav { top: calc(var(--nav-h) + 24px); }
.subnav { transition: top .45s var(--ease); }

/* ─── 18. Motion initial states (only when JS + motion allowed) ──────── */
.js-motion [data-reveal] { opacity: 0; transform: translateY(26px); }
.js-motion [data-reveal="fade"] { transform: none; }
.js-motion [data-reveal="scale"] { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track > [aria-hidden="true"] { display: none; }
}

/* ─── 19. Utilities ──────────────────────────────────────────────────── */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.25rem; } .mt-5 { margin-top: 3.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.w-100 { width: 100%; }
.nowrap { white-space: nowrap; }
.only-mobile { display: none; }
@media (max-width: 767px) { .only-mobile { display: initial; } .only-desktop { display: none !important; } }
.kbd { font-size: .78rem; padding: .1rem .4rem; border-radius: 6px; border: 1px solid var(--line-2); background: var(--glass-1); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1500; transform: translate(-50%, 140%);
  display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem; border-radius: 14px;
  background: var(--text); color: var(--bg); font-size: .9rem; font-weight: 550;
  transition: transform .45s var(--ease); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
}
.toast.is-shown { transform: translate(-50%, 0); }
.toast .ico { width: 18px; height: 18px; }

/* CTA band shared by every page ("checkout") */
.checkout { position: relative; padding: clamp(36px, 6vw, 80px); border-radius: 30px; text-align: center; }
.checkout .h2 { max-width: 16ch; margin: 1.2rem auto 0; }
.checkout .lede { margin: 1rem auto 0; color: rgba(255,255,255,0.8); }
.checkout .cluster { justify-content: center; margin-top: 2rem; }
.checkout__icon { width: 72px; height: 72px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.checkout__icon .ico { width: 38px; height: 38px; stroke-width: 1.3; color: #fff; --dot: #fff; }
.checkout__icon .ico.is-drawn { animation: ico-draw 1.4s var(--ease) both; }

/* ─── 20. Print ──────────────────────────────────────────────────────── */
@media print {
  .nav, .footer, .wa-float, .mbar, .cartbar, .secdots, .ambient, .sheet, .modal { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ═══════════════════════════════════════════════════════════════════════
   v5: clean & premium light layer
   Overrides the v4 dark/glass styling. No glows, no grain, no glass,
   no gradient text: hierarchy comes from type, space and hairlines.
   ═══════════════════════════════════════════════════════════════════════ */
html, body { background: #FFFFFF; }
body { color: var(--text); font-feature-settings: "cv11", "ss03", "cv05"; }
::selection { background: var(--brand-100); color: var(--text); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.logo-on-dark { display: none !important; }
.logo-on-light { display: block !important; }
.ambient, .secdots, .footer__mega, .theme-btn, [data-theme-toggle] { display: none !important; }

/* type */
.display { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 650; color: var(--text); }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -0.035em; line-height: 1.04; font-weight: 650; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.08; font-weight: 650; }
.h3 { font-weight: 600; letter-spacing: -0.015em; }
.lede { color: var(--text-2); font-size: clamp(1.04rem, 1.2vw, 1.15rem); line-height: 1.65; }
.text-grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); }
.text-dim { color: var(--text); }
.text-purple { color: var(--brand); }
.eyebrow { gap: 0; font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--brand); }
.eyebrow::before { display: none; }

/* sections: soft grey bands give rhythm instead of decoration */
.section { padding-block: clamp(80px, 9vw, 128px); }
.section--soft, .band { background: var(--bg-2); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.hero-grid-bg {
  background-image: linear-gradient(var(--bg-3) 1px, transparent 1px), linear-gradient(90deg, var(--bg-3) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 70%);
}
.page-hero, .hero { background: linear-gradient(180deg, #F7F6FE 0%, #FFFFFF 78%); }

/* icons */
.ico-state { color: var(--muted); }
.chip { background: var(--brand-50); border: 0; color: var(--brand); box-shadow: none; border-radius: 10px; }
.chip--lg { border-radius: 14px; }
.chip--purple { background: var(--brand-100); color: var(--brand-600); border: 0; }
.chip--teal { background: var(--teal-50); color: var(--teal-ink); }
.chip--amber { background: var(--amber-50); color: var(--amber-ink); }

/* buttons */
.btn { border-radius: 10px; font-weight: 600; }
.btn--primary { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(16,24,40,0.08), inset 0 -1px 0 rgba(0,0,0,0.12); }
.btn--primary:hover { background: var(--brand-600); filter: none; transform: translateY(-1px); }
.btn--glass { background: #fff; color: var(--text); border-color: var(--line-2); box-shadow: var(--shadow-sm); backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn--glass:hover { background: var(--bg-2); border-color: var(--border-hover); }
.btn--light { background: #fff; color: var(--brand-600); box-shadow: 0 1px 2px rgba(16,24,40,0.12); }
.btn--light:hover { background: #F4F2FE; }
.btn--ghost { color: var(--text-2); }
.btn--ghost:hover { color: var(--brand); }
.link-arrow { color: var(--brand); font-weight: 600; }
.link-arrow--muted { color: var(--text-2); }
.icon-btn { color: var(--text-2); }
.icon-btn:hover { background: var(--bg-2); color: var(--text); border-color: transparent; }

/* pills & badges: quiet, used sparingly */
.pill { background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); font-weight: 500; }
.pill--purple { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-600); }
.pill--live::before { background: var(--teal); box-shadow: 0 0 0 0 rgba(15,162,148,.4); }
.pill--solid { background: var(--text); color: #fff; }
.metric-badge { background: var(--teal-50); border: 0; color: var(--teal-ink); }
.count-badge { background: var(--brand); color: #fff; }

/* cards */
.tile { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--r-tile); }
.tile::before { display: none; }
a.tile:hover, .tile--hover:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile--purple { background: var(--brand-50); border-color: var(--brand-100); }
.tile--ghost { background: transparent; }
.tile__body { color: var(--text-2); }
.tile--cta { background: linear-gradient(135deg, #5B3FD9 0%, #4330B8 100%); border: 0; box-shadow: 0 30px 60px -30px rgba(74,48,196,0.55); --text: #fff; --text-2: rgba(255,255,255,0.86); --muted: rgba(255,255,255,0.78); --line-2: rgba(255,255,255,0.35); --dot: #fff; }
.tile--cta::after { opacity: .35; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(ellipse at 90% 0%, #000, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 90% 0%, #000, transparent 65%); }
.tile--cta .btn--glass { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35); box-shadow: none; }
.tile--cta .btn--glass:hover { background: rgba(255,255,255,0.2); }
.tile--cta .h2, .tile--cta .lede { color: #fff; }
.feature-list li .ico { color: var(--teal-ink); }
.feature-list li.is-off, .feature-list li.is-off .ico { color: var(--faint); }

/* navigation: full-width white bar */
.nav { top: 0; left: 0; width: 100%; transform: none; background: rgba(255,255,255,0.9); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(16,24,40,0.02); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__bar, .nav.is-scrolled .nav__bar, .nav.is-open .nav__bar { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); border-radius: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__logo img { height: 24px; }
.nav__link { color: var(--text-2); font-weight: 500; border-radius: 8px; }
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.nav-cart { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-sm); color: var(--text); }
.nav-cart:hover { background: var(--bg-2); border-color: var(--border-hover); }
.mega { top: calc(100% + 1px); left: var(--gutter); right: var(--gutter); background: #fff; border: 1px solid var(--line); border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); padding: 12px; }
.mega__head b { color: var(--text); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.mega__item:hover, .mega__item:focus-visible { background: var(--bg-2); }
.mega__item b { color: var(--text); }
.mega__item span { color: var(--muted); }
.mega__feature { background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--text); }
#mega-run .chip { background: var(--teal-50); color: var(--teal-ink); }
#mega-run .mega__feature { background: var(--teal-50); border-color: #CBEDE8; }
#mega-run .mega__feature .link-arrow { color: var(--teal-ink); }
#mega-grow .chip { background: var(--amber-50); color: var(--amber-ink); }
#mega-grow .mega__feature { background: var(--amber-50); border-color: #FBE3B8; }
#mega-grow .mega__feature .link-arrow { color: var(--amber-ink); }

/* mobile sheet */
.sheet__scrim { background: rgba(11,18,32,0.35); }
.sheet__panel { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sheet__links .ico { color: var(--brand); }
.sheet__links a:hover, .sheet__links a:active { background: var(--bg-2); }

/* footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-bottom: 8px; }
.footer__col h3 { color: var(--text); text-transform: none; letter-spacing: 0; font-size: .92rem; }
.footer__col h3 .ico { color: var(--brand); }
.footer__col:nth-child(3) h3 .ico { color: var(--teal-ink); }
.footer__col:nth-child(4) h3 .ico { color: var(--amber-ink); }
.footer__col a { color: var(--text-2); }
.footer__col a:hover { color: var(--brand); }
.footer__mid { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.footer__bottom { color: var(--muted); }
.socials a { background: #fff; border-color: var(--line-2); color: var(--text-2); }
.socials a:hover { color: var(--brand); border-color: var(--brand-200); background: #fff; }
.logo-row img { opacity: .85; }

/* forms */
.input, .select, .textarea { background: #fff; border-color: var(--line-2); color: var(--text); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-hover); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); background: #fff; }
.input::placeholder, .textarea::placeholder { color: #98A2B3; }
.select option { background: #fff; color: var(--text); }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: #D92D20; }
.field .error { color: #B42318; }
.field .error::before { background: #D92D20; }
.check-pill span { background: #fff; border-color: var(--line-2); color: var(--text-2); }
.check-pill input:checked + span { background: var(--brand-50); border-color: var(--brand); color: var(--brand-600); }
.segmented { background: var(--bg-2); border-color: var(--line); }
.segmented button[aria-pressed="true"], .segmented button.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.segmented em { background: var(--teal-50); color: var(--teal-ink); }
.segmented button[aria-pressed="true"] em { background: var(--teal-50); color: var(--teal-ink); }

/* modal */
.modal { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(11,18,32,0.4); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.wizard__steps span::after { background: var(--brand); }
.estimate-attach { background: var(--teal-50); border-color: #CBEDE8; }

/* accordion */
.acc { background: #fff; box-shadow: var(--shadow-sm); }
.acc summary:hover { background: var(--bg-2); }
.acc details[open] summary .plus { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand); }

/* marquee logos */
.logo-tile { background: #fff; border-color: var(--line); }
.logo-tile img { filter: grayscale(1); mix-blend-mode: multiply; opacity: .7; }

/* global scroll UI */
.cartbar__track { background: var(--bg-3); }
.cartbar__fill { background: linear-gradient(90deg, var(--brand), var(--teal)); }
.cartbar__dot { background: #fff; border-color: var(--line-2); }
.cartbar__dot.is-got { background: var(--brand); border-color: var(--brand); }
.cartbar__cart { color: var(--brand); }
.wa-float { background: #fff; border-color: var(--line); color: #128C4A; box-shadow: var(--shadow-md); backdrop-filter: none; }
.wa-float::after { display: none; }
.mbar { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); backdrop-filter: none; }
.mbar .mbar__ghost { background: var(--bg-2); color: var(--text); }
.toast { background: var(--text); color: #fff; }

/* breadcrumbs & sub-nav */
.crumbs { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.subnav__inner { background: rgba(255,255,255,0.95); border-color: var(--line); box-shadow: var(--shadow-sm); }
.subnav a { color: var(--text-2); }
.subnav a.is-active { background: var(--text); color: #fff; }

/* checkout band icon on the violet card */
.checkout__icon { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }
.checkout .lede { color: rgba(255,255,255,0.88); }


/* ─── Mega menu: icon chips are centred squares, text sits beside them ─── */
.mega__item { align-items: center; gap: 1rem; padding: 14px 16px; }
.mega__item .chip { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; line-height: 0; font-size: 0; }
.mega__item .chip .ico { display: block; width: 22px; height: 22px; margin: 0; }
.mega__item > span:not(.chip) { display: block; min-width: 0; }
.mega__item > span:not(.chip) > b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.mega__item > span:not(.chip) > span { display: block; margin-top: .2rem; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.sheet__links a .ico { flex: none; }

.mega__feature .pill { align-self: flex-start; }
