/* IlluminAI — production stylesheet */
:root {
  --bg: #12100D;
  --bg-elevated: #171410;
  --bg-card: #1C1814;
  --text: #C9C0B4;
  --text-muted: #A39A8D;
  --text-soft: #948B7E;
  --text-dim: #9A9184;
  --text-footer: #8C8378;
  --heading: #F4EFE8;
  --heading-soft: #E4DCCF;
  --accent: #B6A07F;
  --accent-hover: #D6C3A4;
  --accent-dark: #17140F;
  --border: rgba(182, 160, 127, 0.14);
  --border-strong: rgba(182, 160, 127, 0.22);
  --font-sans: 'Work Sans', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max-width: 1200px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover { color: var(--accent-hover); }

h1, h2, h3 { text-wrap: pretty; margin-top: 0; }

.page-wrap { min-height: 100vh; overflow-x: hidden; }

.breadcrumbs {
  padding: 14px 28px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #7A7268;
}

.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--heading); }
.breadcrumbs [aria-current="page"] { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.container--narrow { max-width: 900px; }
.container--medium { max-width: 1000px; }
.container--wide { max-width: 1140px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 16, 13, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(182, 160, 127, 0.14);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.site-logo:hover { color: var(--heading); }

.site-logo__mark {
  width: 44px;
  height: 24px;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--heading);
}

.site-logo__dot { color: var(--accent); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 12px;
  color: var(--heading-soft);
}

.nav-toggle__bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  padding: 9px 13px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active { color: var(--heading); }

.site-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-dark);
  padding: 15px 28px;
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--accent-dark);
}

.btn--secondary {
  background: none;
  border: 1px solid rgba(182, 160, 127, 0.4);
  color: var(--heading-soft);
  padding: 15px 28px;
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--heading);
}

.btn--nav {
  margin-left: 14px;
  font-size: 13.5px;
  padding: 11px 18px;
}

.btn--sm { font-size: 14px; padding: 12px 22px; }

/* ── Typography helpers ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 28px;
}

.eyebrow--accent { color: var(--accent); }
.eyebrow--muted { color: var(--text-dim); font-size: 11px; letter-spacing: 0.2em; margin-bottom: 22px; }

.display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0 0 30px;
}

.display--hero {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.04;
  margin-bottom: 30px;
}

.display em,
.display--hero em {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  max-width: 680px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin: 0;
}

.section-title--sm {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.16;
}

.body-lg {
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.body-lg:last-child { margin-bottom: 0; }

.body-lg em { color: var(--heading-soft); font-style: normal; }

.body-lg--light { color: var(--heading-soft); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  border-bottom: 1px solid rgba(182, 160, 127, 0.12);
}

.hero__bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: 50% 42%;
  opacity: 0.62;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,16,13,0.72) 0%, rgba(18,16,13,0.5) 40%, rgba(18,16,13,0.82) 82%, #12100D 100%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -340px;
  left: 50%;
  width: 1100px;
  height: 1100px;
  margin-left: -550px;
  background: radial-gradient(circle, rgba(182,160,127,0.16) 0%, rgba(182,160,127,0.05) 34%, rgba(18,16,13,0) 66%);
  animation: illum 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes illum {
  0% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
  100% { opacity: 0.5; transform: scale(1); }
}

.hero__content {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 130px 28px 116px;
  text-align: center;
}

.hero__content--left {
  text-align: left;
  max-width: 900px;
  padding: 96px 28px 76px;
}

.hero__tagline {
  font-size: 20px;
  line-height: 1.5;
  color: var(--heading-soft);
  font-weight: 400;
  max-width: 670px;
  margin: 0 auto 14px;
}

.hero__sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 610px;
  margin: 0 auto 42px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--side-bg .hero__bg { opacity: 0.4; background-position: 78% 50%; }
.hero--side-bg .hero__overlay {
  background: linear-gradient(90deg, #12100D 0%, rgba(18,16,13,0.9) 46%, rgba(18,16,13,0.62) 100%);
}

/* ── Sections ── */
.section { padding: 104px 0; }
.section--sm { padding: 74px 0 104px; }
.section--cta { padding: 110px 0; text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
  align-items: start;
}

.three-pillars {
  border-top: 1px solid rgba(182, 160, 127, 0.12);
  border-bottom: 1px solid rgba(182, 160, 127, 0.12);
  background: var(--bg-elevated);
}

.three-pillars__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.pillar {
  padding: 64px 40px;
  border-right: 1px solid rgba(182, 160, 127, 0.12);
}

.pillar:last-child { border-right: none; }

