:root {
  color-scheme: dark;
  --bg: #0b1014;
  --bg-2: #101820;
  --surface: rgba(246, 241, 232, 0.045);
  --surface-strong: rgba(246, 241, 232, 0.075);
  --line: rgba(232, 221, 205, 0.14);
  --line-strong: rgba(232, 221, 205, 0.24);
  --text: #f4efe6;
  --muted: #c8c0b3;
  --faint: #827b70;
  --accent: #c79555;
  --accent-strong: #d6a866;
  --danger: #d27d7d;
  --focus: rgba(214, 168, 102, 0.82);
  --radius: 8px;
  --shell: min(1320px, calc(100vw - 40px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: Geist, Satoshi, "Aptos", "Segoe UI Variable", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Aptos Display", "Segoe UI Variable Display", Charter, "Iowan Old Style", Georgia, serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  overflow-x: hidden;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 0%, rgba(199, 149, 85, 0.12), transparent 30rem),
    linear-gradient(180deg, #0c1115 0%, #101820 48%, #0b1014 100%);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  content: "";
  background: #020304;
  opacity: 0;
  transition: opacity 260ms var(--ease);
}

body.is-transitioning::after {
  opacity: 1;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(232, 221, 205, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 221, 205, 0.02) 1px, transparent 1px);
  background-size: 116px 116px;
  mask-image: linear-gradient(to bottom, rgba(12, 17, 21, 0.82), transparent 74%);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

img,
svg {
  display: block;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--bg);
  background: var(--text);
  transform: translateY(-160%);
  transition: transform 220ms var(--ease);
}

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

.site-frame {
  width: var(--shell);
  margin: 14px auto 42px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(13, 19, 24, 0.82);
  box-shadow: 0 34px 100px rgba(8, 13, 18, 0.46), inset 0 1px 0 rgba(246, 241, 232, 0.04);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 19, 24, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(246, 241, 232, 0.04);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(9px, 1.15vw, 18px);
}

.nav-links a,
.nav-cta {
  color: #dfd8cd;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
}

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

.nav-cta {
  justify-self: end;
  padding: 12px 16px;
  border: 1px solid rgba(199, 149, 85, 0.46);
  border-radius: var(--radius);
  color: #f1d7aa;
  background: rgba(199, 149, 85, 0.08);
  box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.05);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(199, 149, 85, 0.74);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.08), 0 0 0 3px rgba(199, 149, 85, 0.12);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  place-items: center;
  min-height: clamp(560px, 72dvh, 760px);
  padding: clamp(82px, 10vw, 138px) clamp(34px, 6vw, 86px) clamp(76px, 9vw, 118px);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.018), transparent 42%),
    radial-gradient(circle at 50% 58%, rgba(199, 149, 85, 0.12), transparent 30rem);
}

.hero-copy {
  display: grid;
  justify-items: center;
  max-width: 1080px;
}

.hero-crest {
  width: clamp(92px, 12vw, 156px);
  height: clamp(92px, 12vw, 156px);
  margin: 0 0 26px;
  border: 1px solid rgba(214, 168, 102, 0.34);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(8, 13, 18, 0.36), 0 0 0 10px rgba(199, 149, 85, 0.035);
}

