:root {
  --bg: #090b0f;
  --bg-soft: #12161c;
  --bg-elevated: rgba(20, 24, 31, 0.82);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --text: #f4f1ea;
  --text-soft: rgba(244, 241, 234, 0.76);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --gold: #d7b56d;
  --gold-deep: #8c6a2d;
  --silver: #c8d0da;
  --silver-deep: #7e8a96;
  --shadow-lg: 0 42px 90px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 22px 48px rgba(0, 0, 0, 0.24);
  --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.18);
  --radius-2xl: 36px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container: 1180px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Urbanist", sans-serif;
  --header-height: 84px;
  --mobile-cta-height: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 181, 109, 0.15), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(200, 208, 218, 0.14), transparent 22%),
    radial-gradient(circle at 50% 120%, rgba(215, 181, 109, 0.12), transparent 38%),
    linear-gradient(180deg, #080a0d 0%, #0d1014 45%, #090b0f 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  padding-bottom: calc(var(--mobile-cta-height) + env(safe-area-inset-bottom, 0px) + 20px);
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(215, 181, 109, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f8f4ed;
  color: #171a20;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(100% - 24px, var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.section--hero {
  padding-top: 108px;
}

.section--hero::before {
  display: none;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 15% 12%, rgba(215, 181, 109, 0.08), transparent 20%);
}

.section--contrast {
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 181, 109, 0.12), transparent 20%),
    linear-gradient(180deg, #13171d 0%, #0d1116 100%);
}

