:root {
  --bg: #04070c;
  --bg-soft: #0a1018;
  --panel: rgba(10, 14, 20, 0.82);
  --panel-strong: rgba(14, 19, 27, 0.94);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 85, 0, 0.38);
  --text: #fff8f2;
  --muted: #b7bec9;
  --accent: #ff5500;
  --accent-strong: #ff8b4d;
  --accent-soft: rgba(255, 85, 0, 0.14);
  --danger: #ff8f88;
  --success: #93e0be;
  --shadow: 0 36px 120px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 24px 70px rgba(255, 85, 0, 0.18);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 85, 0, 0.18), transparent 20%),
    radial-gradient(circle at 84% 82%, rgba(255, 85, 0, 0.12), transparent 18%),
    linear-gradient(135deg, #030508 0%, #09111a 38%, #04070c 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.92), transparent 88%);
  pointer-events: none;
  opacity: 0.55;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(38px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.page-glow::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 170, 130, 0.3), transparent 68%);
  filter: blur(18px);
  animation: orb-pulse 7s ease-in-out infinite;
}

.page-glow--left {
  top: 8vh;
  left: -7vw;
  width: 26vw;
  height: 26vw;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.3), transparent 70%);
  animation: orb-left 22s ease-in-out infinite alternate;
}

.page-glow--right {
  right: -8vw;
  bottom: 10vh;
  width: 24vw;
  height: 24vw;
  background: radial-gradient(circle, rgba(255, 116, 41, 0.24), transparent 68%);
  animation: orb-right 26s ease-in-out infinite alternate;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 16px auto;
  display: grid;
  grid-template-columns: 0.94fr 1.36fr;
  gap: 18px;
  align-items: start;
}

.info-panel,
.form-panel,
.success-state {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.info-panel {
  position: sticky;
  top: 16px;
  align-self: start;
  min-height: calc(100vh - 32px);
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 85, 0, 0.11), transparent 24%),
    linear-gradient(145deg, rgba(18, 24, 33, 0.98), rgba(7, 10, 16, 0.98));
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.info-panel::before,
.info-panel::after,
.form-panel::before,
.form-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.info-panel::before {
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, transparent 0%, rgba(255, 85, 0, 0.08) 100%);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0.85;
}

.info-panel::after {
  width: 220px;
  height: 220px;
  top: -78px;
  right: -46px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.44), transparent 72%);
  filter: blur(8px);
}

.form-panel {
  min-height: calc(100vh - 32px);
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(10, 15, 22, 0.95), rgba(5, 8, 14, 0.98));
}

.form-panel::before {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.18), transparent 70%);
  filter: blur(6px);
}

.form-panel::after {
  top: 0;
  left: -30%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  animation: sweep 9s linear infinite;
}

.brand-wrap,
.panel-copy,
.panel-card,
.panel-metrics,
.insight-ribbon {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.brand-logo {
  width: clamp(148px, 18vw, 210px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(255, 85, 0, 0.14));
}

.brand-sub,
.section-lead,
.lead,
.panel-metrics dt,
.footer-note,
.submit-feedback,
.field-error {
  color: var(--muted);
}

.eyebrow,
.step-index,
.card-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.73rem;
  color: #ffb287;
}

.panel-copy h1,
.form-header h2,
.step-copy h3,
.success-state h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
}

.panel-copy h1 {
  font-size: clamp(2.6rem, 3.1vw, 4.25rem);
  max-width: 12ch;
}

.lead,
.section-lead,
.step-copy p,
.submit-card p,
.success-state p,
.field span,
.field-group legend {
  line-height: 1.65;
}

.panel-card,
.submit-card,
.review-block {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 85, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.panel-card {
  padding: 24px;
}

.panel-card--highlight {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-accent);
}

