:root {
  --navy-950: #082f2e;
  --navy-900: #0e4140;
  --navy-800: #165451;
  --navy-700: #216b65;
  --blue-100: #e8f2f0;
  --gold-500: #b98a38;
  --gold-200: #e5cf9f;
  --cream: #f7f4ee;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #5f6f7c;
  --line: #d9e0e5;
  --error: #a52b2b;
  --success: #19704a;
  --shadow: 0 18px 50px rgba(7, 26, 43, 0.09);
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--gold-500), #d4b56f 55%, var(--gold-500));
  z-index: 20;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: 242px;
  height: 76px;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 56, 0.55);
  border-radius: 7px;
  background: var(--navy-900);
  box-shadow: 4px 4px 0 var(--gold-200);
}

.brand-logo-wrap img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.brand-context {
  max-width: 100px;
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}

.header-contact a {
  text-decoration-color: var(--gold-500);
  text-underline-offset: 4px;
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 70px;
  margin-top: 48px;
  padding: 56px 64px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(8, 47, 46, 0.98), rgba(14, 65, 64, 0.95)),
    radial-gradient(circle at 85% 15%, #477a73, transparent 38%);
  box-shadow: var(--shadow);
}

.intro::after {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -100px;
  border: 1px solid rgba(229, 207, 159, 0.25);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 42px rgba(229, 207, 159, 0.04), 0 0 0 84px rgba(229, 207, 159, 0.03);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-200);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.intro h1 {
  max-width: 640px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.intro-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: #d9e5ee;
  font-size: 17px;
}

.privacy-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.privacy-note p {
  margin: 0;
  color: #d9e5ee;
  font-size: 13px;
}

.privacy-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--paper);
}

.privacy-icon {
  display: grid;
  flex: 0 0 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-200);
  font-size: 13px;
  font-weight: 800;
}

.intake-shell {
  margin: 36px 0 78px;
  border: 1px solid rgba(16, 47, 77, 0.09);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.progress {
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.progress ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.progress ol::before {
  position: absolute;
  top: 17px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  content: "";
  background: var(--line);
}

.progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #7b8994;
  font-size: 12px;
}

.progress li span {
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 800;
}

.progress li.is-active,
.progress li.is-complete {
  color: var(--navy-900);
}

.progress li.is-active span {
  border-color: var(--navy-900);
  color: var(--paper);
  background: var(--navy-900);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.progress li.is-complete span {
  border-color: var(--gold-500);
  color: var(--navy-950);
  background: var(--gold-200);
}

.form-step,
.completion {
  max-width: 920px;
  margin-inline: auto;
  padding: 58px 48px 52px;
}

.step-heading {
  margin-bottom: 34px;
}

.step-label {
  margin: 0 0 5px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-heading h2,
.completion h2,
.closing h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.15;
}

.step-heading > p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  border: 0;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:last-of-type {
  grid-column: 1 / -1;
}

.service-card:hover {
  border-color: #9fb2c1;
  transform: translateY(-1px);
  box-shadow: 0 9px 24px rgba(7, 26, 43, 0.07);
}

.service-card:has(input:focus-visible) {
  outline: 3px solid rgba(185, 138, 56, 0.28);
  outline-offset: 2px;
}

.service-card:has(input:checked) {
  border-color: var(--navy-700);
  background: #f6f9fb;
  box-shadow: inset 0 0 0 1px var(--navy-700);
}

.service-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.service-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  color: var(--navy-900);
  background: var(--blue-100);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.service-card:has(input:checked) .service-symbol {
  color: var(--paper);
  background: var(--navy-900);
}

.service-card strong,
.service-card small {
  display: block;
}

.service-card strong {
  color: var(--navy-950);
  font-size: 15px;
}

.service-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.subsection + .subsection {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.subsection h3,
.document-panel h3,
.review-block h3,
.disclaimer h3 {
  margin: 0 0 18px;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}

.field-grid {
  display: grid;
  gap: 20px;
}

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

.field,
.field > span {
  display: block;
}

.field > span,
.fieldset-label {
  margin-bottom: 7px;
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 700;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #bfcbd4;
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field input,
.field select {
  height: 47px;
  padding: 0 13px;
}

.field textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(28, 70, 107, 0.13);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(165, 43, 43, 0.09);
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.choice-fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.choice-pill {
  position: relative;
}

.choice-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #bdc9d2;
  border-radius: 999px;
  color: var(--navy-800);
  background: var(--paper);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.choice-pill input:checked + span {
  border-color: var(--navy-800);
  color: var(--paper);
  background: var(--navy-800);
}

.choice-pill input:focus-visible + span {
  outline: 3px solid rgba(185, 138, 56, 0.28);
  outline-offset: 2px;
}

.safety-note {
  margin-top: 34px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold-500);
  color: #4e5e6c;
  background: #fbf8f0;
  font-size: 13px;
}

.document-panel {
  padding: 24px;
  border: 1px solid #c8d5df;
  border-radius: var(--radius-md);
  background: #f7fafc;
}

.document-panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9e3ea;
}

.document-panel-heading > span {
  display: grid;
  flex: 0 0 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--navy-800);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.document-panel-heading p,
.document-panel-heading small {
  display: block;
  margin: 0;
}

.document-panel-heading small {
  margin-top: 2px;
  color: var(--muted);
}

.document-item {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 11px;
  padding: 12px 4px;
  cursor: pointer;
}

.document-item + .document-item {
  border-top: 1px solid #e1e8ed;
}

.document-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy-800);
}

