:root {
  --black: #080807;
  --coal: #12110e;
  --coal-2: #1a1814;
  --ivory: #f7f4ed;
  --white: #ffffff;
  --ink: #15130e;
  --gold: #c9a85c;
  --gold-light: #efdfb0;
  --gold-deep: #7a5c14;
  --foil: linear-gradient(105deg, #a98536 0%, #e9d49a 42%, #c9a85c 62%, #9c7a2f 100%);
  --muted: #5f5a4e;
  --soft: #bdb7a9;
  --hair: rgba(201, 168, 92, .3);
  --hair-ink: rgba(21, 19, 14, .18);
  --serif: "DM Sans", "Segoe UI", Arial, sans-serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1400px;
  --gutter: clamp(22px, 5vw, 76px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, fieldset, legend, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
h1, h2, h3, legend { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
h1 em, h2 em {
  font-style: italic;
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.light h2 em, .white h2 em { background-image: linear-gradient(105deg, #6d5010 0%, #9a7522 50%, #6d5010 100%); }
h2 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.012em; }
h3 { font-size: clamp(28px, 2.3vw, 36px); line-height: 1.12; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--black); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--gold); color: var(--black); padding: 10px 14px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.light .eyebrow { color: var(--gold-deep); }
.light .eyebrow::before { background: var(--gold-deep); }

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 21px 38px;
  border: 0;
  border-radius: 1px;
  background: var(--foil);
  color: #14110a;
  font: 600 13px/1.2 var(--sans);
  letter-spacing: .17em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 34px -16px rgba(201, 168, 92, .75);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(201, 168, 92, .95); }
.btn:hover::after { left: 125%; }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-light); }
.btn-line:hover { background: var(--gold); color: var(--black); box-shadow: inset 0 0 0 1px var(--gold); }

.link {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform-origin: left; transition: transform .45s var(--ease); }
.link:hover::after { transform: scaleX(.35); }
.text-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.mail { font-size: 17px; letter-spacing: .01em; text-transform: none; font-weight: 500; }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--black); border-bottom: 1px solid var(--hair); transition: background-color .35s ease, border-color .35s ease; }
.home .site-head { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.home .site-head.scrolled, .home .site-head.menu-open { background: var(--black); border-bottom-color: var(--hair); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.mark { display: inline-block; color: var(--white); text-decoration: none; line-height: 1; }
.mark b { display: block; font-family: var(--serif); font-size: 31px; font-weight: 500; letter-spacing: .24em; margin-right: -.24em; }
.mark span { display: block; margin-top: 5px; font-size: 8.5px; font-weight: 600; letter-spacing: .47em; color: var(--gold); }
.site-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 42px); }
.site-nav a:not(.btn) { position: relative; padding: 6px 0; color: var(--white); font-size: 12.5px; font-weight: 500; letter-spacing: .15em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav .btn { padding: 14px 20px; font-size: 11.5px; box-shadow: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--hair); border-radius: 1px; color: var(--white); font: 600 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 12px 16px; cursor: pointer; }

