:root {
  color-scheme: dark;
  --av-black: #080807;
  --av-graphite: #11110f;
  --av-charcoal: #171715;
  --av-elevated: #1e1d1a;
  --av-soft-panel: #24231f;
  --av-ivory: #f4efe6;
  --av-soft-ivory: #e5ded2;
  --av-muted-warm: #a9a094;
  --av-subtle: #6f6a62;
  --av-rule: rgba(244, 239, 230, 0.14);
  --av-rule-subtle: rgba(244, 239, 230, 0.08);
  --av-rule-strong: rgba(244, 239, 230, 0.24);
  --av-champagne: #d8c7a3;
  --av-muted-gold: #b9a77d;
  --av-bronze: #7b6848;
  --av-cta-bg: #e8ddc8;
  --av-cta-text: #11110f;
  --font-display: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --container: min(1180px, calc(100vw - 48px));
  --brand-logo-height: 39px;
  --header-logo-height: 34px;
  --footer-logo-height: 34px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --av-disclosure-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 199, 163, 0.08), transparent 31rem),
    linear-gradient(180deg, var(--av-black) 0%, var(--av-graphite) 44%, var(--av-black) 100%);
  color: var(--av-soft-ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(244, 239, 230, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 25% 10%, rgba(216, 199, 163, 0.08), transparent 20rem);
  background-size:
    80px 80px,
    80px 80px,
    auto;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(244, 239, 230, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 80%, rgba(244, 239, 230, 0.45) 0 1px, transparent 1.5px);
  background-size:
    37px 37px,
    53px 53px;
  mix-blend-mode: screen;
}

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

button,
summary {
  font: inherit;
}

img,
svg {
  display: block;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border: 1px solid var(--av-rule-strong);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--av-cta-bg);
  color: var(--av-cta-text);
  font-weight: 600;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--av-rule-subtle);
  background: rgba(8, 8, 7, 0.78);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--av-ivory);
  line-height: 1;
  opacity: 0.82;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.brand:hover,
.brand:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-logo {
  width: auto;
  height: var(--header-logo-height);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--av-muted-warm);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--av-ivory);
}

.nav-cta {
  border: 1px solid rgba(216, 199, 163, 0.34);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--av-ivory);
  background: rgba(216, 199, 163, 0.06);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(216, 199, 163, 0.6);
  background: rgba(216, 199, 163, 0.12);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--av-rule);
  border-radius: 999px;
  padding: 9px 12px;
  background: transparent;
  color: var(--av-soft-ivory);
  cursor: pointer;
}

.nav-toggle span:first-child {
  font-size: 12px;
  font-weight: 600;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 17px;
  height: 1px;
  background: currentColor;
  display: block;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -5px;
}

.nav-toggle-lines::after {
  top: 5px;
}

.nav-open .nav-toggle-lines {
  background: transparent;
}

.nav-open .nav-toggle-lines::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-open .nav-toggle-lines::after {
  transform: translateY(-5px) rotate(-45deg);
}

.section-shell,
.content-section,
.trust-inner,
.final-cta-inner,
.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: 96px 0 56px;
  display: grid;
  align-content: center;
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: var(--final-cta-rule-bottom);
  width: min(720px, 80vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(216, 199, 163, 0.55), transparent);
  box-shadow: 0 0 42px rgba(216, 199, 163, 0.2);
}

.hero-orbit,
.final-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: rgba(216, 199, 163, 0.22);
  opacity: 0.7;
}

.hero-orbit svg {
  position: absolute;
  top: 44px;
  left: 50%;
  width: min(980px, 98vw);
  height: 56%;
  transform: translateX(-50%);
}

.final-orbit svg {
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(920px, 100vw);
  height: 68%;
  transform: translateX(-50%);
}

