:root {
  --ink: #0b1320;
  --ink-2: #131c2c;
  --ink-3: #1d2939;
  --steel: #4f5b6c;
  --muted: #6e7a89;
  --line: #e6e2d6;
  --line-2: #d8d2c2;
  --paper: #f6f3ec;
  --paper-2: #efeadc;
  --white: #ffffff;
  --gold: #b5894a;
  --gold-2: #c8a062;
  --gold-soft: #e8d6b1;
  --red: #a93f33;
  --amber: #c08732;
  --green: #4a7d63;
  --shadow-lg: 0 30px 80px rgba(11, 19, 32, 0.18);
  --shadow-md: 0 10px 28px rgba(11, 19, 32, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(181, 137, 74, 0.55) #0b1320;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0b1320;
}

::-webkit-scrollbar-thumb {
  background: rgba(181, 137, 74, 0.55);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: "Newsreader", "Source Serif Pro", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.012em;
  font-feature-settings: "ss01", "ss02";
}

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow.on-dark {
  color: var(--gold-2);
}

.eyebrow.with-rule::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.7;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    padding 220ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(246, 243, 236, 0.92);
  box-shadow: 0 1px 0 rgba(11, 19, 32, 0.08);
  backdrop-filter: blur(20px);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  min-width: max-content;
}

.brand img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: currentColor;
}

.nav a {
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid currentColor;
  opacity: 0.85;
  transition: all 160ms ease;
}

.site-header.scrolled .header-cta,
.site-header.open .header-cta {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  opacity: 1;
}

.header-cta:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  place-items: center;
  gap: 4px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.92), rgba(8, 13, 22, 0.74) 42%, rgba(8, 13, 22, 0.28)),
    linear-gradient(0deg, rgba(8, 13, 22, 0.82), rgba(8, 13, 22, 0.10) 55%),
    url("assets/hero-security-desk.png") center / cover no-repeat;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-shell {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 152px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
}

.hero-copy {
  max-width: 820px;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 400;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}

