/* Efforti marketing site — v3 "ledger" design system.
   Editorial evergreen: warm paper light theme, deep green ink dark theme,
   Newsreader serif display over Hanken Grotesk, gold accents on dark bands.
   Type & structure informed by UnifyApps and Oleria production sites. */

/* ---------- self-hosted fonts ---------- */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/hanken-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/hanken-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/hanken-grotesk-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/newsreader-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/newsreader-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/newsreader-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/newsreader-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/newsreader-latin-500-italic.woff2') format('woff2'); }

:root {
  color-scheme: light;
  /* dark bands (fixed in both themes) — product navy */
  --ink-950: #0A1426;
  --ink-900: #101C33;
  --ink-800: #172745;
  --line-dark: rgba(130, 180, 255, .16);
  --text-hi: #F2F6FC;
  --text-dark-body: #C3CEDF;
  --text-dark-mute: #8FA5C4;
  /* page surfaces (theme-switched) — product cool white */
  --bg: #FAFBFD;
  --bg-alt: #F2F5F9;
  --surface: #FFFFFF;
  --border: #E4E9F1;
  --ink: #131C2E;
  --body: #3C4759;
  --muted: #5B6A85;
  /* accents (theme-switched) — product azure #2B7DFF */
  --primary: #2B7DFF;
  --primary-ink: #1D5AD1;
  --primary-deep: #143E96;
  --cyan: #82B4FF;
  --cyan-soft: #B6D3FF;
  --violet: #82B4FF;
  --tint: #EBF3FF;
  --tint-line: #C6DBFE;
  --eyebrow: #1D5AD1;
  --success: #52E3C2;
  --success-ink: #0A7560;
  --focus: #1D5AD1;
  --danger: #B91C1C;
  --grad-text: none;
  --grad-line: linear-gradient(90deg, transparent, rgba(130,180,255,.5), transparent);
  /* geometry */
  --r-card: 14px;
  --r-btn: 6px;
  --shadow: 0 1px 3px rgba(18, 26, 44, .07);
  --shadow-lift: 0 14px 40px -14px rgba(18, 26, 44, .16);
  --glow: 0 0 0 rgba(0,0,0,0);
  --container: 1200px;
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', 'Georgia', serif;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0D1830;
  --bg-alt: #0B1526;
  --surface: #142542;
  --border: #24365C;
  --ink: #F2F6FC;
  --body: #C3CEDF;
  --muted: #90A3C0;
  --primary: #8FBFF7;
  --primary-ink: #8FBFF7;
  --primary-deep: #B6D3FF;
  --tint: #16264A;
  --tint-line: #2C4471;
  --eyebrow: #9CC5FF;
  --success-ink: #52E3C2;
  --focus: #82B4FF;
  --danger: #FF9C93;
  --shadow: 0 1px 3px rgba(0, 0, 0, .35);
  --shadow-lift: 0 14px 40px -14px rgba(0, 0, 0, .55);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { color: var(--primary-deep); }
p a:not(.btn), .faq-a a { text-decoration: underline; text-underline-offset: 2px; }
ul { padding: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 18px; letter-spacing: -0.015em; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.012em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(31px, 4vw, 50px); line-height: 1.09; letter-spacing: -0.008em; }
h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* italic serif accent inside headlines — gold on dark bands, evergreen on paper */
.hl { font-style: italic; font-weight: 500; color: var(--primary-ink); padding-right: .06em; }
.dk .hl { color: var(--cyan); }

.eyebrow {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .24em; color: var(--eyebrow); margin: 0 0 18px;
}

section { padding: 104px 0; }
section:not(.dk) { background: var(--bg); }
.section-alt:not(.dk) { background: var(--bg-alt); }
.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- dark surfaces ---------- */
.dk { background: linear-gradient(180deg, #0B1526 0%, var(--ink-950) 55%, #0D1B33 100%); color: var(--text-dark-body); position: relative; }
.dk h1, .dk h2, .dk h3, .dk h4 { color: var(--text-hi); }
.dk p { color: var(--text-dark-body); }
.dk .eyebrow { color: var(--cyan); letter-spacing: .24em; }
.dk a:not(.btn) { color: var(--cyan); }
.dk a:not(.btn):hover { color: var(--cyan-soft); }
.dk .section-head p, .dk .muted { color: var(--text-dark-mute); }
.dk--deep { background: var(--ink-900); }

/* aurora glow layers */
.aurora { position: relative; overflow: hidden; isolation: isolate; }
.aurora::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 1100px; height: 640px; top: -320px; left: 50%; transform: translateX(-50%);
  border-radius: 50%; filter: blur(90px);
  background: radial-gradient(closest-side, rgba(130,180,255,.10), transparent 72%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px; border-radius: var(--r-btn);
  font-size: 16px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease-out, border-color .18s ease-out, color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out;
}
.btn--primary { background: #1D5AD1; color: #FFFFFF; box-shadow: 0 8px 24px -12px rgba(20,62,150,.55); }
.btn--primary:hover { background: #143E96; color: #FFFFFF; transform: translateY(-1px); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--muted); color: var(--ink); background: var(--bg-alt); }
/* dark-band variants: cream primary, hairline secondary */
.dk .btn--primary {
  background: #EFF5FF; color: #0E1B33;
  border-color: transparent; box-shadow: 0 10px 34px -14px rgba(0,0,0,.6);
}
.dk .btn--primary:hover { background: #FFFFFF; color: #0A1426; transform: translateY(-1px); }
.dk .btn--secondary {
  background: rgba(240,246,255,.04); color: var(--text-hi); border-color: rgba(130,180,255,.4);
  backdrop-filter: blur(6px);
}
.dk .btn--secondary:hover { border-color: rgba(130,180,255,.75); color: #fff; background: rgba(240,246,255,.09); }
.btn--sm { height: 41px; padding: 0 17px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 17px; }
.btn-arrow { transition: transform .18s ease-out; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row--center { justify-content: center; }
.micro-note { font-size: 14px; margin-top: 16px; color: var(--text-dark-mute); }
section:not(.dk) .micro-note { color: var(--muted); }

/* ---------- announcement ---------- */
.announce { background: var(--ink-900); border-bottom: 1px solid var(--line-dark); }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 24px; }
.announce p { margin: 0; font-size: 14px; color: var(--text-dark-body); text-align: center; }
.announce a { margin-left: 6px; color: var(--cyan); }
.announce a:hover { color: var(--cyan-soft); }
.announce-x { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--text-dark-mute); cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.announce-x:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ---------- header (dark glass, all pages) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 251, 253, .84);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease-out, background-color .2s ease-out;
}
[data-theme="dark"] .site-header { background: rgba(11, 19, 36, .8); }
/* blur lives on a pseudo so the header never becomes the containing block
   for the position:fixed mobile drawer (backdrop-filter would trap it) */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(250, 251, 253, .95); }
[data-theme="dark"] .site-header.scrolled { border-bottom-color: rgba(130,180,255,.18); background: rgba(11, 19, 36, .95); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--primary-ink); }
.site-footer .brand, .lp-header .brand { color: var(--cyan); }
.logo-mark { width: 27px; height: 27px; flex: 0 0 auto; }
.brand-word { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.site-footer .brand-word, .lp-header .brand-word { color: var(--text-hi); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px;
  font-size: 15.5px; font-weight: 500; color: var(--body);
  background: none; border: 0; border-radius: 6px; cursor: pointer; font-family: inherit;
}
.nav-link:hover { color: var(--ink); background: var(--bg-alt); }
.nav-link[aria-current="page"] { color: var(--primary-ink); }
.chev { width: 10px; height: 7px; transition: transform .18s ease-out; }
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 330px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: 0 30px 60px -24px rgba(8,14,28,.35); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease-out, transform .16s ease-out, visibility .16s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-item.open .chev { transform: rotate(180deg); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 10px; }
.dropdown a:hover { background: var(--bg-alt); }
.dropdown strong { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.dropdown span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.nav-ctas { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-ctas .btn--secondary { background: transparent; color: var(--body); border-color: var(--border); }
.nav-ctas .btn--secondary:hover { color: var(--ink); border-color: var(--muted); background: var(--bg-alt); }
.nav-ctas .btn--primary { background: #1D5AD1; color: #FFFFFF; box-shadow: none; }
.nav-ctas .btn--primary:hover { background: #143E96; color: #FFFFFF; }
[data-theme="dark"] .nav-ctas .btn--primary { background: #EFF5FF; color: #0E1B33; }
[data-theme="dark"] .nav-ctas .btn--primary:hover { background: #FFFFFF; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto;
  border: 1px solid var(--border); border-radius: 6px; background: transparent;
  color: var(--body); cursor: pointer;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); background: var(--bg-alt); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .ic-moon { display: none; }
[data-theme="dark"] .theme-toggle .ic-moon { display: block; }
[data-theme="dark"] .theme-toggle .ic-sun { display: none; }
.nav-burger { display: none; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 150px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); gap: 48px; align-items: center; }
.hero-copy .sub { font-size: 19px; color: var(--text-dark-body); max-width: 560px; margin-bottom: 32px; }
.hero-kw { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0 0 30px; padding: 0; }
.hero-kw li { font-size: 15.5px; font-weight: 600; color: var(--cyan-soft); letter-spacing: .01em; font-family: var(--serif); font-style: italic; }
.hero-kw li + li::before { content: '•'; margin: 0 12px; color: rgba(130,180,255,.5); font-weight: 400; font-style: normal; }
.hero .trust-strip { margin-top: 30px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.trust-strip li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-dark-mute); font-weight: 500; }
section:not(.dk) .trust-strip li { color: var(--muted); }
.ts-ic { width: 15px; height: 15px; color: var(--success); flex: 0 0 auto; }
section:not(.dk) .ts-ic { color: var(--success-ink); }

/* hero visual composition */
.hero-visual { position: relative; }
.constellation { position: absolute; inset: -80px -50px -50px -70px; z-index: 0; pointer-events: none; }
.constellation svg { width: 100%; height: 100%; }
.stack { position: relative; z-index: 1; }
.stack .frame { transform: rotate(.6deg); }
.float-card {
  position: absolute; z-index: 2;
  background: rgba(15, 26, 48, .86); border: 1px solid rgba(130,180,255,.3);
  backdrop-filter: blur(10px); border-radius: 14px; padding: 13px 17px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.65);
  color: var(--text-hi); font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--text-dark-mute); font-size: 12px; margin-top: 2px; }
.float-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px rgba(82,227,194,.8); flex: 0 0 auto; }
.fc-1 { top: 44%; right: -30px; animation-delay: 0s; }
.fc-2 { bottom: 36px; left: -36px; animation-delay: 1.6s; }
.fc-3 { bottom: -26px; right: 44px; animation-delay: 3.1s; }
.fc-score b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: #fff; line-height: 1; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- glass frame ---------- */
.frame {
  background: rgba(13, 22, 42, .8);
  border: 1px solid rgba(130,180,255,.28);
  border-radius: var(--r-card);
  overflow: hidden; position: relative;
  box-shadow: 0 40px 90px -30px rgba(4, 9, 22, .85);
}
.frame-bar { display: flex; gap: 6px; padding: 12px 15px; border-bottom: 1px solid rgba(130,180,255,.16); background: rgba(10, 18, 34, .9); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(130,180,255,.35); }
.frame img { width: 100%; }
.frame-placeholder { aspect-ratio: 16 / 9.1; display: grid; place-items: center; background: linear-gradient(160deg, #14233F, #0E192E); }
.frame-placeholder span { color: var(--text-dark-mute); font-size: 15px; font-weight: 500; }
.frame-chip {
  position: absolute; top: 32px; right: -12px;
  background: rgba(15, 26, 48, .92); border: 1px solid rgba(130,180,255,.35);
  backdrop-filter: blur(8px); border-radius: 999px; padding: 10px 17px;
  font-size: 13.5px; font-weight: 600; color: var(--text-hi);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7);
}
.frame-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px rgba(82,227,194,.85); }
/* light-section frames */
section:not(.dk) .frame {
  background: var(--surface); border-color: var(--border);
  box-shadow: 0 30px 70px -28px rgba(16, 24, 42, .3);
}
section:not(.dk) .frame-bar { background: var(--bg-alt); border-bottom-color: var(--border); }
section:not(.dk) .frame-bar i { background: var(--border); }
section:not(.dk) .frame-placeholder { background: var(--bg-alt); }
section:not(.dk) .frame-placeholder span { color: var(--muted); }

/* ---------- stats band (dark) ---------- */
.stats-band { padding: 78px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stats-band .band-note { text-align: center; color: var(--text-dark-mute); font-size: 14px; margin: 0 0 46px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.4vw, 58px); color: var(--text-hi); line-height: 1; margin-bottom: 10px; }
.stat b .u { color: var(--cyan); }
.stat span { color: var(--text-dark-mute); font-size: 15px; }

/* ---------- pill chips row ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 56px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(130,180,255,.35); color: var(--text-dark-body);
  background: rgba(240,246,255,.04); border-radius: 999px; padding: 11px 20px;
  font-size: 15px; font-weight: 600;
}
a.chip:hover { border-color: rgba(130,180,255,.65); color: #fff; }
section:not(.dk) .chip { border-color: var(--border); color: var(--body); background: var(--surface); }
section:not(.dk) a.chip:hover { border-color: var(--primary-ink); color: var(--ink); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 30px; box-shadow: var(--shadow);
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h2, .card h3 { margin-bottom: 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--font); }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card-ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--tint); border: 1px solid var(--tint-line);
  color: var(--primary-ink); display: grid; place-items: center; margin-bottom: 20px;
}
.card-ic svg { width: 21px; height: 21px; }
.dk .card { background: rgba(240,246,255,.035); border-color: var(--line-dark); box-shadow: none; }
.dk .card:hover { box-shadow: 0 0 60px -24px rgba(130,180,255,.3); }
.dk .card h2, .dk .card h3 { color: var(--text-hi); }
.dk .card p { color: var(--text-dark-mute); }
.dk .card-ic { background: rgba(130,180,255,.12); border: 1px solid rgba(130,180,255,.25); color: var(--cyan); }
.cards-note { text-align: center; font-size: 17px; margin: 46px 0 0; font-weight: 500; }

/* ---------- pillar / feature blocks ---------- */
.pillar-grid, .feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pillar-copy h2, .feature-copy h2 { max-width: 500px; }
.pillar-copy .lead, .feature-copy .lead { font-size: 17.5px; }
.tick-list { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--body); }
.tick-list svg { width: 17px; height: 17px; color: var(--success-ink); flex: 0 0 auto; margin-top: 4px; }
.dk .tick-list li { color: var(--text-dark-body); }
.dk .tick-list svg { color: var(--success); }
.text-link { font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: '→'; transition: transform .18s ease-out; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- bento (scoring flagship, dark) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento-cell {
  background: rgba(240,246,255,.035); border: 1px solid var(--line-dark);
  border-radius: var(--r-card); padding: 30px; position: relative; overflow: hidden;
}
.bento-cell.b-shot { padding: 0; background: transparent; border: 0; overflow: visible; }
.b-7 { grid-column: span 7; } .b-5 { grid-column: span 5; }
.b-6 { grid-column: span 6; } .b-12 { grid-column: span 12; } .b-4 { grid-column: span 4; }
.bento h3 { color: var(--text-hi); font-size: 18px; margin-bottom: 10px; }
.bento p { color: var(--text-dark-mute); font-size: 15px; }
.rubric { display: grid; gap: 13px; margin-top: 20px; }
.rubric-row { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; align-items: center; font-size: 14.5px; color: var(--text-dark-body); font-weight: 500; }
.rubric-bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: rgba(130,180,255,.16); overflow: hidden; }
.rubric-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #82B4FF, #4E8FE8); }
.rubric-row b { color: var(--text-hi); font-weight: 700; }
.quote-cell { display: grid; place-content: center; text-align: center; padding: 46px 36px; }
.quote-cell p {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 400;
  color: var(--text-hi); line-height: 1.32; margin: 0; letter-spacing: -0.01em;
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; position: relative; margin-top: 8px; }
.steps::before { content: ''; position: absolute; top: 23px; left: 6%; right: 6%; height: 1px; background: var(--grad-line); opacity: .5; }
.step { position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink-900);
  border: 1px solid rgba(130,180,255,.45); color: var(--cyan);
  display: grid; place-items: center; font-weight: 700; font-size: 14.5px;
  position: relative; z-index: 1; margin-bottom: 20px;
  box-shadow: 0 0 24px -8px rgba(130,180,255,.5);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; margin: 0; }
section:not(.dk) .step-num { background: var(--surface); border-color: var(--border); color: var(--primary-ink); box-shadow: none; }
section:not(.dk) .step p { color: var(--muted); }
.dk .step p { color: var(--text-dark-mute); }

/* ---------- tri frames ---------- */
.tri-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.tri-frames .frame-bar { padding: 9px 12px; }
.fig-cap { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }
.dk .fig-cap { color: var(--text-dark-mute); }

/* ---------- library cards ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lib-card {
  position: relative; display: flex; flex-direction: column; gap: 11px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--shadow);
  transition: box-shadow .2s ease-out, transform .2s ease-out, border-color .2s ease-out;
}
.lib-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); border-color: var(--tint-line); }
.lib-card--dashed { border-style: dashed; box-shadow: none; background: transparent; }
.lib-card h2, .lib-card h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--font); }
.lib-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.lib-card .text-link { font-size: 15px; }
.lib-meta { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--muted); }
.pill--pop { background: var(--tint); border-color: var(--tint-line); color: var(--primary-ink); }
.dk .lib-card { background: rgba(240,246,255,.035); border-color: var(--line-dark); box-shadow: none; }
.dk .lib-card h2, .dk .lib-card h3 { color: var(--text-hi); }
.dk .lib-card p { color: var(--text-dark-mute); }
.dk .pill { background: rgba(240,246,255,.05); border-color: var(--line-dark); color: var(--text-dark-mute); }
.dk .pill--pop { background: rgba(130,180,255,.14); border-color: rgba(130,180,255,.4); color: var(--cyan-soft); }
.dk .lib-card:hover { border-color: rgba(130,180,255,.5); }

/* ---------- quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-slot {
  border: 1px dashed var(--border); border-radius: var(--r-card); padding: 36px 28px;
  display: grid; place-items: center; text-align: center; min-height: 190px; background: var(--surface);
}
.quote-slot p { color: var(--muted); font-size: 15px; margin: 0; }
.quote-slot .q-mark { font-family: var(--serif); font-size: 34px; color: var(--eyebrow); font-weight: 500; line-height: 1; margin-bottom: 10px; }
.dk .quote-slot { background: rgba(240,246,255,.03); border-color: var(--line-dark); }
.dk .quote-slot p { color: var(--text-dark-mute); }
.dk .quote-slot .q-mark { color: var(--cyan); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 430px)); justify-content: center; gap: 26px; }
.price-grid--teaser { margin-bottom: 40px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 36px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--primary-ink); box-shadow: var(--shadow-lift); }
.price-card h2, .price-card h3 { font-size: 22px; margin-bottom: 4px; font-weight: 700; font-family: var(--font); }
.price-line { font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; margin: 8px 0 2px; }
.price-desc { color: var(--muted); font-size: 15.5px; margin: 10px 0 22px; }
.price-card .tick-list { margin: 0 0 28px; }
.price-card .btn { width: 100%; margin-top: auto; }
.dk .price-card { background: rgba(240,246,255,.04); border-color: var(--line-dark); }
.dk .price-card h2, .dk .price-card h3, .dk .price-line { color: var(--text-hi); }
.dk .price-desc { color: var(--text-dark-mute); }

.compare { margin-top: 76px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare caption { text-align: left; padding: 0 18px 14px; color: var(--muted); font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 40%; }
.compare td { color: var(--body); }
.compare .yes { color: var(--success-ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 23px 4px; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 25px; font-weight: 300; color: var(--muted); transition: transform .2s ease-out; flex: 0 0 auto; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 24px; color: var(--body); max-width: 700px; }
.dk .faq details { border-bottom-color: var(--line-dark); }
.dk .faq summary { color: var(--text-hi); }
.dk .faq summary::after { color: var(--text-dark-mute); }
.dk .faq .faq-a { color: var(--text-dark-body); }

/* ---------- CTA band ---------- */
.cta-band { padding: 130px 0; }
.cta-band-inner { text-align: center; max-width: 780px; }
.cta-band-inner h2 { font-size: clamp(34px, 4.4vw, 56px); }
.cta-band-sub { font-size: 18px; margin-bottom: 34px; }

/* ---------- subpage hero ---------- */
.page-hero { padding: 92px 0 84px; }
.page-hero .sub { font-size: 19px; max-width: 660px; margin-bottom: 30px; }
.page-hero--center { text-align: center; }
.page-hero--center .sub { margin-left: auto; margin-right: auto; }
.page-hero--center .cta-row { justify-content: center; }

/* ---------- feature blocks ---------- */
.feature-block { padding: 52px 0; }
.feature-block + .feature-block { border-top: 1px solid var(--border); }
.feature-block--flip .feature-copy { order: 2; }
.feature-block--flip .feature-visual { order: 1; }
.feature-num {
  font-family: var(--serif); font-style: italic; font-size: 17px; font-weight: 500;
  color: var(--eyebrow); margin-bottom: 12px;
}
.feature-copy h2 { font-size: clamp(26px, 2.8vw, 36px); }

.manifesto {
  background: var(--ink-900); border: 1px solid var(--line-dark);
  border-radius: var(--r-card); padding: 52px 56px; margin: 52px 0 0;
  position: relative; overflow: hidden;
}
.manifesto::before {
  content: ''; position: absolute; top: -120px; right: -80px; width: 400px; height: 300px;
  background: radial-gradient(closest-side, rgba(130,180,255,.18), transparent 70%); filter: blur(50px);
}
.manifesto p { font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); color: var(--text-hi); font-weight: 400; line-height: 1.5; margin: 0; position: relative; }

/* ---------- template detail ---------- */
.tpl-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: start; }
.tpl-section { margin-bottom: 42px; }
.tpl-section h2 { font-size: 26px; margin-bottom: 14px; }
.qa-list { list-style: none; display: grid; gap: 10px; counter-reset: q; }
.qa-list li {
  counter-increment: q; display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 15px 18px;
  font-size: 16px; color: var(--ink); font-weight: 500;
}
.qa-list li::before {
  content: counter(q); width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%;
  background: var(--tint); color: var(--primary-ink); font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.qa-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.tpl-facts { position: sticky; top: 100px; display: grid; gap: 16px; }
.fact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px 26px; box-shadow: var(--shadow); }
.fact-card h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 9px; font-weight: 600; font-family: var(--font); }
.fact-card p { margin: 0; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.fact-card .sub-fact { color: var(--muted); font-weight: 400; font-size: 14px; margin-top: 5px; }

/* ---------- demo ---------- */
.demo-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 38px; box-shadow: var(--shadow-lift); }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px; font-size: 16px; font-family: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-btn);
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary-ink); box-shadow: 0 0 0 3px rgba(30, 106, 74, .16);
}
.form-hint { font-size: 13.5px; color: var(--muted); margin-top: 7px; }
.demo-side { display: grid; gap: 22px; }
.side-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-card); padding: 26px 28px; }
.side-card h2, .side-card h3 { font-size: 16.5px; margin-bottom: 6px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--font); }
.side-card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.demo-success { text-align: center; padding: 38px 12px; }
.demo-success h2 { font-size: 30px; }
.calendar-embed { margin-top: 28px; border: 1px dashed var(--border); border-radius: var(--r-card); min-height: 320px; display: grid; place-items: center; color: var(--muted); font-size: 15px; background: var(--bg-alt); }

