:root {
  --navy: #08243d;
  --navy-deep: #041827;
  --navy-soft: #123552;
  --gold: #c9a45b;
  --gold-light: #e5cf9a;
  --gold-dark: #765b22;
  --ivory: #f8f5ed;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #18232d;
  --muted: #596772;
  --line: #d9d4c8;
  --success: #1f6d52;
  --shadow: 0 24px 70px rgba(4, 24, 39, 0.14);
  --soft-shadow: 0 14px 36px rgba(4, 24, 39, 0.08);
  --site-header-height: 112px;
  --prelaunch-notice-height: 38px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 0.35rem;
  color: var(--navy-deep);
  background: var(--white);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--navy-deep);
}

.prelaunch-notice {
  color: var(--navy-deep);
  background: linear-gradient(90deg, #c79b45, var(--gold-light), #c79b45);
  border-bottom: 1px solid rgba(4, 24, 39, 0.28);
}

.prelaunch-notice-inner {
  min-height: var(--prelaunch-notice-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding-block: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
}

.prelaunch-notice strong {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main [id] {
  scroll-margin-top: 8rem;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(229, 207, 154, 0.2);
  background: rgba(4, 24, 39, 0.96);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: var(--site-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-lockup-horizontal {
  width: clamp(250px, 27vw, 330px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-lockup-divider {
  width: 1px;
  height: 48px;
  margin-inline: 0.12rem;
  background: rgba(229, 207, 154, 0.55);
}

.brand-lockup-product {
  max-width: 8rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: normal;
}

.nav-shell nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.8vw, 2rem);
}

.nav-shell nav a {
  color: #e4ebef;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-shell nav a:hover,
.nav-shell nav a:focus-visible {
  color: var(--gold-light);
}

.nav-shell .nav-contact {
  padding: 0.52rem 0.9rem;
  border: 1px solid rgba(229, 207, 154, 0.45);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(201, 164, 91, 0.22), transparent 28%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(229, 207, 154, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 207, 154, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 86%);
}

.hero-umbrella {
  min-height: calc(100svh - var(--site-header-height));
  display: grid;
  align-items: center;
  padding: clamp(2.5rem, 6vh, 4.25rem) 0;
}

.prelaunch-active .hero-umbrella {
  min-height: calc(100svh - var(--site-header-height) - var(--prelaunch-notice-height));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: inherit;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1rem;
  color: var(--navy-deep);
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.65rem;
  color: var(--navy-deep);
  font-size: clamp(1.3rem, 1.65vw, 1.65rem);
}

p {
  margin-top: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 1.75rem;
  color: #dce6ed;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.6;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 0.38rem;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: 0.96rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.crest-panel {
  width: min(100%, 540px);
  position: relative;
  justify-self: end;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(229, 207, 154, 0.32);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.crest-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -2.2rem;
  bottom: -2.2rem;
  width: 7.5rem;
  height: 7.5rem;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.hero-logo-vertical {
  width: 100%;
  border-radius: 0.65rem;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.ventures-section {
  background: var(--ivory);
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.venture-card {
  min-height: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.venture-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 164, 91, 0.45);
  border-radius: 50%;
}

.venture-number {
  margin-bottom: auto;
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.venture-card h3 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.venture-card > p:not(.venture-number):not(.domain-label) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
}

.domain-label {
  margin: 0.4rem 0 1.15rem;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.text-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 1.4rem;
  color: var(--navy);
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32rem;
}

.text-link span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.approach-section {
  color: var(--white);
  background: var(--navy-deep);
}

.approach-section h2 {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.approach-copy {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(229, 207, 154, 0.42);
}

.approach-copy p {
  color: #cfdae1;
  font-size: 1.05rem;
}

.section:not(.approach-section) .approach-copy {
  border-top-color: var(--gold);
}

.section:not(.approach-section) .approach-copy p {
  color: var(--muted);
}

.contact-section {
  background: var(--paper);
}

.contact-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.contact-line h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.email-link,
.phone-link {
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 0.26rem;
}

.dark-button {
  color: var(--white);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.dark-button:hover {
  color: var(--navy-deep);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.inquiry-intro {
  position: sticky;
  top: 7rem;
}

.inquiry-intro > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--muted);
}

.inquiry-form {
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

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

.inquiry-field {
  display: grid;
  gap: 0.42rem;
  color: var(--navy-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.inquiry-field small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  border: 1px solid #bfc7cc;
  border-radius: 0.42rem;
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  background: var(--paper);
}

.inquiry-field input {
  min-height: 48px;
}

.inquiry-field textarea {
  min-height: 132px;
  resize: vertical;
}

.inquiry-field input:hover,
.inquiry-field textarea:hover {
  border-color: var(--gold-dark);
}

.inquiry-field input:focus-visible,
.inquiry-field textarea:focus-visible {
  border-color: var(--navy);
  outline: 3px solid rgba(201, 164, 91, 0.42);
  outline-offset: 1px;
  box-shadow: none;
}

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

.inquiry-submit,
.inquiry-purchase {
  margin-top: 1.2rem;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  padding: 2.7rem 0;
  border-top: 1px solid rgba(229, 207, 154, 0.18);
  color: #c8d3da;
  background: var(--navy-deep);
}

.footer-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-line p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.footer-line strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.footer-line span {
  color: #98a8b3;
}

/* Venture pages */
.page-hero {
  min-height: min(540px, calc(100svh - 70px));
  display: grid;
  align-items: center;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
}

.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.4rem, 4vw, 3.85rem);
}

.brand-logo-panel {
  width: min(100%, 440px);
  justify-self: end;
  padding: 1.1rem;
  border: 1px solid rgba(229, 207, 154, 0.3);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.brand-logo-panel img {
  width: 100%;
}

.content-grid,
.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.6rem;
}

.feature-card,
.step-card,
.fact-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--paper);
}

.feature-card p,
.step-card p,
.fact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.step-label {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.paper-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.navy-section {
  color: var(--white);
  background: var(--navy-deep);
}

.navy-section h2,
.navy-section h3 {
  color: var(--white);
}

.navy-section .section-intro,
.navy-section .feature-card p,
.navy-section .step-card p {
  color: #ced9e0;
}

.navy-section .feature-card,
.navy-section .step-card {
  border-color: rgba(229, 207, 154, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.integrity-list {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.integrity-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid rgba(229, 207, 154, 0.16);
  color: #d8e1e7;
}

.integrity-list li::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  transform: rotate(45deg);
  background: var(--gold);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.contact-panel h2 {
  margin-bottom: 0.8rem;
}

.contact-panel p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  text-align: center;
}

[hidden] {
  display: none !important;
}

/* Voice Agent client pages */
.client-flow-page {
  background: #eef1f2;
}

.narrow-shell {
  width: min(920px, calc(100% - 48px));
}

.client-flow-hero {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 164, 91, 0.2), transparent 30%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.client-flow-hero h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
}

.client-flow-hero .hero-copy {
  margin-bottom: 0;
}

.client-flow-section {
  background: #eef1f2;
}

.client-form {
  display: grid;
  gap: 1.5rem;
}

.form-section,
.readiness-panel,
.response-actions {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border: 1px solid #cfd6da;
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.form-section legend {
  padding: 0 0.65rem;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.form-section legend > span {
  margin-right: 0.45rem;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  vertical-align: middle;
}

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

.field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  color: var(--navy-deep);
  font-size: 0.94rem;
  font-weight: 750;
}

.field > span strong,
.field-label strong {
  color: #8a2c22;
}

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

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #9eabb3;
  border-radius: 0.4rem;
  color: var(--ink);
  background: var(--white);
  font-weight: 500;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--navy-soft);
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--navy-deep);
}

.question-block {
  margin-top: 1.35rem;
}

.form-grid + .question-block,
.question-block + .form-grid {
  margin-top: 1.35rem;
}

.field-label {
  margin-bottom: 0.6rem;
  color: var(--navy-deep);
  font-size: 0.94rem;
  font-weight: 800;
}

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

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

.choice-grid label,
.review-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid #d7dde0;
  border-radius: 0.4rem;
  color: #33434e;
  background: #fafbfc;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
}

.choice-grid label:has(input:checked),
.review-check:has(input:checked) {
  border-color: var(--gold-dark);
  background: #fffaf0;
}

.choice-grid input,
.review-check input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  accent-color: var(--navy);
}

.review-check {
  margin-top: 1.35rem;
}

.readiness-panel h2,
.response-actions h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.readiness-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.form-actions > .form-status {
  margin-right: auto;
}

.form-status {
  min-height: 1.6rem;
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
}

.response-actions {
  display: grid;
  gap: 1.3rem;
}

.response-actions p {
  color: var(--muted);
}

.response-actions a {
  color: var(--navy);
  font-weight: 800;
}

.button-row {
  justify-content: flex-start;
}

.secondary-light {
  color: var(--navy-deep);
  background: transparent;
  border-color: #8c9aa3;
}

.secondary-light:hover {
  background: var(--white);
  border-color: var(--navy-deep);
}

.text-button {
  min-height: 48px;
  padding: 0.65rem 0.2rem;
  border: 0;
  color: #77352d;
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.client-flow-page .site-footer a {
  color: inherit;
  text-underline-offset: 0.24rem;
}

/* Restored private Voice Agent enrollment and questionnaire */
.legacy-client-flow {
  background: #eef1f3;
}

.legacy-client-flow .container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.legacy-client-flow .enrollment-header {
  position: static;
}

.legacy-client-flow .nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legacy-client-flow .brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
}

.legacy-client-flow .brand span {
  color: var(--gold-light);
}

.legacy-client-flow .private-page-label {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legacy-client-flow .enrollment-container {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.legacy-client-flow .enrollment-hero {
  padding: 52px 0 48px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.legacy-client-flow .enrollment-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
}

.legacy-client-flow .enrollment-hero .hero-copy {
  max-width: 780px;
  margin-bottom: 0;
  color: #dce6ed;
  font-size: 1.08rem;
}

.legacy-client-flow .enrollment-form {
  padding: 38px 0 72px;
}

.legacy-client-flow .enrollment-stack {
  display: grid;
  gap: 24px;
}

.legacy-client-flow .enrollment-card {
  padding: 30px;
  border: 1px solid #cfd6da;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(4, 24, 39, 0.08);
}

.legacy-client-flow .enrollment-card h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
}

.legacy-client-flow .enrollment-card h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
}

.legacy-client-flow .step-label {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legacy-client-flow .section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.legacy-client-flow .required-note {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

.legacy-client-flow .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.legacy-client-flow .enrollment-grid {
  margin-top: 20px;
}

.legacy-client-flow .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

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

.legacy-client-flow .field label {
  color: var(--navy);
  font-weight: 700;
}

.legacy-client-flow input,
.legacy-client-flow textarea,
.legacy-client-flow select {
  width: 100%;
  min-height: auto;
  padding: 12px 13px;
  border: 1px solid #bfc7cc;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.legacy-client-flow textarea {
  min-height: 0;
  resize: vertical;
}

.legacy-client-flow input:focus,
.legacy-client-flow textarea:focus,
.legacy-client-flow select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(201, 164, 91, 0.25);
  box-shadow: none;
}

.legacy-client-flow .fee-banner {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: #fbf7ec;
}

.legacy-client-flow .fee-banner p {
  margin: 0;
  color: #4e5961;
}

.legacy-client-flow .fee-amount {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
}

.legacy-client-flow .fee-frequency {
  color: var(--muted);
  font-size: 0.9rem;
}

.legacy-client-flow .acknowledgment-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid #d7dde0;
  border-radius: 7px;
  color: var(--ink);
  background: #f8fafb;
  font-weight: 600;
}

.legacy-client-flow .acknowledgment-row input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
}

.legacy-client-flow .prominent-ack {
  border-color: var(--gold);
  background: #fbf7ec;
}

.legacy-client-flow .section-intro {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.legacy-client-flow .plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.legacy-client-flow .plan-option {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 2px solid #cfd6da;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: 0.18s ease;
}

.legacy-client-flow .plan-option:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.legacy-client-flow .plan-option.selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(8, 36, 61, 0.09);
}

.legacy-client-flow .plan-option input {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
}

.legacy-client-flow .plan-name {
  padding-right: 28px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.legacy-client-flow .plan-price {
  margin-top: 18px;
  color: var(--navy-deep);
  font-size: 2rem;
  font-weight: 850;
}

.legacy-client-flow .plan-price small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.legacy-client-flow .plan-detail {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.legacy-client-flow .overage-panel {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 4px solid var(--gold);
  background: #f4f6f7;
}

.legacy-client-flow .terms-card {
  padding-bottom: 18px;
}

.legacy-client-flow .terms-body {
  max-height: 680px;
  overflow-y: auto;
  padding: 6px 22px 20px 2px;
  border-top: 1px solid #e0e4e6;
}

.legacy-client-flow .terms-body p,
.legacy-client-flow .terms-body li {
  color: #394852;
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 1.55;
}

.legacy-client-flow .terms-body h3 {
  font-family: var(--serif);
}

.legacy-client-flow .acceptance-summary {
  color: #394852;
}

.legacy-client-flow .signature-grid {
  margin-top: 20px;
}

.legacy-client-flow .enrollment-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 24px;
  font-size: 1.02rem;
}

.legacy-client-flow .submission-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.legacy-client-flow .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
}

.legacy-client-flow .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legacy-client-flow .footer-links a {
  color: var(--gold-light);
}

.legacy-client-flow .small {
  color: #aebbc4;
  font-size: 0.88rem;
}

.legacy-client-flow.onboarding-page select {
  width: 100%;
}

.legacy-client-flow .onboarding-hero {
  padding-bottom: 54px;
}

.legacy-client-flow .onboarding-progress-wrap {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid #cfd6da;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 14px rgba(4, 24, 39, 0.05);
}

.legacy-client-flow .onboarding-progress-inner {
  padding: 14px 0;
}

.legacy-client-flow .progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.9rem;
}

.legacy-client-flow .progress-copy span {
  color: var(--muted);
}

.legacy-client-flow .progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe5e8;
}

.legacy-client-flow .progress-track span {
  display: block;
  width: 14.2857%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.25s ease;
}

.legacy-client-flow .onboarding-form {
  padding-top: 32px;
}

.legacy-client-flow .onboarding-shell {
  display: grid;
  gap: 20px;
}

.legacy-client-flow .onboarding-step {
  margin: 0;
  padding: 32px;
  border: 1px solid #cfd6da;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(4, 24, 39, 0.08);
}

.legacy-client-flow .onboarding-step[hidden] {
  display: none;
}

.legacy-client-flow .onboarding-step legend {
  padding: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
}

.legacy-client-flow .step-intro {
  max-width: 760px;
  margin: 6px 0 22px;
  color: var(--muted);
}

.legacy-client-flow .choice-panel {
  margin: 12px 0 24px;
  padding: 20px;
  border: 1px solid #d7dde0;
  border-radius: 8px;
  background: #f8fafb;
}

.legacy-client-flow .choice-label {
  margin: 0 0 13px;
  color: var(--navy);
  font-weight: 800;
}

.legacy-client-flow .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.legacy-client-flow .checkbox-grid label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--ink);
  font-weight: 550;
}