.pillar__icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar__icon-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.pillar__icon-diamond {
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.pillar__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
  margin: 0 0 14px;
}

.pillar__text {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-muted);
  margin: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.text-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--accent);
  padding: 8px 0;
  border-bottom: 1px solid rgba(182, 160, 127, 0.4);
  text-decoration: none;
  display: inline-block;
}

.text-link:hover { color: var(--accent-hover); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: rgba(182, 160, 127, 0.14);
}

.card-grid--solutions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid--solutions .card {
  padding: 30px 20px 34px;
}

.card-grid--solutions .card__title {
  font-size: clamp(17px, 1.35vw, 21px);
}

.card-grid--pricing {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  background: var(--bg-elevated);
  padding: 34px 28px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  border: none;
  text-align: left;
  transition: background 0.15s ease;
}

.card:hover { background: #1F1B16; }

.card--featured {
  background: var(--bg-card);
  position: relative;
}

.card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--heading);
  line-height: 1.25;
  margin: 0;
}

.card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

.card__price {
  border-top: 1px solid rgba(182, 160, 127, 0.16);
  padding-top: 18px;
  margin-top: auto;
}

.card__amount {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--heading);
}

.card__term {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 6px;
}

.bullet-list { display: flex; flex-direction: column; gap: 20px; }

.bullet-list__item {
  display: flex;
  gap: 16px;
}

.bullet-list__dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

.bullet-list__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--text-muted);
}

.bullet-list__text strong {
  color: var(--heading);
  font-weight: 600;
}

.callout {
  margin: 34px 0 0;
  padding: 18px 22px;
  background: var(--bg-elevated);
  border-left: 1px solid rgba(182, 160, 127, 0.35);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  font-style: italic;
}

.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: inset(0);
  border: 1px solid rgba(182, 160, 127, 0.16);
  min-height: 300px;
}

.media-frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 50%;
  opacity: 0.8;
}

.media-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,16,13,0.28) 0%, rgba(18,16,13,0.72) 100%);
  pointer-events: none;
}

.media-frame--portrait .media-frame__img { object-position: 50% 22%; }

.cta-band {
  position: relative;
  overflow: hidden;
  clip-path: inset(0);
  border-top: 1px solid rgba(182, 160, 127, 0.12);
  background: var(--bg-elevated);
}

.cta-band__bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: 50% 55%;
  opacity: 0.55;
  pointer-events: none;
}

.cta-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #12100D 0%, rgba(23,20,16,0.78) 26%, rgba(23,20,16,0.7) 60%, #12100D 100%);
  pointer-events: none;
}

.cta-band__glow {
  position: absolute;
  bottom: -460px;
  left: 50%;
  width: 900px;
  height: 900px;
  margin-left: -450px;
  background: radial-gradient(circle, rgba(182,160,127,0.14) 0%, rgba(23,20,16,0) 62%);
  pointer-events: none;
}

.cta-band__content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 110px 28px;
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0 0 34px;
}

.cta-band__text {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 40px;
}

/* ── Solutions detail rows ── */
.detail-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 56px;
  padding: 80px 0 20px;
  border-bottom: 1px solid rgba(182, 160, 127, 0.12);
}

.detail-row:last-child { border-bottom: none; }

.detail-row__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.detail-row__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin: 0;
}

.detail-row__body { padding-bottom: 60px; }

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  border: 1px solid rgba(182, 160, 127, 0.3);
  padding: 7px 12px;
}

.protection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 36px;
}

.protection-grid h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--heading);
  margin: 0 0 10px;
}

.protection-grid p {
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-soft);
  margin: 0;
}

.panel {
  background: var(--bg-elevated);
  border-top: 1px solid rgba(182, 160, 127, 0.12);
}

.panel__inner { padding: 78px 28px; }

.center-cta {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 28px;
  text-align: center;
}

.center-cta--sm { padding: 80px 28px 100px; }

.center-cta__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.32;
  color: var(--heading-soft);
  margin: 0 0 34px;
}

/* ── How it works ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1px;
  background: rgba(182, 160, 127, 0.14);
  margin-top: 44px;
}

.step {
  background: var(--bg-elevated);
  padding: 44px 36px 48px;
}

.step__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.step__num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.step__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--heading);
  margin: 0;
}

.step__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.faq-list { border-top: 1px solid rgba(182, 160, 127, 0.14); }

.faq-item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(182, 160, 127, 0.14);
}

.faq-item h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
  margin: 0 0 12px;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  max-width: 760px;
}

/* ── Pricing notes ── */
.pricing-notes {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 46px 0 0;
}