.hero p.lede {
  margin: 28px 0 0;
  max-width: 620px;
  color: rgba(246, 243, 236, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button .arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.button-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(232, 214, 177, 0.45);
  background: transparent;
}

.button-secondary:hover {
  background: rgba(232, 214, 177, 0.08);
  border-color: rgba(232, 214, 177, 0.75);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
}

.button-secondary-dark {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button-secondary-dark:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Risk panel (hero side) */
.risk-panel {
  background: rgba(11, 17, 28, 0.78);
  border: 1px solid rgba(232, 214, 177, 0.22);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.7rem;
  color: rgba(246, 243, 236, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.panel-topline strong {
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 700;
}

.panel-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 214, 177, 0.16);
  font-size: 0.8rem;
  color: rgba(246, 243, 236, 0.55);
}

.panel-meta span:last-child {
  color: var(--paper);
  font-weight: 600;
}

.signal-list {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

.signal-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(232, 214, 177, 0.13);
  align-items: start;
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
}

.signal-row p {
  margin: 4px 0 0;
  color: rgba(246, 243, 236, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.signal-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.signal-row.high .signal-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(169, 63, 51, 0.18);
}

.signal-row.medium .signal-dot {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(192, 135, 50, 0.18);
}

.signal-row.watch .signal-dot {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 125, 99, 0.18);
}

.signal-tag {
  align-self: start;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.55);
  font-weight: 600;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip > div {
  padding: 36px clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.trust-strip > div:last-child {
  border-right: 0;
}

.trust-strip .eyebrow {
  display: block;
  margin-bottom: 12px;
}

.trust-strip strong {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.trust-strip span.note {
  display: block;
  margin-top: 8px;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* Sections */
.section {
  padding: clamp(96px, 11vw, 152px) clamp(20px, 4vw, 56px);
}

.section-light {
  background: var(--paper);
}

.section-cream {
  background: var(--paper-2);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-dark .eyebrow {
  color: var(--gold-2);
}

.section-steel {
  background: #e6e2d6;
}

.section-contact {
  background: var(--paper);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.report-copy h2,
.disclosure-panel h2,
.contact-layout h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.018em;
}

.section-heading p,
.report-copy p,
.disclosure-panel p,
.contact-layout p {
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 1.08rem;
  line-height: 1.6;
}

.section-dark .section-heading p {
  color: rgba(246, 243, 236, 0.72);
}

/* Services grid */
.service-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 36px 32px;
  background: var(--paper);
  transition: background 220ms ease;
}

.service-card:hover {
  background: var(--white);
}

.service-num {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-card h3 {
  margin: 18px 0 0;
  max-width: 320px;
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 500;
}

.service-card > p {
  margin: 16px 0 0;
  color: var(--steel);
  font-size: 0.98rem;
  line-height: 1.55;
}

.service-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.service-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: baseline;
}

.service-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* Approach (dark) */
.approach-layout,
.report-layout,
.contact-layout {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.timeline {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 30px 0 30px 0;
  border-top: 1px solid rgba(232, 214, 177, 0.18);
}

.timeline li:last-child {
  border-bottom: 1px solid rgba(232, 214, 177, 0.18);
}

.timeline span.step {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--gold-2);
  font-size: 1.1rem;
  font-weight: 500;
}

.timeline h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--paper);
}

.timeline p {
  margin: 10px 0 0;
  color: rgba(246, 243, 236, 0.68);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Reports section */
.report-copy .button {
  margin-top: 32px;
}

.report-preview {
  background: #131c2c;
  border: 1px solid #2b3645;
  box-shadow: var(--shadow-lg);
  padding: 14px;
}

.report-window-bar {
  display: flex;
  gap: 7px;
  padding: 4px 4px 14px;
}

.report-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5a6675;
}

.report-page {
  min-height: 520px;
  background: var(--white);
  color: var(--ink);
  padding: clamp(24px, 4vw, 40px);
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.report-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-header img {
  width: 28px;
  height: 28px;
}

.report-header strong {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 1.05rem;
}

.report-header .classify {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

.risk-meter {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line-2);
  padding: 18px;
  background: var(--paper);
}

.risk-meter span {
  color: var(--steel);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.risk-meter strong {
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--red);
}

.report-lines {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.report-lines span {
  height: 9px;
  background: #e5e0d2;
}

.report-lines span:nth-child(2) {
  width: 88%;
}

.report-lines span:nth-child(3) {
  width: 64%;
}

.report-lines span:nth-child(4) {
  width: 72%;
}

.report-table {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2);
}

.report-table div {
  min-height: 80px;
  padding: 14px;
  border-right: 1px solid var(--line-2);
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.report-table div:last-child {
  border-right: 0;
}

/* Stakes / Why Now */
.stakes-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}

.stakes-card {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 220ms ease;
}

.stakes-card:hover {
  background: var(--white);
}

.stakes-num {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}

.stakes-card h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.stakes-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.98rem;
  line-height: 1.55;
}

.stakes-coda {
  width: min(820px, 100%);
  margin: 56px auto 0;
  text-align: center;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  padding: 28px 24px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

@media (max-width: 900px) {
  .stakes-grid {
    grid-template-columns: 1fr;
  }
}

/* Industries */
.industries {
  width: min(1240px, 100%);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  border-collapse: collapse;
}

.industries div {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: "Newsreader", serif;
  font-size: 1rem;
  color: var(--ink-2);
}

.industries div:last-child {
  border-right: 0;
}

/* Disclosure */
.disclosure-panel {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
}

.disclosure-panel .eyebrow {
  margin-bottom: 4px;
}

.disclosure-panel p {
  width: min(780px, 100%);
  margin-inline: auto;
}

.disclosure-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.disclosure-points span {
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

/* Pricing */
.pricing-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 32px 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-card-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.price-card-featured h3,
.price-card-featured .price-amount,
.price-card-featured .price-tag,
.price-card-featured .price-sub,
.price-card-featured .price-list {
  color: var(--paper);
}

.price-card-featured .price-list li::before {
  background: var(--gold-2);
}

.price-card-featured .price-list {
  border-top-color: rgba(232, 214, 177, 0.18);
}

.price-flag {
  position: absolute;
  top: -10px;
  right: 22px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
}

.price-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.price-card h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.price-amount {
  margin: 18px 0 4px;
  font-family: "Newsreader", serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.price-amount span {
  display: block;
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card-featured .price-amount span {
  color: var(--gold-2);
}

.price-sub {
  margin: 0 0 6px;
  font-size: 0.88rem;
  color: var(--steel);
}

.price-list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
  flex: 1;
}

.price-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: baseline;
}

.price-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.price-card-featured .button-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.pricing-foot {
  width: min(1240px, 100%);
  margin: 48px auto 0;
  text-align: center;
  color: var(--steel);
  font-size: 0.96rem;
}

.pricing-foot a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.pricing-foot a:hover {
  border-color: var(--ink);
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  width: min(960px, 100%);
  margin: 0 auto;
}

.faq details {
  border-top: 1px solid var(--line-2);
  padding: 28px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line-2);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  font-family: "Newsreader", serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform 200ms ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 16px 0 0;
  color: var(--steel);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 740px;
}

/* Contact */
.contact-layout {
  align-items: start;
  grid-template-columns: 1fr 1fr;
}

.contact-meta {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 16px;
  font-size: 0.95rem;
}

.contact-meta div span:first-child {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-meta div span:last-child {
  color: var(--ink-2);
  font-weight: 500;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line-2);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form textarea {
  height: 110px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.contact-form .button {
  margin-top: 8px;
}

.form-fineprint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--steel);
  font-size: 0.88rem;
}

/* SMB sub-brand page */
.page-smb {
  background: var(--paper);
}

.smb-shell {
  padding-top: 0;
}

.smb-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 152px 0 80px;
  max-width: 920px;
}

.smb-hero h1 {
  margin: 18px 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.smb-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.smb-hero .lede {
  margin-top: 26px;
  color: var(--steel);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 720px;
}

.smb-hero .hero-actions {
  margin-top: 32px;
}

.smb-hero-meta {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.smb-section {
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: clamp(72px, 9vw, 112px);
}

.timeline-light li {
  border-top: 1px solid var(--line-2);
}

.timeline-light li:last-child {
  border-bottom: 1px solid var(--line-2);
}

.timeline-light h3 {
  color: var(--ink);
}

.timeline-light p {
  color: var(--steel);
}

.timeline-light span.step {
  color: var(--gold);
}

.smb-price-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.smb-price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.smb-price-card .price-flag {
  top: -10px;
  left: 28px;
  right: auto;
}

.smb-price-card .price-tag {
  margin-bottom: 12px;
}

.smb-price-card h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.15;
}

.smb-side {
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  padding: 28px 28px;
}

.smb-side h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--gold);
}

.smb-side h4 + ul,
.smb-side h4 + p {
  margin: 0 0 24px;
}

.smb-side ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.smb-side ul li {
  padding-left: 18px;
  position: relative;
}

.smb-side ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.smb-side p {
  font-size: 0.94rem;
  color: var(--steel);
  line-height: 1.55;
}

.smb-side a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

@media (max-width: 900px) {
  .smb-price-shell {
    grid-template-columns: 1fr;
  }
}

/* Authorize page */
.page-authorize {
  background: var(--paper);
}

.auth-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 80px;
}

.auth-hero {
  max-width: 780px;
  margin-bottom: 56px;
}

.auth-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.auth-hero .lede {
  margin-top: 24px;
  color: var(--steel);
  font-size: 1.1rem;
  line-height: 1.6;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.auth-summary,
.auth-form {
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 36px;
}

.auth-summary h2,
.auth-form h2 {
  margin: 0 0 24px;
  font-family: "Newsreader", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.auth-terms {
  margin: 0;
  display: grid;
  gap: 18px;
}

.auth-terms > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.auth-terms > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.auth-terms dt {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0;
}

.auth-terms dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form label:not(.checkbox-row) {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form input[type="text"],
.auth-form input[type="email"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: border-color 180ms ease, background 180ms ease;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 16px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.auth-pay {
  margin-top: 10px;
  width: 100%;
  min-height: 56px;
  font-size: 1rem;
}

.auth-trust {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}

.auth-trust > div {
  background: var(--paper);
  padding: 24px 22px;
}

.auth-trust .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.auth-trust p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .auth-row {
    grid-template-columns: 1fr;
  }
  .auth-trust {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    padding-top: 110px;
  }
}

/* Free Analysis page ------------------------------------------------- */
.page-analysis {
  background: var(--paper);
}

.analysis-shell {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 96px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* --- State: idle --------------------------------------------------- */
.state-idle h1 {
  margin: 18px 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  max-width: 880px;
}

.state-idle h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.state-idle .lede {
  margin: 26px 0 0;
  color: var(--steel);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 720px;
}

.analysis-form {
  margin: 38px 0 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 720px;
}

.analysis-input-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 0 16px;
  transition: border-color 180ms ease;
}

.analysis-input-wrap:focus-within {
  border-color: var(--gold);
}

.analysis-input-prefix {
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  font-size: 0.95rem;
  padding-right: 6px;
}

.analysis-input-wrap input {
  border: 0;
  background: transparent;
  height: 56px;
  padding: 0;
  font: inherit;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  color: var(--ink);
  width: 100%;
}

.analysis-input-wrap input:focus {
  outline: none;
}

.analysis-go {
  min-height: 56px;
  padding: 0 24px;
}

.analysis-fineprint {
  min-height: 22px;
  color: var(--red);
  font-size: 0.9rem;
  margin: 0;
}

.analysis-promise {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 820px;
}

.analysis-promise li {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line-2);
  font-size: 0.94rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.analysis-promise strong {
  color: var(--ink);
  font-weight: 600;
}

/* --- State: running ------------------------------------------------ */
.run-head {
  margin-bottom: 36px;
}

.run-head h2 {
  margin: 14px 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.014em;
}

.run-head .lede {
  margin-top: 18px;
  color: var(--steel);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 720px;
}

.run-progress {
  margin: 0 0 32px;
}

.run-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--line);
  overflow: hidden;
}

.run-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 380ms ease;
}

.run-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel);
}

.pipeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line-2);
  background: var(--white);
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step:last-child {
  border-bottom: 0;
}

.step-num {
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding-top: 2px;
}

.step-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.step-label {
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}

.step-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.step-evidence {
  margin: 8px 0 0;
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.5;
  font-family: "JetBrains Mono", monospace;
}

.step[data-status="checking"] {
  background: rgba(232, 214, 177, 0.18);
}

.step[data-status="checking"] .step-status {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--white);
  animation: pulseDot 1.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.step[data-status="complete"] .step-status,
.step[data-status="auth"] .step-status {
  color: var(--ink);
  border-color: var(--ink-3);
  background: var(--white);
}

.step[data-status="auth"] .step-status {
  color: var(--gold);
  border-color: var(--gold);
}

.step[data-status="attention"] .step-status {
  color: var(--white);
  background: var(--amber);
  border-color: var(--amber);
}

.step[data-status="complete"] .step-num::after,
.step[data-status="attention"] .step-num::after,
.step[data-status="auth"] .step-num::after {
  content: " ●";
  color: var(--gold);
  font-size: 0.7rem;
  vertical-align: middle;
}

/* --- State: result ------------------------------------------------- */
.result-head h2 {
  margin: 14px 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.014em;
}

.result-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-family: "JetBrains Mono", monospace;
}

