:root {
  --ink: #102b46;
  --muted: #536477;
  --line: #dce3eb;
  --paper: #ffffff;
  --soft: #f1f5fa;
  --cream: #f8f5ee;
  --navy: #123858;
  --navy-dark: #0a2540;
  --gold: #bf913e;
  --gold-ink: #816023;
  --white: #ffffff;
  --danger: #9d3c32;
  --heading-xl: 2rem;
  --heading-lg: 1.5rem;
  --heading-md: 1.25rem;
  --heading-line: 1.3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

a.context-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.contact-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #b88d3c; border-radius: 8px; background: #fff; color: #17324f; overflow-y: auto; overscroll-behavior: contain; }
.contact-dialog::backdrop { background: rgb(8 27 48 / 65%); }
.contact-dialog-open { overflow: hidden; }
.contact-dialog-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; border-bottom: 1px solid #d6dde4; background: #fff; }
.contact-dialog-header h2 { font-size: 24px; line-height: 1.3; margin: 0; }
.contact-dialog-close { flex: 0 0 44px; width: 44px; height: 44px; border: 0; border-radius: 4px; background: #f0f3f6; color: #0c2d4c; font-size: 28px; cursor: pointer; }
.contact-dialog-close:hover { background: #e4eaf0; }
.contact-dialog-body { padding: 0 24px 24px; }
.contact-dialog :focus-visible { outline: 3px solid #a57526; outline-offset: 3px; }
.contact-dialog #contactHeading:focus { outline: none; }
.chapter-introduction { max-width: 850px; }
.chapter-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 32px 0; }
.chapter-paths > article { display: flex; flex-direction: column; min-width: 0; border-top: 3px solid #b88d3c; padding-top: 20px; }
.chapter-paths h3 { font-size: var(--heading-md); margin: 0 0 12px; }
.chapter-paths p { flex: 1; margin: 0 0 16px; }
.chapter-paths a { display: block; width: fit-content; padding: 10px 0; }
.chapter-evaluation { font-weight: 750; }
.chapter-followup { border-top: 1px solid #d6dde4; padding-top: 24px; }
@media (max-width: 640px) {
  .chapter-paths { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-dialog-header { padding: 8px 16px; }
  .contact-dialog-body { padding: 0 16px 20px; }
}

.quick-contact-form { min-width: 0; }
.quick-contact-form > label { display: grid; gap: 8px; }
.quick-contact-form textarea { width: 100%; resize: vertical; }
.quick-contact-form .field-grid { margin-bottom: 14px; }
.quick-contact-form input, .quick-contact-form select { min-width: 0; width: 100%; }

.readiness-strip {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(220px, 1fr);
  padding: 16px clamp(18px, 5vw, 72px);
}

.readiness-strip > div:first-child {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.readiness-strip span {
  color: var(--muted);
}

.brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  max-width: 100%;
  width: 340px;
}

.brand-emblem,
.brand-wordmark {
  display: block;
  overflow: hidden;
  position: relative;
}

.brand-emblem {
  aspect-ratio: 1;
  flex: 0 0 68px;
}

.brand-wordmark {
  aspect-ratio: 1095 / 230;
  flex: 1;
  min-width: 0;
}

/* Display the supplied artwork's emblem and lettering without its large outer margins. */
.brand img {
  display: block;
  height: auto;
  max-width: none;
  mix-blend-mode: multiply;
  position: absolute;
}

.brand-emblem img {
  left: -83.83%;
  top: -59.574%;
  width: 266.809%;
}

.brand-wordmark img {
  left: -7.306%;
  top: -324.348%;
  width: 114.521%;
}

.brand:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.brand small,
.package-card p,
.section-heading p,
.portal-sidebar p,
.panel-note,
.site-footer,
.checkout-card p {
  color: var(--muted);
}

.brand strong,
.brand small {
  display: block;
}

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

.header-cta,
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  background: var(--soft);
  border-color: var(--line);
  color: var(--navy-dark);
}

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

.button.ghost.dark {
  border-color: var(--line);
  color: var(--ink);
}

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

.hero .button.primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 1) 0%, rgba(10, 37, 64, 1) 46%, rgba(10, 37, 64, 0.86) 54%, rgba(10, 37, 64, 0.32) 66%, rgba(10, 37, 64, 0.04) 78%),
    url("./fresh-start-home-hero.png");
  background-color: var(--navy-dark);
  background-position: center, 92% center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  color: var(--white);
  min-height: 720px;
  padding: 72px clamp(18px, 5vw, 72px);
}

.seo-hero {
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.7)),
    url("./chapter-7-hero.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.seo-hero > div {
  max-width: 850px;
}

.seo-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
  line-height: 1.62;
  max-width: 700px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  color: var(--gold-ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: var(--heading-xl);
  line-height: var(--heading-line);
  margin-bottom: 18px;
  max-width: 760px;
}

h2 {
  font-size: var(--heading-lg);
  line-height: var(--heading-line);
  margin-bottom: 14px;
}

h3 {
  font-size: var(--heading-md);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: var(--heading-line);
}

.hero p {
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 650px;
}

.hero-actions,
.export-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 13px;
}