.section-label {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  max-width: 12.5ch;
  margin: 0;
  font-size: clamp(4.5rem, 9.2vw, 8.3rem);
  font-weight: 760;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-abbrev {
  margin: 28px 0 0;
  color: var(--accent-strong);
  font-size: clamp(1.4rem, 2.7vw, 2.35rem);
  font-weight: 760;
  letter-spacing: 0.3em;
}

.hero-copy > p:last-child,
.visual-copy > p,
.problem-copy > p:not(.section-label),
.membership > p,
.section-heading p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-copy > p:last-child {
  margin: 28px 0 0;
  max-width: 760px;
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
}

.visual-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(70px, 8vw, 108px) clamp(34px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.visual-copy > p,
.problem-copy > p:not(.section-label),
.membership > p {
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(199, 149, 85, 0.12);
}

.button:active,
.nav-cta:active,
.offer-card:active {
  transform: scale(0.97);
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  border: 1px solid rgba(214, 168, 102, 0.72);
  color: #17110b;
  background: var(--accent-strong);
  box-shadow: 0 18px 42px -34px rgba(199, 149, 85, 0.9), inset 0 1px 0 rgba(246, 241, 232, 0.26);
}

.button-ghost {
  border: 1px solid var(--line-strong);
  color: #eee6da;
  background: rgba(246, 241, 232, 0.035);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(214, 168, 102, 0.52);
  background: rgba(199, 149, 85, 0.06);
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.03);
  box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.045);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: clamp(12px, 2vw, 26px);
  opacity: 0.74;
  filter: saturate(0.7) contrast(0.95);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.18fr;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.metrics div {
  min-height: 104px;
  padding: 24px 30px;
  background: rgba(15, 22, 28, 0.84);
}

.metrics strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 780;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metrics span {
  display: block;
  margin-top: 9px;
  color: var(--faint);
  font-size: 0.86rem;
  line-height: 1.35;
}

.metrics .status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 28px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(199, 149, 85, 0.34);
  border-radius: var(--radius);
  background: rgba(199, 149, 85, 0.065);
}

.metrics .status span,
.metrics .status strong {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.metrics .status strong {
  color: var(--accent-strong);
}

.problem,
.process,
.offers,
.lanes,
.membership,
.closing {
  padding: clamp(76px, 8vw, 110px) clamp(34px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.problem {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  background: linear-gradient(180deg, rgba(246, 241, 232, 0.015), transparent);
}

.launch-column {
  display: none;
}

.problem-copy {
  max-width: 650px;
}

.friction-grid {
  display: grid;
  gap: 26px;
  margin-top: 48px;
}

.friction-grid article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.friction-grid article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.friction-grid strong {
  font-size: 0.98rem;
}

.friction-grid small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.mini-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid rgba(214, 168, 102, 0.72);
  border-radius: 50%;
}

.mini-icon::after {
  position: absolute;
  inset: 6px;
  content: "";
  border-radius: inherit;
  background: var(--accent-strong);
}

.radar-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.03);
  box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.045);
}

.radar-panel img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.7) contrast(0.95);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
  max-width: 1120px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

.process-rail,
.offer-board,
.lane-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-rail {
  grid-template-columns: 1.25fr 1fr 1fr 1.25fr;
}

.process-rail article,
.offer-card,
.lane-list span {
  background: rgba(246, 241, 232, 0.038);
  box-shadow: inset 0 1px 0 rgba(246, 241, 232, 0.035);
}

.process-rail article {
  min-height: 228px;
  padding: clamp(22px, 2.8vw, 32px);
}

.process-rail span,
.offer-card span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.process-rail h3 {
  margin: 58px 0 10px;
  font-size: 1.75rem;
  line-height: 1;
}

.process-rail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.offer-board {
  grid-template-columns: 1.1fr 0.95fr 1.05fr 0.95fr 1.15fr;
}

.offer-card {
  min-height: 190px;
  padding: clamp(20px, 2.2vw, 26px);
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 240ms var(--ease), outline-color 240ms var(--ease), transform 240ms var(--ease);
}

.offer-card.is-active,
.offer-card:hover,
.offer-card:focus-visible {
  outline: 1px solid rgba(214, 168, 102, 0.56);
  outline-offset: -1px;
  background: rgba(199, 149, 85, 0.08);
}

.offer-card strong {
  display: block;
  margin-top: 42px;
  font-size: 1.02rem;
  line-height: 1.22;
}

.offer-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.offer-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 16px;
  padding: 28px;
  border: 1px solid rgba(199, 149, 85, 0.28);
  border-radius: var(--radius);
  background: rgba(199, 149, 85, 0.045);
}

