@font-face {
  font-family: Manrope;
  src: url("Manrope.ttf") format("truetype");
  font-display: swap;
}

:root {
  --page: #030d1d;
  --panel: #0b192c;
  --field: #0d2035;
  --text: #f3f5f4;
  --muted: #aab9ca;
  --line: #193648;
  --cyan: #00e6f3;
  --pink: #ff3ccc;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font-family: Manrope, "Segoe UI", sans-serif;
}

.shell { max-width: 1180px; margin: auto; padding: 20px 30px 56px; }
.access-stage { min-height: 100svh; padding: clamp(14px, 3vw, 32px); }
.access-frame { display: flex; flex-direction: column; min-height: calc(100svh - clamp(28px, 6vw, 64px)); max-width: 1440px; margin: auto; overflow: hidden; border: 1px solid #234057; border-radius: 22px; background: #071626; }
.access-header, .access-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px clamp(28px, 5vw, 64px); }
.access-header { border-bottom: 1px solid #234057; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.access-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 16px; letter-spacing: 0; text-transform: none; }
.access-brand img { width: 42px; height: auto; }
.access-content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr); flex: 1; min-height: 600px; }
.access-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 54px clamp(28px, 6vw, 96px); }
.access-kicker { margin: 0; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.access-copy h1 { max-width: 620px; margin: 22px 0 24px; font-size: clamp(48px, 5.7vw, 86px); line-height: .98; }
.access-copy h1 span { display: block; }
.access-lead { max-width: 520px; margin: 0 0 40px; color: #c2d0db; font-size: 16px; line-height: 1.65; }
.access-home { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 12px; padding: 0 25px; color: #061123; font-size: 14px; font-weight: 800; text-decoration: none; }
.access-home:hover { filter: brightness(1.08); }
.access-art { position: relative; min-height: 500px; overflow: hidden; background: linear-gradient(90deg, #071626 0%, #07162625 22%, #07162605 100%), url("hero-generated-v2.png") 66% center / cover no-repeat; }
.access-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #071626bb, transparent 45%); pointer-events: none; }
.access-art-ring { position: absolute; z-index: 1; right: 13%; top: 18%; width: min(36vw, 390px); aspect-ratio: 1; border: 1px solid #00e6f366; border-radius: 50%; box-shadow: 0 0 0 35px #00e6f30a, 0 0 0 80px #00e6f307, inset 0 0 55px #00e6f315; }
.access-footer { border-top: 1px solid #234057; color: #8299aa; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.access-footer i { display: inline-block; width: 4px; height: 4px; margin: 0 9px 2px; border-radius: 50%; background: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .access-copy { animation: access-enter .65s cubic-bezier(.16,1,.3,1) both; }
  .access-art { animation: access-enter .8s .08s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes access-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 62px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}
.brand img { display: block; width: 48px; height: auto; }
.masthead p, .eyebrow, .step-side p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(36px, 7vw, 88px);
  background:
    linear-gradient(90deg, rgba(3,13,29,.98) 0%, rgba(3,13,29,.86) 46%, rgba(3,13,29,.08) 100%),
    url("hero-generated-v2.png") center / cover no-repeat;
}
.intro .eyebrow { color: var(--cyan); }
h1 {
  max-width: 780px;
  margin: 22px 0 24px;
  font-size: clamp(48px, 6.4vw, 78px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}
h1 span {
  background: linear-gradient(100deg, var(--cyan), #b69ff5 60%, var(--pink));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.intro-copy { max-width: 550px; color: #e6edf4; font-size: 16px; line-height: 1.6; }
.intro-copy p { margin: 0 0 16px; }
.intro-copy p:last-child { margin-bottom: 0; }
.brief-meta { display: flex; flex-wrap: wrap; gap: 26px; margin: 36px 0 32px; }
.brief-meta div { min-width: 110px; border-left: 2px solid var(--cyan); padding-left: 12px; }
.brief-meta dt { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.brief-meta dd { margin: 6px 0 0; font-size: 14px; font-weight: 700; }

.progress-strip { display: none; position: sticky; top: 0; z-index: 20; margin-bottom: 14px; padding: 12px 0 14px; background: var(--page); }
body.brief-started .progress-strip { display: block; }
.progress-caption { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: #193648; }
.progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00e6f3, #b69ff5 55%, #ff3ccc); transition: width .3s ease; }

button {
  min-height: 48px;
  border-radius: 10px;
  padding: 0 22px;
  font: 800 14px Manrope, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: filter .18s, transform .18s;
}
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.primary {
  border: 0;
  background: linear-gradient(115deg, #00e6f3, #26e3f2, #b69ff5, #ff3ccc);
  color: #061123;
}
.secondary { border: 1px solid #547087; background: transparent; color: var(--text); }

form {
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
body.brief-started .intro { display: none; }
body.brief-started form { display: block; }
.step {
  display: none;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 44px;
  min-height: 540px;
  padding: clamp(34px, 5vw, 68px);
}
.step.active { display: grid; animation: step-enter .24s ease-out both; }
@keyframes step-enter {
  from { opacity: .65; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.step-side { padding-top: 7px; }
.step-side p { color: #7ea7b5; }
.step-side span { color: #244053; font-size: 76px; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.step-content { max-width: 720px; }
.step h2 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.05; }
.step-content > p { margin: 0 0 36px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.fields { display: grid; gap: 23px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.step-one-fields { max-width: 650px; gap: 25px; }
.step-one-fields label { gap: 9px; }
.field-title { color: var(--text); font-size: 14px; font-weight: 800; line-height: 1.45; }
.field-hint { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.required-mark { color: var(--pink); }
label, legend { display: grid; gap: 8px; font-size: 12px; font-weight: 800; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #345268;
  border-radius: 9px;
  background: var(--field);
  color: var(--text);
  padding: 13px;
  font: 16px Manrope, "Segoe UI", sans-serif;
}
input::placeholder, textarea::placeholder { color: #8094a7; opacity: 1; }
textarea { resize: vertical; }
.step-one-fields textarea { min-height: 132px; }
.step-one-choices { display: grid; gap: 34px; max-width: 650px; margin-top: 38px; border-top: 1px solid var(--line); padding-top: 32px; }
.choice-fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.choice-fieldset legend { display: block; width: 100%; margin-bottom: 15px; color: var(--text); font-size: 17px; font-weight: 800; line-height: 1.4; }
.keep-together { white-space: nowrap; }
.choice-list { display: grid; gap: 9px; }
.choice-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #345268;
  border-radius: 10px;
  background: var(--field);
  padding: 11px 15px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .18s, background-color .18s;
}
.choice-list label:hover { border-color: #6a91aa; }
.choice-list label:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.choice-list label:has(input:checked) { border-color: var(--cyan); background: #123147; }
.choice-list input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; border: 0; padding: 0; background: transparent; accent-color: var(--cyan); }
.step-two-questions, .step-three-questions, .step-four-questions, .step-five-questions { display: grid; gap: 40px; max-width: 650px; }
.question-block { gap: 10px; }
.question-title { color: var(--text); font-size: 17px; font-weight: 800; line-height: 1.45; }
.question-block textarea { min-height: 132px; }
.choice-help { margin: -5px 0 15px; }
.select-hint { margin: -5px 0 14px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.other-docs, .other-choice { margin-top: 10px; }
fieldset { border: 0; padding: 0; margin: 0 0 25px; }
.checks, .radios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.checks label, .radios label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #345268;
  border-radius: 9px;
  background: var(--field);
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
}
.checks input, .radios input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--cyan); }
.step-content > label { margin-top: 23px; }
.review-step { display: none; min-height: 500px; padding: clamp(34px, 5vw, 68px); }
.review-step.active { display: block; animation: step-enter .24s ease-out both; }
.review-content { max-width: 650px; margin: 0 auto; }
.review-content .eyebrow { color: var(--cyan); }
.review-content h2 { margin: 12px 0 24px; font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -.04em; }
.review-intro { margin: 0 0 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.review-list { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 0; list-style: none; }
.review-list li + li { border-top: 1px solid var(--line); }
.review-list button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 54px; border: 0; border-radius: 0; background: var(--field); padding: 12px 16px; color: var(--text); font-size: 14px; font-weight: 600; text-align: left; }
.review-list button:hover { background: #123147; }
.review-count { flex: none; color: var(--cyan); font-size: 13px; font-weight: 800; }
.brief-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.brief-consent input { flex: none; width: 19px; height: 19px; min-height: 19px; margin: 2px 0 0; accent-color: var(--cyan); }
.brief-consent a { color: var(--cyan); text-underline-offset: 2px; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 20px 34px;
}
.form-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.hidden { display: none; }
.status { min-height: 20px; margin: 0; padding: 0 34px 20px; color: var(--cyan); font-size: 14px; line-height: 1.5; }

@media (max-width: 700px) {
  .access-stage { padding: 0; }
  .access-frame { min-height: 100svh; border: 0; border-radius: 0; }
  .access-header, .access-footer { padding: 20px 24px; }
  .access-header > span:last-child, .access-footer > span:last-child { display: none; }
  .access-content { display: flex; min-height: 0; }
  .access-copy { width: 100%; min-height: 610px; padding: 54px 24px 64px; }
  .access-copy h1 { font-size: clamp(48px, 11vw, 70px); }
  .access-lead { font-size: 15px; }
  .access-art { position: absolute; inset: 0; min-height: 0; opacity: .34; background-position: 70% center; }
  .access-art-ring { display: none; }
  .shell { padding: 12px 14px 36px; }
  .masthead { margin-bottom: 14px; }
  .brand { font-size: 15px; }
  .brand img { width: 38px; }
  .masthead p { font-size: 10px; }
  .intro {
    min-height: calc(100svh - 115px);
    padding: 36px 24px;
    background:
      linear-gradient(90deg, rgba(3,13,29,.96), rgba(3,13,29,.76)),
      url("hero-generated-v2.png") 67% center / cover no-repeat;
  }
  h1 { font-size: clamp(42px, 10vw, 66px); }
  .intro-copy { font-size: 14px; }
  .intro-copy p { margin-bottom: 13px; }
  .brief-meta { display: grid; gap: 16px; margin: 30px 0; }
  .step, .step.active { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 32px 22px; }
  .review-step { min-height: 0; padding: 32px 22px; }
  .step-side span { font-size: 48px; }
  .step[data-step="1"] .step-side span { font-size: 42px; }
  .step-one-fields { gap: 22px; }
  .field-title { font-size: 14px; }
  .step-one-choices { gap: 28px; margin-top: 30px; padding-top: 26px; }
  .choice-fieldset legend { font-size: 16px; }
  .choice-list label { min-height: 52px; padding: 11px 12px; }
  .step-two-questions, .step-three-questions, .step-four-questions, .step-five-questions { gap: 34px; }
  .question-title { font-size: 16px; }
  .fields.two, .checks, .radios { grid-template-columns: 1fr; }
  .form-footer { flex-wrap: wrap; padding: 18px 22px; }
  .form-footer button { max-width: 100%; min-height: 50px; padding-inline: 16px; white-space: normal; }
  .form-footer p { display: none; }
  .form-footer .primary { margin-left: auto; }
  .status { padding: 0 22px 18px; }
}

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