.hero-orbit path,
.hero-orbit ellipse,
.hero-orbit circle,
.final-orbit path,
.final-orbit ellipse,
.final-orbit circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.hero-orbit circle,
.final-orbit circle {
  fill: var(--av-champagne);
  stroke: none;
  opacity: 0.75;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--av-champagne);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--av-ivory);
  font-family: var(--font-display);
  font-weight: 600;
}

h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 92px);
  line-height: 0.98;
}

h1 em {
  color: var(--av-champagne);
  font-style: italic;
  font-weight: 500;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.03;
}

h3 {
  color: var(--av-ivory);
  font-size: 20px;
  line-height: 1.28;
}

.hero-subheadline {
  max-width: 730px;
  margin-bottom: 31px;
  color: var(--av-soft-ivory);
  font-size: clamp(18px, 2.1vw, 20px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 21px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition:
    transform 180ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    color 180ms var(--ease);
}

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

.button-primary {
  border: 1px solid rgba(244, 239, 230, 0.28);
  background: var(--av-cta-bg);
  color: var(--av-cta-text);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f2e8d7;
}

.button-secondary {
  border: 1px solid rgba(244, 239, 230, 0.16);
  background: rgba(244, 239, 230, 0.02);
  color: var(--av-soft-ivory);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(216, 199, 163, 0.5);
  color: var(--av-champagne);
}

.button-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.micro-proof {
  max-width: 650px;
  margin: 21px 0 0;
  color: var(--av-muted-warm);
  font-size: 14px;
}

.stats-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 66px;
  border-top: 1px solid var(--av-rule);
  border-bottom: 1px solid var(--av-rule);
  background: rgba(244, 239, 230, 0.018);
}

.stat-item {
  min-height: 132px;
  padding: 24px 28px;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--av-rule-subtle);
}

.stat-item strong {
  display: block;
  margin-bottom: 11px;
  color: var(--av-ivory);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  line-height: 0.95;
}

.stat-item span {
  display: block;
  max-width: 150px;
  color: var(--av-muted-warm);
  font-size: 13px;
  line-height: 1.35;
}

.stats-note,
.trust-note,
.section-support,
.engine-support {
  color: var(--av-subtle);
  font-size: 13px;
}

.stats-note {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
}

.trust-section {
  border-top: 1px solid var(--av-rule-subtle);
  border-bottom: 1px solid var(--av-rule-subtle);
  background: rgba(17, 17, 15, 0.72);
}

.trust-inner {
  padding: 32px 0 30px;
}

.trust-section .section-heading.compact {
  display: block;
  margin: 0 auto 24px;
  text-align: center;
}

.trust-title {
  margin: 0;
  color: var(--av-ivory);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.05;
}

.section-heading.compact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading.compact .section-kicker {
  margin-bottom: 0;
}

.section-heading.compact p:last-child {
  margin-bottom: 0;
  color: var(--av-muted-warm);
  font-size: 14px;
}

.marquee {
  --marquee-gap: clamp(58px, 5vw, 80px);
  --marquee-logo-slot: clamp(132px, 13vw, 170px);
  --marquee-logo-height: clamp(46px, 4.6vw, 58px);
  --marquee-fade: clamp(64px, 10vw, 132px);
  --marquee-start-offset: clamp(44px, 4.4vw, 64px);
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 11%, black 89%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 11%, black 89%, transparent 100%);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  z-index: 2;
  width: var(--marquee-fade);
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(17, 17, 15, 0.98), rgba(17, 17, 15, 0));
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(17, 17, 15, 0.98), rgba(17, 17, 15, 0));
}

.marquee-track {
  position: relative;
  z-index: 1;
  width: max-content;
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  padding: 22px var(--marquee-gap) 22px 0;
  transform: translateX(var(--marquee-start-offset));
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: var(--marquee-logo-slot);
  height: var(--marquee-logo-height);
  min-height: var(--marquee-logo-height);
  --logo-max-width: min(100%, 150px);
  --logo-max-height: min(100%, 32px);
  --logo-y: 0;
}