.result-summary {
  margin: 36px 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}

.result-score,
.result-counts {
  background: var(--white);
  padding: 28px 30px;
}

.result-score span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

.result-score strong {
  display: block;
  margin: 10px 0 8px;
  font-family: "Newsreader", serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.result-score strong[data-sev="high"] { color: var(--red); }
.result-score strong[data-sev="medium"] { color: var(--amber); }
.result-score strong[data-sev="watch"] { color: var(--green); }
.result-score strong[data-sev="pending"] { color: var(--gold); }
.result-score strong[data-sev="pass"] { color: var(--ink); }

.result-score small {
  display: block;
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.5;
}

.result-counts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}

.result-counts > div {
  padding: 26px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.result-counts > div:last-child {
  border-right: 0;
}

.result-counts strong {
  display: block;
  font-family: "Newsreader", serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}

.result-counts span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.result-card {
  padding: 24px 24px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-left-width: 4px;
}

.result-card.sev-high { border-left-color: var(--red); }
.result-card.sev-medium { border-left-color: var(--amber); }
.result-card.sev-watch { border-left-color: var(--green); }
.result-card.sev-pending { border-left-color: var(--gold); }
.result-card.sev-pass { border-left-color: var(--line-2); }

.result-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.result-card-cat {
  color: var(--muted);
}

.result-card-sev {
  padding: 3px 8px;
  background: var(--ink);
  color: var(--paper);
}

.result-card.sev-high .result-card-sev { background: var(--red); color: var(--white); }
.result-card.sev-medium .result-card-sev { background: var(--amber); color: var(--white); }
.result-card.sev-watch .result-card-sev { background: var(--green); color: var(--white); }
.result-card.sev-pending .result-card-sev { background: var(--gold); color: var(--ink); }
.result-card.sev-pass .result-card-sev { background: var(--paper); color: var(--ink); }

.result-card h3 {
  margin: 14px 0 8px;
  font-family: "Newsreader", serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.result-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.55;
}

.rc-detail {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
}

.rc-analysis {
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.rc-analysis > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
}

.rc-analysis dt {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0;
  padding-top: 2px;
}

.rc-analysis dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.result-card-sub {
  margin-left: 22px;
  background: var(--paper);
  position: relative;
}

.result-card-sub::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 28px;
  width: 10px;
  height: 1px;
  background: var(--line-2);
}

