:root {
  --black: #050505;
  --charcoal: #111111;
  --paper: #f6f1e8;
  --white: #fffcf7;
  --gold: #c8a46a;
  --gold-deep: #b0893e;
  --gold-light: #e6d3a3;
  --ink: #161616;
  --muted: #6f6a62;
  --line: #e4dccf;
  --danger: #9d2929;
  --radius: 18px;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.mark {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}
.mark__crown {
  display: block;
  width: 54px;
  height: auto;
  aspect-ratio: 114 / 54;
  object-fit: contain;
}
.mark__name {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .34em;
}
.mark__name sup {
  font-size: .55em;
  letter-spacing: 0;
}
.mark__powered {
  color: var(--gold);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: lowercase;
}
.mark--light { color: #fff; }
.mark--light .mark__powered { color: var(--gold-light); }
.mark--dark { color: var(--ink); margin-bottom: 28px; }
.hero > .mark .mark__crown {
  width: 72px;
}
.hero > .mark .mark__name {
  font-size: 1.08rem;
}
.hero > .mark .mark__powered {
  font-size: .67rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #fff;
  background: var(--black);
}
.hero__portrait,
.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__portrait {
  z-index: 0;
  inset: 0 0 0 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 8%;
  filter: saturate(.92) contrast(1.04);
}
.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5,5,5,.92) 24%, rgba(5,5,5,.38) 40%, rgba(5,5,5,.1) 52%, transparent 64%),
    linear-gradient(180deg, rgba(5,5,5,.16) 0%, transparent 18%, transparent 72%, rgba(5,5,5,.42) 100%),
    radial-gradient(circle at 78% 18%, rgba(200,164,106,.1), transparent 32%);
}
.hero > .mark {
  position: relative;
  z-index: 2;
  padding: 28px 20px 0;
  gap: 4px;
}
.hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(560px, calc(100% - 40px));
  margin: 0 0 56px 24px;
}
.hero__kicker {
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}
h1 {
  max-width: 9ch;
  font-size: clamp(2.6rem, 10vw, 4.4rem);
  text-transform: uppercase;
}
h2 { font-size: clamp(1.55rem, 5.4vw, 2.15rem); }
.hero__copy {
  width: min(34ch, 100%);
  margin: 24px 0 0;
  color: #d8d2c8;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.55;
}
.hero__trust {
  margin: 18px 0 0;
  color: #e2ddd4;
  font-size: .72rem;
  letter-spacing: .08em;
}
.hero .button--gold {
  margin-top: 34px;
}
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 26px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible { outline: 3px solid rgba(200,164,106,.45); outline-offset: 3px; }
.button--gold {
  margin-top: 26px;
  color: #1a1408;
  background: linear-gradient(180deg, #e8d5a6, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 14px 32px rgba(200,164,106,.28);
}
.button--dark {
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
  letter-spacing: .04em;
  text-transform: none;
  font-size: .92rem;
}
.button--text {
  padding-inline: 4px;
  color: var(--muted);
  background: transparent;
  letter-spacing: .02em;
  text-transform: none;
  font-size: .95rem;
  font-weight: 600;
}

body.check-started { background: var(--paper); }
.form-shell,
.calendar-shell {
  width: min(560px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 22px 22px 48px;
  background: var(--paper);
}
.preview-notice {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(200,164,106,.1);
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.55;
}
.progress-wrap { margin-bottom: 28px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.progress-track {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7dfd2;
}
.progress-bar {
  width: 10%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width .35s ease;
}

.step { display: none; animation: step-in .35s ease both; }
.step.is-active { display: block; }
.step__number { display: none; }
.step__intro { max-width: 40ch; margin: 10px 0 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
@keyframes step-in { from { opacity: .55; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.option-grid { display: grid; gap: 10px; margin-top: 26px; }
.option-grid--two { grid-template-columns: 1fr; }
.option-grid--three { grid-template-columns: 1fr; }
.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option-card span {
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(22,22,22,.03);
  transition: border .18s ease, background .18s ease, box-shadow .18s ease;
}
.option-card span::before,
.option-card span::after {
  content: "";
  width: 22px;
  height: 22px;
  justify-self: center;
}
.option-card span::before {
  width: 26px;
  height: 26px;
  background: var(--gold);
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.option-card:not([data-icon]) span {
  grid-template-columns: 1fr 22px;
}
.option-card:not([data-icon]) span::before { display: none; }
.option-card span::after {
  border: 1.5px solid #c9c1b4;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--white);
}
.option-card input[type="checkbox"] + span::after { border-radius: 5px; }
.option-card:hover span { border-color: #d3c19a; }
.option-card input:checked + span {
  border-color: var(--gold);
  border-width: 1.5px;
  background: color-mix(in srgb, var(--gold) 14%, var(--white));
  box-shadow: none;
}
.option-card input:checked + span::after {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: none;
}
.option-card input:focus-visible + span { outline: 3px solid rgba(200,164,106,.3); outline-offset: 2px; }

.option-card[data-icon="contract"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M8 3h7l5 5v13H8z'/%3E%3Cpath d='M15 3v5h5M10 13h8M10 17h5'/%3E%3C/svg%3E"); }
.option-card[data-icon="retire"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M4 18V8l4 4 4-8 4 8 4-4v10z'/%3E%3C/svg%3E"); }
.option-card[data-icon="family"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='8' r='2.4'/%3E%3Ccircle cx='16' cy='8' r='2.4'/%3E%3Cpath d='M4.5 19c.4-3 2.2-4.6 3.5-4.6S11.2 16 11.6 19M12.4 19c.4-3 2.2-4.6 3.5-4.6S19.6 16 20 19'/%3E%3C/svg%3E"); }
.option-card[data-icon="shield"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 5 6v6c0 4.2 3 7.3 7 9 4-1.7 7-4.8 7-9V6z'/%3E%3C/svg%3E"); }
.option-card[data-icon="heart"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.6-7 10-7 10z'/%3E%3C/svg%3E"); }
.option-card[data-icon="layers"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='m12 4 8 4-8 4-8-4zm-8 8 8 4 8-4M4 16l8 4 8-4'/%3E%3C/svg%3E"); }
.option-card[data-icon="more"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='12' r='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6'/%3E%3Ccircle cx='18' cy='12' r='1.6'/%3E%3C/svg%3E"); }
.option-card[data-icon="briefcase"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Crect x='3' y='8' width='18' height='12' rx='2'/%3E%3Cpath d='M8 8V6a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 13h18'/%3E%3C/svg%3E"); }
.option-card[data-icon="laptop"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='10' rx='1.4'/%3E%3Cpath d='M3 19h18'/%3E%3C/svg%3E"); }
.option-card[data-icon="building"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V5h9v16M14 10h5v11M8 8h3M8 12h3M8 16h3'/%3E%3C/svg%3E"); }
.option-card[data-icon="home"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='m4 11 8-7 8 7v9H4z'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E"); }
.option-card[data-icon="grad"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='m3 10 9-5 9 5-9 5zM7 12.5v4.2c2 1.4 8 1.4 10 0V12.5'/%3E%3C/svg%3E"); }
.option-card[data-icon="person"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M6 20c.7-4 2.8-6 6-6s5.3 2 6 6'/%3E%3C/svg%3E"); }
.option-card[data-icon="split"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='7' cy='8' r='2.3'/%3E%3Ccircle cx='17' cy='8' r='2.3'/%3E%3Cpath d='M3.8 19c.4-2.8 1.8-4.3 3.2-4.3S10 16.2 10.4 19M13.6 19c.4-2.8 1.8-4.3 3.2-4.3s2.8 1.5 3.2 4.3M12 5v14'/%3E%3C/svg%3E"); }
.option-card[data-icon="couple"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='2.3'/%3E%3Ccircle cx='15' cy='8' r='2.3'/%3E%3Cpath d='M5 20c.5-3.4 2.4-5 4-5s3.5 1.6 4 5M11 20c.5-3.4 2.4-5 4-5s3.5 1.6 4 5'/%3E%3C/svg%3E"); }
.option-card[data-icon="rings"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='13' r='5'/%3E%3Ccircle cx='15' cy='13' r='5'/%3E%3C/svg%3E"); }
.option-card[data-icon="broken"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.6-7 10-7 10z'/%3E%3Cpath d='M12 8v12'/%3E%3C/svg%3E"); }
.option-card[data-icon="cross"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M8 8h8'/%3E%3C/svg%3E"); }

.reveal { margin-top: 18px; border-left: 2px solid var(--gold); padding: 8px 0 8px 18px; }
.reveal > label:first-child { display: block; margin-bottom: 9px; font-size: .86rem; font-weight: 700; }
.reveal--grid { display: grid; gap: 16px; }
textarea, .field input, .reveal > input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
}
textarea { resize: vertical; }
.field-grid { display: grid; gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field > span:first-child { font-size: .78rem; font-weight: 700; }
.field--compact { width: min(280px, 100%); margin-top: 28px; }
.field__with-suffix { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.field__with-suffix input { min-width: 0; }

.rating-block {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--white);
}
.rating-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.rating-header label { font-size: 1.15rem; font-weight: 700; }
.rating-header output { max-width: 62%; color: #8a6c32; font-size: .82rem; font-weight: 600; text-align: right; }
input[type="range"] { width: 100%; accent-color: var(--gold); }
.range-labels { display: flex; justify-content: space-between; gap: 20px; margin-top: 8px; color: var(--muted); font-size: .7rem; }

.subquestion { margin: 34px 0 0; border: 0; padding: 0; }
.subquestion legend, .inline-choice legend { margin-bottom: 12px; font-size: 1.15rem; font-weight: 700; }
.inline-choice { display: flex; flex-wrap: wrap; gap: 16px; border: 0; padding: 0; }
.inline-choice legend { width: 100%; }
.inline-choice label { display: flex; align-items: center; gap: 7px; }
.inline-choice input { accent-color: var(--gold); }

.consents { display: grid; gap: 14px; margin-top: 26px; }
.check-line { display: flex; align-items: flex-start; gap: 11px; color: #4c4841; font-size: .84rem; line-height: 1.55; }
.check-line input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }
.check-line a { color: inherit; }

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.form-actions .button--dark,
.form-actions .button--gold { margin-left: auto; }
.form-error { min-height: 21px; margin-top: 16px; color: var(--danger); font-size: .84rem; font-weight: 650; }

.calendar-shell { text-align: center; }
.calendar-shell .mark { margin-bottom: 36px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.calendar-shell > p:not(.eyebrow) { max-width: 520px; margin: 16px auto; color: var(--muted); line-height: 1.7; }
.calendar-embed { min-height: 320px; margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.calendar-embed iframe { width: 100%; min-height: 640px; border: 0; }
.calendar-placeholder { display: grid; min-height: 320px; place-items: center; padding: 30px; }
.calendar-placeholder__inner { max-width: 520px; }
.calendar-placeholder h3 { margin: 0 0 12px; font-size: 1.4rem; }
.calendar-placeholder p { color: var(--muted); line-height: 1.6; }
.calendar-placeholder__inner .button { margin-top: 12px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0 36px;
  color: var(--muted);
  font-size: .75rem;
  background: var(--paper);
}
footer nav { display: flex; gap: 18px; }
footer a { color: inherit; }
body:not(.check-started) footer { background: var(--black); color: #8d8880; }

.button:disabled { cursor: wait; opacity: .65; transform: none; }
dialog { width: min(600px, calc(100% - 32px)); border: 1px solid var(--gold); border-radius: var(--radius); padding: 30px; color: var(--ink); background: var(--white); }
dialog::backdrop { background: rgba(0, 0, 0, .55); }
dialog p { line-height: 1.65; }

@media (min-width: 760px) {
  .hero__portrait {
    inset: 0 0 0 28%;
  }
  .hero__portrait img {
    object-position: 48% 6%;
  }
  .hero__content {
    width: min(520px, 46vw);
    margin: 0 0 80px 7vw;
  }
  h1 { font-size: clamp(3.4rem, 6vw, 5.2rem); }
  .form-shell, .calendar-shell, footer { width: min(580px, calc(100% - 48px)); }
}

@media (max-width: 700px) {
  .hero__portrait {
    inset: 0 0 8% 8%;
  }
  .hero__portrait img {
    object-position: 58% 6%;
  }
  .hero__veil {
    background:
      linear-gradient(90deg, #050505 0%, rgba(5,5,5,.82) 28%, rgba(5,5,5,.18) 48%, transparent 68%),
      linear-gradient(180deg, rgba(5,5,5,.14) 0%, transparent 18%, transparent 70%, rgba(5,5,5,.4) 100%);
  }
  .hero__content { margin: 0 20px 48px; width: auto; }
  .option-grid { gap: 9px; }
  .option-card span {
    min-height: 58px;
    padding: 13px 16px;
  }
  .rating-header { display: grid; gap: 8px; }
  .rating-header output { max-width: none; text-align: left; }
  footer { align-items: center; flex-direction: column; text-align: center; }
}

.privacy-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}
.privacy-hint--contact { margin: 16px 0 0; }

.legal-page { background: var(--paper); }
.legal-header {
  padding: 28px 20px 24px;
  background: var(--black);
}
.legal-doc {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 64px;
  color: var(--ink);
  line-height: 1.7;
}
.legal-back { margin: 0 0 28px; }
.legal-back a {
  color: var(--gold-deep);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
}
.legal-back a:hover { text-decoration: underline; }
.legal-doc h1 {
  max-width: none;
  margin: 0 0 28px;
  color: var(--gold-deep);
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  text-transform: none;
  letter-spacing: -.03em;
  line-height: 1.15;
}
.legal-doc h2 {
  margin: 32px 0 12px;
  color: var(--gold-deep);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: none;
  line-height: 1.35;
}
.legal-doc p, .legal-doc li { margin: 0 0 12px; }
.legal-doc a { color: var(--gold-deep); }
.legal-doc ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal-doc address { font-style: normal; margin: 0 0 16px; }
.legal-meta { color: var(--muted); font-size: .82rem; }
.legal-page footer {
  width: min(720px, calc(100% - 40px));
  background: var(--paper);
}

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