/* ---------- prose / legal ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 42px; }
.needs-copy { border: 1.5px dashed var(--primary-ink); background: var(--tint); border-radius: 12px; padding: 20px 24px; color: var(--ink); font-size: 15px; font-weight: 500; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 150px 0 170px; }
.nf p { font-size: 18px; margin-bottom: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); color: var(--text-dark-body); padding: 80px 0 44px; position: relative; border-top: 1px solid var(--line-dark); }
.site-footer::before { content: ''; position: absolute; top: -1px; left: 15%; right: 15%; height: 1px; background: var(--grad-line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-col .footer-h { font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-dark-mute); margin: 0 0 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-dark-body); font-size: 15px; padding: 5px 0; }
.footer-col a:hover { color: var(--cyan); }
.brand--footer .brand-word { font-size: 21px; }
.footer-tag { color: var(--text-dark-mute); font-size: 14.5px; max-width: 270px; margin-top: 16px; }
.badge-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.badge-list li { font-size: 12.5px; font-weight: 600; color: var(--text-dark-body); border: 1px solid var(--line-dark); background: rgba(240,246,255,.04); border-radius: 6px; padding: 6px 11px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line-dark); padding-top: 30px; flex-wrap: wrap; }
.footer-base p { color: var(--text-dark-mute); font-size: 14px; margin: 0; }
.socials { display: flex; gap: 18px; }
.socials a { color: var(--text-dark-mute); }
.socials a:hover { color: var(--cyan); }
.socials svg { width: 18px; height: 18px; }

/* ---------- reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .aurora::before, .aurora::after { animation: none !important; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1139px) {
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease-out, opacity .2s ease-out; }
  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; top: 74px; z-index: 90; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 22px 24px 34px;
    overflow-y: auto; display: none;
  }
  .main-nav.open { display: flex; }
  .nav-link { font-size: 18px; padding: 13px 8px; justify-content: space-between; color: var(--body); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 12px; display: none; min-width: 0; background: transparent; }
  .nav-item.open .dropdown { display: block; }
  .nav-ctas { margin: auto 0 0; flex-direction: column; align-items: stretch; gap: 12px; padding-top: 26px; }
  .nav-ctas .btn { width: 100%; height: 50px; font-size: 16px; }
}

@media (max-width: 1023px) {
  section { padding: 76px 0; }
  .hero { padding: 64px 0 96px; }
  .hero-grid, .pillar-grid, .feature-block, .tpl-layout, .demo-layout { grid-template-columns: 1fr; gap: 52px; }
  .feature-block--flip .feature-copy { order: 0; }
  .feature-block--flip .feature-visual { order: 1; }
  .card-grid, .lib-grid, .quote-grid, .tri-frames { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .steps::before { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 470px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .frame-chip { right: 10px; }
  .tpl-facts { position: static; }
  .b-7, .b-5, .b-6, .b-4 { grid-column: span 12; }
  .constellation { display: none; }
  .fc-2 { left: -8px; }
}

@media (max-width: 599px) {
  section { padding: 60px 0; }
  .hero { padding: 44px 0 72px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(38px, 11vw, 46px); }
  .card-grid, .lib-grid, .quote-grid, .steps, .tri-frames { grid-template-columns: 1fr; }
  .cta-row .btn, .article-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy .sub, .page-hero .sub { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .announce-inner { padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .manifesto { padding: 34px 28px; }
  .form-card { padding: 26px 20px; }
  .compare th, .compare td { padding: 12px 12px; }
  .float-card { display: none; }
  .hero-kw li { font-size: 14px; }
  .hero-kw li + li::before { margin: 0 8px; }
}

/* ---------- Manager Chat insight mock ---------- */
.imock {
  background: #fff; border: 1px solid #E4E9F1; border-radius: var(--r-card);
  box-shadow: 0 30px 70px -28px rgba(12,18,32,.4);
  overflow: hidden; font-size: 14.5px; max-width: 640px;
}
.imock-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #E4E9F1; background: #F2F5F9; }
.imock-title { font-weight: 700; color: var(--ink); font-size: 14px; }
.imock-note { font-size: 12px; color: var(--muted); }
.imock-q {
  margin: 16px 18px 4px auto; width: fit-content; max-width: 75%;
  background: #EBF3FF; border: 1px solid #C6DBFE; color: #131C2E;
  padding: 9px 15px; border-radius: 13px 13px 3px 13px; font-weight: 500;
  margin-right: 18px;
}
.imock-a { padding: 12px 20px 18px; color: var(--body); }
.imock-h { font-weight: 700; color: var(--ink); margin: 12px 0 7px; font-size: 14px; }
.imock-a ul { list-style: none; display: grid; gap: 6px; margin: 0 0 4px; }
.imock-a li { padding-left: 14px; position: relative; line-height: 1.5; }
.imock-a li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #B6CADF; }
.imock-a b { color: var(--ink); font-weight: 600; }
.imock-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600; color: #1D5AD1;
  background: #EBF3FF; border-radius: 6px; padding: 1px 7px; margin-left: 4px; white-space: nowrap;
}
.imock-ledger { margin: 12px 0 0; padding: 10px 13px; background: #F2F5F9; border: 1px solid #E4E9F1; border-radius: 10px; font-size: 13.5px; color: #131C2E; font-weight: 500; }
.imock-ledger span { color: #5B6A85; font-weight: 400; }
.dk .imock { border-color: rgba(130,180,255,.3); box-shadow: 0 40px 90px -30px rgba(4,9,22,.85); }

/* solutions hub cards */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sol-card {
  display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s ease-out;
}
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--tint-line); }
.sol-card .sol-tag { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--eyebrow); display: block; margin-bottom: 8px; }
.sol-card h3, .sol-card h2 { font-size: 21px; margin-bottom: 8px; font-family: var(--font); font-weight: 600; color: var(--ink); }
.sol-card p { color: var(--muted); font-size: 15px; margin: 0; }
.dk .sol-card { background: rgba(240,246,255,.035); border-color: var(--line-dark); box-shadow: none; }
.dk .sol-card h3, .dk .sol-card h2 { color: var(--text-hi); }
.dk .sol-card p { color: var(--text-dark-mute); }
.dk .sol-card:hover { border-color: rgba(130,180,255,.5); }