.readiness-meter {
  background: var(--line);
  border-radius: 999px;
  height: 12px;
  margin: 14px 0;
  overflow: hidden;
}

.readiness-meter span {
  background: var(--navy);
  display: block;
  height: 100%;
  width: 0%;
}

.notice-band {
  background: #fff4df;
  border-block: 1px solid #ead5ad;
  color: #68491d;
  line-height: 1.55;
  padding: 16px clamp(18px, 5vw, 72px);
}

.instant-band {
  align-items: center;
  background: var(--navy-dark);
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1.25fr);
  padding: 34px clamp(18px, 5vw, 72px);
}

.instant-band h2 {
  font-size: var(--heading-lg);
  margin-bottom: 0;
}

.fit-check-band {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.fit-check-band .eyebrow {
  color: var(--navy);
}

.fit-check-band .instant-grid span {
  background: var(--white);
  border-color: var(--line);
  color: var(--muted);
}

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

.instant-grid span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  padding: 16px;
}

.exemption-section {
  background: var(--soft);
}

.exemption-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 220px 220px minmax(300px, 1fr);
}

.exemption-stat,
.exemption-copy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.exemption-stat {
  display: grid;
  gap: 12px;
}

.exemption-stat span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.exemption-stat strong {
  color: var(--navy-dark);
  font-size: 1.75rem;
  line-height: 1.2;
}

.exemption-stat.highlight {
  background: var(--navy);
  border-color: var(--navy);
}

.exemption-stat.highlight span,
.exemption-stat.highlight strong {
  color: var(--white);
}

.debt-relief-section {
  align-items: center;
  background: var(--navy-dark);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.debt-relief-section p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.debt-relief-points {
  display: grid;
  gap: 12px;
}

.debt-relief-points span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
  padding: 18px;
}

.debt-relief-points strong {
  color: var(--white);
  display: block;
  font-size: 1.35rem;
}

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

.exemption-table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.exemption-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.exemption-table th,
.exemption-table td {
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
  padding: 15px;
  text-align: left;
  vertical-align: top;
}

.exemption-table th {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.exemption-table td {
  color: var(--muted);
}

.exemption-table td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.exemption-table tr:last-child td {
  border-bottom: 0;
}

.equity-tool-section {
  background: var(--soft);
}

.equity-calculator {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
}

.equity-form,
.equity-result {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

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

.valuation-links {
  background: #fffaf0;
  border: 1px solid #ead5ad;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 18px;
}

.valuation-links p {
  color: #68491d;
  line-height: 1.55;
  margin-bottom: 0;
}

.equity-form button {
  align-self: end;
}

.equity-result {
  border-left: 4px solid var(--gold);
  color: var(--muted);
  line-height: 1.65;
}

.equity-result.good {
  border-left-color: var(--navy);
  color: var(--navy-dark);
}

.equity-result.caution {
  border-left-color: var(--gold);
  color: #68491d;
}

.equity-result.review {
  border-left-color: var(--danger);
  color: var(--danger);
}

.equity-result small {
  color: var(--muted);
  display: block;
  margin-top: 10px;
}

.seo-content {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.seo-content article p {
  color: var(--muted);
  line-height: 1.7;
}

.seo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.seo-card li {
  margin-bottom: 10px;
}

.chapter7-guide {
  background: var(--paper);
}

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

.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.guide-card ul {
  color: var(--muted);
  line-height: 1.55;
  padding-left: 20px;
}

.guide-card li {
  margin-bottom: 9px;
}

.section-cta {
  margin-top: 22px;
}

.comparison-grid {
  display: grid;
  gap: 14px;
}

.comparison-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.comparison-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.comparison-grid ul {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  padding-left: 20px;
}

.comparison-grid li {
  margin-bottom: 8px;
}

.article-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: 270px minmax(0, 1fr);
}

.article-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 20px;
  position: sticky;
  top: 96px;
}

.article-toc h3 {
  margin-bottom: 6px;
}

.article-toc a {
  color: var(--muted);
  font-weight: 750;
}

.article-body {
  display: grid;
  gap: 44px;
}

.article-body > section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 36px);
}