.result-card-foot {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: var(--muted);
}

.result-card-foot strong {
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rc-method, .rc-confidence {
  display: inline-flex;
  gap: 6px;
}

.result-card-flag {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.analyst-brief {
  margin: 0 0 28px;
  padding: 32px 36px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}

.analyst-brief::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}

.analyst-brief header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.analyst-brief .eyebrow {
  color: var(--gold-2);
}

.analyst-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(246, 243, 236, 0.6);
  border: 1px solid rgba(232, 214, 177, 0.22);
  padding: 5px 9px;
}

.analyst-brief-body {
  font-family: "Newsreader", serif;
  font-size: 1.08rem;
  line-height: 1.7;
}

.analyst-brief-body p {
  margin: 0 0 12px;
  color: rgba(246, 243, 236, 0.92);
}

.analyst-brief-body p:last-child { margin-bottom: 0; }

.analyst-brief-body strong {
  font-family: "Newsreader", serif;
  color: var(--paper);
  font-weight: 500;
}

.analyst-brief-body em {
  font-style: italic;
  color: var(--gold-2);
}

.analyst-brief-body ul {
  margin: 4px 0 12px 18px;
  padding: 0;
  font-family: "Newsreader", serif;
}

.analyst-brief-body li {
  margin: 0 0 8px;
  color: rgba(246, 243, 236, 0.88);
  line-height: 1.55;
}

.analyst-brief-body li::marker {
  color: var(--gold-2);
}

.analyst-brief-body .brief-foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(232, 214, 177, 0.16);
  font-size: 0.94rem;
  color: rgba(246, 243, 236, 0.7);
  font-family: "Inter", sans-serif;
  font-style: italic;
}

.sources-block {
  margin: 28px 0 0;
  padding: 24px 26px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
}

