/* ==========================================================================
   Express Digital — shared design system
   Used by every page. Page-specific tweaks go in a <style> block on that page.
   ========================================================================== */

:root {
  /* Ink (dark surfaces) */
  --ink-950: #07070c;
  --ink-900: #0c0c14;
  --ink-800: #14141f;
  --ink-700: #1e1e2c;
  --ink-600: #2c2c3d;

  /* Paper (light surfaces) */
  --paper: #f6f4ef;
  --paper-2: #ece9e1;
  --white: #ffffff;

  /* Text */
  --text: #16161f;
  --text-muted: #5b5b6b;
  --text-on-dark: #f3f2f7;
  --text-on-dark-muted: #a3a2b6;

  /* Brand — violet pulled from the logo, plus a silver highlight */
  --brand: #7c5cff;
  --brand-600: #6a47f5;
  --brand-300: #b9a8ff;
  --brand-glow: rgba(124, 92, 255, 0.35);
  --silver: #d9d8e6;

  /* Industry accents */
  --amber: #e0a24a;
  --amber-300: #f2c886;
  --sky: #5aa9ff;
  --mint: #4fd1a5;

  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: rgba(22, 22, 31, 0.1);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { 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; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--text); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--ink-900); color: var(--text-on-dark); }
.section--ink { background: var(--ink-950); color: var(--text-on-dark); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }

