:root {
  --ink: #14201c;
  --muted: #5d6c66;
  --paper: #f7f6f1;
  --panel: #ffffff;
  --line: #d9e0da;
  --maple: #c83332;
  --maple-dark: #9f292c;
  --pine: #13261f;
  --pine-soft: #234539;
  --teal: #176b7a;
  --gold: #d8a23a;
  --sky: #e7f1f3;
  --shadow: 0 24px 70px rgba(17, 32, 27, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfaf5, #eff4ef);
}

.auth-checking body {
  visibility: hidden;
}

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

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

.page {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 224, 218, 0.72);
}

.nav-inner,
.section,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 760;
  border: 1px solid var(--line);
}

.button.primary {
  color: #fff;
  background: var(--maple);
  border-color: var(--maple);
  box-shadow: 0 14px 30px rgba(200, 51, 50, 0.2);
}

.button.dark {
  color: #fff;
  background: var(--pine);
  border-color: var(--pine);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(200, 51, 50, 0.1);
  color: var(--maple-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero {
  padding: 72px 0;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.section-pad {
  padding: 82px 0;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-title.statement h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.section-title.statement p {
  font-size: 18px;
}

.section-title.statement .ai-statement {
  color: var(--ink);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  min-height: 190px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  background: #0e1d18;
  color: rgba(255, 255, 255, 0.74);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer .brand {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
}

.hero-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.dashboard {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.dash-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.dash-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(23, 107, 122, 0.12);
  box-shadow: inset 0 0 0 8px rgba(23, 107, 122, 0.18);
}

.dash-row strong,
.dash-row span {
  display: block;
}

.dash-row span {
  color: var(--muted);
  font-size: 13px;
}

.trust-page {
  background:
    linear-gradient(90deg, rgba(19, 38, 31, 0.91), rgba(19, 38, 31, 0.56)),
    url("assets/hero-platform.png") center / cover fixed;
}

.trust-page .nav {
  background: rgba(14, 29, 24, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.trust-page .brand,
.trust-page .nav-links {
  color: #fff;
}

.trust-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  color: #fff;
}

.trust-hero .content {
  max-width: 820px;
}

.trust-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.trust-panel {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
}

.trust-item span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.pathway-hero {
  padding: 58px 0 72px;
}

.pathway-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.pathway-intro {
  position: sticky;
  top: 110px;
}

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

.pathway-card {
  min-height: 178px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 34px rgba(17, 32, 27, 0.07);
}

.pathway-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.16;
}

.pathway-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pathway-card span {
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
}

.ai-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ai-proof-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(17, 32, 27, 0.06);
}

.ai-proof-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(200, 51, 50, 0.1);
  color: var(--maple-dark);
  font-size: 12px;
  font-weight: 900;
}

.ai-proof-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.ai-proof-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.module-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.module-side {
  background: var(--pine);
  color: #fff;
  padding: 30px;
}

.module-side .brand {
  margin-bottom: 34px;
}

.module-side p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.step-list li.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.step-list span:first-child {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.module-main {
  padding: 42px;
}

.module-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.module-header h1 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.module-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.profile-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 16px 38px rgba(17, 32, 27, 0.08);
}

.profile-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.profile-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  margin-bottom: 16px;
}

.profile-editor-header h2 {
  margin-bottom: 5px;
}

.profile-editor-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.account-profile-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.account-profile-form fieldset:disabled input,
.account-profile-form fieldset:disabled select {
  color: var(--ink);
  background: #f2f5f3;
  opacity: 1;
}

.account-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.account-panel.hidden {
  display: none;
}

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

.field-block {
  display: grid;
  gap: 7px;
  align-content: start;
}

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

.field-block label {
  font-size: 13px;
  font-weight: 760;
  color: var(--ink);
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.field-help.success {
  color: var(--teal);
  font-weight: 800;
}

.field-help.error {
  color: var(--maple-dark);
  font-weight: 800;
}

.field-block input,
.field-block select,
.field-block textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfb;
}

.field-block textarea {
  min-height: 106px;
  padding: 12px;
  resize: vertical;
}

.password-control {
  position: relative;
}

.password-control input {
  padding-right: 72px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 52px;
  min-height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(23, 107, 122, 0.09);
}

.auth-message,
.verification-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #f6faf8;
  color: var(--ink);
  line-height: 1.5;
}

.auth-message.error {
  border-color: rgba(200, 51, 50, 0.45);
  background: rgba(200, 51, 50, 0.07);
  color: var(--maple-dark);
}

.auth-message.success {
  border-color: rgba(40, 79, 61, 0.35);
  background: rgba(40, 79, 61, 0.08);
  color: var(--pine-soft);
}

.verification-panel h2 {
  margin: 14px 0 8px;
}

.verification-panel p {
  margin: 0;
  color: var(--muted);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.65;
}

.auth-page {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: start center;
  padding-top: 70px;
}

.auth-card {
  width: min(760px, 100%);
}

.auth-card h1 {
  margin: 14px 0 10px;
  font-size: 36px;
}

.auth-intro {
  margin: 0 0 24px;
  color: var(--muted);
}

.upload-box {
  min-height: 170px;
  border: 1px dashed #b8c5bd;
  border-radius: 10px;
  background: #fbfcfb;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
}

.upload-box strong,
.upload-box span {
  display: block;
}

.upload-box strong {
  margin-bottom: 7px;
}

.upload-box span {
  color: var(--muted);
  line-height: 1.45;
}

.consent-row {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  line-height: 1.55;
}

.consent-row input {
  flex: 0 0 auto;
  height: 20px;
  margin-top: 2px;
  width: 20px;
}

.verification-status {
  display: grid;
  gap: 12px;
  padding: 20px 22px 22px;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(216, 162, 58, 0.16);
  color: #765414;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.ready {
  background: rgba(40, 79, 61, 0.12);
  color: var(--pine-soft);
}

.pathway-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.pathway-result {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  color: var(--ink);
  text-align: left;
  padding: 16px;
  font: inherit;
  cursor: pointer;
}

.pathway-result.active {
  border-color: var(--maple);
  background: rgba(200, 51, 50, 0.08);
}

.pathway-result strong,
.pathway-result span {
  display: block;
}

.pathway-result strong {
  font-size: 17px;
}

.pathway-result span {
  color: var(--muted);
  line-height: 1.45;
}

.empty-state {
  border: 1px dashed #b8c5bd;
  border-radius: 10px;
  padding: 18px;
  color: var(--muted);
  background: #fbfcfb;
  line-height: 1.5;
}

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

.choice-button {
  min-width: 96px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.choice-button.active {
  border-color: var(--maple);
  background: rgba(200, 51, 50, 0.08);
  color: var(--maple-dark);
}

.conditional-field {
  display: none;
}

.conditional-field.visible {
  display: grid;
}

.program-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.program-choice {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  text-align: left;
  padding: 12px;
  cursor: pointer;
}

.program-choice.active {
  border-color: var(--maple);
  background: rgba(200, 51, 50, 0.08);
  color: var(--maple-dark);
}

.module-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.account-preview {
  position: sticky;
  top: 100px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 32, 27, 0.08);
}

.account-preview-top {
  padding: 22px;
  background: linear-gradient(135deg, rgba(200, 51, 50, 0.1), rgba(23, 107, 122, 0.1));
  border-bottom: 1px solid var(--line);
}

.account-preview-top h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.account-preview-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.preview-list {
  display: grid;
  gap: 12px;
  padding: 20px 22px 22px;
}

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

.preview-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preview-item strong {
  font-size: 15px;
  line-height: 1.3;
}

.payment-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

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

.payment-plan {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  color: var(--ink);
  padding: 16px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  display: grid;
  align-content: start;
  gap: 9px;
}

.payment-plan.single-service {
  cursor: default;
  border-color: rgba(200, 51, 50, 0.36);
  background: rgba(200, 51, 50, 0.08);
}

.locked-selection {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  padding: 14px 16px;
}

.locked-selection strong,
.locked-selection span {
  display: block;
}

.locked-selection span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.agreement-box {
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  padding: 18px;
}

.agreement-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.agreement-box p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.agreement-box dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.agreement-box dt {
  font-weight: 850;
  margin-bottom: 4px;
}

.agreement-box dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.agreement-box .agreement-note {
  margin: 14px 0 0;
  color: var(--maple-dark);
  font-weight: 800;
}

.paypal-checkout-box {
  border: 1px solid rgba(23, 107, 122, 0.26);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #edf7f9);
  padding: 20px;
}

.paypal-mark {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: #003087;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.paypal-checkout-box h3 {
  margin: 16px 0 9px;
  font-size: 20px;
  line-height: 1.2;
}

.paypal-checkout-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.paypal-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.paypal-methods span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.paypal-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ffc439;
  color: #111820;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.paypal-note {
  margin-top: 12px !important;
  font-size: 12px;
}