.marquee-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--logo-max-width);
  max-height: var(--logo-max-height);
  object-fit: contain;
  object-position: center;
  opacity: 0.74;
  transform: translateY(var(--logo-y));
}

.logo-typhur {
  --logo-max-width: min(100%, 118px);
  --logo-max-height: min(100%, 38px);
}

.logo-thermomaven {
  --logo-max-width: min(100%, 154px);
  --logo-max-height: min(100%, 30px);
  --logo-y: 1px;
}

.logo-lumos {
  --logo-max-width: min(100%, 148px);
  --logo-max-height: min(100%, 31px);
}

.logo-aegend {
  --logo-max-width: min(100%, 100px);
  --logo-max-height: min(100%, 40px);
}

.logo-glocusent {
  --logo-max-width: min(100%, 156px);
  --logo-max-height: min(100%, 31px);
  --logo-y: 1px;
}

.trust-note {
  margin: 18px 0 0;
}

.content-section {
  padding: 88px 0;
}

.section-grid,
.founder-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: start;
}

.section-heading {
  max-width: 720px;
}

.problem-section .section-heading {
  align-self: center;
}

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p:not(.section-kicker),
.founder-copy p,
.final-cta-inner p {
  color: var(--av-muted-warm);
  font-size: 17px;
}

.card-grid,
.service-grid,
.package-grid,
.engine-diagram {
  display: grid;
  gap: 18px;
}

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

.service-grid,
.engine-diagram {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.diagnostic-card,
.service-card,
.engine-step,
.package-card {
  position: relative;
  border: 1px solid var(--av-rule-subtle);
  border-radius: 16px;
  background: rgba(244, 239, 230, 0.025);
}

.diagnostic-card,
.service-card {
  padding: 26px;
}

.diagnostic-card::before,
.service-card::before,
.engine-step::before,
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(216, 199, 163, 0.05), transparent 42%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.diagnostic-card:hover::before,
.service-card:hover::before,
.engine-step:hover::before,
.package-card:hover::before {
  opacity: 1;
}

.line-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--av-champagne);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnostic-card h3,
.service-card h3,
.engine-step h3,
.package-card h3 {
  margin-bottom: 12px;
}

.diagnostic-card p,
.service-card p,
.engine-step p,
.package-card p,
.package-card li {
  color: var(--av-muted-warm);
  font-size: 14px;
  line-height: 1.62;
}

.services-section,
.packages-section {
  border-top: 1px solid var(--av-rule-subtle);
  background: rgba(17, 17, 15, 0.48);
}

.faq-section {
  border-top: 1px solid var(--av-rule-subtle);
}

.shift-section {
  position: relative;
  border-top: 1px solid var(--av-rule-subtle);
  background:
    linear-gradient(rgba(244, 239, 230, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, 0.016) 1px, transparent 1px);
  background-size: 72px 72px;
}

.shift-layout {
  align-items: center;
}

.shift-modules {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--av-rule);
  border-bottom: 1px solid var(--av-rule);
  background: rgba(244, 239, 230, 0.018);
}

.shift-modules::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 0%, rgba(216, 199, 163, 0.08), transparent 18rem);
}

.shift-connector {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-bottom: 1px solid var(--av-rule-subtle);
  padding: 26px 28px;
}

.shift-connector span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 239, 230, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.shift-connector span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 199, 163, 0.72);
  border-radius: 50%;
  background: var(--av-graphite);
  box-shadow: 0 0 18px rgba(216, 199, 163, 0.2);
}

.shift-connector span:nth-child(2) {
  justify-self: center;
}

.shift-connector span:nth-child(3) {
  justify-self: end;
}

.shift-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--av-rule-subtle);
  padding: 27px 28px;
}

.shift-card .line-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  margin: 2px 0 0;
}

.shift-card-label {
  display: none;
}

.shift-card h3,
.shift-card p {
  grid-column: 2;
}

