:root {
  color-scheme: light;
  --ink: #10202f;
  --ink-soft: #46596b;
  --muted: #6e7f90;
  --line: #dce6ee;
  --bg: #f4f7fb;
  --card: #ffffff;
  --card-soft: #f9fbfe;
  --brand: #0f5e59;
  --brand-2: #f2a935;
  --brand-3: #16324f;
  --good: #167a4c;
  --warn: #a45c00;
  --danger: #b42318;
  --shadow: 0 24px 80px rgba(16, 32, 47, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
  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:
    radial-gradient(circle at top left, rgba(242, 169, 53, 0.20), transparent 30rem),
    radial-gradient(circle at 80% 0, rgba(15, 94, 89, 0.14), transparent 28rem),
    var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid rgba(220, 230, 238, 0.85);
}

.nav {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.03em;
  font-size: 1.32rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--ink-soft);
}

.nav-links a:last-child {
  color: white;
  background: var(--brand);
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 94, 89, 0.22);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font-weight: 800;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 3rem;
}

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

.home-hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.home-hero .hero-grid {
  align-items: start;
}

.home-hero .hero-grid > div:first-child {
  padding-top: clamp(0.25rem, 2.2vw, 2rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  background: rgba(15, 94, 89, 0.10);
  border: 1px solid rgba(15, 94, 89, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-weight: 850;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  margin: 1rem 0;
  font-size: clamp(2.55rem, 6vw, 5.75rem);
  max-width: 12ch;
}

.page-hero h1 {
  max-width: 14ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.lede {
  font-size: clamp(1.1rem, 1.55vw, 1.34rem);
  color: var(--ink-soft);
  max-width: 65ch;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  background: var(--brand);
  color: white;
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(15, 94, 89, 0.23);
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
}

.button.secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.gold {
  background: var(--brand-2);
  color: #231700;
  box-shadow: 0 14px 30px rgba(242, 169, 53, 0.24);
}

.trust-strip {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip span {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(220, 230, 238, 0.9);
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
}

.hero-card,
.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 230, 238, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.25rem;
}

.hero-media-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.75rem;
}

.hero-media-card .path-card {
  padding: clamp(1rem, 2.2vw, 1.65rem);
}

.hero-media-card .path-card h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.hero-media-card .path-step {
  padding: 0.7rem;
}

.hero-photo,
.article-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.hero-photo {
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 42px rgba(16, 32, 47, 0.14);
}

.path-card {
  background: linear-gradient(160deg, #173653, #0f5e59);
  color: white;
  border-radius: calc(var(--radius) - 6px);
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 18%;
  height: 16rem;
  border-radius: 999px;
  background: rgba(242, 169, 53, 0.30);
  filter: blur(10px);
}

.path-card h2,
.path-card h3 {
  color: white;
  margin-top: 0;
}

.path-steps {
  display: grid;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}

.path-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.step-num {
  display: grid;
  place-items: center;
  height: 42px;
  width: 42px;
  border-radius: 14px;
  background: white;
  color: var(--brand);
  font-weight: 900;
}

main {
  padding-bottom: 4rem;
}

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-tight {
  padding: 2rem 0;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

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

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
}

.card.flat {
  box-shadow: none;
}

.card.soft {
  background: var(--card-soft);
  box-shadow: none;
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.kicker {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 900;
}

.meta-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  min-width: 0;
}

.article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3.4vw, 3rem);
  min-width: 0;
}

.article section {
  margin-top: clamp(2.4rem, 4.5vw, 4rem);
}

.article section:first-of-type,
.article .breadcrumbs + section {
  margin-top: 0;
}

.article h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 2.65vw, 2.65rem);
  max-width: 18ch;
}

.article h3 {
  margin-top: 1.35rem;
}

.article p,
.article li {
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.article p {
  margin: 1rem 0;
}

.article p:last-child,
.article ul:last-child,
.article ol:last-child {
  margin-bottom: 0;
}

.article-image {
  margin: 0 0 1.4rem;
}

.article-image img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}

.article-image figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.toc {
  position: sticky;
  top: 110px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  min-width: 0;
}

.toc a {
  display: block;
  padding: 0.45rem 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.notice,
.affiliate-box,
.job-module,
.lead-panel {
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.2vw, 1.85rem);
  border: 1px solid var(--line);
}

.notice,
.affiliate-box,
.job-module,
.lead-panel,
.table-wrap,
.source-list,
.faq {
  margin-top: 1.3rem;
}

.affiliate-box h3,
.job-module h3,
.lead-panel h2 {
  margin-top: 0.75rem;
  margin-bottom: 0.9rem;
}

.notice {
  background: #fff9eb;
  border-color: rgba(242, 169, 53, 0.35);
}

.notice strong {
  color: var(--warn);
}

.affiliate-box {
  background: linear-gradient(135deg, rgba(15, 94, 89, 0.10), rgba(242, 169, 53, 0.16));
}

.affiliate-box small {
  display: block;
  color: var(--muted);
  margin-top: 0.7rem;
}

.job-module {
  background: #f8fbff;
}

.job-list {
  display: grid;
  gap: 0.7rem;
}

.job-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--card-soft);
  color: var(--ink);
  font-size: 0.9rem;
}

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

.state-selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
}

.state-selector label {
  margin: 0;
}

.state-selector select,
.state-selector .button {
  min-height: 56px;
}

.state-selector .button {
  align-self: end;
  padding-inline: 1.35rem;
  white-space: nowrap;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink-soft);
  font-weight: 750;
  font-size: 0.92rem;
}

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

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

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.checkbox input {
  width: auto;
  margin-top: 0.28rem;
}

.form-result,
.calc-result {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--card-soft);
  border: 1px solid var(--line);
}

.calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.calc-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.stat {
  padding: 1rem;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: rgba(15, 94, 89, 0.10);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.05rem 1.2rem;
}

.faq details + details {
  margin-top: 0.85rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--ink);
}

.source-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 0.85rem;
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.footer {
  background: #0d1f30;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0;
}

.footer a,
.footer h2,
.footer h3 {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 0.5rem;
}

.legal {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2rem;
  font-size: 0.88rem;
}

.admin-panel {
  max-width: 820px;
}

@media (max-width: 940px) {
  .hero-grid,
  .article-shell,
  .calc-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }

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

@media (max-width: 720px) {
  .nav {
    min-height: 74px;
  }

  .brand {
    gap: 0.7rem;
    font-size: 1.15rem;
  }

  .brand-mark,
  .brand-mark img {
    width: 58px;
    height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 82px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .nav-links a:last-child {
    text-align: center;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

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

  .article {
    padding: 1.15rem;
  }

  .article section {
    margin-top: 2.25rem;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .form-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .state-selector {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .state-selector .button {
    width: 100%;
  }

  .article,
  .card,
  .hero-card {
    border-radius: 20px;
  }
}