.payment-plan.active {
  border-color: var(--maple);
  background: rgba(200, 51, 50, 0.08);
}

.payment-plan strong,
.payment-plan span,
.payment-plan em {
  display: block;
}

.payment-plan strong {
  font-size: 17px;
  line-height: 1.25;
}

.payment-plan span {
  color: var(--muted);
  line-height: 1.45;
}

.payment-plan em {
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkbox-line.full {
  grid-column: 1 / -1;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--maple);
}

.payment-message {
  margin: 12px 0 0;
}

.family-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.family-table-wrap {
  margin-top: 22px;
}

.family-table-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.family-table-top h3 {
  margin: 0;
  font-size: 20px;
}

.family-table {
  display: grid;
  gap: 12px;
}

.family-member-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
}

.family-member-row .pathway-cell {
  grid-column: 1 / -1;
}

.family-member-row .locked-selection {
  grid-column: 1 / -1;
}

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

.locked-selection.compact {
  padding: 12px 14px;
}

.child-table {
  margin-top: 12px;
}

.remove-row {
  min-height: 42px;
  border: 1px solid rgba(200, 51, 50, 0.36);
  border-radius: 8px;
  background: rgba(200, 51, 50, 0.08);
  color: var(--maple-dark);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.visitor-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.hidden {
  display: none !important;
}

.questionnaire-form {
  display: grid;
  gap: 18px;
}

.question-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfb;
  padding: 18px;
}