.shift-card h3 {
  margin-bottom: 8px;
}

.shift-card p,
.shift-closing {
  color: var(--av-muted-warm);
  font-size: 14px;
  line-height: 1.62;
}

.shift-card p {
  margin-bottom: 0;
}

.shift-closing {
  position: relative;
  margin: 0;
  padding: 24px 28px;
  color: var(--av-soft-ivory);
}

.section-support,
.engine-support {
  max-width: 680px;
  margin: 27px auto 0;
  text-align: center;
}

.engine-section {
  position: relative;
  overflow: hidden;
}

.engine-diagram {
  position: relative;
  z-index: 1;
  margin-top: 42px;
}

.engine-step {
  min-height: 335px;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.04), rgba(244, 239, 230, 0.018));
}

.step-index {
  display: block;
  margin-bottom: 34px;
  color: rgba(216, 199, 163, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.engine-step .line-icon {
  margin-bottom: 20px;
}

.package-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.package-card.featured {
  border-color: rgba(216, 199, 163, 0.48);
  background: rgba(244, 239, 230, 0.04);
}

.package-topline {
  min-height: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.package-topline .line-icon {
  margin-bottom: 0;
}

.badge {
  border: 1px solid rgba(216, 199, 163, 0.28);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(216, 199, 163, 0.06);
  color: var(--av-champagne);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.package-best {
  min-height: 150px;
  margin-bottom: 16px;
}

.support-label,
.core-value {
  margin-bottom: 14px;
}

.support-label {
  color: var(--av-champagne) !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.core-value {
  color: var(--av-soft-ivory) !important;
  font-weight: 500;
}

.package-card h4 {
  margin: 0 0 12px;
  color: var(--av-soft-ivory);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card ul {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 18px;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--av-champagne);
}

.scope-line {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--av-rule-subtle);
}

.support-details {
  margin: 2px 0 24px;
  padding-top: 16px;
  border-top: 1px solid var(--av-rule-subtle);
}

.support-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--av-champagne);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

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

.support-details summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(216, 199, 163, 0.28);
  border-radius: 50%;
  color: var(--av-champagne);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
}

.support-details[open] summary::after {
  content: "-";
}

.support-details summary:focus-visible {
  outline: 2px solid rgba(216, 199, 163, 0.64);
  outline-offset: 4px;
}

.support-details p {
  margin: 14px 0 0;
}

.js-enabled .disclosure-panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 360ms var(--av-disclosure-ease), opacity 260ms var(--av-disclosure-ease);
  will-change: height, opacity;
}

.js-enabled details[open] > .disclosure-panel {
  opacity: 1;
}

.support-details-list {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

.support-best-for {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--av-rule-subtle);
}

.support-best-for p {
  margin: 0;
}

@media (min-width: 981px) {
  .package-card .core-value {
    min-height: 92px;
  }

  .package-card > ul {
    min-height: 222px;
  }

  .support-best-for {
    min-height: 110px;
  }
}

.package-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 22px;
  border-bottom: 1px solid rgba(216, 199, 163, 0.42);
  color: var(--av-champagne);
  font-size: 14px;
  font-weight: 600;
}

.founder-section {
  border-top: 1px solid var(--av-rule-subtle);
}

.founder-layout {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
}

.founder-portrait {
  position: sticky;
  top: 112px;
  align-self: start;
  margin: 0;
}

.portrait-frame {
  position: relative;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  border: 1px solid var(--av-rule);
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 36%, rgba(216, 199, 163, 0.13), transparent 36%),
    linear-gradient(145deg, #11110f, #1e1d1a);
}

.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(244, 239, 230, 0.1);
  pointer-events: none;
  z-index: 2;
}

.portrait-frame::before {
  inset: 24px;
}

.portrait-frame::after {
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.founder-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) brightness(0.9) contrast(0.98);
}