.legacy-client-flow .checkbox-grid input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.legacy-client-flow .authorization-panel {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #dfe4e7;
}

.legacy-client-flow .onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 0 0;
}

.legacy-client-flow .onboarding-secondary {
  color: var(--navy);
  background: transparent;
  border-color: #9fabb2;
}

.legacy-client-flow .onboarding-secondary:hover,
.legacy-client-flow .onboarding-secondary:focus {
  background: #fff;
}

.legacy-client-flow .danger-link {
  color: #7c2e2e;
  border-color: #c9a5a5;
}

.legacy-client-flow .onboarding-submit {
  min-width: 270px;
}

.legacy-client-flow .draft-notice {
  padding: 13px 16px;
  border: 1px solid #b9c8d0;
  border-radius: 7px;
  color: var(--navy);
  background: #f7fafb;
  font-weight: 700;
}

.legacy-client-flow .draft-notice.success {
  border-color: #9bc8b6;
  color: var(--success);
  background: #eff8f4;
}

.legacy-client-flow .draft-notice.error {
  border-color: #d7a6a6;
  color: #842f2f;
  background: #fff2f2;
}

.legacy-client-flow input[readonly] {
  color: #5a6870;
  background: #f2f5f6;
}

.legacy-client-flow .optional-label {
  color: #66757e;
  font-size: 0.82em;
  font-weight: 500;
}