.question-section-title {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.question-section-title span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 51, 50, 0.1);
  color: var(--maple-dark);
  font-size: 12px;
  font-weight: 900;
}

.question-section-title h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.asset-subsection {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.asset-subsection + .asset-subsection {
  margin-top: 16px;
}

.asset-subsection h4 {
  margin: 0;
  font-size: 17px;
}

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

.purpose-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.purpose-panel h4 {
  margin: 0;
  font-size: 17px;
}

.purpose-other-reasons {
  margin-top: 16px;
}

.generated-layout {
  margin-top: 22px;
}

.generated-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.45;
}

.generated-list li::marker {
  color: var(--maple);
  font-weight: 900;
}

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .tech-hero,
  .section-title,
  .pathway-layout {
    grid-template-columns: 1fr;
  }

  .pathway-intro {
    position: static;
  }

  .card-grid,
  .ai-proof-grid,
  .trust-panel,
  .module-shell,
  .profile-layout,
  .payment-layout,
  .family-layout,
  .visitor-layout {
    grid-template-columns: 1fr;
  }

  .module-side {
    padding: 24px;
  }

  .account-preview {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-inner,
  .section,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .button-row,
  .pathway-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-visual img {
    height: 280px;
  }

  .dash-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .module-main {
    padding: 28px 14px;
  }

  .module-side {
    padding: 12px 14px;
  }

  .module-side .brand,
  .module-side > p,
  .step-list li {
    display: none;
  }

  .step-list li.active {
    display: grid;
    padding: 8px 10px;
  }

  .form-grid,
  .program-choice-grid,
  .payment-plan-grid {
    grid-template-columns: 1fr;
  }

  .family-member-row {
    grid-template-columns: 1fr;
  }

  .work-period-row {
    grid-template-columns: 1fr;
  }
}
