/* Plain CSS port of docs/design/d3-before-after.html. No runtime styling, no CDN.
   Sizes follow the Tailwind type scale, spacing follows the 4 8 12 16 24 32 40 48 64 80 96 steps. */

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1d1d1f;
  --mist: #f5f5f7;
  --dim: #6e6e73;
  --accent: #4f46e5;
  --accent-hi: #4338ca;
  --bad: #b91c1c;
  --bad-bg: #fef2f2;
  --bad-bar: #ef4444;
  --good: #047857;
  --good-bg: #ecfdf5;
  --ring: rgba(0, 0, 0, 0.05);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* A full-height column: main takes the free space, so the footer sits at the bottom even on short pages. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 { text-wrap: balance; }
p, li, blockquote, dd { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon { flex-shrink: 0; }
.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 {
  position: fixed; left: 16px; top: 16px; z-index: 60;
  transform: translateY(-300%);
  border-radius: 9999px; background: var(--accent); color: #fff;
  padding: 8px 16px; font-size: 14px; line-height: 20px; text-decoration: none;
}
.skip:focus { transform: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.center { text-align: center; }

/* Brand marks: static SVGs from /icons, drawn as a mask so they take the text color. */
.si {
  display: inline-block; flex-shrink: 0; width: 16px; height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--si) center / contain no-repeat;
  mask: var(--si) center / contain no-repeat;
}
.si-google { --si: url(/icons/google.svg); }
.si-perplexity { --si: url(/icons/perplexity.svg); }
.si-wordpress { --si: url(/icons/wordpress.svg); }
.si-gemini { --si: url(/icons/googlegemini.svg); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 9999px; padding: 12px 24px;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.011em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease), box-shadow 700ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-soft { background: var(--mist); color: var(--ink); }
.btn-soft:hover { background: rgba(0, 0, 0, 0.05); }
.btn-sm { padding: 8px 12px; font-size: 14px; line-height: 20px; }
.btn-lg { padding: 12px 24px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { cursor: wait; }

.chip {
  display: inline-block; border-radius: 9999px; background: var(--mist);
  padding: 2px 8px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--dim); white-space: nowrap;
}
.chip-end { justify-self: end; }
.chip-inline { margin-left: 4px; vertical-align: 2px; }
.chip-ring { background: #fff; padding: 4px 12px; box-shadow: inset 0 0 0 1px var(--ring); }
.tag {
  display: inline-block; border-radius: 9999px; padding: 4px 12px;
  font-size: 12px; line-height: 16px; font-weight: 500;
}
.tag-dark { background: var(--ink); color: #fff; }
.tag-accent { background: rgba(79, 70, 229, 0.1); color: var(--accent); }
mark { border-radius: 4px; background: rgba(79, 70, 229, 0.1); padding: 0 4px; font-weight: 600; color: var(--ink); }

/* Floating island nav */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.nav {
  pointer-events: auto;
  margin-top: 24px; display: flex; align-items: center; gap: 20px;
  border-radius: 9999px; border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 8px 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.nav-brand {
  display: flex; align-items: center; gap: 8px; padding-left: 4px; border-radius: 9999px;
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.wordmark-tail { color: var(--dim); }
.nav-links, .nav-signin, .nav-cta { display: none; }
.nav-links a, .nav-signin {
  font-size: 14px; line-height: 20px; color: var(--dim); text-decoration: none;
  transition: color 700ms var(--ease);
}
.nav-links a:hover, .nav-signin:hover, .nav-links a.is-current { color: var(--ink); }
.nav-links { gap: 20px; align-items: center; }
.lang { display: flex; align-items: center; gap: 2px; }
.lang a, .lang-current {
  border-radius: 9999px; padding: 2px 8px; font-size: 12px; line-height: 16px; font-weight: 600; text-decoration: none;
}
.lang a { color: var(--dim); transition: color 700ms var(--ease), background-color 700ms var(--ease); }
.lang a:hover { color: var(--ink); background: var(--mist); }
.lang-current { background: var(--mist); color: var(--ink); }
.burger { position: relative; width: 32px; height: 32px; border: 0; border-radius: 9999px; background: transparent; color: var(--ink); cursor: pointer; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 18px; }
.burger.is-open span:first-child { top: 15px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 15px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 0 32px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px);
  opacity: 0; pointer-events: none;
  transition: opacity 700ms var(--ease);
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-decoration: none; }
.menu .menu-cta { color: var(--accent); }
.menu [data-menu-link] { transform: translateY(48px); opacity: 0; transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
.menu.is-open [data-menu-link] { transform: none; opacity: 1; }

@media (min-width: 1024px) {
  .nav-links, .nav-signin, .nav-cta { display: flex; }
  .nav-signin { display: inline; }
  .nav-cta { display: inline-flex; }
  .burger, .menu { display: none; }
}

/* Type */
.display {
  margin: 0; font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.05em;
}
.h2 {
  margin: 0; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.05em;
}
.h3 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.025em; }
.h4 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.025em; }
.h5 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.lead { margin: 32px 0 0; max-width: 680px; font-size: 18px; line-height: 28px; color: var(--dim); }
.ink { color: var(--ink); }
.section-head { text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }
@media (min-width: 640px) {
  .display { font-size: 60px; }
  .h2 { font-size: 48px; line-height: 1; }
  .lead { font-size: 20px; }
}
@media (min-width: 768px) { .display { font-size: 72px; } }
@media (min-width: 1024px) {
  .display { font-size: 96px; }
  .h2 { font-size: 72px; }
  .h2.h2-md { font-size: 48px; }
}
.h2.h2-md { font-size: 36px; line-height: 40px; }
@media (min-width: 640px) { .h2.h2-md { font-size: 48px; line-height: 1; } }

/* Layout. In the body column, auto side margins would shrink main to its content, hence width: 100%. */
main { flex: 1 0 auto; width: 100%; }
.main-full { padding: 0; }
.main-content { max-width: 1120px; margin: 0 auto; padding: 128px 24px 96px; }
.container { max-width: 1024px; margin: 0 auto; }
.container-narrow { max-width: 768px; }
.section { padding: 64px 24px; }
.section-mist { background: var(--mist); }
@media (min-width: 768px) { .section { padding: 96px 24px; } }

/* Hero */
.hero { padding: 128px 24px 64px; }
@media (min-width: 768px) { .hero { padding: 160px 24px 96px; } }
.hero-inner { max-width: 1024px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.audit-wrap { width: 100%; max-width: 448px; margin: 40px auto 0; text-align: left; scroll-margin-top: 96px; }

/* Audit form: a mist tray, 8 px of padding, so inner radius is 24 minus 8 */
.audit-form {
  display: grid; gap: 8px; border-radius: 24px; background: var(--mist);
  padding: 8px; box-shadow: inset 0 0 0 1px var(--ring);
}
.field input {
  width: 100%; border: 0; border-radius: 16px; background: #fff;
  padding: 12px 16px; font: inherit; font-size: 18px; line-height: 28px; letter-spacing: -0.011em; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); outline: none;
  transition: box-shadow 700ms var(--ease);
}
.field input::placeholder { color: rgba(110, 110, 115, 0.7); }
.field input:focus { box-shadow: 0 0 0 2px var(--accent); }
.field input[aria-invalid='true'] { box-shadow: 0 0 0 2px var(--bad-bar); color: var(--bad); }
.field-error { margin: 8px 16px 4px; font-size: 14px; line-height: 20px; color: var(--bad); }
.audit-form .btn { border-radius: 16px; }
.btn-sending { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.audit-form.is-sending .btn-label { visibility: hidden; }
.audit-form.is-sending .btn-sending { display: flex; animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }
.consent { margin: 4px 8px 4px; font-size: 12px; line-height: 16px; text-align: center; color: var(--dim); }
.consent a { color: inherit; }
.consent a:hover { color: var(--ink); }

/* Demo: week 1 against week 12 */
.demo { max-width: 768px; margin: 64px auto 0; text-align: left; }
.ba { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.1); }
.ba-bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px;
  padding: 8px 16px; border-bottom: 1px solid var(--ring);
}
.ba-title { font-size: 14px; line-height: 20px; font-weight: 600; }
.ba-tabs {
  position: relative; order: 3; grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 9999px; background: var(--mist);
  padding: 4px; font-size: 14px; line-height: 20px; font-weight: 500;
}
.ba-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; right: 50%; border-radius: 9999px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--ring);
  transition: transform 700ms var(--ease);
}
.ba[data-week='12'] .ba-thumb { transform: translateX(100%); }
.ba-tab {
  position: relative; border: 0; border-radius: 9999px; background: transparent; padding: 4px 16px;
  font: inherit; font-weight: 500; color: var(--dim); white-space: nowrap; cursor: pointer;
  transition: color 700ms var(--ease);
}
.ba-tab[aria-selected='true'] { color: var(--ink); }
.ba-body { padding: 24px 24px 32px; }
.bubble {
  margin: 0 0 0 auto; width: fit-content; max-width: 85%; border-radius: 24px; background: var(--mist);
  padding: 12px 20px; font-size: 16px; line-height: 24px;
}
.ba-stage { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
.ba-panel {
  grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 24px;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease);
}
.ba-panel[aria-hidden='true'] { opacity: 0; transform: translateY(8px); filter: blur(4px); pointer-events: none; }
.ba-answer { margin: 0; font-size: 18px; line-height: 28px; }
.ba-answer strong { font-weight: 600; color: var(--ink); }
.ba-domains { display: flex; flex-wrap: wrap; gap: 8px; }
.ba-domains .chip { padding: 4px 12px; }
.note {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  border-radius: 12px; padding: 8px 16px; font-size: 14px; line-height: 20px;
}
.ba-panel > .note { margin-top: auto; }
.note svg, .note-item { display: inline-flex; align-items: center; gap: 8px; }
.note-bad { flex-wrap: nowrap; align-items: flex-start; gap: 8px; background: var(--bad-bg); color: var(--bad); }
.note-bad svg { margin-top: 2px; }
.note-good { background: var(--good-bg); color: var(--good); }
.source {
  display: flex; align-items: center; gap: 12px; border-radius: 12px; background: rgba(79, 70, 229, 0.05);
  padding: 12px 16px; font-size: 14px; line-height: 20px; box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.2);
}
.source svg { color: var(--accent); }
.covered { display: inline-block; height: 0.9em; vertical-align: -0.1em; border-radius: 4px; background: currentColor; opacity: 0.8; }
.source-text { display: block; min-width: 0; }
.source-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.source-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--dim); }
.source-link { margin-top: auto; color: inherit; text-decoration: none; transition: background-color 700ms var(--ease); }
.source-link:hover { background: rgba(79, 70, 229, 0.1); }
.demo-caption {
  margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px;
  text-align: center; font-size: 14px; line-height: 20px; color: var(--dim);
}
@media (min-width: 640px) {
  .ba-bar { grid-template-columns: 1fr auto 1fr; }
  .ba-tabs { order: 0; grid-column: auto; }
  .ba-body { padding: 32px 40px; }
}
@media (min-width: 768px) { .ba-bar { padding: 8px 24px; } }

