/* ============================================================================
   Multi-site marketing stylesheet. One skeleton, six archetypes via [data-style].
   Theme colors/fonts/radius are injected per-site via <style id="theme"> (:root).
   ============================================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
img, svg { display: block; }
em { font-style: normal; color: var(--accent); }
.sec-in { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .sec-in { padding: 0 20px; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.01em; }
.sec-h { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; margin-bottom: 12px; }
.sec-sub { color: var(--muted); max-width: 620px; font-size: 17px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--border); }
.nav-in { max-width: 1120px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 92px 0 64px; }
.hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-in { position: relative; z-index: 1; }
.hero-title { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.04; margin-bottom: 22px; max-width: 15ch; }
.hero-sub { color: var(--muted); font-size: 19px; max-width: 620px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.metrics { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 56px; }
.metric-v { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); }
.metric-l { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ── Sections generic ────────────────────────────────────────────────────── */
section { padding: 72px 0; }
.features .eyebrow { margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature-ix { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ── Logo wall ───────────────────────────────────────────────────────────── */
.logos-proof .sec-h { margin-top: 6px; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-top: 36px; }
.logo { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px; }
.logo-mark { width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.logo-name { font-weight: 600; font-size: 14px; color: var(--ink); }

/* ── Attestation proof ───────────────────────────────────────────────────── */
.attest-card { margin-top: 34px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.attest-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 7px 14px; }
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.attest-link { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.coverage { background: color-mix(in srgb, var(--accent) 7%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); border-radius: calc(var(--radius) * 0.7); padding: 15px 17px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.coverage b { color: var(--ink); }
.agg-row { display: flex; gap: 34px; flex-wrap: wrap; margin: 22px 2px; }
.agg-v { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); }
.agg-l { font-size: 13px; color: var(--muted); max-width: 200px; }
.c-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: calc(var(--radius) * 0.7); }
.c-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.c-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.c-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--ink); }
.c-table tr:last-child td { border-bottom: none; }
.c-co { font-weight: 600; }
.c-ind, .c-seats, .c-mo { color: var(--muted); }
.tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; }
.out { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.attest-cta { margin-top: 22px; }

/* ── Secondary claims ────────────────────────────────────────────────────── */
.claim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.claim-row h3 { font-size: 18px; margin-bottom: 8px; }
.claim-row p { color: var(--muted); font-size: 15px; }

/* ── CTA + footer ────────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 540px; }
.cta-band .btn { margin-top: 8px; }
.site-footer { border-top: 1px solid var(--border); padding: 44px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-blurb { color: var(--muted); font-size: 13px; max-width: 420px; margin-top: 10px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; height: fit-content; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--accent); }

/* ============================================================================
   ARCHETYPE 1 — techgrid (dark security console)
   ============================================================================ */
[data-style="techgrid"] .btn-primary { color: #05070a; }
[data-style="techgrid"] .logo-mark { background: var(--accent); color: #05070a; }
[data-style="techgrid"] .hero-decor {
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 0%, #000 20%, transparent 72%);
}
[data-style="techgrid"] .hero-decor::after { content: ""; position: absolute; top: -160px; left: -80px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 66%); filter: blur(70px); }
[data-style="techgrid"] .eyebrow { color: var(--accent); }
[data-style="techgrid"] .feature { box-shadow: 0 0 0 1px transparent; }
[data-style="techgrid"] .feature:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
[data-style="techgrid"] .hero-title { letter-spacing: -0.02em; }

/* ============================================================================
   ARCHETYPE 2 — enterprise (light, navy, trustworthy)
   ============================================================================ */
[data-style="enterprise"] .hero { padding-top: 100px; }
[data-style="enterprise"] .btn { border-radius: 999px; }
[data-style="enterprise"] .hero-decor { background: radial-gradient(ellipse 60% 50% at 50% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
[data-style="enterprise"] .feature { box-shadow: 0 1px 2px rgba(16,27,45,.04), 0 8px 24px rgba(16,27,45,.05); }
[data-style="enterprise"] .attest-card { box-shadow: 0 1px 2px rgba(16,27,45,.04), 0 12px 40px rgba(16,27,45,.07); }
[data-style="enterprise"] .lp-badge { background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* ============================================================================
   ARCHETYPE 3 — industrial (black/amber, huge type, hard edges)
   ============================================================================ */
[data-style="industrial"] { }
[data-style="industrial"] .brand, [data-style="industrial"] .hero-title, [data-style="industrial"] .sec-h, [data-style="industrial"] .cta-band h2 { text-transform: uppercase; font-weight: 900; letter-spacing: -0.02em; }
[data-style="industrial"] .hero-title { font-size: clamp(40px, 7vw, 84px); line-height: 0.96; }
[data-style="industrial"] .btn-primary { color: #0a0a0b; }
[data-style="industrial"] .btn { border-radius: 0; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
[data-style="industrial"] .metric-v { font-size: 52px; font-weight: 900; }
[data-style="industrial"] .logo-mark { background: var(--accent); color: #0a0a0b; border-radius: 0; }
[data-style="industrial"] .hero-decor { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent) 0 2px, transparent 2px 22px); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
[data-style="industrial"] .feature { border-width: 1px; border-color: var(--border); }
[data-style="industrial"] .feature:hover { border-color: var(--accent); }
[data-style="industrial"] .eyebrow { color: var(--accent); }

/* ============================================================================
   ARCHETYPE 4 — calm-data (teal/white, rounded, soft)
   ============================================================================ */
[data-style="calm-data"] .metric-v { color: var(--accent); }
[data-style="calm-data"] .hero-decor::before { content: ""; position: absolute; top: -140px; right: -100px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 68%); filter: blur(60px); }
[data-style="calm-data"] .hero-decor::after { content: ""; position: absolute; bottom: -160px; left: -120px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent2) 18%, transparent), transparent 68%); filter: blur(60px); }
[data-style="calm-data"] .feature { box-shadow: 0 10px 30px rgba(14,46,43,.06); border-color: transparent; }
[data-style="calm-data"] .attest-card { box-shadow: 0 20px 50px rgba(14,46,43,.08); border-color: transparent; }
[data-style="calm-data"] .btn { border-radius: 999px; }
[data-style="calm-data"] .metric-v { color: var(--accent); }

/* ============================================================================
   ARCHETYPE 5 — vibrant (gradient purple/pink, playful)
   ============================================================================ */
[data-style="vibrant"] .hero-decor { background: radial-gradient(ellipse 70% 60% at 50% -20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); }
[data-style="vibrant"] .hero-decor::after { content: ""; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 560px; height: 360px; background: conic-gradient(from 180deg, var(--accent), var(--accent2), var(--accent)); filter: blur(90px); opacity: .28; border-radius: 50%; }
[data-style="vibrant"] .btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent2)); color: #fff; }
[data-style="vibrant"] em { background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-style="vibrant"] .feature { box-shadow: 0 12px 34px rgba(27,17,54,.06); border-color: transparent; }
[data-style="vibrant"] .feature-ix { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(120deg, var(--accent), var(--accent2)); color: #fff; }
[data-style="vibrant"] .metric-v { background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-style="vibrant"] .logo-mark { background: linear-gradient(120deg, var(--accent), var(--accent2)); color: #fff; }

/* ============================================================================
   ARCHETYPE 6 — mono-editorial (monochrome + serif, sharp, airy)
   ============================================================================ */
[data-style="mono-editorial"] .hero { padding: 120px 0 80px; }
[data-style="mono-editorial"] .hero-title { font-size: clamp(38px, 6vw, 72px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
[data-style="mono-editorial"] em { font-style: italic; color: var(--accent); }
[data-style="mono-editorial"] .sec-h { font-weight: 400; }
[data-style="mono-editorial"] .btn { border-radius: 2px; }
[data-style="mono-editorial"] .btn-primary { background: var(--ink); color: var(--bg); }
[data-style="mono-editorial"] .feature { border-color: transparent; border-top: 2px solid var(--ink); border-radius: 0; background: transparent; padding: 22px 0; }
[data-style="mono-editorial"] .feature-ix { color: var(--muted); }
[data-style="mono-editorial"] .logo { background: transparent; border-color: var(--border); border-radius: 0; }
[data-style="mono-editorial"] .logo-mark { background: var(--ink); color: var(--bg); border-radius: 0; }
[data-style="mono-editorial"] .attest-card { border-radius: 0; }
[data-style="mono-editorial"] .metric-v { font-weight: 400; }
[data-style="mono-editorial"] .metrics { border-top: 1px solid var(--border); padding-top: 30px; }

/* ============================================================================
   v2 — two-column hero, product mocks, dense sections, SVG logo wall,
   4 new archetypes, low-profile agent link.
   ============================================================================ */
.hero { padding: 84px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy .hero-title { max-width: none; }
.hero-visual { min-width: 0; }
.hero .metrics { margin-top: 40px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 30px; } .hero-visual { display: none; } }

/* product mock */
.mock { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.mode-dark .mock { box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.mock-bar > span { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.mock-url { flex: 1; height: 12px; margin-left: 10px; border-radius: 6px; background: color-mix(in srgb, var(--muted) 18%, transparent); }
.mock-body { display: grid; grid-template-columns: 66px 1fr; min-height: 232px; }
.mock-side { border-right: 1px solid var(--border); padding: 13px 11px; display: flex; flex-direction: column; gap: 9px; }
.mock-side b { height: 11px; border-radius: 4px; background: var(--accent); }
.mock-side u { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--muted) 22%, transparent); }
.mock-main { padding: 15px; display: flex; flex-direction: column; gap: 12px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mock-cards > div { height: 46px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid var(--border); }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding: 9px; border: 1px solid var(--border); border-radius: 8px; }
.mock-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 35%, transparent)); }
.mock-rows { display: flex; flex-direction: column; gap: 7px; }
.mock-rows i { height: 9px; border-radius: 4px; background: color-mix(in srgb, var(--muted) 16%, transparent); }
.mock-rows i:nth-child(2) { width: 82%; } .mock-rows i:nth-child(3) { width: 60%; }

/* SVG logo wall */
.logo svg { flex: none; }

/* deep dive */
.deepdive .sec-in { display: flex; flex-direction: column; gap: 60px; }
.dd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.dd-row.rev .dd-copy { order: 2; }
.dd-copy h3 { font-size: 26px; margin-bottom: 12px; }
.dd-copy p { color: var(--muted); margin-bottom: 15px; }
.dd-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dd-bullets li { padding-left: 25px; position: relative; font-size: 14.5px; }
.dd-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 820px) { .dd-row { grid-template-columns: 1fr; gap: 24px; } .dd-row.rev .dd-copy { order: 0; } }

/* integrations */
.integrations .sec-in { text-align: center; }
.int-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.int-chip { font-family: var(--font-mono); font-size: 13px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--ink); }

/* testimonial */
.quote .sec-in { max-width: 820px; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(21px, 3vw, 30px); line-height: 1.4; margin: 0 0 18px; letter-spacing: -0.01em; }
.quote cite { font-style: normal; color: var(--muted); font-size: 14px; font-family: var(--font-mono); }

/* trust strip */
.trust .sec-in { text-align: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; }

/* low-profile agent link */
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.agent-link { font-family: var(--font-mono); font-size: 12px; color: var(--muted); opacity: .72; }
.agent-link:hover { color: var(--accent); opacity: 1; }
@media (max-width: 640px) { .foot-right { align-items: flex-start; } }

/* ── ARCHETYPE 7 — fintech-dark (premium dark corporate card) ─────────────── */
[data-style="fintech-dark"] .btn-primary { color: #0a0a0f; }
[data-style="fintech-dark"] .logo-name { color: var(--ink); }
[data-style="fintech-dark"] .hero-decor { background: radial-gradient(ellipse 55% 55% at 82% -5%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 68%); }
[data-style="fintech-dark"] .hero-title { letter-spacing: -0.03em; }
[data-style="fintech-dark"] .feature:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }

/* ── ARCHETYPE 8 — fintech-clean (light indigo/mint spend dashboard) ──────── */
[data-style="fintech-clean"] .feature { box-shadow: 0 8px 24px rgba(20,21,42,.06); border-color: transparent; }
[data-style="fintech-clean"] .mock { box-shadow: 0 22px 55px rgba(20,21,42,.10); }
[data-style="fintech-clean"] .btn { border-radius: 10px; }

/* ── ARCHETYPE 9 — payroll-warm (cream/coral, friendly, rounded) ──────────── */
[data-style="payroll-warm"] .btn { border-radius: 999px; }
[data-style="payroll-warm"] .feature { box-shadow: 0 12px 32px rgba(42,30,23,.07); border-color: transparent; }
[data-style="payroll-warm"] .int-chip, [data-style="payroll-warm"] .trust-chip { border-radius: 999px; }
[data-style="payroll-warm"] .hero-decor::after { content: ""; position: absolute; top: -120px; right: -80px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 68%); filter: blur(50px); }

/* ── ARCHETYPE 10 — payroll-modern (slate/green, structured) ──────────────── */
[data-style="payroll-modern"] .feature { box-shadow: 0 6px 20px rgba(19,32,28,.05); }
[data-style="payroll-modern"] .metric-v { color: var(--accent); }
[data-style="payroll-modern"] .hero-decor { background: radial-gradient(ellipse 60% 50% at 20% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