/* stat trio under problem section */
.mini-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; margin-top: 44px; }
.mini-stats div { text-align: center; }
.mini-stats b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); }
.mini-stats span { font-size: 13.5px; color: var(--muted); max-width: 210px; display: block; }

/* day timeline (timesheets / pmo pages) */
.day-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 20px; position: relative; }
.day-flow::before { content: ''; position: absolute; top: 11px; left: 5%; right: 5%; height: 1px; background: var(--grad-line); opacity: .5; }
.day-step { position: relative; }
.day-step .dot { width: 23px; height: 23px; border-radius: 50%; background: var(--ink-900); border: 1px solid rgba(130,180,255,.5); display: grid; place-items: center; margin-bottom: 14px; position: relative; z-index: 1; box-shadow: 0 0 18px -5px rgba(130,180,255,.55); }
.day-step .dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.day-step time { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--cyan); text-transform: uppercase; }
.day-step h3 { font-size: 16.5px; margin: 6px 0 4px; }
.day-step p { font-size: 14px; margin: 0; }
section:not(.dk) .day-step .dot { background: var(--surface); border-color: var(--border); box-shadow: none; }
section:not(.dk) .day-step .dot i { background: var(--primary-ink); }
section:not(.dk) .day-step time { color: var(--primary-ink); }