.document-item strong,
.document-item small {
  display: block;
}

.document-item small {
  margin-top: 2px;
  color: var(--muted);
}

.document-panel + .field {
  margin-top: 26px;
}

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

.review-block {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.review-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.review-block-heading h3 {
  margin: 0;
}

.review-block dl {
  display: grid;
  grid-template-columns: minmax(130px, 0.4fr) 1fr;
  gap: 9px 22px;
  margin: 0;
  font-size: 13px;
}

.review-block dt {
  color: var(--muted);
}

.review-block dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 620;
  white-space: pre-wrap;
}

.review-list {
  padding-left: 18px;
  margin: 8px 0 0;
  font-size: 13px;
}

.review-list li + li {
  margin-top: 7px;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--navy-700);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 3px;
  cursor: pointer;
}

.disclaimer {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #dcc68f;
  border-radius: var(--radius-md);
  background: #fcfaf4;
}

.disclaimer h3 {
  margin-bottom: 10px;
}

.disclaimer > p {
  margin: 0;
  color: #4f5e69;
  font-size: 13px;
}

.disclaimer .submission-notice {
  margin-top: 12px;
  line-height: 1.55;
}

.acknowledgement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.acknowledgement input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--navy-800);
}

.field-error {
  min-height: 1em;
  margin: 9px 0 0;
  color: var(--error);
  font-size: 12px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.form-actions-end {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

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

.button:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(185, 138, 56, 0.35);
  outline-offset: 3px;
}

.button-primary {
  color: var(--paper);
  background: var(--navy-900);
  box-shadow: 0 7px 18px rgba(7, 26, 43, 0.15);
}

.button-primary:hover {
  background: var(--navy-800);
}

.button-secondary {
  border-color: #b9c5ce;
  color: var(--navy-900);
  background: var(--paper);
}

.completion {
  text-align: center;
}

.completion-check {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--success);
  font-size: 28px;
  box-shadow: 0 0 0 8px #e8f4ef;
}

.completion > p:not(.eyebrow):not(.contact-reminder) {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
}