.offer-output > span {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.offer-output h3 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.offer-output p {
  grid-column: 1;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.offer-output dl {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.offer-output dl div {
  min-width: 158px;
  padding: 18px;
  background: rgba(13, 19, 24, 0.86);
}

.offer-output dt {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-output dd {
  margin: 8px 0 0;
  font-weight: 800;
}

.lane-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lane-list span {
  min-height: 108px;
  padding: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.lane-list b {
  display: block;
  color: var(--text);
  font-weight: 760;
}

.membership {
  background: rgba(246, 241, 232, 0.018);
}

.membership h2 {
  max-width: 950px;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  border-bottom: 0;
}

.closing h2 {
  display: grid;
  gap: 0.1em;
  max-width: none;
  font-size: clamp(3rem, 5.35vw, 4.7rem);
}

.closing h2 span {
  display: block;
  white-space: nowrap;
}

.closing-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: start;
  padding-top: 0.22em;
}

.closing-actions .button {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  white-space: nowrap;
}

.closing-actions .button:first-child {
  width: fit-content;
  min-width: 0;
  padding-inline: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100vw - 16px, 820px);
  }

  .site-frame {
    margin: 8px auto 24px;
  }

  .site-nav {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
    padding: 14px 16px 12px;
  }

  .brand {
    font-size: 0.72rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(246, 241, 232, 0.035);
    font-size: 0.62rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 22px 70px;
  }

  .hero h1 {
    max-width: 12.5ch;
    font-size: clamp(3.15rem, 12vw, 5.4rem);
    line-height: 0.95;
  }

  .hero-abbrev {
    margin-top: 22px;
    font-size: clamp(1rem, 5vw, 1.5rem);
    letter-spacing: 0.24em;
  }

  .hero-copy > p:last-child {
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .visual-brief,
  .problem,
  .section-heading,
  .offer-output,
  .closing {
    grid-template-columns: 1fr;
  }

  .visual-brief,
  .problem,
  .process,
  .offers,
  .lanes,
  .membership,
  .closing {
    padding: 58px 22px;
  }

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

  .button {
    width: 100%;
  }

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

  .metrics div {
    min-height: 92px;
    padding: 18px;
  }

  .metrics .status {
    grid-column: 1 / -1;
    min-height: 62px;
    margin: 0;
  }

  .radar-panel img {
    min-height: 280px;
  }

  .process-rail,
  .offer-board,
  .lane-list {
    grid-template-columns: 1fr;
  }

  .process-rail article,
  .offer-card,
  .lane-list span {
    min-height: auto;
    padding: 20px;
  }

  .process-rail h3,
  .offer-card strong {
    margin-top: 20px;
  }

  .offer-output dl {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .closing h2 span {
    white-space: normal;
  }

  .closing-actions {
    justify-items: stretch;
    padding-top: 0;
  }

  .closing-actions .button {
    width: 100%;
    justify-self: stretch;
    white-space: normal;
  }

  .closing-actions .button:first-child {
    width: 100%;
    padding-inline: 22px;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: 100vw;
  }

  .site-frame {
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .site-nav,
  .hero,
  .visual-brief,
  .problem,
  .process,
  .offers,
  .lanes,
  .membership,
  .closing {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 15vw, 3.8rem);
    overflow-wrap: normal;
  }

  .hero-abbrev {
    letter-spacing: 0.2em;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 4px;
    text-align: center;
    white-space: normal;
    line-height: 1.02;
    font-size: 0.5rem;
    letter-spacing: 0.045em;
  }

  .hero-visual img {
    aspect-ratio: 4 / 3;
    padding: 12px;
  }

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

  .metrics .status {
    grid-column: auto;
  }

  .offer-output dl {
    grid-template-columns: 1fr;
  }

  .closing h2 {
    font-size: clamp(1.48rem, 7vw, 2.1rem);
  }
}