.feature-list,
.panel-metrics {
  margin: 0;
  padding: 0;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li,
.panel-metrics dd {
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 6px rgba(255, 85, 0, 0.11);
}

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

.insight-ribbon span {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 85, 0, 0.24);
  background: rgba(255, 85, 0, 0.08);
  color: #ffd5c2;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-metrics {
  display: grid;
  gap: 16px;
}

.panel-metrics div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.panel-metrics div:first-child {
  border-top: 0;
}

.panel-metrics dt {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.panel-metrics dd {
  font-size: 1.08rem;
  font-weight: 700;
}

.form-header {
  display: grid;
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-header h2 {
  font-size: clamp(2rem, 2.4vw, 3rem);
  margin-top: 4px;
}

.progress-shell {
  display: grid;
  gap: 12px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.94rem;
  color: var(--muted);
}

.progress-track {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.04);
}

.progress-bar {
  width: 14.285%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5500 0%, #ff6a1f 46%, #ffb287 100%);
  box-shadow: 0 0 26px rgba(255, 85, 0, 0.4);
  transition: width 260ms ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.45) 48%, transparent 78%);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
}

form {
  display: grid;
  gap: 24px;
}

.step {
  display: none;
  gap: 24px;
  padding-top: 24px;
  animation: step-reveal 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.step.is-active {
  display: grid;
}

.step-copy {
  display: flex;
  gap: 18px;
  align-items: start;
}

.step-copy p {
  margin: 8px 0 0;
  max-width: 64ch;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field,
.field-group {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.015);
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.field::before,
.field-group::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 85, 0, 0.08), transparent 42%, rgba(255, 255, 255, 0.03));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.field:hover,
.field:focus-within,
.field-group:hover,
.field-group:focus-within {
  border-color: rgba(255, 85, 0, 0.32);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.field:hover::before,
.field:focus-within::before,
.field-group:hover::before,
.field-group:focus-within::before {
  opacity: 1;
}

.field--full {
  grid-column: 1 / -1;
}

.access-note {
  grid-column: 1 / -1;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 85, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 85, 0, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow-accent);
}

.access-note__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  color: #ffb287;
}

.access-note h4 {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.access-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.field span,
.field-group legend {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.field-group {
  margin: 0;
}

.field-group legend {
  padding: 0;
}

.field input,
.field textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  color: var(--text);
  background: rgba(5, 10, 16, 0.94);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(183, 190, 201, 0.72);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 85, 0, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 85, 0, 0.12);
  transform: translateY(-1px);
}

.choice-grid,
.radio-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

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

.choice {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(5, 11, 17, 0.82);
  border: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.choice:hover {
  border-color: rgba(255, 85, 0, 0.25);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.choice input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.has-error {
  border-color: rgba(255, 143, 136, 0.5);
}

.field-error {
  position: relative;
  z-index: 1;
  min-height: 1.2em;
  font-size: 0.84rem;
}

.has-error .field-error {
  color: var(--danger);
}

.review-shell {
  display: grid;
  gap: 18px;
}

.review-summary {
  display: grid;
  gap: 16px;
}

.review-block {
  padding: 22px;
}

.review-block h4 {
  margin: 0 0 14px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-item {
  display: grid;
  gap: 4px;
}

.review-item strong {
  font-size: 0.9rem;
  color: #ffb287;
}

.review-item span {
  color: var(--muted);
  white-space: pre-wrap;
}

.submit-card {
  padding: 24px;
  box-shadow: var(--shadow-accent);
}

.submit-feedback {
  min-height: 1.4em;
  margin: 14px 0 0;
}

.submit-feedback.is-error {
  color: var(--danger);
}

.submit-feedback.is-success {
  color: var(--success);
}

.form-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease;
}

.button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.button:not(:disabled):hover {
  transform: translateY(-2px);
}

.button--primary {
  position: relative;
  color: #fff6ef;
  background: linear-gradient(135deg, #ff5500 0%, #ff6a1f 46%, #ff915d 100%);
  box-shadow: 0 18px 36px rgba(255, 85, 0, 0.28);
  overflow: hidden;
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.4) 48%, transparent 78%);
  transform: translateX(-120%);
  animation: shimmer 3.1s ease-in-out infinite;
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  border-color: rgba(255, 85, 0, 0.22);
}

.button--full {
  width: 100%;
  justify-content: center;
}

.success-state {
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

@keyframes step-reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(160%);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  18% {
    opacity: 0.8;
  }

  40% {
    opacity: 0;
  }

  100% {
    transform: translateX(260%);
    opacity: 0;
  }
}

@keyframes orb-left {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(7vw, 4vh, 0) scale(1.12);
  }

  100% {
    transform: translate3d(3vw, 12vh, 0) scale(0.96);
  }
}

