:root {
  --ink: #10202b;
  --muted: #556878;
  --navy: #08283a;
  --blue: #0a91e6;
  --blue-dark: #0867a8;
  --teal: #087e85;
  --green: #28a852;
  --coral: #f36e5c;
  --gold: #f0b94f;
  --paper: #f6fbfc;
  --white: #ffffff;
  --line: #d8e7eb;
  --shadow: 0 18px 45px rgba(8, 40, 58, 0.11);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 231, 235, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  min-width: 270px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(10, 145, 230, 0.18);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(10, 145, 230, 0.18);
}

.brand span {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 0.08rem;
  color: var(--muted);
  max-width: 230px;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.primary-nav a {
  padding: 0.62rem 0.58rem;
  border-radius: var(--radius);
  color: #294353;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  background: #eaf6fb;
  color: var(--blue-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: 0 11px 24px rgba(40, 168, 82, 0.22);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #208b43;
  color: var(--white);
}

.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
}

.discord-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(7, 35, 51, 0.9) 0%, rgba(7, 35, 51, 0.72) 42%, rgba(7, 35, 51, 0.08) 76%),
    url("../images/hero-credit-planning.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.8rem 0 4.4rem;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.6rem, 2.1rem + 2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero .lede,
.page-hero .lede {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button-row.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(40, 168, 82, 0.26);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #208b43;
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.button.outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue-dark);
}

.button.outline:hover,
.button.outline:focus-visible {
  border-color: rgba(10, 145, 230, 0.35);
  box-shadow: 0 12px 28px rgba(8, 40, 58, 0.09);
}

.button.discord-button {
  gap: 0.55rem;
  background: #5865f2;
  color: var(--white);
  box-shadow: 0 14px 28px rgba(88, 101, 242, 0.25);
}

.button.discord-button:hover,
.button.discord-button:focus-visible {
  background: #4752c4;
}

.discord-button::before,
.footer-discord::before {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 7px;
  box-shadow: inset 5px 0 0 -3px currentColor, inset -5px 0 0 -3px currentColor;
  content: "";
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-proof span {
  padding: 0.52rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 750;
}

.section {
  padding: 5rem 0;
}

.section.tight {
  padding: 3.5rem 0;
}

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

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

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

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

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 0.45rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section.deep .section-kicker {
  color: #84e0c1;
}

h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 1.72rem + 1vw, 3rem);
}

h3 {
  font-size: 1.32rem;
}

h4 {
  font-size: 1rem;
}

.section-heading p,
.lead {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.section.deep .section-heading p,
.section.deep .lead {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 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,
.product-card,
.resource-card,
.faq-item,
.exam-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(8, 40, 58, 0.06);
}

.card,
.faq-item,
.exam-card {
  padding: 1.2rem;
}

.card.accent-blue {
  border-top: 4px solid var(--blue);
}

.card.accent-green {
  border-top: 4px solid var(--green);
}

.card.accent-coral {
  border-top: 4px solid var(--coral);
}

.card.accent-gold {
  border-top: 4px solid var(--gold);
}

.card p,
.product-card p,
.resource-card p,
.exam-card p,
.faq-item p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #294353;
  font-weight: 700;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #e4f7ea;
  color: var(--green);
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.strategy-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.3rem 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: strategy;
}

.strategy-list li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: #294353;
}

.strategy-list li::before {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  content: counter(strategy);
  counter-increment: strategy;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.strategy-list strong,
.strategy-list span {
  display: block;
}

.strategy-list span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  gap: 2rem;
  align-items: center;
}

.story-panel {
  border-left: 5px solid var(--blue);
  padding: 1.4rem 0 1.4rem 1.4rem;
}

.story-panel p {
  color: #314b5c;
  font-size: 1.05rem;
}

.logo-callout {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #eef9fc 100%);
}

.logo-callout img {
  width: min(270px, 72vw);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 4.15rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 285px;
  overflow: hidden;
}

.product-card .product-top {
  padding: 1.1rem 1.1rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: #e8f7ee;
  color: #1f7b3e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card p {
  margin-right: 1.1rem;
  margin-left: 1.1rem;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.1rem;
  border-top: 1px solid var(--line);
  background: #fbfdfe;
}

.price-line span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(10, 145, 230, 0.24);
  border-radius: var(--radius);
  background: #eef8fd;
  color: var(--blue-dark);
  font-weight: 850;
  text-align: center;
}

.resource-card {
  display: grid;
  min-height: 245px;
  padding: 1.2rem;
}