.pricing-notes p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

.pricing-notes p:first-child { max-width: 560px; }
.pricing-notes p:last-child { max-width: 420px; font-style: italic; color: var(--text-soft); }

/* ── About ── */
.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 64px;
  align-items: center;
  padding: 96px 28px 88px;
}

.about-copy { max-width: 760px; margin: 0 auto; padding: 84px 28px 40px; }

.about-copy p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-pullquote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.3;
  color: var(--accent);
  margin: 0 0 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: rgba(182, 160, 127, 0.14);
}

.stat {
  background: var(--bg-elevated);
  padding: 34px 28px;
}

.stat__num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat__label {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ── Contact ── */
.contact-grid {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 90px 28px 110px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 72px;
  align-items: start;
}

.contact-form-wrap {
  min-width: 0;
}

.contact-grid::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(182,160,127,0.14) 0%, rgba(18,16,13,0) 62%);
  pointer-events: none;
}

.privacy-note {
  padding: 22px 24px;
  background: var(--bg-elevated);
  border: 1px solid rgba(182, 160, 127, 0.16);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.privacy-note__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.privacy-note p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid rgba(182, 160, 127, 0.16);
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-field--spaced {
  margin-top: 26px;
  padding-top: 6px;
}

.qual-form .form-field {
  gap: 12px;
}

.qual-form .form-field > label {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
}

.form-field > label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.form-field > label span.optional {
  text-transform: none;
  letter-spacing: 0;
  color: #938A7D;
}

.form-field > input,
.form-field > textarea,
.form-field > select {
  background: var(--bg);
  border: 1px solid rgba(182, 160, 127, 0.22);
  color: var(--heading);
  font-family: var(--font-sans);
  font-size: 15.5px;
  padding: 13px 14px;
  border-radius: 2px;
  width: 100%;
}

.form-field > textarea {
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}

.form-field > select { color: var(--text); }

.form-field > input:focus,
.form-field > textarea:focus,
.form-field > select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-success {
  background: var(--bg-elevated);
  border: 1px solid rgba(182, 160, 127, 0.3);
  padding: 56px 40px;
  text-align: center;
}

.form-success__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

.form-success h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--heading);
  margin: 0 0 14px;
}

.form-success p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-muted);
  margin: 0 0 26px;
}

.form-error {
  padding: 14px 16px;
  border: 1px solid rgba(220, 80, 80, 0.4);
  background: rgba(220, 80, 80, 0.08);
  color: #e8b4b4;
  font-size: 14px;
  display: none;
}

.form-error.is-visible { display: block; }

/* ── Pre-qualification form ── */
.qual-form {
  background: var(--bg-elevated);
  border: 1px solid rgba(182, 160, 127, 0.16);
  padding: 38px 34px 34px;
}

.qual-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.qual-progress__step {
  flex: 1;
  height: 3px;
  background: rgba(182, 160, 127, 0.18);
  border-radius: 1px;
  transition: background 0.2s ease;
}

.qual-progress__step.is-active,
.qual-progress__step.is-done {
  background: var(--accent);
}

.qual-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.qual-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qual-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(182, 160, 127, 0.22);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.qual-option:hover {
  border-color: rgba(182, 160, 127, 0.45);
  background: rgba(23, 20, 16, 0.6);
}

.qual-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(182, 160, 127, 0.1);
  box-shadow: inset 0 0 0 1px rgba(182, 160, 127, 0.35);
}

.qual-option input {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.qual-option__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--heading-soft);
}

/* Compact radio groups — horizontal chip flow */
.qual-options--inline {
  display: grid;
  gap: 8px;
}

.qual-options--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qual-options--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qual-options--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qual-options--inline .qual-option {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 52px;
  padding: 12px 10px;
  text-align: center;
}

.qual-options--inline .qual-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.qual-options--inline .qual-option__text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text-soft);
}

.qual-options--inline .qual-option:hover .qual-option__text,
.qual-options--inline .qual-option:has(input:checked) .qual-option__text {
  color: var(--heading-soft);
}

.qual-options--inline .qual-option:has(input:checked) {
  background: rgba(182, 160, 127, 0.14);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.qual-options--inline .qual-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.qual-option__hint {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 4px;
}

.qual-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.qual-panel {
  background: var(--bg-elevated);
  border: 1px solid rgba(182, 160, 127, 0.16);
  padding: 38px 34px;
}

.qual-panel--warn {
  border-color: rgba(182, 160, 127, 0.28);
}

.qual-panel h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  color: var(--heading);
  margin: 0 0 14px;
}