.stack > * + * { margin-top: var(--stack, 1rem); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.section--dark .eyebrow, .section--ink .eyebrow, .on-dark .eyebrow { color: var(--brand-300); }

.display { font-size: clamp(44px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.04em; }
.h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--text-muted); max-width: 60ch; }
.section--dark .lead, .section--ink .lead, .on-dark .lead { color: var(--text-on-dark-muted); }
.muted { color: var(--text-muted); }
.section--dark .muted, .section--ink .muted { color: var(--text-on-dark-muted); }
.gradient-text {
  background: linear-gradient(100deg, #fff 0%, var(--brand-300) 55%, var(--silver) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--text); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.005em; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--brand { --btn-bg: var(--brand); --btn-fg: #fff; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.btn--brand:hover { --btn-bg: var(--brand-600); box-shadow: 0 16px 40px -12px var(--brand-glow); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border-color: var(--line-light); }
.btn--ghost:hover { border-color: var(--text); }
.on-dark .btn--ghost, .section--dark .btn--ghost, .section--ink .btn--ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.on-dark .btn--ghost:hover, .section--dark .btn--ghost:hover, .section--ink .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--amber { --btn-bg: var(--amber); --btn-fg: #1b1206; }
.btn--amber:hover { --btn-bg: var(--amber-300); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; white-space: normal; text-align: center; padding-block: 12px; line-height: 1.3; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(10, 10, 16, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.brand img { height: 40px; width: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.brand span { white-space: nowrap; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav-link svg { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.has-menu:hover .nav-link svg, .has-menu:focus-within .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 320px; padding: 10px; border-radius: var(--radius);
  background: rgba(20, 20, 31, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; transition: background .15s; }
.dropdown a:hover { background: rgba(255,255,255,.06); }
.dropdown .dd-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(124,92,255,.14); color: var(--brand-300); }
.dropdown .dd-icon svg { width: 17px; height: 17px; }
.dropdown .dd-title { display: block; font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.dropdown .dd-sub { display: block; font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.35; margin-top: 2px; }
.dropdown .dd-all { margin-top: 6px; border-top: 1px solid var(--line-dark); padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--brand-300); }
.dd-icon--amber { background: rgba(224,162,74,.16) !important; color: var(--amber-300) !important; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: none; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.85); padding: 8px 10px; }
.nav-phone svg { width: 16px; height: 16px; }
.nav-phone:hover { color: #fff; }
.nav-cta { display: none; }

.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (min-width: 1240px) { .nav-phone { display: inline-flex; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--ink-950); color: #fff;
  display: flex; flex-direction: column; padding: 0 var(--gutter) 32px;
  overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: 76px; flex: none; }
.mobile-nav nav { flex: 1; padding-top: 12px; }
.mobile-nav a.m-link, .mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-dark); cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 22px; height: 22px; transition: transform .25s; opacity: .7; }
.mobile-nav details[open] summary svg { transform: rotate(45deg); }
.mobile-nav details .m-sub { display: grid; gap: 2px; padding: 8px 0 14px; border-bottom: 1px solid var(--line-dark); }
.mobile-nav details .m-sub a { padding: 9px 4px; font-size: 17px; color: var(--text-on-dark-muted); }
.mobile-nav details .m-sub a:hover { color: #fff; }
.mobile-nav__foot { display: grid; gap: 12px; margin-top: 28px; }
body.nav-open { overflow: hidden; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--text-on-dark);
  background: var(--ink-950);
  padding: calc(76px + clamp(64px, 9vw, 120px)) 0 clamp(64px, 8vw, 104px);
}
.page-hero .lead { margin-top: 22px; }
.page-hero .hero-actions { margin-top: 36px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-on-dark-muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* Ambient glow + grid used behind dark heroes */
.ambient { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.ambient .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.ambient .orb--1 { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, #6a47f5 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.ambient .orb--2 { width: 520px; height: 520px; right: -140px; top: 80px; background: radial-gradient(circle, #2f6bff 0%, transparent 65%); opacity: .4; animation: drift 22s ease-in-out infinite alternate-reverse; }
.ambient .orb--3 { width: 420px; height: 420px; left: 40%; bottom: -260px; background: radial-gradient(circle, #b9a8ff 0%, transparent 65%); opacity: .25; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line-light); padding: clamp(24px, 3vw, 32px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20, 16, 50, .28); }
.card--dark { background: var(--ink-800); border-color: var(--line-dark); color: var(--text-on-dark); }
.card--dark:hover { border-color: rgba(185,168,255,.3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.card h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 16px; }
.card--dark p { color: var(--text-on-dark-muted); }

.icon-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(124,92,255,.16), rgba(124,92,255,.05));
  color: var(--brand-600); border: 1px solid rgba(124,92,255,.18);
}
.icon-badge svg { width: 22px; height: 22px; }
.card--dark .icon-badge { color: var(--brand-300); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; background: var(--paper-2); color: var(--text); }
.pill--dark { background: rgba(255,255,255,.08); color: var(--text-on-dark); }
.pill--brand { background: rgba(124,92,255,.12); color: var(--brand-600); }
.pill--amber { background: rgba(224,162,74,.16); color: var(--amber-300); }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: rgba(124,92,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5cff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-dark); background: var(--ink-950); color: var(--text-on-dark-muted); padding: 22px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--brand); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Browser frame for screenshots ---------- */
.browser { border-radius: 14px; overflow: hidden; background: var(--ink-700); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.65); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: var(--white); border: 1px solid var(--line-light); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(124,92,255,.15); }
.on-dark .field label { color: var(--text-on-dark); }
.on-dark .field input, .on-dark .field textarea, .on-dark .field select { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: rgba(255,255,255,.4); }
.form-status { min-height: 1.5em; font-weight: 600; font-size: 15px; }
.form-status.is-ok { color: var(--mint); }
.form-status.is-err { color: #ff8a8a; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink-900); color: var(--text-on-dark);
  padding: clamp(40px, 6vw, 80px);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--text-on-dark-muted); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 36ch; }
.footer-big { margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; }

/* ---------- Article (blog posts) ---------- */
.prose { max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 2em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.4; }
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-light); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ==========================================================================
   Inner-page components
   ========================================================================== */

/* Page hero variants */
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -0.04em; max-width: 16ch; }
.page-hero h1 .serif { color: var(--brand-300); }
.page-hero--article h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 22ch; line-height: 1.05; }
.page-hero--amber .orb--1 { background: radial-gradient(circle, #b8741f 0%, transparent 65%); }
.page-hero--amber .orb--2 { background: radial-gradient(circle, #6b3a12 0%, transparent 65%); }
.page-hero--amber h1 .serif, .page-hero--amber .eyebrow { color: var(--amber-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14.5px; color: var(--text-on-dark-muted); }

/* Split: text + media/list side by side */
.split { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.25fr 1fr; } }
.split .media { border-radius: var(--radius-lg); overflow: hidden; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ink-900); padding: clamp(24px, 3vw, 36px); color: var(--text-on-dark); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--text-on-dark-muted); font-size: 15px; }
.section--paper .stats, .section--white .stats { background: var(--line-light); border-color: var(--line-light); }
.section--paper .stat, .section--white .stat { background: var(--white); color: var(--text); }
.section--paper .stat span, .section--white .stat span { color: var(--text-muted); }

/* FAQ (native <details>) */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq--center { margin-inline: auto; }
.faq details { border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); transition: border-color .2s; }
.faq details[open] { border-color: rgba(124,92,255,.35); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-family: var(--font-sans); font-size: 20px; font-weight: 400; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--text-muted); }
.section--dark .faq details, .section--ink .faq details { background: var(--ink-800); border-color: var(--line-dark); }
.section--dark .faq summary::after, .section--ink .faq summary::after { background: rgba(255,255,255,.08); }
.section--dark .faq details > div, .section--ink .faq details > div { color: var(--text-on-dark-muted); }

/* CTA band contents */
.cta-band__inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: 48px; } }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.035em; }
.cta-band h2 .serif { color: var(--brand-300); }
.cta-band p { margin-top: 14px; color: var(--text-on-dark-muted); font-size: 18px; max-width: 52ch; }
.cta-band--amber h2 .serif { color: var(--amber-300); }
.cta-band--amber .orb--1 { background: radial-gradient(circle, #b8741f 0%, transparent 65%); }

/* Numbered list cards */
.steps-list { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps-list--4 { grid-template-columns: repeat(4, 1fr); } .steps-list--3 { grid-template-columns: repeat(3, 1fr); } }
.steps-list > li { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); border: 1px solid var(--line-light); background: var(--white); }
.steps-list > li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--brand-600); margin-bottom: 32px; letter-spacing: .04em; }
.steps-list > li h3 { font-size: 20px; margin-bottom: 10px; }
.steps-list > li p { color: var(--text-muted); font-size: 15.5px; }
.section--dark .steps-list > li, .section--ink .steps-list > li { background: var(--ink-800); border-color: var(--line-dark); }
.section--dark .steps-list > li::before, .section--ink .steps-list > li::before { color: var(--brand-300); }
.section--dark .steps-list > li p, .section--ink .steps-list > li p { color: var(--text-on-dark-muted); }

