:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --ink: #191919;
  --ink-2: #2a2a2a;
  --muted: #666666;
  --line: #e8e6e0;
  --line-strong: #d4d2cb;
  --brand: #d41a69;
  --brand-dark: #d41a69;
  --brand-ink: #6a0d36;
  --brand-soft: #fbe6ef;
  --teal: #00a19c;
  --teal-soft: #d9f1f0;
  --accent: #d41a69;
  --accent-ink: #ffffff;
  --shadow-sm: 0 1px 0 rgba(11,18,32,.04), 0 1px 2px rgba(11,18,32,.05);
  --shadow-md: 0 1px 0 rgba(11,18,32,.04), 0 10px 24px -12px rgba(11,18,32,.18);
  --shadow-lg: 0 30px 60px -30px rgba(11,18,32,.35), 0 8px 20px -8px rgba(11,18,32,.18);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--brand); color: white; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
h1, h2, h3, h4, h5 { font-weight: 700; }
.mono { font-family: var(--font-mono); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo img { height: 30px; width: auto; display: block; }
.nav .logo img.dark-only { display: none; }
body.hero-dark .nav .logo img.light-only { display: none; }
body.hero-dark .nav .logo img.dark-only { display: block; }
.foot-logo img { height: 36px; width: auto; display: block; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-strong); }
.btn-ghost:hover { background: white; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ---- Hero ---- */
.hero { padding: 60px 0 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 6.2vw, 88px); line-height: 0.98; letter-spacing: -0.035em; margin: 18px 0 24px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.06em; height: 0.16em; background: var(--accent); z-index: -1; border-radius: 4px; opacity: .9; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 540px; line-height: 1.5; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; align-items: center; margin-top: 32px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.hero-meta-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.pulse-dot { width: 8px; height: 8px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 0 rgba(212,26,105,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,26,105,0); } 100% { box-shadow: 0 0 0 0 rgba(212,26,105,0); } }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); background: white; border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.hero-badge .tag { background: var(--brand); color: white; font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; letter-spacing: .04em; }