.section--cta {
  padding-top: 42px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  backdrop-filter: blur(18px);
  background: rgba(8, 10, 13, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: 1px solid rgba(215, 181, 109, 0.34);
  background:
    linear-gradient(135deg, rgba(215, 181, 109, 0.34), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--shadow-sm);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand__text span {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-header__nav a:not(.button) {
  display: none;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--light {
  color: rgba(215, 181, 109, 0.92);
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  letter-spacing: -0.03em;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.1rem, 13vw, 5.7rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.3rem, 9vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.section-heading--split {
  align-items: end;
}

.section-heading > p,
.hero__lead,
.hero-panel__copy,
.problem-card p,
.strategy-card p,
.check-preview li,
.check-result__items span,
.authority-card p,
.step-card p,
.final-cta p,
.site-footer p,
.allocation-band p {
  color: var(--text-soft);
  font-size: 1rem;
}

.hero,
.hero__copy,
.hero__visual,
.strategy-layout,
.authority {
  display: grid;
  gap: 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.65, 0.16, 1),
    transform 700ms cubic-bezier(0.2, 0.65, 0.16, 1);
  will-change: opacity, transform;
}

[data-reveal="hero-media"] {
  transform: translate3d(0, 24px, 0) scale(0.985);
}

[data-reveal="card"] {
  transform: translate3d(0, 22px, 0);
}

[data-reveal="lift"] {
  transform: translate3d(0, 14px, 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero__lead {
  max-width: 34ch;
  font-size: 1.06rem;
}

.hero__trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__trustbar span,
.hero__metrics article,
.hero-panel,
.problem-card,
.strategy-card,
.check-preview,
.check-result,
.authority-card,
.step-card,
.final-cta,
.mobile-cta,
.site-footer,
.allocation-band {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-md);
}

.hero__trustbar span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: rgba(244, 241, 234, 0.88);
}

.hero__actions,
.cta-band__actions,
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button--sm {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.92rem;
}

.button--lg {
  min-height: 54px;
  padding: 0 22px;
}

.button--primary {
  color: #111317;
  background: linear-gradient(135deg, #f0d594 0%, #d7b56d 52%, #b68a46 100%);
  box-shadow: 0 16px 36px rgba(215, 181, 109, 0.22);
}

.button--ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.hero__metrics {
  display: grid;
  gap: 12px;
}

.hero__metrics article {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
}

.hero__metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.hero__metrics span {
  display: block;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  gap: 16px;
}

.hero-panel {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 21, 27, 0.96), rgba(12, 15, 20, 0.94)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
}

.hero-panel__eyebrow,
.strategy-card__eyebrow,
.check-preview__eyebrow,
.cta-band__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel__eyebrow {
  color: rgba(244, 241, 234, 0.72);
}

.hero-panel--note blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.03;
  max-width: 11ch;
}

.metal-stack {
  position: relative;
  height: 138px;
  margin-bottom: 16px;
}

.metal {
  position: absolute;
  left: 14px;
  right: 14px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.metal--gold {
  top: 12px;
  height: 68px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.08)),
    linear-gradient(120deg, #8d672a 0%, #d7b56d 34%, #f5e0ac 56%, #bc8f4e 100%);
}

.metal--silver {
  top: 60px;
  left: 42px;
  right: 42px;
  height: 58px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06)),
    linear-gradient(120deg, #72808d 0%, #c8d0da 42%, #f0f4f9 56%, #99a4b0 100%);
}

.metal--shadow {
  top: 96px;
  left: 70px;
  right: 70px;
  height: 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(16px);
}

.portrait-frame {
  position: relative;
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 360px;
  box-shadow: var(--shadow-lg);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(180deg, #0b0d12, #1a1f27);
}

.portrait-frame__halo {
  position: absolute;
  inset: 12% 10% auto;
  height: 48%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 181, 109, 0.32), transparent 68%);
  filter: blur(18px);
  z-index: 1;
  pointer-events: none;
}

.hero-panel--metal {
  order: 2;
}

.portrait-frame {
  order: 1;
}

.hero-panel--note {
  order: 3;
}

.problem-grid,
.strategy-grid,
.authority__grid {
  display: grid;
  gap: 16px;
}

.problem-card,
.strategy-card,
.authority-card {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.problem-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.strategy-card__eyebrow,
.check-preview__eyebrow {
  color: var(--gold);
}

.allocation-band,
.cta-band,
.check-layout {
  display: grid;
  gap: 16px;
}

.allocation-band,
.cta-band,
.final-cta {
  padding: 24px;
  border-radius: var(--radius-2xl);
}

.allocation-meter__track {
  display: grid;
  gap: 10px;
}

.allocation-meter__segment {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.allocation-meter__segment--cash {
  color: #111317;
  background: linear-gradient(135deg, #f6f1e8, #d8dadc);
}

.allocation-meter__segment--core {
  color: #111317;
  background: linear-gradient(135deg, #c7cfd7, #929eab);
}

.allocation-meter__segment--metal {
  color: #111317;
  background: linear-gradient(135deg, #d7b56d, #f2dfa8);
}

.check-preview,
.check-result {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.check-preview ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
}

.check-result__items {
  display: grid;
  gap: 16px;
}

.check-result__items strong {
  display: block;
  margin-bottom: 4px;
}

.cta-band {
  align-items: center;
}

.authority__intro {
  display: grid;
  gap: 14px;
}

.process-story {
  position: relative;
}

.process-rail {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 3px;
}

.process-rail__line,
.process-rail__fill {
  position: absolute;
  left: 0;
  width: 100%;
  border-radius: 999px;
}

.process-rail__line {
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
}

.process-rail__fill {
  top: 0;
  height: calc(var(--process-progress, 0.34) * 100%);
  background: linear-gradient(180deg, var(--silver), var(--gold));
  transition: height 320ms ease;
}

.process-sticky {
  display: grid;
  gap: 16px;
  padding-left: 34px;
}

.step-card {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid rgba(215, 181, 109, 0.32);
  color: var(--gold);
  font-weight: 800;
}

.process-stage.is-active {
  border-color: rgba(215, 181, 109, 0.34);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
}

.final-cta {
  display: grid;
  gap: 16px;
  text-align: left;
}

.site-footer {
  margin: 0 12px 14px;
  border-radius: 26px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-soft);
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  backdrop-filter: blur(18px);
}

.mobile-cta__text {
  display: grid;
  gap: 2px;
}

.mobile-cta__text strong {
  font-size: 0.95rem;
}

.mobile-cta__text span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.mobile-cta__button {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .shell {
    width: min(100% - 48px, var(--container));
  }

  .section {
    padding: 104px 0;
  }

  .site-header__nav a:not(.button) {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    align-items: center;
    gap: 34px;
  }

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

  .hero__visual {
    min-height: 740px;
    gap: 0;
  }

  .hero-panel--metal {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 76%);
    z-index: 2;
    order: initial;
  }

  .portrait-frame {
    position: absolute;
    top: 92px;
    right: 0;
    width: min(450px, 82%);
    height: 590px;
    min-height: 590px;
    order: initial;
  }

  .hero-panel--note {
    position: absolute;
    left: 28px;
    bottom: 34px;
    width: min(340px, 72%);
    z-index: 2;
    order: initial;
  }

  .section-heading--split,
  .allocation-band,
  .cta-band,
  .check-layout,
  .authority {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

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

  .process-story {
    min-height: 260vh;
  }

  .process-sticky {
    position: sticky;
    top: calc(var(--header-height) + 26px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-left: 0;
  }

  .process-rail {
    left: 0;
    right: 0;
    top: 98px;
    bottom: auto;
    width: auto;
    height: 3px;
  }

  .process-rail__fill {
    width: calc(var(--process-progress, 0.34) * 100%);
    height: 100%;
    transition: width 320ms ease;
  }

  .process-spacer {
    height: 180vh;
  }

  .site-footer {
    margin: 0 24px 18px;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
  }
}

@media (min-width: 1040px) {
  .problem-grid,
  .strategy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .section-heading > p,
  .hero__lead,
  .allocation-band p,
  .final-cta p {
    max-width: 38ch;
  }
}

@media (max-width: 767px) {
  .site-header__nav {
    gap: 8px;
  }

  .site-header__nav .button--ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