.legacy-client-flow .question-card {
  padding: 22px;
  border: 1px solid #d7dde0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(8, 36, 61, 0.055);
}

.legacy-client-flow .question-card + .question-card {
  margin-top: 16px;
}

.legacy-client-flow .question-card h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.17rem;
  line-height: 1.35;
}

.legacy-client-flow .radio-stack {
  display: grid;
  gap: 9px;
}

.legacy-client-flow .radio-stack label,
.legacy-client-flow .simple-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid #e1e6e9;
  border-radius: 7px;
  color: var(--ink);
  background: #fafbfc;
  font-weight: 550;
}

.legacy-client-flow .radio-stack input,
.legacy-client-flow .simple-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.legacy-client-flow .question-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e4e8ea;
}

.legacy-client-flow .question-note summary {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.legacy-client-flow .question-note textarea {
  margin-top: 10px;
}

.legacy-client-flow .field-help {
  margin: 7px 0 0;
  color: #62727b;
  font-size: 0.86rem;
}

.legacy-client-flow .compact-grid {
  margin-top: 4px;
}

.legacy-client-flow .spaced-field {
  margin-top: 16px;
}

.legacy-client-flow.simplified-onboarding .onboarding-actions {
  position: sticky;
  z-index: 20;
  bottom: 0;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #d7dde0;
  border-radius: 10px;
  background: rgba(247, 249, 250, 0.97);
  box-shadow: 0 -5px 24px rgba(8, 36, 61, 0.1);
  backdrop-filter: blur(6px);
}

.legacy-client-flow.simplified-onboarding .checkbox-grid label {
  padding: 8px 10px;
  border: 1px solid #e2e6e9;
  border-radius: 7px;
  background: #fafbfc;
}

.legacy-client-flow.simplified-onboarding .checkbox-grid label:has(input:checked),
.legacy-client-flow .radio-stack label:has(input:checked),
.legacy-client-flow .simple-check:has(input:checked) {
  border-color: var(--gold);
  background: #fffaf0;
}

.legacy-client-flow .onboarding-actions .button[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .legacy-client-flow .plan-grid,
  .legacy-client-flow .fee-banner,
  .legacy-client-flow .form-grid,
  .legacy-client-flow .footer-grid {
    grid-template-columns: 1fr;
  }

  .legacy-client-flow .enrollment-card,
  .legacy-client-flow .onboarding-step {
    padding: 22px;
  }

  .legacy-client-flow .field.full {
    grid-column: auto;
  }

  .legacy-client-flow .section-heading-row {
    display: block;
  }

  .legacy-client-flow .required-note {
    display: block;
    margin-bottom: 10px;
    text-align: left;
  }

  .legacy-client-flow .private-page-label {
    display: none;
  }

  .legacy-client-flow .terms-body {
    max-height: 560px;
    padding-right: 12px;
  }

  .legacy-client-flow .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .legacy-client-flow .progress-copy {
    display: block;
  }

  .legacy-client-flow .progress-copy span {
    display: block;
    margin-top: 2px;
  }

  .legacy-client-flow .footer-links {
    justify-content: flex-start;
  }

  .legacy-client-flow.simplified-onboarding .onboarding-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-radius: 9px 9px 0 0;
  }

  .legacy-client-flow.simplified-onboarding .onboarding-actions .button {
    width: auto;
    min-width: 0;
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 10px;
    font-size: 0.78rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .legacy-client-flow.simplified-onboarding #next-step,
  .legacy-client-flow.simplified-onboarding #submit-onboarding {
    min-width: 96px;
    flex: 1 1 110px;
  }

  .legacy-client-flow.simplified-onboarding #clear-draft {
    order: 10;
    min-height: 24px;
    flex: 0 0 100%;
    justify-content: flex-start;
    padding: 0 2px;
    border: 0;
    background: transparent;
    font-size: 0.7rem;
    text-decoration: underline;
  }

  .legacy-client-flow.simplified-onboarding .onboarding-submit {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .legacy-client-flow .container {
    width: min(100% - 26px, 1120px);
  }

  .legacy-client-flow .enrollment-hero {
    padding: 46px 0 52px;
  }

  .legacy-client-flow .enrollment-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
  }

  .legacy-client-flow .question-card {
    padding: 17px;
  }

  .legacy-client-flow .question-card h2 {
    font-size: 1.07rem;
  }
}