.sources-block header {
  margin-bottom: 16px;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.sources-grid > div {
  background: var(--paper-2);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 0.86rem;
}

.sources-grid strong {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  padding-top: 3px;
}

.sources-grid span {
  color: var(--ink-2);
  line-height: 1.5;
}

@media (max-width: 800px) {
  .sources-grid { grid-template-columns: 1fr; }
  .sources-grid > div { grid-template-columns: 1fr; gap: 4px; }
  .rc-analysis > div { grid-template-columns: 1fr; gap: 4px; }
  .result-card-sub { margin-left: 0; }
  .result-card-sub::before { display: none; }
}

.step-narration {
  margin: 6px 0 0;
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  min-height: 1.2em;
  opacity: 0.85;
  transition: opacity 200ms;
}

.step[data-status="complete"] .step-narration,
.step[data-status="auth"] .step-narration,
.step[data-status="attention"] .step-narration {
  display: none;
}

.result-notice {
  margin: 28px 0 0;
  padding: 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
}

.result-notice p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.6;
}

.result-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- State: gate --------------------------------------------------- */
.gate-shell {
  max-width: 680px;
  margin: 0 auto;
}

.gate-shell h2 {
  margin: 14px 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.014em;
}

.gate-shell .lede {
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 1.02rem;
  line-height: 1.6;
}

.gate-form {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 32px;
  display: grid;
  gap: 16px;
}

.gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gate-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gate-form input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: border-color 180ms ease, background 180ms ease;
}

.gate-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.gate-skip {
  margin: 18px auto 0;
  display: block;
  background: none;
  border: 0;
  color: var(--steel);
  font: inherit;
  cursor: pointer;
}

.gate-skip:hover {
  color: var(--ink);
}

/* --- State: plan --------------------------------------------------- */
.plan-head {
  text-align: center;
  margin-bottom: 40px;
}

.plan-head h2 {
  margin: 14px 0 0;
  font-family: "Newsreader", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.014em;
}

.plan-head .lede {
  margin: 22px auto 0;
  color: var(--steel);
  font-size: 1.04rem;
  line-height: 1.6;
  max-width: 720px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan-foot {
  margin: 36px auto 0;
  text-align: center;
  color: var(--steel);
}

.plan-foot a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

/* Tier B opt-in / sent / running ----------------------------------- */
.tier-b-offer,
.tier-b-sent,
.tier-b-running {
  margin-top: 32px;
  padding: 32px 36px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
}

.tier-b-offer header,
.tier-b-sent header,
.tier-b-running header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tier-b-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 9px;
  background: var(--paper);
}

.tier-b-offer h3,
.tier-b-sent h3,
.tier-b-running h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.tier-b-offer > p,
.tier-b-sent > p,
.tier-b-running > p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 720px;
}

.tier-b-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line-2);
  padding: 24px;
}

.tier-b-form label:not(.checkbox-row) {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-b-form input[type="text"],
.tier-b-form input[type="email"] {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 14px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: border-color 180ms, background 180ms;
}

.tier-b-form input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

@keyframes pulseBar {
  0% { transform: translateX(-40%); width: 30%; }
  100% { transform: translateX(60%); width: 30%; }
}

.tier-b-running .run-progress-bar { overflow: hidden; position: relative; }
.tier-b-running .run-progress-bar span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
}