/* comparison two-up (their AI vs ours) */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-col { border-radius: var(--r-card); padding: 32px; border: 1px solid var(--line-dark); background: rgba(240,246,255,.03); }
.vs-col--win { border-color: rgba(130,180,255,.5); background: rgba(130,180,255,.07); box-shadow: 0 0 60px -26px rgba(130,180,255,.45); }
.vs-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; color: var(--text-dark-mute); }
.vs-col--win h3 { color: var(--cyan); }
.vs-col ul { list-style: none; display: grid; gap: 12px; }
.vs-col li { font-size: 15.5px; color: var(--text-dark-body); padding-left: 24px; position: relative; }
.vs-col li::before { content: '✕'; position: absolute; left: 0; color: var(--text-dark-mute); font-size: 13px; top: 2px; }
.vs-col--win li::before { content: '✓'; color: var(--success); }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease-out, box-shadow .2s ease-out; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
.post-card h2, .post-card h3 { font-size: 19px; font-family: var(--font); font-weight: 600; margin: 0; color: var(--ink); line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.post-meta { font-size: 13px; color: var(--muted); }
.article { max-width: 720px; margin: 0 auto; }
.article .page-hero { padding-bottom: 56px; }
.article-body { font-size: 17.5px; line-height: 1.75; }
.article-body h2 { font-size: 27px; margin: 44px 0 14px; }
.article-body p { margin-bottom: 20px; }
.article-body blockquote { margin: 30px 0; padding: 22px 28px; border-left: 3px solid var(--eyebrow); background: var(--bg-alt); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.article-body .src { font-size: 13.5px; color: var(--muted); }
.article-cta { margin-top: 48px; padding: 30px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-alt); text-align: center; }
.article-cta p { font-weight: 600; color: var(--ink); font-size: 17px; }

@media (max-width: 1023px) {
  .sol-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .day-flow { grid-template-columns: repeat(2, 1fr); }
  .day-flow::before { display: none; }
  .vs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .sol-grid, .post-grid, .day-flow { grid-template-columns: 1fr; }
  .imock-q { max-width: 92%; }
}

.vs-h { font-family: var(--font); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; color: var(--text-dark-mute); }
.vs-col--win .vs-h { color: var(--cyan); }

/* ---------- pain pile-up (hero mirror visual) ---------- */
.pileup { position: relative; display: grid; gap: 14px; max-width: 480px; margin-left: auto; }
.pileup-label {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dark-mute); margin-bottom: 2px; text-align: right;
}
.pu-card {
  background: rgba(15, 26, 48, .88); border: 1px solid rgba(130,180,255,.24);
  backdrop-filter: blur(10px); border-radius: 14px; padding: 15px 18px;
  box-shadow: 0 22px 50px -20px rgba(0,0,0,.7);
  color: var(--text-dark-body); font-size: 15px; line-height: 1.5;
}
.pu-card b { color: var(--text-hi); font-weight: 600; }
.pu-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 12px; color: var(--text-dark-mute); }
.pu-1 { transform: rotate(-.7deg); }
.pu-2 { transform: rotate(.5deg) translateX(14px); }
.pu-3 { transform: rotate(-.4deg); }
.pu-warn {
  border-color: rgba(251, 191, 36, .35); background: rgba(45, 33, 8, .6);
  transform: rotate(.6deg) translateX(-10px);
}
.pu-warn b { color: #FCD34D; }
.pu-cal { display: flex; align-items: center; gap: 12px; transform: rotate(-.5deg) translateX(18px); }
.pu-cal .cal-ic {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(130,180,255,.12);
  display: grid; place-items: center; color: var(--cyan); flex: 0 0 auto; font-size: 17px;
}
.pu-seen { font-style: italic; }
@media (max-width: 1023px) { .pileup { margin: 0 auto; } .pileup-label { text-align: left; } }

/* ---------- landing pages (bare chrome, single CTA) ---------- */
.lp-header { background: rgba(11,19,36,.88); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line-dark); }
.lp-footer { background: var(--ink-950); border-top: 1px solid var(--line-dark); padding: 30px 0; }
.lp-footer p { color: var(--text-dark-mute); font-size: 13.5px; margin: 0; text-align: center; }
.lp-footer a { color: var(--text-dark-mute); text-decoration: underline; text-underline-offset: 2px; }
.lp-footer a:hover { color: var(--cyan); }
.pill--early { font-size: 10.5px; padding: 2px 8px; margin-left: 6px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--primary-ink); border-radius: 99px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.dropdown .pill--early { display: inline-block; }