/* Construction page */
.holding-body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 164, 91, 0.2), transparent 30%),
    linear-gradient(145deg, #03131f, var(--navy));
}

.holding-card {
  width: min(100%, 680px);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(229, 207, 154, 0.32);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  text-align: center;
}

.holding-mark {
  width: clamp(100px, 15vw, 140px);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}

.holding-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.holding-card p {
  margin-bottom: 0.55rem;
  color: #dbe5eb;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

.holding-card a {
  color: var(--gold-light);
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

/* Not found */
.not-found {
  min-height: 65svh;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.not-found h1 {
  color: var(--navy-deep);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.not-found p {
  color: var(--muted);
}

/* Inquiry confirmation */
.confirmation-page {
  min-height: calc(100svh - var(--site-header-height));
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  background:
    radial-gradient(circle at 50% 12%, rgba(201, 164, 91, 0.14), transparent 31%),
    var(--ivory);
}

.prelaunch-active .confirmation-page {
  min-height: calc(100svh - var(--site-header-height) - var(--prelaunch-notice-height));
}

.confirmation-card {
  width: min(100%, 690px);
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.confirmation-card h1 {
  color: var(--navy-deep);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.confirmation-card p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  main [id] {
    scroll-margin-top: 10rem;
  }

  .nav-shell {
    align-items: center;
    flex-wrap: wrap;
    padding-block: 0.8rem;
  }

  .nav-shell nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
    white-space: nowrap;
  }

  .page-hero-grid,
  .hero-grid,
  .split,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .inquiry-intro {
    position: static;
  }

  .hero-umbrella,
  .page-hero {
    min-height: auto;
  }

  .brand-logo-panel {
    justify-self: start;
    width: min(72vw, 440px);
  }

  .crest-panel {
    justify-self: start;
  }

  .contact-line {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 740px) {
  .shell {
    width: min(100% - 30px, 1160px);
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand-lockup {
    gap: 0.6rem;
  }

  .brand-lockup-horizontal {
    width: min(250px, 58vw);
  }

  .brand-lockup-divider {
    height: 38px;
    margin-inline: 0.08rem;
  }

  .brand-lockup-product {
    max-width: 6rem;
    font-size: 0.75rem;
    letter-spacing: 0.11em;
  }

  .nav-shell nav a {
    font-size: 0.82rem;
  }

  .nav-shell .nav-contact {
    padding: 0.42rem 0.65rem;
  }

  .hero-umbrella,
  .page-hero {
    padding: 3.25rem 0 3.75rem;
  }

  .hero-umbrella {
    min-height: auto;
  }

  .crest-panel {
    width: min(100%, 420px);
    justify-self: start;
  }

  .prelaunch-notice-inner {
    flex-wrap: wrap;
    column-gap: 0.55rem;
    row-gap: 0;
  }

  .venture-grid,
  .content-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .venture-card {
    min-height: 330px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-panel-actions {
    align-items: start;
    text-align: left;
  }

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

  .inquiry-full {
    grid-column: auto;
  }

  .footer-line {
    display: grid;
    align-items: start;
  }

  .narrow-shell {
    width: min(100% - 30px, 920px);
  }

  .form-grid,
  .choice-grid,
  .compact-choices {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .form-actions,
  .button-row {
    display: grid;
    justify-content: stretch;
  }

  .form-actions .button,
  .form-actions .text-button {
    width: 100%;
  }
}

@media (max-width: 470px) {
  h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .brand-lockup-horizontal {
    width: min(190px, 48vw);
  }

  .brand-lockup-divider {
    height: 32px;
  }

  .brand-lockup-product {
    max-width: 3.8rem;
    font-size: 0.75rem;
    line-height: 1.08;
  }

  .holding-body {
    padding: 1rem;
  }

  .holding-card {
    padding-inline: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  .skip-link {
    display: none !important;
  }

  body,
  .client-flow-page,
  .client-flow-section {
    color: #000;
    background: #fff;
  }

  .client-flow-hero {
    padding: 1rem 0 2rem;
    color: #000;
    background: #fff;
  }

  .client-flow-hero .hero-copy,
  .client-flow-hero .eyebrow {
    color: #222;
  }

  .client-flow-section {
    padding: 0;
  }

  .form-section,
  .readiness-panel {
    break-inside: avoid-page;
    padding: 1rem;
    border-color: #777;
    box-shadow: none;
  }

  .field input,
  .field textarea,
  .field select,
  .choice-grid label,
  .review-check {
    color: #000;
    border-color: #999;
    background: #fff;
  }
}
