:root {
  --black: #11100f;
  --charcoal: #1b1717;
  --plum: #4a1759;
  --violet: #6a2a78;
  --gold: #d5a546;
  --champagne: #f4e7c7;
  --paper: #fffaf0;
  --muted: rgba(244, 231, 199, 0.68);
  --curve: cubic-bezier(0.32, 0.72, 0, 1);
  font-family: "Outfit", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--champagne);
  background:
    radial-gradient(circle at 72% 0%, rgba(106, 42, 120, 0.48), transparent 34rem),
    radial-gradient(circle at 8% 8%, rgba(213, 165, 70, 0.18), transparent 28rem),
    linear-gradient(180deg, #0d0c0b 0%, #171113 52%, #100f0e 100%);
  overflow-x: hidden;
}
body,
main {
  max-width: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.06;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  transition: top 650ms var(--curve);
}
.skip-link:focus { top: 16px; }

.topbar {
  position: fixed;
  left: 50%;
  top: 18px;
  z-index: 30;
  width: min(1180px, calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 26px;
  background: rgba(17, 16, 15, 0.72);
  border: 1px solid rgba(244, 231, 199, 0.12);
  box-shadow: 0 24px 90px rgba(0,0,0,0.35), inset 0 1px 1px rgba(244,231,199,0.12);
  backdrop-filter: blur(18px);
}
.brand-lockup {
  width: 326px;
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px 18px;
  border-radius: 19px;
  background: #fffdf8;
  box-shadow: inset 0 -1px 0 rgba(17,16,15,0.08);
  overflow: hidden;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.desktop-nav a {
  padding: 13px 16px;
  border-radius: 16px;
  color: rgba(244, 231, 199, 0.68);
  font-size: 13px;
  font-weight: 800;
  transition: transform 650ms var(--curve), background 650ms var(--curve), color 650ms var(--curve);
}
.desktop-nav a:hover {
  transform: translateY(-1px);
  color: var(--champagne);
  background: rgba(244,231,199,0.08);
}
.apply-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 18px;
  color: var(--black);
  background: linear-gradient(135deg, #f5dc99, var(--gold));
  font-weight: 950;
  box-shadow: 0 22px 64px rgba(213,165,70,0.18);
}
.menu-button { display: none; }
.mobile-menu { display: none; }

main { overflow-x: hidden; }
.hero,
.dossier-section,
.review-section,
.vault-section,
.start-section,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: end;
  gap: 38px;
  padding: 132px 0 72px;
}
.hero-panel,
.score-room,
.document-card,
.vault-shell,
.start-section {
  min-width: 0;
}
.hero-panel {
  position: relative;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(213,165,70,0.16), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(106,42,120,0.7), transparent 23rem),
    linear-gradient(180deg, #2a2024 0%, #171113 100%);
  box-shadow: 0 46px 140px rgba(0,0,0,0.42);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 86px 42px auto auto;
  width: min(44%, 360px);
  height: 360px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,250,240,0.18), rgba(255,250,240,0.04)),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(244,231,199,0.14) 35px 36px);
  border: 1px solid rgba(244,231,199,0.14);
  transform: rotate(4deg);
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: 100px;
  top: 146px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: conic-gradient(from 35deg, var(--gold), var(--violet), rgba(244,231,199,0.1), var(--gold));
  opacity: 0.56;
}
.hero-panel > * {
  position: relative;
  z-index: 1;
}
.logo-stamp {
  width: 88px;
  height: 88px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border-radius: 25px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 22px 80px rgba(0,0,0,0.22);
}
.logo-stamp img { width: 70px; }
.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin: 0; }
h1 {
  margin-top: 18px;
  max-width: 980px;
  font-size: clamp(58px, 7.5vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.lead {
  margin-top: 26px;
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.58;
}
.hero-actions { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 9px 8px 22px;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 650ms var(--curve), box-shadow 650ms var(--curve);
}
.button span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 650ms var(--curve);
}
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(3px, -1px); }
.button.gold { color: var(--black); background: linear-gradient(135deg, #f5dc99, var(--gold)); }
.button.gold span { background: rgba(17,16,15,0.12); }
.button.dark { color: var(--champagne); background: rgba(17,16,15,0.72); border: 1px solid rgba(244,231,199,0.12); }
.button.dark span { background: rgba(244,231,199,0.1); }

.score-room {
  min-height: 650px;
  padding: 10px;
  border-radius: 46px;
  background: rgba(244,231,199,0.08);
  border: 1px solid rgba(244,231,199,0.12);
  box-shadow: inset 0 1px 1px rgba(244,231,199,0.08), 0 44px 120px rgba(0,0,0,0.34);
}
.score-head,
.score-axis,
.score-note {
  border-radius: 36px;
  background: rgba(17,16,15,0.78);
  border: 1px solid rgba(244,231,199,0.1);
}
.score-head {
  padding: 30px;
}
.score-head span,
.score-axis span,
.vault-grid span,
.review-item span,
.document-card span {
  color: rgba(244,231,199,0.55);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.score-head strong {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 118px;
  line-height: 0.86;
  letter-spacing: -0.08em;
}
.score-axis {
  margin-top: 10px;
  min-height: 360px;
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: center;
}
.score-axis span {
  position: relative;
  display: block;
  padding-bottom: 18px;
}
.score-axis span::before,
.score-axis span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 7px;
  border-radius: 999px;
}
.score-axis span::before { width: 100%; background: rgba(244,231,199,0.1); }
.score-axis span::after { width: var(--x); background: linear-gradient(90deg, var(--gold), var(--violet)); }
.score-note {
  margin-top: 10px;
  padding: 26px;
  color: var(--muted);
  line-height: 1.45;
}

.dossier-section,
.review-section,
.vault-section,
.start-section { padding: 118px 0; }
.section-intro {
  max-width: 900px;
  margin-bottom: 36px;
}
h2 {
  margin-top: 14px;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.dossier-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  grid-auto-flow: dense;
  gap: 14px;
}
.document-card {
  min-height: 340px;
  padding: 34px;
  border-radius: 40px;
  background: rgba(244,231,199,0.08);
  border: 1px solid rgba(244,231,199,0.1);
  box-shadow: inset 0 1px 1px rgba(244,231,199,0.08);
}
.document-card h3 {
  margin-top: 116px;
  max-width: 620px;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.document-card.portrait {
  grid-row: span 2;
  min-height: 694px;
  background:
    linear-gradient(180deg, rgba(17,16,15,0.08), rgba(17,16,15,0.82)),
    url("https://picsum.photos/seed/credit-portrait-office/900/1300") center / cover;
}
.document-card.gold {
  color: var(--black);
  background: linear-gradient(145deg, #f8e5ac, var(--gold));
}
.document-card.gold span { color: rgba(17,16,15,0.54); }

.review-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 54px;
  align-items: start;
}
.review-sticky {
  position: sticky;
  top: 130px;
}
.review-list {
  display: grid;
  gap: 14px;
}
.review-item {
  min-height: 280px;
  padding: 34px;
  border-radius: 40px;
  color: var(--black);
  background: var(--paper);
}
.review-item:nth-child(even) {
  color: var(--champagne);
  background: linear-gradient(145deg, var(--plum), #171113);
}
.review-item:nth-child(even) span { color: rgba(244,231,199,0.52); }
.review-item strong {
  display: block;
  margin-top: 70px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
.review-item p {
  margin-top: 18px;
  max-width: 620px;
  color: currentColor;
  opacity: 0.66;
  font-size: 18px;
  line-height: 1.55;
}

.vault-shell {
  padding: 10px;
  border-radius: 48px;
  background: rgba(244,231,199,0.08);
  border: 1px solid rgba(244,231,199,0.11);
}
.vault-shell > div:first-child {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 38px;
  border-radius: 38px;
  background:
    linear-gradient(90deg, rgba(17,16,15,0.84), rgba(17,16,15,0.36)),
    url("https://picsum.photos/seed/security-vault-desk/1600/900") center / cover;
}
.vault-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.vault-grid div {
  min-height: 190px;
  padding: 26px;
  border-radius: 30px;
  background: rgba(17,16,15,0.78);
  border: 1px solid rgba(244,231,199,0.1);
}
.vault-grid strong {
  display: block;
  margin-top: 54px;
  font-size: 23px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.start-section {
  min-height: 62dvh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border-top: 1px solid rgba(244,231,199,0.1);
}
.start-copy { max-width: 820px; }
.footer {
  padding: 40px 0 58px;
  border-top: 1px solid rgba(244,231,199,0.1);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
  color: var(--muted);
}
.footer p { max-width: 620px; line-height: 1.55; }
.footer a { color: var(--champagne); font-weight: 850; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

.policy-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 96px;
}
.policy-hero {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 42px;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(213,165,70,0.14), transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(106,42,120,0.74), transparent 22rem),
    linear-gradient(180deg, #2a2024 0%, #171113 100%);
  box-shadow: 0 46px 140px rgba(0,0,0,0.4);
  overflow: hidden;
}
.policy-hero h1 {
  max-width: 920px;
}
.company-block {
  margin-top: 30px;
  max-width: 820px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(244,231,199,0.08);
  border: 1px solid rgba(244,231,199,0.12);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.company-block strong {
  color: var(--champagne);
}
.policy-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.policy-card {
  padding: 30px;
  border-radius: 30px;
  background: rgba(244,231,199,0.08);
  border: 1px solid rgba(244,231,199,0.1);
  box-shadow: inset 0 1px 1px rgba(244,231,199,0.08);
}
.policy-card h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.policy-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.policy-card p + p { margin-top: 14px; }
.policy-card a { color: var(--gold); font-weight: 900; }
.contact-card {
  color: var(--black);
  background: linear-gradient(145deg, #f8e5ac, var(--gold));
}
.contact-card h2,
.contact-card p,
.contact-card a {
  color: var(--black);
}

body:has(.policy-page) {
  background: #100f0e;
}
body:has(.policy-page)::before {
  display: none;
}
body:has(.policy-page) .topbar {
  position: sticky;
  left: auto;
  transform: none;
  margin: 18px auto 0;
}
body:has(.policy-page) .policy-page {
  width: min(920px, calc(100% - 40px));
  max-width: 920px;
  padding-top: 78px;
  overflow: hidden;
}
body:has(.policy-page) .policy-page h1 {
  width: auto;
  max-width: 780px;
}
body:has(.policy-page) .policy-hero,
body:has(.policy-page) .policy-card,
body:has(.policy-page) .contact-card {
  min-height: auto;
  display: block;
  padding: 0;
  border-radius: 0;
  color: var(--champagne);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
body:has(.policy-page) .policy-hero h1 {
  max-width: 780px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  white-space: normal;
  overflow-wrap: anywhere;
}
body:has(.policy-page) .policy-hero .lead,
body:has(.policy-page) .policy-card p,
body:has(.policy-page) .contact-card p {
  max-width: 820px;
  color: rgba(244, 231, 199, 0.72);
  overflow-wrap: anywhere;
}
body:has(.policy-page) .company-block {
  max-width: 820px;
  margin-top: 24px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(244, 231, 199, 0.16);
  border-radius: 0;
  background: transparent;
  color: rgba(244, 231, 199, 0.72);
}
body:has(.policy-page) .policy-grid {
  display: block;
  margin-top: 54px;
}
body:has(.policy-page) .policy-card {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid rgba(244, 231, 199, 0.14);
}
body:has(.policy-page) .policy-card h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
}
body:has(.policy-page) .policy-card a,
body:has(.policy-page) .contact-card a {
  color: var(--gold);
}
body:has(.policy-page) .policy-page * {
  max-width: 100%;
}
body:has(.policy-page) .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal {
  opacity: 0;
  transform: translateY(46px);
  filter: blur(8px);
  transition: opacity 900ms var(--curve), transform 900ms var(--curve), filter 900ms var(--curve);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (max-width: 900px) {
  .topbar {
    width: calc(100% - 24px);
    top: 10px;
    grid-template-columns: 1fr auto;
  }
  .brand-lockup { width: min(292px, 70vw); }
  .desktop-nav,
  .apply-link { display: none; }
  .menu-button {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5dc99, var(--gold));
  }
  .menu-button span {
    position: absolute;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--black);
    transition: transform 650ms var(--curve), top 650ms var(--curve);
  }
  .menu-button span:first-child { top: 18px; }
  .menu-button span:last-child { top: 28px; }
  .menu-open .menu-button span:first-child { top: 23px; transform: rotate(45deg); }
  .menu-open .menu-button span:last-child { top: 23px; transform: rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 22;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 40px;
    background: rgba(17,16,15,0.94);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 650ms var(--curve), transform 650ms var(--curve);
  }
  .menu-open .mobile-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-menu a { font-size: clamp(34px, 11vw, 42px); line-height: 1; letter-spacing: -0.05em; font-weight: 950; }

  .hero,
  .dossier-section,
  .review-section,
  .vault-section,
  .start-section,
  .footer,
  .policy-page { width: min(100% - 28px, 1180px); }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 124px 0 64px;
  }
  .hero-panel,
  .score-room { min-height: 560px; }
  .hero-panel { padding: 28px; }
  h1 {
    width: 100%;
    max-width: 310px;
    font-size: clamp(34px, 9.5vw, 40px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-wrap: normal;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .lead {
    max-width: 310px;
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .button {
    max-width: 100%;
    white-space: nowrap;
  }
  .hero-panel::before {
    inset: 68px 24px auto auto;
    width: 170px;
    height: 240px;
    opacity: 0.72;
  }
  .hero-panel::after {
    right: 52px;
    top: 138px;
    width: 112px;
    height: 112px;
  }
  .dossier-section,
  .review-section,
  .vault-section,
  .start-section { padding: 78px 0; }
  .dossier-layout,
  .review-section,
  .vault-grid,
  .footer,
  .policy-grid { grid-template-columns: 1fr; }
  .document-card.portrait { min-height: 520px; }
  .review-sticky { position: relative; top: 0; }
  .vault-grid div { min-height: 160px; }
  .start-section {
    min-height: auto;
    align-items: start;
    flex-direction: column;
  }
  .policy-page { padding: 124px 0 68px; }
  .policy-hero {
    min-height: 560px;
    padding: 28px;
  }
  .policy-hero h1 {
    max-width: 305px;
    font-size: clamp(34px, 9.5vw, 40px);
  }
  .policy-hero .lead,
  .company-block {
    max-width: 305px;
  }
  .policy-card { padding: 24px; }
  body:has(.policy-page) .policy-page { padding-top: 58px; }
  body:has(.policy-page) .policy-page {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-left: auto;
    margin-right: auto;
  }
  body:has(.policy-page) .policy-hero h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  body:has(.policy-page) .policy-hero .lead,
  body:has(.policy-page) .company-block { max-width: 320px; }
  body:has(.policy-page) .policy-card p,
  body:has(.policy-page) .contact-card p,
  body:has(.policy-page) .policy-card h2 {
    max-width: 320px;
  }
  body:has(.policy-page) .policy-card h2 {
    font-size: 25px;
  }
  body:has(.policy-page) .policy-card p,
  body:has(.policy-page) .policy-hero .lead,
  body:has(.policy-page) .company-block {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