@keyframes orb-right {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-8vw, -7vh, 0) scale(1.1);
  }

  100% {
    transform: translate3d(-2vw, 6vh, 0) scale(0.94);
  }
}

@keyframes orb-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.94);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

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

@media (max-width: 1100px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .info-panel,
  .form-panel {
    min-height: auto;
  }

  .info-panel {
    position: relative;
    top: auto;
  }

  .panel-copy h1 {
    max-width: 16ch;
  }
}

@media (max-width: 720px) {
  body {
    background: linear-gradient(135deg, #030508 0%, #09111a 45%, #04070c 100%);
  }

  body::before,
  .info-panel::before,
  .info-panel::after,
  .form-panel::before,
  .form-panel::after,
  .page-glow::before {
    display: none;
  }

  .page-glow {
    filter: blur(18px);
    opacity: 0.38;
  }

  .page-glow--left,
  .page-glow--right {
    width: 34vw;
    height: 34vw;
  }

  .page-glow--left {
    top: 12vh;
    left: -10vw;
  }

  .page-glow--right {
    right: -10vw;
    bottom: 16vh;
  }

  .site-shell {
    width: min(calc(100% - 16px), var(--max-width));
    margin: 8px auto;
    gap: 12px;
  }

  .info-panel,
  .form-panel {
    padding: 18px;
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .info-panel,
  .form-panel,
  .success-state {
    background: rgba(10, 14, 20, 0.96);
  }

  .info-panel {
    gap: 20px;
  }

  .panel-copy h1 {
    font-size: 2.35rem;
    max-width: 11ch;
  }

  .lead,
  .section-lead {
    font-size: 0.98rem;
  }

  .panel-card,
  .submit-card,
  .review-block,
  .access-note {
    padding: 18px;
    border-radius: 18px;
  }

  .form-header {
    gap: 16px;
    padding-bottom: 18px;
  }

  .form-header h2 {
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .progress-shell {
    gap: 10px;
  }

  .progress-meta {
    font-size: 0.88rem;
  }

  form {
    gap: 18px;
  }

  .step {
    animation: none;
    gap: 18px;
    padding-top: 18px;
  }

  .field,
  .field-group,
  .access-note,
  .review-block,
  .submit-card,
  .panel-card {
    box-shadow: none;
  }

  .field-grid,
  .choice-grid,
  .form-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .progress-meta,
  .step-copy {
    flex-direction: column;
  }

  .step-copy {
    gap: 12px;
  }

  .step-index {
    margin-bottom: 6px;
  }

  .step-copy p {
    margin-top: 4px;
  }

  .field,
  .field-group {
    padding: 14px;
    gap: 8px;
    border-radius: 16px;
  }

  .field input,
  .field textarea {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .choice {
    padding: 12px;
    gap: 8px;
  }

  .form-footer {
    align-items: stretch;
    gap: 12px;
    padding-top: 4px;
  }

  .footer-note {
    order: 3;
    text-align: center;
    font-size: 0.9rem;
  }

  .button {
    width: 100%;
    padding: 13px 18px;
  }

  .brand-logo {
    width: 150px;
  }
}