@keyframes settle { from { transform: scale(1.08); opacity: .35; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.light { background: var(--ivory); color: var(--ink); }
.white { background: var(--white); color: var(--ink); }

/* footer */
.site-foot { background: var(--black); color: var(--soft); font-size: 15px; overflow: hidden; }
.foot-partner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; padding-block: 34px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.foot-partner p { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.15; color: var(--white); }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 44px clamp(28px, 4vw, 64px); padding-block: 64px 54px; }
.foot-brand p { max-width: 24em; margin-top: 20px; }
.foot-col h2 { margin-bottom: 18px; font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.foot-col li + li { margin-top: 11px; }
.foot-col a, .foot-mail { color: var(--white); text-decoration: none; transition: color .25s ease; }
.foot-col a:hover, .foot-mail:hover { color: var(--gold); }
.foot-mail { display: block; margin-top: 16px; }
.foot-legal { padding-block: 26px 34px; border-top: 1px solid var(--hair); font-size: 13.5px; line-height: 1.65; }
.foot-legal p + p { margin-top: 8px; }
.foot-word { font-family: var(--serif); font-size: 29.5vw; line-height: .72; letter-spacing: .02em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(201, 168, 92, .34); user-select: none; margin-bottom: -.06em; }

/* assessment + form pages */
.form-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100vh - 89px); background: var(--coal); }
.form-side { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--black); }
.side-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: settle 2.4s var(--ease) both; }
.form-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 7, .55) 0%, rgba(8, 8, 7, .62) 38%, rgba(8, 8, 7, .96) 100%); }
.side-copy { position: relative; z-index: 2; width: 100%; padding: clamp(40px, 6vw, 84px) clamp(28px, 4.6vw, 72px); }
.form-side h1 { margin-top: 22px; font-size: clamp(46px, 5vw, 80px); line-height: 1; letter-spacing: -.012em; }
.form-side p { margin-top: 22px; max-width: 28em; color: #ece7db; }
.side-list { margin-top: 30px; border-top: 1px solid var(--hair); }
.side-list li { padding-block: 13px; border-bottom: 1px solid var(--hair); color: #e8e2d4; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.form-main { display: flex; align-items: center; padding: clamp(40px, 6vw, 88px) clamp(26px, 6vw, 104px); }
.form-inner { width: 100%; max-width: 640px; margin-inline: auto; }
.progress { margin-bottom: 40px; color: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.bar { height: 1px; margin-top: 14px; background: rgba(255, 255, 255, .16); }
.bar i { display: block; height: 100%; width: 0; background: var(--gold); box-shadow: 0 0 10px rgba(201, 168, 92, .7); transition: width .5s var(--ease); }
.js .step { display: none; }
.js .step.on { display: block; animation: rise .6s var(--ease) both; }
.step + .step { margin-top: 44px; }
.js .step + .step { margin-top: 0; }
.step legend { font-size: clamp(38px, 3.7vw, 56px); line-height: 1.06; letter-spacing: -.008em; outline: none; }
.step .hint { margin-top: 14px; color: var(--soft); font-size: 16px; }
.opts { display: grid; gap: 9px; margin-top: 30px; }
.opt { display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid rgba(201, 168, 92, .26); color: #f1ede3; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.opt span::after { content: ""; flex: none; width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); transition: background-color .25s ease; }
.opt:hover span { border-color: var(--gold); background: rgba(201, 168, 92, .08); }
.opt input:checked + span { border-color: var(--gold); background: rgba(201, 168, 92, .16); color: var(--white); }
.opt input:checked + span::after { background: var(--gold); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.step-error { min-height: 26px; margin-top: 12px; color: #ffa78f; font-size: 15px; }
.step-nav { display: flex; align-items: center; gap: 26px; margin-top: 10px; }
.back { background: none; border: 0; padding: 6px 0; color: var(--soft); font: 600 12.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.back:hover { color: var(--white); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 28px; margin-top: 30px; }
form > .fields { margin-top: 0; }
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 5px; color: var(--gold-light); font-size: 11.5px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.field em { font-style: normal; font-weight: 400; color: var(--soft); letter-spacing: .08em; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(201, 168, 92, .5); border-radius: 0; background: transparent; color: var(--white); font: 18px/1.4 var(--sans); transition: border-color .25s ease; }
.field select option { background: var(--coal); color: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--gold-light); box-shadow: 0 1px 0 var(--gold-light); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--white); box-shadow: inset 0 0 0 100px var(--coal); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; }
.check { display: flex; align-items: flex-start; gap: 11px; font-size: 16px; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }
.consent { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; color: var(--soft); }
.field-err { display: block; width: 100%; margin-top: 7px; color: #ffa78f; font-size: 14.5px; line-height: 1.35; }
.check .field-err { padding-left: 29px; }
.consent { flex-wrap: wrap; }
.check > span { flex: 1; min-width: 0; }
.field .opt input { width: 1px; height: 1px; padding: 0; border: 0; }
.field .opts { position: relative; }
.field [aria-invalid="true"] { border-bottom-color: #ffa78f; }
.next { margin-top: 30px; border-top: 1px solid var(--hair); }
.next li { display: flex; gap: 18px; padding-block: 15px; border-bottom: 1px solid var(--hair); color: #ece7db; }
.next span { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.1; color: var(--gold); }
.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.done h2 { font-size: clamp(46px, 5vw, 76px); }
.done p { margin-top: 20px; color: #ece7db; }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 36px; }
.embed iframe { width: 100%; min-height: 760px; border: 1px solid var(--hair); background: var(--white); }

/* legal */
.legal { padding-block: clamp(64px, 8vw, 120px); }
.legal .wrap { max-width: 860px; }
.legal h1 { margin-top: 22px; font-size: clamp(50px, 6vw, 84px); line-height: 1; }
.legal h2 { margin-top: 52px; font-size: 36px; line-height: 1.1; }
.legal p { margin-top: 14px; color: #37332a; }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .site-head .wrap { min-height: 76px; }
  .site-nav { display: none; position: fixed; left: 0; right: 0; top: 77px; bottom: 0; overflow-y: auto; background: var(--black); padding: 18px var(--gutter) 36px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 20px 0; border-bottom: 1px solid var(--hair); font-family: var(--serif); font-size: 38px; line-height: 1.1; letter-spacing: 0; text-transform: none; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { display: block; margin-top: 22px; padding: 19px; font-size: 12.5px; }
}

@media (max-width: 860px) {
  .form-page { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .form-side { min-height: 240px; }
  .side-list { display: none; }
  .form-main { padding: 40px var(--gutter) 64px; }
}

@media (max-width: 860px) {
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .step-nav .btn { flex: 1; }
}

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

.coin-mini { float: right; width: 44px; height: 44px; margin-top: -16px; transition: transform .8s cubic-bezier(.2,.7,.2,1); }

/* premium finish: film grain, reading progress, selection */
::selection { background: var(--gold); color: var(--black); }
.grain { position: fixed; inset: -60px; z-index: 4; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.4s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -26px); } 60% { transform: translate(-12px, -8px); } 80% { transform: translate(26px, 20px); } 100% { transform: translate(0, 0); } }
.read-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- type: DM Sans throughout (clean, Canva Sans-like) ---------- */
h1, h2, h3, legend { font-weight: 500; letter-spacing: -.02em; }
h1 em, h2 em, h3 em { font-weight: 400; }
h2 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.mark b { font-size: 25px; font-weight: 600; letter-spacing: .2em; margin-right: -.2em; }
.foot-partner p { font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.02em; }
.foot-word { font-size: 23vw; font-weight: 600; letter-spacing: -.02em; }
.form-side h1 { font-size: clamp(36px, 3.8vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.step legend { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.done h2 { font-size: clamp(36px, 3.8vw, 56px); }
.legal h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
.legal h2 { font-size: 27px; letter-spacing: -.02em; }
.next span { font-size: 19px; font-weight: 500; }
body { font-family: var(--sans); }
@media (max-width: 860px) {
  .site-nav li a:not(.btn) { font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
}

/* ---------- Lead popup (home) ---------- */
.lp { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.lp.on { visibility: visible; pointer-events: auto; }
.lp-veil { position: absolute; inset: 0; background: rgba(6, 5, 4, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); }
.lp.on .lp-veil { opacity: 1; }
.lp-card { position: relative; width: min(460px, 100%); padding: 44px 40px 40px; text-align: center; background: #0f0e0b; color: var(--ivory); border: 1px solid rgba(201, 168, 92, .3); border-top: 2px solid var(--gold); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.lp.on .lp-card { opacity: 1; transform: none; }
.lp-card:focus { outline: none; }
.lp-coin { display: block; width: 56px; height: 56px; margin: 0 auto 22px; }
.lp-title { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; color: var(--white); }
.lp-lead { margin: 12px auto 28px; max-width: 32ch; font-size: 15px; line-height: 1.55; color: var(--soft); }
.lp-actions { display: grid; gap: 10px; }
.lp-btn { display: block; padding: 15px 20px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: filter .3s, border-color .3s, color .3s, background .3s; }
.lp-btn-gold { background: var(--foil); color: #15130e; }
.lp-btn-gold:hover { filter: brightness(1.08); }
.lp-btn-line { border: 1px solid rgba(201, 168, 92, .5); color: var(--gold-light); }
.lp-btn-line:hover { border-color: var(--gold); background: rgba(201, 168, 92, .08); color: var(--white); }
.lp-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; color: #8d877a; cursor: pointer; transition: color .3s; }
.lp-x:hover { color: var(--white); }
.lp-x svg { width: 15px; height: 15px; }
.lp a:focus-visible, .lp button:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 480px) { .lp-card { padding: 38px 24px 28px; } .lp-title { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .lp-veil, .lp-card { transition: none !important; } }