/* Blog cards */
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line-light); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20,16,50,.28); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--ink-800); overflow: hidden; position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13.5px; color: var(--text-muted); }
.post-card h2, .post-card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.post-card p { color: var(--text-muted); font-size: 15.5px; }
.post-card .link-arrow { margin-top: auto; padding-top: 8px; color: var(--brand-600); font-size: 15px; }

/* Article layout */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; font-size: 15px; color: var(--text-on-dark-muted); }
.article-body { background: var(--white); padding-block: clamp(56px, 8vw, 96px); }
.prose .callout { padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); font-size: 17px; }
.prose .callout strong:first-child { display: block; margin-bottom: 6px; font-family: var(--font-display); }
.toc { padding: 22px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); font-size: 16px; }
.toc strong { display: block; font-family: var(--font-display); margin-bottom: 10px; }
.toc ol { list-style: decimal; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--brand-600); }

/* Amber accent helpers (cigar lounge) */
.text-amber { color: var(--amber-300); }
.icon-badge--amber { background: linear-gradient(140deg, rgba(224,162,74,.2), rgba(224,162,74,.06)); color: #b9761f; border-color: rgba(224,162,74,.3); }
.card--dark .icon-badge--amber, .section--dark .icon-badge--amber, .section--ink .icon-badge--amber { color: var(--amber-300); }
.eyebrow--amber { color: #b9761f !important; }
.section--dark .eyebrow--amber, .section--ink .eyebrow--amber { color: var(--amber-300) !important; }

/* Live-site showcase (cigar lounge clients) */
.showcase { display: grid; gap: 18px; }
@media (min-width: 820px) { .showcase { grid-template-columns: 1fr 1fr; } }
.showcase-card {
  display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-800); border: 1px solid rgba(224,162,74,.22); color: var(--text-on-dark);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s var(--ease);
}
.showcase-card:hover { transform: translateY(-4px); border-color: rgba(224,162,74,.55); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.showcase-card .browser { border-radius: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: none; }
.showcase-card .browser__bar { gap: 6px; }
.showcase-card .browser__url { margin-left: 10px; font-size: 12px; color: var(--text-on-dark-muted); letter-spacing: .01em; }
.showcase-card .browser img { transition: transform .8s var(--ease); }
.showcase-card:hover .browser img { transform: scale(1.03); }
.showcase-card__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.showcase-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-card h3, .showcase-card h4 { font-size: 22px; letter-spacing: -0.02em; color: #fff; margin: 0; }
.showcase-card p { color: var(--text-on-dark-muted); font-size: 15.5px; }
.showcase-card .link-arrow { color: var(--amber-300); font-size: 15px; margin-top: 4px; }
.showcase-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--amber-300); margin-bottom: 18px; }