.article-body p {
  color: var(--muted);
  line-height: 1.75;
}

.article-means {
  margin: 18px 0;
}

.compact-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.article-process {
  margin-top: 16px;
}

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

.software-grid article {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.software-grid p {
  margin-bottom: 0;
}

.credit-section {
  align-items: stretch;
  background: var(--navy-dark);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.credit-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.credit-timeline {
  display: grid;
  gap: 12px;
}

.credit-timeline div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
}

.credit-timeline span {
  color: var(--gold);
  display: block;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.credit-timeline strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.credit-timeline p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin-bottom: 0;
}

.myths-section {
  background: var(--soft);
}

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

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

.education-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.education-card span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.education-card p {
  color: var(--muted);
  line-height: 1.58;
}

.education-card.highlight {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.education-card.highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 0;
}

.prequal-section {
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.prequal-card {
  align-items: stretch;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
}

.prequal-copy,
.prequal-preview {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.prequal-preview {
  background: var(--navy-dark);
  color: var(--white);
  display: grid;
  gap: 12px;
}

.prequal-preview span {
  color: rgba(255, 255, 255, 0.78);
}

.section,
.portal-shell {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

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

.single-package {
  grid-template-columns: minmax(0, 760px);
}

.package-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
  padding: 26px;
}

.package-card.selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 56, 88, 0.15);
}

.package-kicker {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price {
  color: var(--ink) !important;
  font-size: 2rem;
  font-weight: 850;
  margin-bottom: 12px;
}

.price span {
  color: var(--muted);
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
}

.package-card ul,
.process-list {
  padding-left: 20px;
}

.package-card li,
.process-list li {
  margin-bottom: 10px;
}

.split {
  align-items: start;
  background: var(--soft);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.process-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 26px 26px 26px 48px;
}

.portal-shell {
  display: grid;
  gap: 24px;
  grid-template-columns: 310px minmax(0, 1fr);
}

.portal-shell > *, .portal-form > *, .field-grid > * {
  min-width: 0;
}

.portal-sidebar {
  align-self: start;
  position: sticky;
  top: 94px;
}

.step-tabs {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.step-tab {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
  padding: 13px 14px;
  text-align: left;
}

.step-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.portal-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

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

label,
.upload-tile {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 750;
  gap: 8px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.handoff-note {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 18px;
  padding: 16px;
}

.handoff-note strong {
  color: var(--ink);
}

.wide-label {
  margin-top: 16px;
}

.dynamic-list {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.dynamic-row {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  padding: 14px;
}

.dynamic-row button {
  align-self: end;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--danger);
  cursor: pointer;
  min-height: 44px;
  padding: 0 12px;
}

.upload-tile {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.upload-tile small {
  color: var(--muted);
  min-height: 18px;
}

.education-checklist {
  background: #fffaf0;
  border: 1px solid #ead5ad;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
}

.education-checklist h4 {
  margin-bottom: 2px;
}

.education-checklist label {
  align-items: start;
  display: flex;
  gap: 10px;
}

.education-checklist input {
  margin-top: 3px;
  min-height: auto;
  width: auto;
}

.education-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.education-links a {
  color: var(--navy-dark);
  font-weight: 850;
  text-decoration: underline;
}

.checkout-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  max-width: 620px;
  padding: 22px;
}

.payment-status {
  border-left: 4px solid var(--danger);
  margin: 0;
  padding-left: 12px;
}

.payment-status.paid {
  border-color: var(--navy);
  color: var(--navy-dark);
}

.prequal-submit {
  margin-top: 18px;
}

.means-reference {
  background: #fffaf0;
  border: 1px solid #ead5ad;
  border-radius: 8px;
  margin-top: 18px;
  padding: 18px;
}

.means-reference h4 {
  margin-bottom: 14px;
}

.means-table {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.means-table span {
  background: var(--white);
  border: 1px solid #ead5ad;
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.45;
  padding: 12px;
}

.means-table strong,
.means-table small {
  display: block;
}

.means-table strong {
  color: var(--navy-dark);
}

.means-reference p {
  color: #68491d;
  line-height: 1.55;
  margin: 14px 0 0;
}

.prequal-result {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 18px;
  padding: 16px;
}

.prequal-result.good {
  border-left-color: var(--gold);
  color: var(--navy-dark);
}

.prequal-result.good strong {
  display: inline-block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.prequal-result.caution {
  border-left-color: var(--gold);
  color: #68491d;
}

.prequal-result.review {
  border-left-color: var(--danger);
  color: var(--danger);
}

.form-actions {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
}

.export-section {
  align-items: center;
  background: var(--navy-dark);
  color: var(--white);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.export-section p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 72px);
}

@media (max-width: 1350px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(10, 37, 64, 1) 0%, rgba(10, 37, 64, 1) 50%, rgba(10, 37, 64, 0.86) 60%, rgba(10, 37, 64, 0.28) 74%, rgba(10, 37, 64, 0.04) 88%),
      url("./fresh-start-hero-tablet.png");
    background-position: center, center;
    background-size: cover, cover;
  }
}

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(10, 37, 64, 1) 0%, rgba(10, 37, 64, 0.98) 58%, rgba(10, 37, 64, 0.46) 82%, rgba(10, 37, 64, 0.08) 100%),
      url("./fresh-start-hero-tablet.png");
    background-position: center, 62% center;
    background-size: cover, cover;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .readiness-strip {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .package-grid,
  .prequal-card,
  .instant-band,
  .exemption-grid,
  .seo-content,
  .guide-grid,
  .credit-section,
  .education-grid,
  .debt-relief-section,
  .article-layout,
  .compact-guide,
  .software-grid,
  .equity-calculator,
  .split,
  .portal-shell,
  .export-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-sidebar {
    position: static;
  }

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

@media (min-width: 641px) and (max-width: 1150px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    justify-content: center;
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --heading-xl: 1.75rem;
    --heading-lg: 1.375rem;
  }
  .field-grid,
  .upload-grid,
  .instant-grid,
  .means-table,
  .equity-form,
  .dynamic-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 12px;
    padding: 14px 16px;
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand-emblem {
    flex-basis: 58px;
  }

  .brand small {
    font-size: 0.82rem;
  }

  .nav-links {
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    white-space: nowrap;
    width: 100%;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero {
    background: var(--navy-dark);
    min-height: auto;
    overflow: hidden;
    padding: 38px 18px 0;
  }

  .hero::after {
    aspect-ratio: 4 / 3;
    background:
      linear-gradient(180deg, rgba(10, 37, 64, 0) 0%, rgba(10, 37, 64, 0.12) 100%),
      url("./fresh-start-hero-mobile.png");
    background-position: center, 50% 60%;
    background-size: cover, cover;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    content: "";
    display: block;
    margin: 28px -18px 0;
  }

  .hero-content {
    max-width: none;
  }

  .hero h1 {
    font-size: var(--heading-xl);
    margin-bottom: 16px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.55;
    max-width: none;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    gap: 8px;
    margin-top: 20px;
  }

  .trust-row span {
    font-size: 0.88rem;
    padding: 8px 10px;
  }

  .header-cta {
    display: none;
  }

  .readiness-strip {
    padding: 18px;
  }

  .readiness-strip > div:first-child {
    display: block;
  }

  .article-toc {
    position: static;
  }
}
