:root {
  --bg: #0f151a;
  --panel: #161f27;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --card: #f3eee6;
  --card-text: #13202a;
  --text: #f5f2ed;
  --muted: #c2b8ac;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(19, 32, 42, 0.12);
  --accent: #b78a52;
  --accent-strong: #d3a068;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(circle at top right, rgba(183, 138, 82, 0.18), transparent 28%),
    linear-gradient(180deg, #121b23 0%, #0f151a 42%, #131c24 100%);
  color: var(--text);
}

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

img {
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(15, 21, 26, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  padding: 1rem 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.site-nav__brand-mark {
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav__brand-subtitle {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav__cta {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(211, 160, 104, 0.45);
  background: rgba(211, 160, 104, 0.12);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: stretch;
}

.hero__content,
.hero__panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 3.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.15), rgba(8, 11, 15, 0.5)),
    #18212a;
  overflow: hidden;
}

.hero__content::after {
  content: "";
  position: absolute;
  inset: auto -5% -12% 35%;
  height: 220px;
  background: linear-gradient(90deg, rgba(183, 138, 82, 0), rgba(183, 138, 82, 0.42));
  transform: skewY(-8deg);
  pointer-events: none;
}

.hero__panel {
  padding: 1.5rem;
  background: rgba(20, 28, 35, 0.82);
}

.hero__panel-label,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow--dark {
  color: #8b6840;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.3rem);
}

h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  line-height: 1.7;
}

.hero__intro {
  max-width: 58ch;
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__actions,
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #1a1611;
  font-size: 1.06rem;
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.highlight-card {
  padding: 1.3rem;
  border-radius: 22px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.highlight-card + .highlight-card {
  margin-top: 1rem;
}

.highlight-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.highlight-card p {
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section--light {
  background:
    linear-gradient(180deg, #efe7dc 0%, #f7f3eb 100%);
  color: var(--card-text);
}

.section--dark {
  background:
    radial-gradient(circle at top left, rgba(211, 160, 104, 0.1), transparent 24%),
    #111920;
}

.section-heading {
  max-width: 62rem;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  margin-top: 1rem;
  color: rgba(19, 32, 42, 0.78);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.process-card,
.faq-card {
  border-radius: 24px;
  padding: 1.6rem;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 60px rgba(19, 32, 42, 0.08);
}

.process-card__number {
  margin-bottom: 1rem;
  color: #8b6840;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
}

.process-card p:last-child,
.faq-card p {
  margin-top: 0.8rem;
  color: rgba(19, 32, 42, 0.8);
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  align-items: start;
}

.intake-copy {
  position: sticky;
  top: 6.5rem;
}

.intake-copy > p,
.intake-copy__hint {
  color: var(--muted);
}

.intake-copy p + p {
  margin-top: 1rem;
}

.intake-reasons {
  margin-top: 1.25rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.intake-reasons__heading {
  color: #f0e7dd;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intake-reasons ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: #ddd2c4;
  display: grid;
  gap: 0.55rem;
}

.intake-reasons li {
  line-height: 1.55;
}

.intake-copy__schedule {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(211, 160, 104, 0.22);
  background: rgba(211, 160, 104, 0.08);
  color: #e8ddd0;
}

.intake-copy__schedule a {
  color: #f0e4d4;
  text-decoration: underline;
  text-decoration-color: rgba(240, 228, 212, 0.55);
  text-underline-offset: 0.16em;
}

.intake-form {
  padding: 1.7rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(20, 28, 35, 0.88);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.field-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-group {
  margin-bottom: 1rem;
}

.field-group__hint {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.field-group label,
.field-group legend {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: #e4ddd3;
}

.field-grid > .field-group,
.field-grid > fieldset.field-group {
  display: flex;
  flex-direction: column;
}

.field-grid > fieldset.field-group legend {
  min-height: 1.2rem;
  display: flex;
  align-items: flex-end;
}

.field-grid--three > .field-group label {
  min-height: 2.6rem;
  display: flex;
  align-items: flex-end;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
}

.field-group select {
  color-scheme: dark;
}

.field-group option,
.field-group optgroup {
  color: #13202a;
  background: #f7f3eb;
}

.field-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(194, 184, 172, 0.72);
}

.field-group input[readonly] {
  border-color: rgba(211, 160, 104, 0.36);
  background: rgba(211, 160, 104, 0.08);
  color: #f0e7dd;
}

fieldset {
  padding: 0;
  margin: 0 0 1rem;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

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

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

.choice-card,
.choice-chip {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.choice-card:hover,
.choice-chip:hover {
  border-color: rgba(211, 160, 104, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.choice-card:has(input:checked),
.choice-chip:has(input:checked) {
  border-color: rgba(211, 160, 104, 0.62);
  background: linear-gradient(135deg, rgba(211, 160, 104, 0.24), rgba(183, 138, 82, 0.08));
  box-shadow: inset 0 0 0 1px rgba(211, 160, 104, 0.28), 0 0 0 1px rgba(211, 160, 104, 0.08);
}

.choice-card:has(input:focus-visible),
.choice-chip:has(input:focus-visible) {
  outline: 2px solid rgba(211, 160, 104, 0.85);
  outline-offset: 2px;
}

.choice-card {
  display: flex;
  align-items: center;
  min-height: 4.9rem;
  padding: 1.05rem 1rem;
}

.choice-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.55rem;
  padding: 0.85rem 0.95rem;
}

.choice-card input,
.choice-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-card span,
.choice-chip span {
  font-weight: 600;
  line-height: 1.3;
}

.choice-card span {
  max-width: 26ch;
}

.choice-chip span {
  white-space: nowrap;
  text-align: center;
}

.status-banner {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
}

.status-banner p + ul {
  margin-top: 0.7rem;
}

.status-banner ul {
  margin: 0;
  padding-left: 1.2rem;
}

.status-banner--success {
  border: 1px solid rgba(129, 182, 109, 0.3);
  background: rgba(129, 182, 109, 0.12);
}

.status-banner--error {
  border: 1px solid rgba(212, 110, 96, 0.34);
  background: rgba(212, 110, 96, 0.12);
}

.status-banner--warning {
  border: 1px solid rgba(211, 160, 104, 0.34);
  background: rgba(211, 160, 104, 0.12);
}

.status-banner--secure {
  border: 1px solid rgba(115, 173, 194, 0.34);
  background: linear-gradient(135deg, rgba(115, 173, 194, 0.15), rgba(50, 90, 111, 0.18));
}

.status-banner--secure p + p {
  margin-top: 0.55rem;
}

.form-actions {
  margin-top: 1.4rem;
}

.form-actions__note {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(11, 16, 20, 0.9);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
}

.site-footer__brand {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-strong);
}

.site-footer__copy {
  margin-top: 0.45rem;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
}

.placeholder-page {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
}

.placeholder-card {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 70px rgba(19, 32, 42, 0.12);
}

.placeholder-card__title {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.placeholder-card__intro {
  max-width: 42rem;
  margin-top: 1.2rem;
  color: rgba(19, 32, 42, 0.8);
}

.placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.secure-page {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
}

.secure-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 2rem;
  padding: 2.4rem;
  border-radius: 30px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 70px rgba(19, 32, 42, 0.12);
  color: var(--card-text);
}

.secure-card--start {
  grid-template-columns: 1fr;
  max-width: 54rem;
  margin: 0 auto;
}

.secure-card__title {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.secure-card__intro {
  max-width: 42rem;
  margin-top: 1rem;
  color: rgba(19, 32, 42, 0.82);
}

.secure-card__note,
.secure-card__reference {
  margin-top: 1rem;
  color: rgba(19, 32, 42, 0.74);
}

.secure-form {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(19, 32, 42, 0.95);
  color: var(--text);
  box-shadow: 0 20px 60px rgba(19, 32, 42, 0.18);
}

.secure-form .field-group label {
  color: #eadfce;
}

.secure-form__hint {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero__grid,
  .intake-layout,
  .process-grid,
  .explainer-grid,
  .faq-list,
  .field-grid,
  .field-grid--three,
  .choice-grid,
  .choice-grid--three {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav__links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero__content,
  .hero__panel,
  .intake-form {
    padding: 1.35rem;
  }

  .intake-copy {
    position: static;
  }

  .placeholder-card {
    padding: 2rem 1.4rem;
  }

  .secure-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1rem, 1180px);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }
}