/* Stats panel */
.stats-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px; box-shadow: var(--shadow-lg); position: relative; }
.stats-card-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px dashed var(--line); }
.stats-card-head .dots { display: flex; gap: 6px; }
.stats-card-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.stats-card-head .title { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; margin: 6px; }
.stat { background: var(--surface); padding: 22px 22px 20px; position: relative; }
.stat .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-family: var(--font-display); font-size: 56px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-top: 12px; display: flex; align-items: baseline; gap: 4px; }
.stat .unit { font-size: 26px; color: var(--brand); font-weight: 600; letter-spacing: -.02em; }
.stat .sub { font-size: 13px; color: var(--muted); margin-top: 10px; }
.stat .spark { position: absolute; right: 20px; top: 22px; opacity: .75; color: var(--brand); }
.stats-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 16px; }
.stats-foot .live { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* ---- Marquee logos ---- */
.logo-strip { padding: 36px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.logo-strip-head { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%); padding-bottom: 36px; }
/* Marquee seamless loop: use margin-right on items (not `gap` on parent) so
   translateX(-50%) lands exactly on the seam between the duplicated halves.
   With gap, the track is 2S + 15×gap and -50% falls half a gap short. */
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; align-items: center; }
.marquee-track .logo-item { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #6c7384; letter-spacing: -.02em; opacity: .85; white-space: nowrap; display: flex; align-items: center; gap: 8px; height: 56px; margin-right: 68px; }
.marquee-track .logo-item .glyph { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #c8cdd6, #98a0b0); }
.marquee-track .logo-item img { height: 44px; width: auto; max-width: 200px; object-fit: contain; opacity: .9; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Section base ---- */
section.block { padding: 96px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.03em; line-height: 1.02; margin: 12px 0 0; max-width: 720px; }
.section-head p { color: var(--muted); max-width: 460px; font-size: 16px; line-height: 1.6; margin: 0; }

/* ---- Feature grid ---- */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.feature { grid-column: span 6; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature .feat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feature .num { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; margin: 0 0 10px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.icon-box { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.feature.large { grid-column: span 12; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; padding: 0; overflow: hidden; }
.feature.large .body { padding: 36px 36px 36px; display: flex; flex-direction: column; justify-content: center; }
.feature.large .vis { background: linear-gradient(135deg, #0e1f44 0%, var(--brand) 100%); position: relative; min-height: 320px; }

/* ---- Process steps ---- */
.process { background: var(--ink); color: white; border-radius: 28px; padding: 56px 48px; position: relative; overflow: hidden; }
.process h2 { color: white; }
.process .section-head p { color: rgba(255,255,255,.65); }
.proc-grid { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 32px; margin-top: 20px; align-items: stretch; }
.proc-tabs { display: flex; flex-direction: column; gap: 10px; }
.proc-tab { text-align: left; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px; cursor: pointer; color: white; font-family: inherit; transition: background .2s, border-color .2s, transform .2s; position: relative; overflow: hidden; }
.proc-tab:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.proc-tab.active { background: rgba(212,26,105,.10); border-color: rgba(212,26,105,.55); }
.proc-tab .tab-head { display: flex; align-items: baseline; gap: 10px; }
.proc-tab .tab-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.42); }
.proc-tab.active .tab-num { color: var(--brand); }
.proc-tab h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 0; color: white; }
.proc-tab .tab-sub { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.45; margin: 4px 0 0; white-space: pre-line; }
.proc-tab.active .tab-sub { color: rgba(255,255,255,.72); }
.proc-tab .tab-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.proc-tab.active .tab-bar { transform: scaleY(1); }
.proc-stage { background: #0a0e1c; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; position: relative; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
/* Tab switching: keep size/display on `.proc-stage > *` so `.proc-stage > .active`
   wins on specificity. Don't add `display: block` to `.proc-stage video/img` — it
   has higher specificity (0,1,1) than the > * rule (0,1,0) and silently breaks tab switching. */
.proc-stage > * { width: 100%; height: 100%; background: #0a0e1c; display: none; }
.proc-stage > .active { display: block; }
.proc-stage video { object-fit: contain; }
.proc-stage img { object-fit: cover; object-position: top left; background: white; }
@media (max-width: 1024px) {
  .proc-grid { grid-template-columns: 1fr; }
}

/* ---- Industries ---- */
.industries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.industry { aspect-ratio: 3/4; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); transition: transform .25s ease, box-shadow .25s ease; cursor: pointer; position: relative; overflow: hidden; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry .ind-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.industry h4 { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; margin: 0; line-height: 1; }
.industry .ind-meta { font-size: 13px; color: var(--muted); }
.industry .ind-art { position: absolute; right: -20px; bottom: -20px; opacity: .14; transform: rotate(-12deg); }
.industry .ind-icon { display: flex; justify-content: center; }
.industry .ind-icon .icon-box { width: 72px; height: 72px; border-radius: 16px; }
.industry .ind-icon .icon-box svg { width: 36px; height: 36px; }

/* ---- Intune callout ---- */
.intune { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 56px; display: flex; flex-direction: column; gap: 48px; }
.intune-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.intune-list { display: grid; gap: 16px; margin-top: 32px; }
.intune-row { display: flex; gap: 14px; align-items: flex-start; }
.intune-row .check { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: white; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.intune-row strong { display: block; margin-bottom: 4px; font-weight: 600; }
.intune-row span.desc { color: var(--muted); font-size: 14px; line-height: 1.5; }
.intune-art { background: linear-gradient(160deg, #fbe6ef 0%, #f6f4ef 100%); border-radius: 22px; padding: 28px; position: relative; overflow: hidden; }
.intune-carousel { position: relative; width: 100%; aspect-ratio: 1400 / 830; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); background: white; }
.intune-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.intune-slide.active { opacity: 1; }
.intune-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intune-carousel-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; padding: 6px 12px; background: rgba(255,255,255,.78); border-radius: 999px; backdrop-filter: blur(8px); }
.intune-carousel-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.22); border: 0; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.intune-carousel-dots button.active { background: var(--brand); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) {
  .intune-slide { transition: none; }
}

/* ---- Testimonials ---- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.testimonial .quote { font-family: var(--font-display); font-size: 19px; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); margin: 0 0 22px; flex: 1; }
.testimonial .who { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }
.testimonial .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #cbd5ff, #6d8aff); color: white; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.testimonial img.avatar { object-fit: cover; }
.testimonial .who .name { font-weight: 600; font-size: 14px; }
.testimonial .who .role { font-size: 12px; color: var(--muted); }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--ink); color: white; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.price-card.featured .price-name { color: white; }
.price-card.featured .price-amount { color: white; }
.price-card.featured .price-cadence { color: rgba(255,255,255,.6); }
.price-card.featured .price-meta { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.15); }
.price-card.featured .price-blurb { color: rgba(255,255,255,.7); }
.price-card.featured .price-feat li.on { color: rgba(255,255,255,.92); }
.price-card.featured .price-feat li.off { color: rgba(255,255,255,.35); }
.price-card.featured .price-feat li.on .feat-ico { background: var(--brand-dark); color: white; }
.price-card.featured .price-feat li.off .feat-ico { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); }
.price-card.featured .btn-primary { background: var(--brand-dark); color: white; }
.price-card.featured .btn-primary:hover { background: white; color: var(--ink); }
.price-tag { position: absolute; top: -12px; left: 28px; background: var(--brand); color: white; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 56px; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.price-cadence { font-size: 13px; color: var(--muted); }
.price-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-blurb { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 16px 0 24px; }
.price-cta { width: 100%; justify-content: center; margin-bottom: 24px; }
.price-feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.price-card.featured .price-feat { border-top-color: rgba(255,255,255,.15); }
.price-feat li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.price-feat li.on { color: var(--ink-2); }
.price-feat li.off { color: var(--muted); opacity: .65; }
.price-feat .feat-ico { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.price-feat li.on .feat-ico { background: var(--brand-soft); color: var(--brand); }
.price-feat li.off .feat-ico { background: var(--bg); color: var(--muted); }
.feat-sub { color: var(--muted); font-size: 12px; }
.price-card.featured .feat-sub { color: rgba(255,255,255,.55); }
.pricing-foot { text-align: center; color: var(--muted); font-size: 13px; max-width: 640px; margin: 36px auto 0; }
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- FAQ ---- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; cursor: pointer; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: transform .2s, background .2s, color .2s; flex-shrink: 0; }
.faq-item[open] .plus { transform: rotate(45deg); background: var(--ink); color: white; border-color: var(--ink); }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 14px 0 4px; max-width: 720px; }

/* ---- CTA banner ---- */
.cta-banner { background: var(--ink); color: white; border-radius: 28px; padding: 64px 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; right: -120px; top: -120px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at center, color-mix(in oklab, var(--brand) 50%, transparent) 0%, transparent 60%); }
.cta-banner h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.02; margin: 12px 0; }
.cta-banner p { color: rgba(255,255,255,.65); max-width: 520px; margin: 0; font-size: 16px; line-height: 1.55; }
.cta-banner .badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.cta-badge { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 18px; min-width: 120px; text-align: center; }
.cta-badge .b-num { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -.02em; }
.cta-badge .b-lab { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.cta-actions { display: flex; gap: 18px; margin-top: 28px; flex-wrap: wrap; align-items: center; }
.cta-actions .text-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 2px; }

/* ---- Footer ---- */
footer { padding: 80px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 60px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.foot-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--brand); }
.foot-blurb { color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 18px; max-width: 320px; }
.foot-compliance { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.compliance-badge-img { height: 56px; width: auto; opacity: .9; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 16px; }
.foot-bot .legal { color: var(--muted); font-size: 13px; }
.foot-bot .legal a { margin-left: 14px; }
.foot-bot .compliance { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.compliance-badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 12px; color: var(--muted); }
.compliance-badge .seal { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: white; display: grid; place-items: center; font-size: 10px; font-weight: 700; font-family: var(--font-mono); }

/* ---- Dark hero variant ---- */
body.hero-dark .hero { background: var(--ink); color: white; }
body.hero-dark .hero h1 { color: white; }
body.hero-dark .hero p.lede { color: rgba(255,255,255,.65); }
body.hero-dark .nav { background: color-mix(in oklab, var(--ink) 88%, transparent); border-bottom-color: rgba(255,255,255,.08); }
body.hero-dark .nav-links a { color: rgba(255,255,255,.78); }
body.hero-dark .nav .logo { color: white; }
body.hero-dark .btn-ghost { color: white; border-color: rgba(255,255,255,.22); }
body.hero-dark .btn-ghost:hover { background: rgba(255,255,255,.06); }
body.hero-dark .btn-primary { background: var(--brand); color: white; }
body.hero-dark .btn-primary:hover { background: white; color: var(--ink); }
body.hero-dark .stat .unit { color: var(--brand); }
body.hero-dark .pulse-dot { background: var(--brand); box-shadow: 0 0 0 0 rgba(212,26,105,.5); }
body.hero-dark .hero h1 em { color: var(--brand); }
body.hero-dark .hero-badge { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.86); }
body.hero-dark .hero-meta-pill { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.78); }
body.hero-dark .hero-meta { color: rgba(255,255,255,.6); }
body.hero-dark .stats-card { background: #0e172a; border-color: rgba(255,255,255,.1); }
body.hero-dark .stats-grid { background: rgba(255,255,255,.08); }
body.hero-dark .stat { background: #0e172a; }
body.hero-dark .stat .value { color: white; }
body.hero-dark .stat .label { color: rgba(255,255,255,.55); }
body.hero-dark .stat .sub { color: rgba(255,255,255,.6); }
body.hero-dark .stats-card-head { border-bottom-color: rgba(255,255,255,.1); }
body.hero-dark .stats-card-head .title { color: rgba(255,255,255,.55); }
body.hero-dark .stats-card-head .dot { background: rgba(255,255,255,.2); }
body.hero-dark .stats-foot .live { color: rgba(255,255,255,.55); }

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature { grid-column: span 12; }
  .feature.large { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .industry { aspect-ratio: 4/3; }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .intune { padding: 36px; }
  .intune-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-banner .badges { justify-content: flex-start; }
  .nav-links { display: none; }
}

/* Phone (≤ 640px) */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section.block { padding: 56px 0; }

  .nav-row { height: 60px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 13px; }
  .logo img { height: 26px; }

  /* Hero */
  .hero { padding: 28px 0 56px; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(34px, 8.5vw, 50px); margin: 14px 0 18px; }
  .hero p.lede { font-size: 16px; margin-bottom: 22px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-lg { padding: 12px 18px; font-size: 14px; }
  .hero-meta { gap: 12px; font-size: 12px; margin-top: 22px; }

  /* Hero stats card */
  .stats-card-head { padding: 10px 14px; }
  .stats-card-head .title { font-size: 11px; }
  .stat { padding: 16px 14px; }
  .stat .value { font-size: 38px; }
  .stat .unit { font-size: 18px; }
  .stat .sub { font-size: 12px; margin-top: 6px; }
  .stat .spark { display: none; }
  .stats-foot { padding: 12px 14px; }
  .stats-foot .live { font-size: 10px; }

  /* Section heads stack */
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(28px, 7.5vw, 36px); }
  .section-head p { max-width: 100%; }

  /* Logo marquee tightens */
  .logo-strip-head { font-size: 10px; margin-bottom: 16px; padding: 0 12px; }
  .marquee-track .logo-item { font-size: 16px; height: 40px; margin-right: 44px; }
  .marquee-track .logo-item img { height: 32px; max-width: 140px; }

  /* Features */
  .feature { padding: 22px; }
  .feature h3 { font-size: 22px; }

  /* Process (How it works) */
  .process { padding: 32px 20px; border-radius: 20px; }
  .proc-tab { padding: 12px 14px; }
  .proc-tab h4 { font-size: 15px; }

  /* Intune */
  .intune { padding: 22px; border-radius: 20px; }
  .intune-art { padding: 18px; }

  /* Industries: 2-up grid with compact auto-height cards */
  .industries { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .industry { aspect-ratio: auto; min-height: 140px; padding: 16px; }
  .industry h4 { font-size: 20px; }

  /* Testimonials drop to 1-col on phone */
  .testimonials { grid-template-columns: 1fr; gap: 12px; }
  .testimonial { padding: 22px; }
  .testimonial .quote { font-size: 16px; margin-bottom: 18px; }

  /* Pricing */
  .price-card { padding: 26px 22px; }
  .price-amount { font-size: 44px; }
  .price-blurb { font-size: 13px; }
  .price-feat li { font-size: 13px; }

  /* FAQ */
  .faq-item { padding: 16px 0; }
  .faq-item summary { font-size: 17px; gap: 12px; }

  /* CTA banner */
  .cta-banner { padding: 36px 22px; border-radius: 20px; }
  .cta-banner h2 { font-size: clamp(28px, 7.5vw, 36px); }
  .cta-actions { gap: 12px; margin-top: 22px; }
  .cta-banner .badges { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-badge { min-width: 0; padding: 14px; text-align: left; }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
  .foot-blurb { font-size: 13px; }
  .foot-compliance { gap: 10px; }
  .compliance-badge-img { height: 44px; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 22px; }
  .foot-bot .legal a { margin-left: 8px; }

  /* Tweaks panel: full-width-ish drawer */
  .twk-panel { right: 8px; bottom: 8px; left: 8px; width: auto; }
}

/* ---- Tweaks panel (?tweaks=1) ---- */
.twk-panel { position: fixed; right: 16px; bottom: 16px; z-index: 9999; width: 280px; background: rgba(250,249,247,.92); color: #29261b; backdrop-filter: blur(20px) saturate(160%); border: 1px solid rgba(255,255,255,.6); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); font: 12px/1.4 ui-sans-serif, system-ui, sans-serif; overflow: hidden; }
.twk-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(0,0,0,.08); font-weight: 600; }
.twk-hd button { background: none; border: 0; cursor: pointer; opacity: .6; font-size: 14px; padding: 2px 6px; }
.twk-hd button:hover { opacity: 1; }
.twk-body { padding: 12px 14px 16px; }
.twk-row { margin-bottom: 14px; }
.twk-row:last-child { margin-bottom: 0; }
.twk-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin-bottom: 8px; }
.twk-swatches { display: flex; gap: 8px; }
.twk-swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0,0,0,.08); cursor: pointer; padding: 0; }
.twk-swatches button.active { border-color: rgba(0,0,0,.55); transform: scale(1.05); }
.twk-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.twk-toggle .sw { width: 36px; height: 20px; border-radius: 999px; background: rgba(0,0,0,.18); position: relative; cursor: pointer; transition: background .15s; }
.twk-toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: white; transition: transform .15s; }
.twk-toggle.on .sw { background: var(--brand); }
.twk-toggle.on .sw::after { transform: translateX(16px); }
.twk-radio { display: flex; gap: 6px; }
.twk-radio button { flex: 1; padding: 6px 8px; font-size: 11px; border: 1px solid rgba(0,0,0,.12); background: white; border-radius: 8px; cursor: pointer; text-transform: capitalize; }
.twk-radio button.active { background: var(--brand); color: white; border-color: var(--brand); }