.founder-portrait figcaption {
  margin-top: 13px;
  color: var(--av-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founder-copy p {
  margin-bottom: 18px;
}

.proof-list {
  display: grid;
  margin: 32px 0;
  padding: 0;
  border-top: 1px solid var(--av-rule-subtle);
  list-style: none;
}

.proof-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--av-rule-subtle);
  padding: 15px 0;
  color: var(--av-soft-ivory);
  font-size: 14px;
}

.mini-icon {
  width: 22px;
  height: 22px;
  color: var(--av-champagne);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-layout {
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
}

.faq-list {
  border-bottom: 1px solid var(--av-rule-subtle);
}

.faq-list details {
  border-top: 1px solid var(--av-rule-subtle);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 22px;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  color: var(--av-ivory);
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary span {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.plus-icon,
.minus-icon {
  width: 20px;
  height: 20px;
  color: var(--av-champagne);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.minus-icon,
.faq-list details[open] .plus-icon {
  display: none;
}

.faq-list details[open] .minus-icon {
  display: block;
}

.faq-list details[open] summary {
  padding-bottom: 12px;
}

.faq-list details p {
  max-width: 760px;
  margin: 0 0 25px;
  color: var(--av-muted-warm);
}

.faq-list .disclosure-panel p {
  max-width: 760px;
  margin: 0 0 25px;
  color: var(--av-muted-warm);
}

.final-cta {
  --final-cta-action-offset: 0px;
  --final-cta-email-offset: 24px;
  --final-cta-rule-bottom: 72px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--av-rule-subtle);
  padding: 88px 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(216, 199, 163, 0.12), transparent 31rem),
    linear-gradient(180deg, var(--av-black), var(--av-graphite));
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  text-align: center;
}

.final-cta-inner .section-kicker {
  margin-left: auto;
  margin-right: auto;
  transform: translateY(-10px);
}

.final-cta-inner h2 {
  margin-bottom: 18px;
  transform: translateY(-10px);
}

.final-cta-inner p {
  max-width: 680px;
  margin: 0 auto 30px;
}

.final-cta-copy {
  transform: translateY(-2px);
}

.final-cta .hero-actions {
  justify-content: center;
  transform: translateY(var(--final-cta-action-offset));
}

.final-cta-inner .final-cta-email {
  position: absolute;
  top: calc(100% + var(--final-cta-email-offset));
  left: 0;
  right: 0;
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--font-display);
}

.final-cta-email a {
  border-bottom: 1px solid rgba(216, 199, 163, 0.28);
  color: var(--av-soft-ivory);
  transition:
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.final-cta-email a:hover,
.final-cta-email a:focus-visible {
  border-color: rgba(216, 199, 163, 0.68);
  color: var(--av-ivory);
}

.site-footer {
  border-top: 1px solid var(--av-rule-subtle);
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.74), rgba(8, 8, 7, 0.92));
}

.footer-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 8vw, 120px);
  padding: 34px 0;
}

.footer-copyright {
  margin: 0;
  color: var(--av-muted-warm);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.footer-logo-link {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  justify-content: center;
  color: var(--av-ivory);
  opacity: 0.82;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-logo {
  width: auto;
  height: var(--footer-logo-height);
}

.footer-social {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--av-muted-warm);
  transition:
    color 180ms var(--ease),
    outline-color 180ms var(--ease);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--av-champagne);
}

.footer-social-link:focus-visible {
  outline: 1px solid var(--av-champagne);
  outline-offset: 3px;
}

.footer-social-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--av-champagne);
  outline-offset: 4px;
}

@keyframes marquee {
  from {
    transform: translateX(var(--marquee-start-offset));
  }
  to {
    transform: translateX(calc(-50% + var(--marquee-start-offset)));
  }
}

