:root {
  --bg: #f5f7f5;
  --ink: #152019;
  --ink-soft: #33453c;
  --muted: #66716a;
  --paper: #f5f7f5;
  --paper-strong: #ffffff;
  --surface-2: #f6f8f6;
  --wash: #edf1ed;
  --line: #d9dfdb;
  --line-strong: #a4b0a8;
  --deep: #16271c;
  --deep-2: #12291a;
  --accent: #173c23;
  --accent-deep: #12291a;
  --accent-soft: #e9f0eb;
  --shadow: 0 20px 55px rgba(15, 33, 20, 0.12);
  --radius-sm: 0.45rem;
  --radius-md: 0.75rem;
  --container: 73.75rem;
  --gutter: 1.5rem;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 18rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0.2rem solid #c28a25;
  outline-offset: 0.2rem;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--accent-deep);
  color: #fff;
  font-weight: 700;
  transition: transform 160ms ease;
}

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

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--deep);
  color: #f6faf7;
}

.site-header__inner {
  display: flex;
  min-height: 4.375rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f6faf7;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo__mark {
  display: grid;
  width: 2.125rem;
  height: 2.125rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.45rem;
  color: #f6faf7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #d9e3dc;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav__link:hover,
.site-nav__trigger:hover,
.site-nav__link.is-active,
.site-nav__trigger.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.site-nav__chevron {
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-0.08rem);
}

.site-nav__menu {
  position: relative;
}

.site-nav__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  display: grid;
  min-width: 13.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.site-nav__panel a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav__panel a:hover,
.site-nav__panel a.is-active {
  background: var(--wash);
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  min-height: 2.7rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  border-top-color: rgba(255, 255, 255, 0.08);
  background: var(--deep);
}

.mobile-nav__inner {
  display: grid;
  gap: 0.25rem;
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding: 1rem 0 1.25rem;
}

.mobile-nav__inner > a,
.mobile-nav__group a {
  display: block;
  padding: 0.7rem 0.1rem;
  color: #e6eee8;
  text-decoration: none;
}

.mobile-nav__inner > a.is-active,
.mobile-nav__group a.is-active {
  color: #ffffff;
  font-weight: 750;
}

.mobile-nav__group {
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
}

.mobile-nav__group p {
  margin: 0.75rem 0 0.15rem;
  color: #91a69a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

main {
  min-height: 55vh;
}

.page-shell {
  padding: 0 0 6rem;
}

.hero {
  background: var(--deep);
  color: #f8fbf9;
  padding: 3.5rem 0 5.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(19.375rem, 0.82fr);
  gap: 4.375rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #bdd1c2;
}

.hero__eyebrow-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: #83aa8b;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 7.2vw, 6.6rem);
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 710px;
  margin: 0.9375rem 0 1.25rem;
  color: #f8fbf9;
  font-size: 3.625rem;
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 650;
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.15;
}

.hero__lede,
.trust-section__intro > p:not(.eyebrow),
.subpage-hero > p:not(.eyebrow),
.route-placeholder p,
.foundation-panel p {
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
}

.hero__lede {
  max-width: 40.625rem;
  color: #cbd7cf;
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero__description {
  max-width: 40.625rem;
  margin: 0.75rem 0 0;
  color: #aebfb3;
  font-size: 0.98rem;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.625rem;
}

.hero .pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4375rem 0.625rem;
  color: #dfe8e2;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--primary:hover {
  background: var(--accent-deep);
}

.button--secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--accent-deep);
}

.button--secondary:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.text-link {
  color: var(--accent-deep);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.hero__signal {
  align-self: center;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 1px solid var(--line-strong);
}

.hero__signal p {
  max-width: 18rem;
  margin: 1.2rem 0;
  color: var(--muted);
}

.hero__signal-line {
  width: min(100%, 12rem);
  height: 0.25rem;
  background: var(--accent);
}

.trustbox {
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.19);
}