.strip {
  max-width: 1024px; margin: 48px auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 24px; font-size: 14px; line-height: 20px; color: var(--dim);
}
.strip-group, .strip-item { display: inline-flex; align-items: center; gap: 8px; }
.strip-item { font-weight: 500; color: var(--ink); }
.strip-rule { display: none; width: 1px; height: 16px; background: rgba(0, 0, 0, 0.1); }
/* Publishing on one line, tracking on the next, so a wide screen never leaves one engine alone on a row. */
.strip-break { display: none; flex-basis: 100%; height: 0; }
@media (min-width: 640px) { .strip-rule, .strip-break { display: block; } }

/* Proof */
.case { margin-top: 64px; }
.case-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.case-intro { margin: 12px 0 0; max-width: 680px; font-size: 16px; line-height: 24px; color: var(--dim); }
.case-frame { margin-top: 24px; border-radius: 24px; background: var(--mist); padding: 8px; box-shadow: inset 0 0 0 1px var(--ring); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.panel {
  min-width: 0; display: flex; flex-direction: column; border-radius: 16px; background: #fff; padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--ring);
}
.panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-source { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--dim); }
.panel-source-strong { font-weight: 600; color: var(--ink); }
.panel-meta { font-size: 12px; line-height: 16px; color: var(--dim); }
.status { flex-shrink: 0; border-radius: 9999px; padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 500; }
.status-good { background: var(--good-bg); color: var(--good); }
.panel-title { margin: 16px 0 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; }
.panel-text { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.panel .bubble-sm { margin-top: 16px; border-radius: 16px; padding: 8px 16px; font-size: 14px; line-height: 20px; }
.panel-answer { margin: 16px 0; font-size: 14px; line-height: 20px; }
.facts { margin: auto 0 0; padding: 16px 0 0; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.facts li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 12px; background: var(--mist); padding: 8px 16px; }
.facts li span { display: flex; align-items: center; gap: 8px; }
.facts svg { color: var(--accent); }
.link-between { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--dim); }
.between-line { display: none; width: 48px; height: 1px; background: rgba(110, 110, 115, 0.4); }
.case-note { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.stats { margin: 24px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.stat { border-radius: 16px; background: var(--mist); padding: 24px; }
.stat dt { font-size: 14px; line-height: 20px; color: var(--dim); }
.stat dd { margin: 8px 0 0; font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.025em; }
.stat-unit { color: var(--dim); }
.footnote { margin: 12px 0 0; font-size: 12px; line-height: 16px; color: var(--dim); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .case-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .link-between { flex-direction: column; padding: 0 8px; }
  .between-down { display: none; }
  .between-line { display: block; }
}

/* Tagline reveal */
.tagline-section { background: var(--mist); padding: 64px 24px; }
.tagline { max-width: 680px; margin: 0 auto; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.05em; }
.tagline p { margin: 0; }
.tagline p + p { margin-top: 16px; }
.tw-word { color: rgba(29, 29, 31, 0.28); transition: color 700ms var(--ease); }
.tw-word.is-on { color: var(--ink); }
@media (min-width: 768px) {
  .tagline-section { padding: 96px 24px; }
  .tagline { font-size: 60px; line-height: 1; }
}

/* Benefits and steps */
.benefits, .steps { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.benefit, .step { border-radius: 24px; background: var(--mist); padding: 32px; }
.benefit-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff;
  color: var(--accent); box-shadow: 0 0 0 1px var(--ring);
}
.benefit h3, .step h3 { margin-top: 24px; }
.benefit p, .step p { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--dim); }
.step-num {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; background: var(--ink);
  color: #fff; font-size: 14px; line-height: 20px; font-weight: 600;
}
@media (min-width: 768px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Example audit window */
.window { margin-top: 64px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.1); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 40px; background: var(--mist); padding: 0 16px; }
.dot { flex-shrink: 0; width: 12px; height: 12px; border-radius: 9999px; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.window-url {
  min-width: 0; margin: 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border-radius: 8px; background: #fff; padding: 4px 12px; font-size: 12px; line-height: 16px; color: var(--dim);
}
.window-body { padding: 24px; }
.window-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.window-site { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.window-meta { margin: 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.audit-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.bars { display: grid; align-content: start; gap: 24px; }
.bars-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; }
.bar-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; }
.bar-name { display: flex; align-items: center; gap: 8px; color: var(--dim); }
.weak { color: var(--bad); }
.bar-track { margin-top: 8px; height: 8px; border-radius: 9999px; background: var(--mist); }
.bar-fill { height: 8px; border-radius: 9999px; background: var(--ink); }
.bar-fill-weak { background: var(--bad-bar); }
.named { border-radius: 16px; background: var(--mist); padding: 24px; }
.named ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.named li { display: flex; justify-content: space-between; gap: 12px; border-radius: 12px; background: #fff; padding: 12px 16px; }
@media (min-width: 768px) {
  .window-body { padding: 40px; }
  .audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .window-bar::after { content: ''; flex-shrink: 0; width: 52px; }
}

/* Black objection section */
.trust { background: #000; color: var(--mist); padding: 64px 24px; }
.trust-seal { display: inline-block; }
.trust .h2 { margin-top: 24px; }
.trust .lead { margin-top: 24px; color: #a1a1a6; }
.trust .ink { color: var(--mist); }
.trust-grid { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; text-align: left; }
.trust-sample { border-radius: 16px; background: #1f1f1f; padding: 16px; font-size: 14px; line-height: 20px; }
.trust-sample p { margin: 0; }
.trust-kicker { margin-bottom: 4px !important; font-size: 12px; line-height: 16px; color: #a1a1a6; }
.trust-item h3 { margin-top: 24px; display: flex; align-items: center; gap: 8px; }
.trust-body { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: #a1a1a6; }
@media (min-width: 768px) {
  .trust { padding: 96px 24px; }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Pricing */
.free-note {
  display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; border-radius: 9999px; background: #fff;
  padding: 8px 16px; font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: 0 0 0 1px var(--ring);
}
.free-note svg { color: var(--accent); }
.plans { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; border-radius: 24px; background: #fff; padding: 32px; box-shadow: 0 0 0 1px var(--ring); }
.plan-featured { box-shadow: 0 0 0 2px var(--accent), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.plan-tagline { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--dim); }
.plan-price { margin: 32px 0 0; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.plan-per { margin-left: 4px; font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.plan .btn { margin-top: 32px; }
.plan-features { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plan-features li { display: flex; gap: 12px; }
.plan-features svg { margin-top: 4px; color: var(--accent); }
.plan-facts {
  margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; border-radius: 24px; background: #fff;
  padding: 32px; box-shadow: 0 0 0 1px var(--ring);
}
.plan-fact { display: flex; gap: 12px; }
.plan-fact svg { margin-top: 2px; color: var(--accent); }
.fact-title { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.fact-body { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.not-sure { margin: 32px 0 0; text-align: center; color: var(--dim); }
.not-sure a { color: var(--accent); font-weight: 600; }
@media (min-width: 768px) {
  .plans, .plan-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* FAQ */
.faq { margin-top: 48px; display: grid; gap: 8px; }
.faq-item { border-radius: 16px; background: var(--mist); padding: 24px; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 28px; font-weight: 600; border-radius: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; color: var(--dim); }
.faq-icon { color: var(--accent); transition: transform 700ms var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }

.final .lead { margin-top: 24px; }

/* Footer */
.footer { background: var(--mist); padding: 32px 24px; }
.footer-inner {
  max-width: 1024px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px;
  font-size: 14px; line-height: 20px; color: var(--dim);
}
.footer-inner p { margin: 0; }
.footer-inner .footer-tagline { margin-bottom: 4px; font-weight: 600; color: var(--ink); }
/* align-self keeps the nav as tall as its links, so the LinkedIn icon centers on the text row, not on the whole footer. */
.footer nav { display: flex; flex-wrap: wrap; align-items: center; align-self: flex-start; gap: 8px 24px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .footer-social { display: inline-flex; align-items: center; }
.footer .lang { margin-top: 12px; }
.footer .lang-current, .footer .lang a:hover { background: #fff; text-decoration: none; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; } }

/* Pages that render through the shell with their own markup (404, audit, account) */
.main-content h1 { margin: 0 0 24px; font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.04em; }
.main-content h2 { margin: 32px 0 12px; font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.025em; }
.main-content a { color: var(--accent); }
.main-content :is(input:not([type='hidden'], [type='checkbox'], [type='radio']), select, textarea) {
  width: 100%; max-width: 448px; border: 0; border-radius: 12px; background: var(--mist); padding: 12px 16px;
  font: inherit; font-size: 16px; line-height: 24px; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.main-content :is(input, select, textarea):focus { outline: 2px solid var(--accent); outline-offset: 0; }
.main-content button:not([class]) {
  border: 0; border-radius: 9999px; background: var(--accent); padding: 12px 24px; font: inherit;
  font-size: 16px; line-height: 24px; font-weight: 600; color: #fff; cursor: pointer;
}
.main-content button:not([class]):hover { background: var(--accent-hi); }
.muted { color: var(--dim); }

.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: 36px; line-height: 40px; }
.prose-meta { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.prose h2 { margin: 48px 0 0; font-size: 24px; line-height: 32px; }
.prose p { margin: 16px 0 0; font-size: 18px; line-height: 28px; }
.prose p.prose-meta { font-size: 14px; line-height: 20px; }
.prose a { color: var(--accent); }
mark.placeholder { background: #fef3c7; color: #92400e; font-weight: 500; }
@media (min-width: 640px) { .prose h1 { font-size: 48px; line-height: 1; } }

/* Scroll reveal: classes are added by /shell.js, so without JavaScript everything is visible. */
.rv {
  opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.rv.in { opacity: 1; transform: none; filter: none; }
@media (max-width: 767px) { .rv { transform: translateY(32px); filter: none; } }
/* Hero entrance fades from 35%, never from 0, so the title is painted, and counted as the largest paint, from the first frame. */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner [data-reveal] { animation: hero-rise 800ms var(--ease) both; }
  .hero-inner [data-reveal="100"] { animation-delay: 100ms; }
  .hero-inner [data-reveal="200"] { animation-delay: 200ms; }
}
@keyframes hero-rise { from { transform: translateY(24px); opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .tw-word, .ba-thumb, .ba-tab, .ba-panel, .menu, .menu [data-menu-link], .faq-icon, .burger span { transition: none; }
  .audit-form.is-sending .btn-sending { animation: none; }
}

/* About page */
.about { max-width: 880px; margin: 0 auto; }
.about-eyebrow { margin: 0 0 12px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.about h1 { margin: 0; text-wrap: balance; }
.about-lead { margin: 16px 0 0; max-width: 680px; font-size: 18px; line-height: 28px; color: var(--dim); text-wrap: pretty; }
.about-meta { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.about-card { margin-top: 32px; border-radius: 24px; background: var(--mist); padding: 24px; }
.about-card h2 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.about-grid { display: grid; gap: 16px; margin-top: 24px; }
.about-item { border-radius: 16px; background: #fff; padding: 24px; }
.about-item h3, .about-faq h3 { margin: 0; font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.about-item p, .about-faq p { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--dim); text-wrap: pretty; }
.about-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.about-list li { display: flex; gap: 12px; font-size: 16px; line-height: 24px; }
.about-list .icon { flex: none; margin-top: 2px; color: var(--accent); }
.about-founder { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.about-founder img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.about-founder h3 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.025em; }
.about-role { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--dim); }
.about-bio { margin: 16px 0 0; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
.about .about-links a {
  border-radius: 9999px; background: #fff; padding: 8px 12px; font-size: 14px; line-height: 20px; font-weight: 600;
  color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); transition: box-shadow 700ms var(--ease);
}
.about .about-links a:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24); }
.about-facts { margin: 16px 0 0; }
.about-facts div { display: grid; gap: 4px; border-top: 1px solid rgba(0, 0, 0, 0.06); padding: 12px 0; }
.about-facts div:first-child { border-top: 0; }
.about-facts dt { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.about-facts dd { margin: 0; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.about-faq div { border-top: 1px solid rgba(0, 0, 0, 0.06); padding: 16px 0; }
.about-faq div:first-child { border-top: 0; }
.about-faq div:last-child { padding-bottom: 0; }
.about-cta { margin-top: 64px; text-align: center; }
.about-cta h2 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.025em; }
.about-cta p { margin: 8px 0 24px; font-size: 16px; line-height: 24px; color: var(--dim); }
.about a.btn-primary { color: #fff; text-decoration: none; }
@media (min-width: 640px) {
  .about-card { padding: 40px; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .about-list { grid-template-columns: repeat(2, 1fr); }
  .about-founder { flex-direction: row; align-items: flex-start; }
  .about-facts div { grid-template-columns: 200px 1fr; gap: 24px; }
  .about-facts dt { padding-top: 4px; }
}