@media (max-width: 1100px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: max(16px, calc((100vw - var(--container)) / 2));
    width: min(124px, calc(100vw - 32px));
    display: grid;
    gap: 0;
    visibility: hidden;
    transform: translateY(-8px);
    opacity: 0;
    border: 1px solid var(--av-rule);
    border-radius: 16px;
    padding: 10px;
    background: rgba(17, 17, 15, 0.98);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
    transition:
      opacity 180ms var(--ease),
      transform 180ms var(--ease),
      visibility 180ms var(--ease);
  }

  .nav-links a {
    padding: 12px;
    border-radius: 10px;
    text-align: left;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(244, 239, 230, 0.045);
  }

  .nav-open .nav-links {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .service-grid,
  .engine-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-best {
    min-height: auto;
  }

  .package-card .core-value,
  .package-card > ul,
  .support-best-for {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .disclosure-panel {
    transition-duration: 1ms;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100vw - 32px, 680px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 44px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero-subheadline {
    font-size: 17px;
  }

  .stats-strip,
  .two-by-two,
  .section-grid,
  .founder-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
  }

  .stat-item {
    min-height: auto;
    padding: 22px;
  }

  .stat-item + .stat-item {
    border-left: 0;
    border-top: 0;
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid var(--av-rule-subtle);
  }

  .stat-item:nth-child(n + 3) {
    border-top: 1px solid var(--av-rule-subtle);
  }

  .stat-item:nth-child(2n + 1) {
    border-left: 0;
  }

  .section-heading.compact {
    display: block;
  }

  .section-heading.compact .section-kicker {
    margin-bottom: 10px;
  }

  .content-section {
    padding: 72px 0;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-support,
  .engine-support {
    text-align: left;
  }

  .shift-layout {
    align-items: start;
  }

  .shift-connector {
    display: none;
  }

  .shift-card-label {
    display: block;
    grid-column: 2;
    align-self: center;
    margin: 0;
    color: rgba(244, 239, 230, 0.72);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .shift-card .line-icon {
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .founder-portrait {
    position: static;
  }

  .final-cta {
    --final-cta-rule-bottom: 56px;
    padding: 72px 0;
  }

  .final-cta-inner {
    text-align: center;
  }

  .final-cta-inner p {
    margin-left: auto;
    margin-right: auto;
  }

  .final-cta .hero-actions {
    justify-content: center;
  }

  .footer-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    padding: 34px 0;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social-link {
    width: 46px;
    height: 46px;
  }

  .footer-social-icon {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 560px) {
  :root {
    --brand-logo-height: 34px;
    --header-logo-height: 29px;
    --footer-logo-height: 29px;
  }

  .final-cta {
    --final-cta-action-offset: -9.1px;
    --final-cta-rule-bottom: 118px;
  }

  .final-cta-inner .final-cta-email {
    position: static;
    margin-top: 31.8px;
    transform: translateY(var(--final-cta-action-offset));
  }

  .brand-logo {
    height: var(--header-logo-height);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .engine-diagram {
    grid-template-columns: 1fr;
  }

  .stat-item + .stat-item {
    border-left: 0;
    border-top: 0;
  }

  .stat-item:nth-child(even) {
    border-left: 1px solid var(--av-rule-subtle);
  }

  .stat-item:nth-child(n + 3) {
    border-top: 1px solid var(--av-rule-subtle);
  }

  .diagnostic-card,
  .service-card,
  .engine-step,
  .package-card {
    border-radius: 14px;
  }

  .shift-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .shift-card .line-icon,
  .shift-card h3,
  .shift-card p,
  .shift-card-label {
    grid-column: 2;
  }

  .shift-card .line-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .package-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .marquee {
    --marquee-gap: clamp(38px, 10vw, 54px);
    --marquee-logo-slot: clamp(108px, 34vw, 132px);
    --marquee-logo-height: 48px;
    --marquee-fade: clamp(48px, 18vw, 72px);
    --marquee-start-offset: 30px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 14%, black 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, black 14%, black 86%, transparent 100%);
  }

  .marquee-track {
    padding-block: 20px;
    animation-duration: 36s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}