/* planner loop provenance chip */
.prov-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: rgba(130,180,255,.1); border: 1px solid rgba(130,180,255,.4); border-radius: 8px;
  padding: 9px 14px; font-size: 13.5px; color: var(--cyan-soft); font-weight: 500;
}
section:not(.dk) .prov-chip { background: var(--tint); border-color: var(--tint-line); color: var(--primary-ink); }

/* home planner teaser band */
.next-band { padding: 64px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.next-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.next-band .nb-copy h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 6px; }
.next-band .nb-copy p { margin: 0; color: var(--text-dark-mute); max-width: 620px; }
.nb-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(130,180,255,.45); border-radius: 99px; padding: 4px 12px; margin-bottom: 14px; }

/* imock text must stay ink-on-white regardless of dark-section inheritance */
.imock p, .dk .imock p { color: #3C4759; }
.imock-a, .imock-a li, .dk .imock-a, .dk .imock-a li { color: #3C4759; }
.imock .imock-h, .dk .imock .imock-h { color: #131C2E; }
.imock .imock-ledger, .dk .imock .imock-ledger { color: #131C2E; }
.imock .imock-q, .dk .imock .imock-q { color: #131C2E; }
.imock-title { color: #131C2E; }
.imock-note, .imock-a li::before { color: #5B6A85; }
.imock-a li::before { background: #BBCBE2; }
.imock-a b { color: #131C2E; }

/* ---------- nav density fix (7 top-level items) ---------- */
@media (min-width: 1140px) {
  .nav-link { white-space: nowrap; }
  .header-inner { gap: 20px; }
  .nav-link { padding: 9px 10px; font-size: 15px; }
}
@media (min-width: 1140px) and (max-width: 1279px) {
  .header-inner { gap: 12px; }
  .nav-link { padding: 9px 8px; font-size: 14.5px; }
  .nav-ctas .btn--sm { padding-left: 13px; padding-right: 13px; }
}


/* drawer sits below header row; brand & burger stay visible/clickable above it */
@media (max-width: 1139px) {
  .brand, .nav-burger { position: relative; z-index: 95; }
}

/* ---------- parent-company family band ---------- */
.family-band { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.family-marks { display: grid; gap: 18px; }
.family-mark {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 22px 26px; box-shadow: 0 14px 34px -24px rgba(12, 20, 38, .2);
}
.family-mark b { display: block; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.family-mark:first-child b { color: #15803D; }
[data-theme="dark"] .family-mark:first-child b { color: #4ADE80; }
.family-mark:last-child b { color: var(--primary-ink); }
.family-mark span { font-size: 14.5px; line-height: 1.55; color: var(--body); }
@media (max-width: 1023px) { .family-band { grid-template-columns: 1fr; gap: 40px; } }


/* announce: visible by default (no CLS); pre-paint head script hides it for dismissers */
.no-announce #announce { display: none; }


/* ---------- real logo (extracted from product Figma) ---------- */
.brand img { display: block; }
.brand .logo-id { display: none; }
[data-theme="dark"] .site-header .brand .logo-il { display: none; }
[data-theme="dark"] .site-header .brand .logo-id { display: block; }
.site-footer .brand .logo-id, .lp-header .brand .logo-id { display: block; }
.lp-header .brand .logo-il, .site-footer .brand .logo-il { display: none; }

/* prevent child margin-collapse from leaking page background between sections */
section:not([hidden]), .site-footer { display: flow-root; }


/* ---------- security page cert grid ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 4px;
}
.cert-name { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.cert-holder {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary-ink); background: var(--tint); border: 1px solid var(--tint-line);
  border-radius: 99px; padding: 2px 10px; margin: 4px 0 8px;
}
.cert-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.cert-card--efforti { border-style: dashed; }
.cert-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 28px auto 0; max-width: 640px; }
@media (max-width: 1023px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cert-grid { grid-template-columns: 1fr; } }


/* footer trust badge link */
.badge-list li a { color: var(--cyan); display: block; margin: -6px -11px; padding: 6px 11px; }
.badge-list li a:hover { color: var(--cyan-soft); }

/* ---------- Responsive grid modifiers ----------
   These replace the inline grid-template-columns declarations that used to sit
   on .steps/.card-grid/.sol-grid. An inline style outranks every rule in this
   file, so the max-width collapses below never reached those grids and phones
   got a pinned multi-column layout (and 129-153px of sideways scroll).
   Defined last so source order settles the specificity tie with the base grids. */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1023px) {
  .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .grid-2, .grid-3, .grid-5, .sol-grid { grid-template-columns: 1fr; }
}

/* Error text on the demo form — themed so it clears 4.5:1 in dark mode too. */
.form-hint--error { color: var(--danger); }

/* Anchor targets must clear the sticky header (skip-link used to park content under it). */
html { scroll-padding-top: 84px; }

/* No-JS fallback: .reveal starts at opacity 0 and only main.js adds .in. Without this,
   a visitor with JS off — or any future throw early in main.js — sees a blank page.
   The inline head script adds .js before first paint, so there is no flash. */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