.trustbox h2 {
  margin: 0 0 1.125rem;
  color: #aabbb0;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trustrow {
  display: grid;
  grid-template-columns: 1.875rem 1fr;
  gap: 0.75rem;
  padding: 0.8125rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.trustrow:first-of-type {
  border-top: 0;
}

.trustrow .num {
  padding-top: 0.1875rem;
  color: #93aa9a;
  font-size: 0.6875rem;
}

.trustrow strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #f8fbf9;
  font-size: 0.875rem;
}

.trustrow div span {
  display: block;
  color: #aebdb3;
  font-size: 0.75rem;
  line-height: 1.45;
}

.calculator-shell {
  position: relative;
  z-index: 2;
  margin-top: -4.125rem;
  border-radius: 0.875rem;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calculator-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4375rem 1.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.calculator-shell__title {
  color: var(--ink);
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}

.calculator-shell__steps {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.calculator-shell__steps .step {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
}

.calculator-shell__steps .step i {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-style: normal;
}

.calculator-shell__steps .step.is-active {
  color: var(--ink);
  font-weight: 750;
}

.calculator-shell__steps .step.is-active i {
  border-color: transparent;
  background: var(--accent);
  color: var(--paper-strong);
}

.step-arrow {
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.status-badge--ready {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

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

.foundation-panel h2 {
  max-width: 16ch;
}

.foundation-panel__aside {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.foundation-panel__number {
  color: var(--accent);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.standard-finder {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 0.875rem 0.875rem;
  background: var(--paper-strong);
  overflow: hidden;
}

.standard-finder__form-panel,
.standard-finder__summary {
  min-width: 0;
  padding: 1.875rem 2rem 2.125rem;
}

.standard-finder__form-panel {
  border-right: 1px solid var(--line);
}

.standard-finder__summary {
  background: var(--wash);
}

.standard-finder__intro h2 {
  max-width: 18ch;
  margin-bottom: 0.9rem;
  font-size: 1.75rem;
  line-height: 1.15;
}

.standard-finder__intro > p:not(.eyebrow) {
  max-width: 36rem;
  margin-bottom: 1.625rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

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

.field {
  min-width: 0;
}

.field label,
.profile-fieldset legend,
.permanent-profile-fields legend {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
}

.field select,
.field input[type="number"] {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
  color: var(--ink);
}

.field select:disabled {
  background: var(--paper);
  color: var(--muted);
}

.field-help {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.profile-fieldset,
.permanent-profile-fields {
  min-width: 0;
  margin: 1rem 0 0;
  padding: 0.625rem 0.75rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.profile-fieldset legend,
.permanent-profile-fields legend {
  width: auto;
  padding: 0 0.35rem;
  margin-left: -0.35rem;
  margin-bottom: 0.45rem;
}

.profile-options,
.event-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.profile-option,
.event-options label {
  display: inline-flex;
  min-height: 2.35rem;
  flex: 1 1 7rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
}

.profile-option:has(input:checked),
.event-options label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.profile-option input,
.event-options input {
  accent-color: var(--accent);
}

.validation-message {
  margin: 1rem 0 0;
  padding: 0.7rem 0.8rem;
  border-left: 0.2rem solid #a23b2a;
  background: #faece8;
  color: #76291d;
  font-size: 0.85rem;
}

.standard-finder__continue {
  width: 100%;
  min-height: 3rem;
  margin-top: 1.5rem;
  border-radius: 0.45rem;
}

.standard-finder__continue:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.standard-finder__phase-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.standard-finder__summary > .eyebrow {
  margin-bottom: 1rem;
}

.summary-empty h2,
.standard-finder__summary > div:not(.summary-empty) h2 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  line-height: 1.1;
}

.summary-empty p,
.summary-why p,
.summary-status p {
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.summary-item {
  min-width: 0;
  padding: 1rem 0.8rem 1.1rem 0;
  border-bottom: 1px solid var(--line-strong);
}

.summary-item:nth-child(even) {
  padding-left: 0.8rem;
  border-left: 1px solid var(--line-strong);
}

.summary-item span,
.summary-status__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.summary-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.summary-why {
  margin-top: 2rem;
}

.summary-why h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.summary-status {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.summary-status p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.summary-review {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: #f8ead9;
  color: #704817;
  font-size: 0.82rem;
  font-weight: 750;
}

.performance-section,
.result-section {
  margin-top: 4.5rem;
}

.performance-section {
  padding: 0 0 1.5rem;
  border: 0;
  background: transparent;
}

.performance-section__heading,
.result-section__heading {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.performance-section__heading h2,
.result-section__heading h2 {
  margin-bottom: 0.8rem;
  font-size: 2.125rem;
  line-height: 1.1;
}

.performance-section__heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.875rem;
}

.performance-event-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.625rem;
}

.performance-event-card {
  min-width: 0;
  padding: 1.0625rem;
  border: 1px solid var(--line);
  border-radius: 0.625rem;
  background: var(--paper-strong);
}

.performance-event-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.performance-event-card__header h3 {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}

.performance-event-card__unit {
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.performance-event-card__official-name {
  min-height: 2.375rem;
  margin: -0.25rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.performance-event-card input {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
}

.performance-preview {
  display: flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.performance-preview strong {
  color: var(--accent-deep);
  font-size: 1.05rem;
}

.performance-preview.is-below strong,
.performance-preview.is-invalid strong {
  color: #8d3529;
}

.alternate-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--wash);
}

.alternate-section h3 {
  margin-bottom: 0.45rem;
  font-size: 1.4rem;
}

.alternate-section p:not(.eyebrow):not(.field-help) {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.performance-submit {
  display: block;
  min-width: 14.375rem;
  min-height: 3rem;
  margin: 1.25rem auto 0;
  border-radius: 0.45rem;
}

.result-section__heading {
  max-width: 22rem;
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(13rem, 0.65fr);
  gap: 0;
  border: 0;
  border-radius: 0.75rem;
  background: var(--deep-2);
  color: #f2f8f4;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.result-card__headline,
.result-card__score,
.result-card__breakdown,
.result-card__reasons,
.result-card__alternate,
.result-card__sources {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.result-card__headline {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card__headline h3 {
  margin: 1rem 0 0.5rem;
  color: #f2f8f4;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.result-card__headline p {
  margin-bottom: 0;
  color: #afc0b4;
}

.result-card__score {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.result-card__score span,
.result-card__score small {
  display: block;
  color: #9db6a4;
  font-size: 0.8rem;
  font-weight: 750;
}

.result-card__score strong {
  display: block;
  margin: 0.6rem 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.08em;
  line-height: 1;
}

.result-card__breakdown,
.result-card__sources {
  grid-column: 1 / -1;
}

.result-card__breakdown h3,
.result-card__reasons h3,
.result-card__alternate h3,
.result-card__sources h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #ffffff;
}

.result-table-wrap {
  overflow-x: auto;
}

.result-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.result-card th,
.result-card td {
  padding: 0.8rem 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  white-space: nowrap;
}

.result-card th {
  color: #91a497;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card__reasons,
.result-card__alternate,
.result-card__sources {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card__reasons ul,
.result-card__sources ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #b8c8bc;
}

.result-card__alternate p,
.result-card__sources p {
  margin-bottom: 0;
  color: #b8c8bc;
}

.result-card__sources a {
  color: #dceade;
  font-weight: 700;
}

.goal-simulator {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  gap: 0;
  margin-top: 3.5rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface-2);
  overflow: hidden;
}

.goal-simulator__intro {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-width: none;
  margin: 0;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.goal-simulator__intro h2 {
  max-width: 18ch;
  margin-bottom: 0.85rem;
  font-size: 2rem;
  line-height: 1.1;
}

.goal-simulator__intro > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.goal-simulator__body {
  display: contents;
}

.goal-simulator__controls {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.goal-simulator__output {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 2rem;
  border-top: 0;
  background: var(--ink);
}

.goal-mode-fieldset {
  min-width: 0;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.goal-mode-fieldset legend {
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

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

.goal-mode-option {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.goal-mode-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.goal-mode-option input {
  accent-color: var(--accent);
}

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

.goal-input-grid .field input[type="text"],
.goal-input-grid .field input[type="number"],
.goal-input-grid .field select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
  color: var(--ink);
}

#goal-target-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 0.6rem;
}

#goal-target-fields[hidden] {
  display: none;
}

.goal-run {
  width: 100%;
  margin-top: 1.2rem;
}

.goal-simulator__output {
  color: #eaf2ec;
}

.goal-output-empty {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.goal-output-empty h3,
.goal-output__headline h3,
.goal-recommendation h3,
.goal-reasons h3,
.goal-sources h3 {
  color: #fff;
}

.goal-output-empty h3 {
  max-width: 17ch;
  margin: 1.1rem 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.goal-output-empty p,
.goal-output__headline p,
.goal-recommendation-note,
.goal-verification p,
.goal-sources p {
  margin-bottom: 0;
  color: #b8c8bc;
  font-size: 0.88rem;
}

.goal-output__headline {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(234, 242, 236, 0.2);
}

.goal-output__headline h3 {
  margin: 0.95rem 0 0.45rem;
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
}

.goal-output__summary,
.goal-recommendation__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.goal-output__summary > div,
.goal-recommendation__details > div {
  min-width: 0;
  padding: 1rem 0.7rem 1rem 0;
  border-bottom: 1px solid rgba(234, 242, 236, 0.2);
}

.goal-output__summary > div:nth-child(even),
.goal-recommendation__details > div:nth-child(even) {
  padding-left: 0.7rem;
  border-left: 1px solid rgba(234, 242, 236, 0.2);
}

.goal-output__summary dt,
.goal-recommendation__details dt {
  color: #b8c8bc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.goal-output__summary dd,
.goal-recommendation__details dd {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
}

.goal-verification {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0.9rem;
  border: 1px solid rgba(183, 211, 189, 0.45);
  background: rgba(183, 211, 189, 0.13);
}

.goal-verification.is-unverified {
  border-color: rgba(230, 181, 112, 0.6);
  background: rgba(230, 181, 112, 0.13);
}

.goal-verification__marker {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b7d3bd;
  border-radius: 50%;
  color: #dceade;
  font-weight: 800;
}

.goal-verification.is-unverified .goal-verification__marker {
  border-color: #e6b170;
  color: #f2c98f;
}

.goal-verification strong {
  color: #fff;
  font-size: 0.9rem;
}

.goal-recommendation,
.goal-reasons,
.goal-sources {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(234, 242, 236, 0.2);
}

.goal-recommendation .eyebrow {
  margin-bottom: 0.7rem;
  color: #b8c8bc;
}

.goal-recommendation h3,
.goal-reasons h3,
.goal-sources h3 {
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
}

.goal-recommendation-note {
  margin-top: 0.85rem;
}

.goal-reasons ul,
.goal-sources ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
  color: #b8c8bc;
  font-size: 0.84rem;
}

.goal-sources a {
  color: #dceade;
  font-weight: 700;
}

.status-badge--goal-verified {
  background: #dceade;
  color: var(--accent-deep);
}

.status-badge--goal-candidate-not-verified,
.status-badge--goal-no-solution,
.status-badge--goal-no-official-threshold,
.status-badge--goal-unsupported,
.status-badge--goal-incomplete-input,
.status-badge--goal-invalid-input {
  background: #f3d8ad;
  color: #5c3b17;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(3rem, 9vw, 8rem);
  padding-top: clamp(5rem, 12vw, 10rem);
}

.trust-section__intro h2 {
  max-width: 12ch;
}

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

.source-card {
  position: relative;
  display: block;
  min-height: 9.5rem;
  padding: 1.25rem 0 1.4rem;
  border-top: 2px solid var(--line-strong);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.source-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.source-card h3 {
  margin-top: 0.85rem;
}

.source-card p {
  max-width: 19rem;
  margin-bottom: 0;
  color: var(--muted);
}

.source-card__arrow {
  position: absolute;
  top: 1.15rem;
  right: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.source-card--all {
  background: linear-gradient(90deg, transparent, rgba(229, 238, 232, 0.52));
}

.subpage-hero {
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.supporting-hero {
  background: var(--deep);
  color: #f8fbf9;
  padding: 3.625rem 0 3.875rem;
}

.supporting-hero__inner {
  max-width: var(--container);
}

.supporting-hero .eyebrow {
  margin-bottom: 0.75rem;
  color: #aabeb0;
}

.supporting-hero h1 {
  max-width: 15ch;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 1.02;
}

.supporting-hero__inner > p:not(.eyebrow) {
  max-width: 48rem;
  margin-bottom: 0;
  color: #c5d3c9;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.supporting-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.375rem;
}

.supporting-hero .pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.375rem 0.625rem;
  color: #dbe6de;
  font-size: 0.6875rem;
}

.supporting-tool-wrap {
  padding-top: 3.375rem;
}

.supporting-tool-wrap > .content-section,
.supporting-tool-wrap > .data-tool,
.supporting-tool-wrap > .requirements-panel,
.supporting-tool-wrap > .source-registry {
  margin-bottom: 0;
}

.supporting-tool-wrap > .content-section,
.supporting-tool-wrap > .data-tool,
.supporting-tool-wrap > .requirements-panel,
.supporting-tool-wrap > .source-registry,
.score-chart-tool {
  border-radius: 0.875rem;
  box-shadow: 0 14px 40px rgba(21, 42, 27, 0.06);
}

.legal-draft-notice {
  padding: 1rem 1.125rem;
  border-left: 0.2rem solid #a27e42;
  background: #f5efe4;
  color: #695129;
}

.legal-draft-notice strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #5f461e;
}

.legal-draft-notice p {
  margin-bottom: 0;
  color: #695129;
}

.subpage-hero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 6rem);
}

.route-placeholder {
  min-height: 18rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-strong);
}

.route-placeholder__marker {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-placeholder h2 {
  max-width: 20ch;
}

.route-placeholder .button {
  margin-top: 1rem;
}

.content-hero {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.content-hero h1 {
  max-width: 15ch;
}

.content-hero > p:not(.eyebrow) {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-top: 3.75rem;
  margin-bottom: 5rem;
}

.content-prose {
  min-width: 0;
}

.content-section {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.content-section h2 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
}

.content-section p,
.content-section li {
  max-width: 48rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.75;
}

.content-section p + p {
  margin-top: 1rem;
}

.content-section ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.4rem;
}

.content-cta {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 0.25rem solid var(--accent);
  background: var(--wash);
  box-shadow: 0 14px 40px rgba(21, 42, 27, 0.06);
}

.content-cta h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.content-cta p:not(.eyebrow) {
  color: var(--muted);
}

.content-cta .button {
  width: 100%;
  margin-top: 0.6rem;
}

.source-registry {
  padding-top: 0.5rem;
}

.source-registry__grid {
  display: grid;
  gap: 0.8rem;
}

.source-reference-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.source-reference-card h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.source-reference-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.source-reference-card__id {
  color: var(--accent) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem !important;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.source-reference-card .text-link {
  flex: 0 0 auto;
  padding-top: 0.25rem;
  font-size: 0.82rem;
  text-align: right;
}

.score-chart-tool {
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.score-chart-tool__intro {
  max-width: 42rem;
  margin-bottom: 1.7rem;
}

.score-chart-tool__intro h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.score-chart-tool__intro > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.score-chart-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--wash);
}

.score-chart-controls select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
  color: var(--ink);
}

.score-chart-context {
  margin: 1.1rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.score-chart-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.score-chart-table th,
.score-chart-table td {
  padding: 0.72rem 0.7rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.score-chart-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-chart-table tbody th {
  width: 7rem;
  color: var(--ink);
}

.threshold-status {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.threshold-status--official {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.threshold-status--none {
  background: #f8ead9;
  color: #704817;
}

.score-chart-content {
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.requirements-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--wash);
}

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

.requirements-grid article {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.requirements-grid h3 {
  margin-bottom: 0.5rem;
}

.requirements-grid p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.requirements-table,
.data-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.requirements-table th,
.requirements-table td,
.data-table th,
.data-table td {
  padding: 0.75rem 0.65rem;
  border-top: 1px solid var(--line);
  text-align: left;
}

.requirements-table thead th,
.data-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-tool {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper-strong);
}

.data-tool__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  background: var(--wash);
}

.data-tool__controls select,
.data-tool__controls input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-strong);
  color: var(--ink);
}

.data-tool__summary {
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.data-table tbody tr[hidden] {
  display: none;
}

.alternate-cutoff {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-left: 0.25rem solid var(--accent);
  background: var(--accent-soft);
}

.alternate-cutoff .eyebrow {
  margin-bottom: 0.45rem;
}

.alternate-cutoff strong {
  display: block;
  color: var(--accent-deep);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.alternate-cutoff p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

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

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.6fr);
  gap: 3rem;
  padding: 4rem 0;
}

.site-logo--footer {
  color: #fff;
}

.site-logo--footer .site-logo__mark {
  border-color: #b7d3bd;
  color: #dceade;
}

.site-footer__identity p {
  max-width: 16rem;
  margin-top: 1.25rem;
  color: #aebdb3;
  font-size: 0.85rem;
}

.site-footer__groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer__group h2 {
  margin-bottom: 1rem;
  color: #aebdb3;
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer__group a {
  display: block;
  margin: 0.55rem 0;
  color: #eaf2ec;
  font-size: 0.85rem;
  text-decoration: none;
}

.site-footer__group a:hover,
.site-footer__report:hover {
  color: #b7d3bd;
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(234, 242, 236, 0.2);
  color: #aebdb3;
  font-size: 0.78rem;
}

.site-footer__report {
  color: #eaf2ec;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .performance-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero__inner,
  .trust-section,
  .standard-finder {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    gap: 3rem;
  }

  .hero__signal {
    max-width: 24rem;
    padding-left: 1.25rem;
  }

  .trust-section {
    gap: 3rem;
  }

  .standard-finder__form-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .alternate-section,
  .result-card,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .goal-simulator {
    grid-template-columns: 1fr;
  }

  .goal-simulator__intro,
  .goal-simulator__controls,
  .goal-simulator__output {
    grid-column: 1;
    grid-row: auto;
  }

  .goal-simulator__intro {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .goal-simulator__output {
    border-top: 0;
  }

  .result-card__score {
    border-left: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 0.9375rem;
  }

  .site-header__inner {
    min-height: 4.3rem;
  }

  .site-logo {
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.375rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: 2.375rem;
  }

  .supporting-hero {
    padding: 3.5rem 0 3.875rem;
  }

  .supporting-hero h1 {
    max-width: 12ch;
    font-size: 2.375rem;
  }

  .supporting-hero__inner > p:not(.eyebrow) {
    font-size: 0.9375rem;
  }

  .hero__lede {
    font-size: 0.9375rem;
  }

  .hero__description {
    font-size: 0.875rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-meta {
    gap: 0.375rem;
  }

  .hero .pill {
    font-size: 0.6875rem;
  }

  .source-card-grid,
  .standard-finder__fields {
    grid-template-columns: 1fr;
  }

  .trustbox {
    padding-left: 1.25rem;
  }

  .calculator-shell {
    margin-top: -3.375rem;
  }

  .calculator-shell__header {
    padding: 1.125rem 1rem;
  }

  .calculator-shell__steps {
    display: none;
  }

  .standard-finder__form-panel,
  .standard-finder__summary {
    padding: 1.5rem 1rem 1.75rem;
  }

  .performance-event-grid,
  .alternate-controls,
  .goal-input-grid,
  .goal-mode-options,
  .score-chart-controls,
  .requirements-grid,
  .data-tool__controls {
    grid-template-columns: 1fr;
  }

  .performance-event-grid {
    grid-template-columns: 1fr;
  }

  .goal-simulator__intro,
  .goal-simulator__controls,
  .goal-simulator__output {
    padding: 1.5rem 1rem;
  }

  .supporting-tool-wrap {
    padding-top: 2rem;
  }

  .content-layout {
    margin-top: 2.5rem;
    margin-bottom: 3.5rem;
  }

  #goal-target-fields {
    grid-template-columns: 1fr;
  }

  .source-reference-card {
    flex-direction: column;
    gap: 0.8rem;
  }

  .source-reference-card .text-link {
    text-align: left;
  }

  .source-card {
    min-height: 8.4rem;
  }

  .site-footer__top {
    padding: 3rem 0;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