.resource-card .category {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card .read-time {
  align-self: end;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
}

.page-hero .container {
  padding: 5rem 0 4.2rem;
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.1);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 750;
}

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

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.stat {
  padding: 1.4rem;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--blue-dark);
  font-size: 1.8rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item h3 {
  font-size: 1.05rem;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band .cta-shell p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.discord-callout {
  padding: 1.45rem;
  border: 1px solid rgba(88, 101, 242, 0.18);
  border-radius: var(--radius);
  background: #f6f7ff;
  box-shadow: var(--shadow);
}

.exam-card {
  border-left: 4px solid var(--teal);
}

.exam-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.exam-meta span,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.52rem;
  border-radius: 999px;
  background: #eef7f8;
  color: #315666;
  font-size: 0.76rem;
  font-weight: 820;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 0.36rem;
}

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

label {
  color: #294353;
  font-size: 0.9rem;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfe0e5;
  border-radius: var(--radius);
  padding: 0.75rem 0.8rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(10, 145, 230, 0.16);
}

.form-message {
  display: none;
  padding: 0.85rem 1rem;
  border: 1px solid #bfe7cf;
  border-radius: var(--radius);
  background: #eefaf2;
  color: #1e6e37;
  font-weight: 780;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  border-color: #f2b8ad;
  background: #fff2ef;
  color: #9c3324;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.icon-card {
  display: grid;
  gap: 0.8rem;
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf6fb;
  color: var(--blue-dark);
}

.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.problem-row {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.problem-label,
.solution-label {
  padding: 1.2rem;
  border-radius: var(--radius);
}

.problem-label {
  border: 1px solid #f2b8ad;
  background: #fff2ef;
}

.solution-label {
  border: 1px solid #bfe7cf;
  background: #eefaf2;
}

.problem-label strong,
.solution-label strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.problem-label strong {
  color: #9c3324;
}

.solution-label strong {
  color: #1e6e37;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.calculator-results {
  position: sticky;
  top: 96px;
}

.result-list {
  display: grid;
  gap: 1rem;
  margin: 1rem 0;
}

.result-item {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
}

.result-item strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1;
}

.result-item span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 760;
}

.disclaimer {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 720;
}

.signup-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.signup-card .contact-form {
  margin-top: 1rem;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.profile-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #eef9fc 100%);
  text-align: center;
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 138px;
  height: 138px;
  margin-bottom: 1rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.profile-card p {
  color: var(--muted);
  font-weight: 760;
}

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

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin-top: 2.2rem;
  font-size: 1.85rem;
}

.article-body h3 {
  margin-top: 1.45rem;
}

.article-body p,
.article-body li {
  color: #314b5c;
}

.article-sidebar {
  position: sticky;
  top: 96px;
}

.testimonial-card {
  display: grid;
  gap: 0.85rem;
}

.testimonial-card blockquote {
  margin: 0;
  color: #314b5c;
  font-weight: 720;
}

.testimonial-card cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}

.resource-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: center;
}

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  max-width: min(720px, calc(100vw - 2rem));
  padding: 0.55rem;
  border: 1px solid rgba(216, 231, 235, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.sticky-cta a {
  min-height: 38px;
  padding: 0.55rem 0.68rem;
  border-radius: var(--radius);
  background: #eef8fd;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.sticky-cta a.primary {
  background: var(--green);
  color: var(--white);
}

.sticky-cta a.sat {
  background: var(--navy);
  color: var(--white);
}

.sticky-cta a.discord {
  background: #5865f2;
  color: var(--white);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fbfdfe;
}

.footer-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-links h3 {
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.footer-links a {
  display: block;
  margin-top: 0.42rem;
  color: var(--muted);
  font-weight: 700;
}

.footer-discord {
  display: inline-flex !important;
  align-items: center;
  gap: 0.42rem;
  color: #4752c4 !important;
  font-weight: 850 !important;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom .container {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    inset: 74px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a,
  .nav-cta {
    justify-content: flex-start;
    width: 100%;
  }

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

  .split,
  .contact-layout,
  .calculator,
  .article-layout,
  .resource-panel {
    grid-template-columns: 1fr;
  }

  .calculator-results,
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    width: min(var(--max), calc(100% - 1.1rem));
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 78vh;
    background-position: 63% center;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 1.1rem));
    padding: 4.4rem 0 3.2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero .lede,
  .page-hero .lede {
    font-size: 1.05rem;
  }

  .section {
    padding: 3.7rem 0;
  }

  .container,
  .footer-shell,
  .footer-bottom .container {
    width: min(var(--max), calc(100% - 1.1rem));
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .field-grid,
  .stat-band,
  .footer-shell,
  .footer-links,
  .problem-row {
    grid-template-columns: 1fr;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .cta-shell,
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .step {
    padding-left: 1.2rem;
    padding-top: 4rem;
  }

  .step::before {
    left: 1.2rem;
  }

  .sticky-cta {
    right: 0.55rem;
    left: 0.55rem;
    bottom: 0.55rem;
    justify-content: stretch;
  }

  .sticky-cta a {
    flex: 1 1 45%;
    text-align: center;
  }

  body {
    padding-bottom: 6.5rem;
  }
}