/* Tier B sub-result section (rendered into result-cards) */
.tier-b-divider {
  margin: 28px 0 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.tier-b-divider::before,
.tier-b-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

/* Print: the on-screen result becomes the PDF -------------------- */
@media print {
  .no-print { display: none !important; }
  body { background: var(--white); }
  .analysis-shell { padding: 0; width: 100%; max-width: 100%; }
  .result-cards { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr; }
  .result-counts { display: grid; grid-template-columns: repeat(4, 1fr); }
  .result-card { break-inside: avoid; }
  .pipeline, .run-head, .state-idle, .state-running { display: none !important; }
  @page { size: letter; margin: 0.55in; }
}

@media (max-width: 800px) {
  .analysis-form { grid-template-columns: 1fr; }
  .analysis-promise { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr; }
  .result-counts { grid-template-columns: repeat(2, 1fr); }
  .result-counts > div { border-bottom: 1px solid var(--line); }
  .result-cards { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .gate-row { grid-template-columns: 1fr; }
}

/* Long-form / utility pages (privacy, terms, disclosure, 404, thank-you) */
.page-doc {
  background: var(--paper);
}

.doc-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 152px 0 96px;
}

.doc-shell h1 {
  margin: 14px 0 24px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.doc-shell .doc-meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.doc-shell .lede {
  margin: 0 0 36px;
  color: var(--steel);
  font-size: 1.1rem;
  line-height: 1.6;
}

.doc-shell section {
  padding: 32px 0;
  border-top: 1px solid var(--line-2);
}

.doc-shell section:first-of-type {
  border-top: 0;
}

.doc-shell h2 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.doc-shell h3 {
  margin: 18px 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.doc-shell p,
.doc-shell li {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.doc-shell p + p {
  margin-top: 14px;
}

.doc-shell ul {
  padding-left: 22px;
  margin: 10px 0 0;
}

.doc-shell li + li {
  margin-top: 8px;
}

.doc-shell a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.doc-shell a:hover {
  border-color: var(--ink);
}

.doc-callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.doc-callout p {
  margin: 0;
  font-size: 0.96rem;
}

/* Status / thank-you / 404 pages */
.status-shell {
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 132px 24px 80px;
  text-align: center;
}

.status-shell .status-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
}

.status-shell .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.status-shell h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.018em;
  max-width: 760px;
}

.status-shell h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.status-shell .lede {
  margin: 22px auto 0;
  max-width: 620px;
  color: var(--steel);
  font-size: 1.08rem;
  line-height: 1.6;
}

.status-shell .status-steps {
  margin: 40px auto 0;
  max-width: 560px;
  display: grid;
  gap: 14px;
  text-align: left;
  border: 1px solid var(--line-2);
  background: var(--white);
  padding: 24px 26px;
}

.status-shell .status-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.5;
}

.status-shell .status-steps li::before {
  counter-increment: step;
  content: counter(step, lower-roman) ".";
  font-family: "Newsreader", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  text-align: right;
}

.status-shell ol.status-steps {
  list-style: none;
  margin: 40px auto 0;
  padding: 24px 26px;
  counter-reset: step;
}

.status-shell .hero-actions {
  justify-content: center;
  margin-top: 36px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.6);
  padding: 56px clamp(20px, 4vw, 56px) 32px;
}

.footer-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(232, 214, 177, 0.15);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 1.2rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-tag {
  margin: 18px 0 0;
  color: rgba(246, 243, 236, 0.55);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 6px 0 18px;
  color: var(--gold-2);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-base {
  width: min(1240px, 100%);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(246, 243, 236, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 960px) {
  .industries {
    grid-template-columns: repeat(3, 1fr);
  }
  .industries div {
    border-bottom: 1px solid var(--line);
  }
  .industries div:nth-child(n+4) {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    justify-self: end;
  }

  .site-header.open .nav {
    display: grid;
    position: absolute;
    inset: 70px 16px auto 16px;
    justify-content: stretch;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
  }

  .site-header.open .nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.open .nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding: 132px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .risk-panel {
    max-width: 540px;
  }

  .trust-strip,
  .service-grid,
  .approach-layout,
  .report-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 28px;
  }

  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
  }

  .industries {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries div:nth-child(n+3) {
    border-bottom: 1px solid var(--line);
  }
  .industries div:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .industries div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-shell {
    width: min(100% - 32px, 1240px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .risk-panel,
  .contact-form,
  .service-card {
    padding: 24px;
  }

  .section {
    padding: 72px 18px;
  }

  .report-table {
    grid-template-columns: 1fr;
  }

  .report-table div {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }

  .report-table div:last-child {
    border-bottom: 0;
  }
}