.completion-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.contact-reminder {
  max-width: 700px;
  margin: 34px auto 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #f7fafc;
  font-size: 13px;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 68px;
  padding: 38px 44px;
  border-top: 3px solid var(--gold-500);
  color: var(--paper);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.closing h2 {
  color: var(--paper);
}

.closing-links {
  display: grid;
  gap: 6px;
  font-weight: 720;
  text-align: right;
}

.closing-links a {
  text-decoration-color: var(--gold-500);
  text-underline-offset: 4px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 12px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .header-contact {
    display: grid;
    justify-items: end;
    gap: 4px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 36px;
  }

  .privacy-note {
    max-width: 500px;
  }

  .form-step,
  .completion {
    padding-inline: 34px;
  }
}

@media (max-width: 620px) {
  body::before {
    height: 5px;
  }

  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    display: block;
    padding-top: 22px;
  }

  .brand-logo-wrap {
    width: 210px;
    height: 64px;
  }

  .brand-context {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .intro {
    margin-top: 22px;
    padding: 38px 24px 26px;
    border-radius: 14px;
  }

  .intro h1 {
    font-size: 42px;
  }

  .intro-copy {
    font-size: 15px;
  }

  .intake-shell {
    margin-top: 20px;
    border-radius: 14px;
  }

  .progress {
    padding: 18px 12px;
  }

  .progress ol {
    gap: 4px;
  }

  .progress li strong {
    font-size: 10px;
  }

  .progress li span {
    width: 31px;
    height: 31px;
  }

  .progress ol::before {
    top: 15px;
  }

  .form-step,
  .completion {
    padding: 38px 20px 34px;
  }

  .service-grid,
  .field-grid.two-column {
    grid-template-columns: 1fr;
  }

  .service-card:last-of-type {
    grid-column: auto;
  }

  .service-card {
    min-height: 82px;
    padding: 14px;
  }

  .subsection + .subsection {
    margin-top: 32px;
    padding-top: 28px;
  }

  .document-panel,
  .review-block,
  .disclaimer {
    padding: 18px;
  }

  .review-block dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .review-block dd + dt {
    margin-top: 9px;
  }

  .form-actions,
  .completion-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .completion-actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .closing {
    display: block;
    padding: 28px 24px;
  }

  .closing-links {
    margin-top: 20px;
    text-align: left;
  }

  footer {
    display: block;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .intro,
  .progress,
  .closing,
  footer,
  .form-actions,
  .completion-actions,
  .contact-reminder,
  .completion .text-button,
  .acknowledgement,
  #disclaimer-error {
    display: none !important;
  }

  main,
  .intake-shell {
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  #intake-form,
  .form-step[data-step="4"] {
    display: block !important;
  }

  .form-step:not([data-step="4"]) {
    display: none !important;
  }

  .form-step[data-step="4"] {
    max-width: none;
    padding: 0;
  }

  .form-step[data-step="4"]::before {
    display: block;
    margin-bottom: 18px;
    padding-bottom: 13px;
    border-bottom: 3px solid #111;
    content: "COMBS & LEVY CONSULTANTS, LLC — CLIENT INTAKE SUMMARY";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17pt;
    font-weight: 700;
  }

  .step-heading .step-label,
  .step-heading > p:last-child {
    display: none;
  }

  .step-heading {
    margin-bottom: 17px;
  }

  .step-heading h2 {
    font-size: 19pt;
  }

  .review-content {
    gap: 10px;
  }

  .review-block,
  .disclaimer {
    break-inside: avoid;
    padding: 12px 14px;
    border: 1px solid #999;
    background: #fff;
  }

  .review-block-heading {
    margin-bottom: 7px;
  }

  .review-block h3,
  .disclaimer h3 {
    margin-bottom: 5px;
    color: #000;
    font-size: 13pt;
  }

  .review-block dl {
    gap: 4px 14px;
    font-size: 9pt;
  }

  .review-list,
  .disclaimer > p {
    font-size: 9pt;
  }

  .completion {
    display: none !important;
  }

  a {
    text-decoration: none;
  }
}
