:root {
  --ink: #06110f;
  --forest: #091412;
  --forest-2: #10231f;
  --paper: #f4f1e8;
  --paper-2: #e5ddcc;
  --gold: #f4c542;
  --mint: #2dd4a0;
  --copper: #bc6c25;
  --muted: #89a29a;
  --line: rgba(244, 241, 232, 0.14);
  --danger: #ff8a6b;
  font-family: "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--forest);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(110deg, rgba(9, 20, 18, 0.94), rgba(9, 20, 18, 0.78)),
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.74fr);
  gap: 40px;
  align-items: stretch;
  padding: 32px;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 64px);
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(244, 197, 66, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(6, 17, 15, 0.74), rgba(6, 17, 15, 0.92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(244, 197, 66, 0.18);
  pointer-events: none;
}

.brand-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(244, 197, 66, 0.34);
  background: rgba(244, 241, 232, 0.08);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--gold), var(--mint), var(--gold));
  box-shadow: 0 0 24px rgba(244, 197, 66, 0.25);
}

.brand-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-sub {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 92px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #d7d0c2;
  font-size: 18px;
  line-height: 1.65;
}

.signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.signal {
  min-height: 100px;
  padding: 18px;
  background: rgba(6, 17, 15, 0.78);
}

.signal span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal strong {
  display: block;
  margin-top: 8px;
  color: var(--paper);
  font-size: 17px;
  line-height: 1.25;
}

.form-panel {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 28px;
  border: 1px solid rgba(244, 241, 232, 0.2);
  background: rgba(244, 241, 232, 0.94);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: #53645f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.progress-track {
  height: 8px;
  margin-bottom: 28px;
  overflow: hidden;
  background: #d7cfbf;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--forest), var(--mint), var(--gold));
  transition: width 240ms ease;
}

.question-title {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

.question-subtitle {
  margin: 12px 0 0;
  color: #53645f;
  font-size: 15px;
  line-height: 1.55;
}

.options,
.fields {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.option {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #c9c0ae;
  background: #fffaf0;
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.option:hover,
.option.selected {
  transform: translateY(-1px);
  border-color: var(--forest);
  background: #f7edcf;
}

.option::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 2px solid #a89c88;
  border-radius: 50%;
}

.option.selected::after {
  border-color: var(--forest);
  background: var(--gold);
  box-shadow: inset 0 0 0 2px #f7edcf;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #34443f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #c9c0ae;
  background: #fffaf0;
  color: var(--ink);
  outline: none;
}

.field input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(45, 212, 160, 0.18);
}

.error {
  min-height: 20px;
  margin: 14px 0 0;
  color: #9e2f1c;
  font-size: 13px;
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 160ms ease, opacity 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.btn-primary {
  flex: 1;
  background: var(--forest);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  border-color: #c9c0ae;
  color: var(--forest);
}

.result {
  text-align: left;
}

.result-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--forest);
  color: var(--gold);
  font-size: 28px;
}

.result h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.05;
}

.result p {
  margin: 14px 0 0;
  color: #53645f;
  line-height: 1.6;
}

.lead-summary {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #d0c5b0;
  background: #fffaf0;
  color: #34443f;
  font-size: 14px;
}

.lead-summary strong {
  color: var(--ink);
}

.utility-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.utility-link {
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

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

  .hero-copy {
    padding: 58px 0 42px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 0;
  }

  .brand-panel,
  .card {
    border-left: 0;
    border-right: 0;
  }

  .brand-panel {
    padding: 24px;
  }

  .brand-panel::before {
    display: none;
  }

  .card {
    padding: 22px;
  }

  .question-title {
    font-size: 25px;
  }

  .actions {
    flex-direction: column-reverse;
  }
}