.qual-panel p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-muted);
  margin: 0 0 22px;
}

/* ── Comparison / AEO content ── */
.content-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 60px;
}

.content-prose p,
.content-prose li {
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-muted);
}

.content-prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--heading);
  margin: 48px 0 18px;
}

.content-prose h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
  margin: 32px 0 12px;
}

.aeo-answer {
  font-size: 19px;
  line-height: 1.65;
  color: var(--heading-soft);
  margin-bottom: 28px;
}

.verified-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.compare-verdict {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 36px 0;
}

.compare-verdict__box {
  background: var(--bg-elevated);
  border: 1px solid rgba(182, 160, 127, 0.16);
  padding: 24px 22px;
}

.compare-verdict__box h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.compare-verdict__box ul {
  margin: 0;
  padding-left: 18px;
}

.compare-verdict__box li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid rgba(182, 160, 127, 0.14);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(182, 160, 127, 0.12);
  vertical-align: top;
  color: var(--text-muted);
}

.compare-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heading);
  background: var(--bg-elevated);
}

.compare-table td:first-child {
  font-weight: 500;
  color: var(--heading-soft);
  min-width: 140px;
}

[hidden] { display: none !important; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid rgba(182, 160, 127, 0.14);
  background: #100E0B;
}

.site-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 28px 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 48px;
}

.site-footer__logo {
  width: 150px;
  height: auto;
  margin-bottom: 22px;
  opacity: 0.92;
}

.site-footer__tagline {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-footer);
  margin: 0;
  max-width: 300px;
}

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #938A7D;
  margin-bottom: 20px;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.site-footer__links a {
  font-size: 14.5px;
  color: var(--text-muted);
}

.site-footer__links a:hover { color: var(--heading); }

.site-footer__links .accent-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(182, 160, 127, 0.35);
  padding-bottom: 2px;
}

.site-footer__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 240px;
}

.site-footer__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 28px 40px;
  border-top: 1px solid rgba(182, 160, 127, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__bar span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #938A7D;
}

/* ── Responsive ── */
@media (min-width: 1100px) {
  .card-grid--solutions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .card-grid--solutions {
    grid-template-columns: 1fr;
  }

  .card-grid--solutions .card {
    padding: 34px 28px 38px;
  }
}

@media (max-width: 900px) {
  .pillar {
    padding: 48px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(182, 160, 127, 0.12);
  }

  .pillar:last-child { border-bottom: none; }

  .site-nav__link.btn--nav {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18, 16, 13, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
  }

  .site-nav.is-open { display: flex; }

  .site-header { position: sticky; }
  .site-header__inner { position: relative; flex-wrap: wrap; }

  .site-nav__link {
    padding: 12px 8px;
    width: 100%;
  }

  .site-nav__link.is-active::after { left: 8px; right: auto; width: 24px; }

  .hero__content { padding: 88px 20px 72px; }
  .hero__content--left { padding: 72px 20px 56px; }

  .section { padding: 72px 0; }
  .section--sm { padding: 56px 0 72px; }
  .cta-band__content { padding: 72px 20px; }

  .container,
  .site-header__inner,
  .three-pillars__grid,
  .about-hero,
  .contact-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .detail-row { padding: 56px 0 12px; gap: 24px; }
  .detail-row__body { padding-bottom: 36px; }

  .two-col { gap: 40px; }
  .contact-grid { gap: 48px; padding-top: 72px; padding-bottom: 80px; }

  .pricing-notes { flex-direction: column; gap: 20px; }

  .qual-options--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qual-options--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .qual-form {
    padding: 28px 20px 24px;
  }
}

@media (max-width: 390px) {
  .site-logo__text { font-size: 15px; }
  .site-logo__mark { width: 38px; height: 21px; }

  .display--hero { font-size: 36px; }
  .hero__tagline { font-size: 17px; }
  .hero__sub { font-size: 15px; margin-bottom: 32px; }

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .qual-options--cols-3 {
    grid-template-columns: 1fr;
  }

  .qual-options--inline .qual-option__text {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .btn--primary,
  .btn--secondary { padding: 14px 20px; font-size: 14px; }

  .section-header { flex-direction: column; align-items: flex-start; }

  .contact-form { padding: 28px 20px 24px; }
  .form-success { padding: 40px 24px; }

  .card { padding: 28px 22px 32px; }
  .step { padding: 32px 24px 36px; }

  .site-footer__grid { padding: 48px 20px 28px; gap: 36px; }
  .site-footer__bar { padding: 18px 20px 32px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
