/* =========================================
   GYMFIXFINDER
   Fitness Equipment Repair Directory
   Graphite + Orange Design System
   ========================================= */

:root {
  --accent: #c4501b;
  --accent-dark: #963a12;
  --accent-light: #fff0e8;

  --graphite: #23282d;
  --graphite-light: #394149;
  --slate: #53606b;

  --text: #26313a;
  --muted: #586570;

  --white: #ffffff;
  --background: #ffffff;
  --surface: #f5f6f7;
  --surface-dark: #e9ecef;
  --border: #d9dee2;

  --success: #176b45;
  --error: #a12626;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --radius: 10px;
  --radius-small: 6px;

  --shadow: 0 5px 20px rgba(35, 40, 45, 0.07);
  --shadow-hover: 0 9px 26px rgba(35, 40, 45, 0.12);
}

/* =========================================
   RESET AND GLOBAL ELEMENTS
   ========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

button {
  cursor: pointer;
}

p {
  margin: 0 0 18px;
}

h1,
h2,
h3,
h4 {
  color: var(--graphite);
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(27px, 3.5vw, 36px);
  font-weight: 750;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

ul,
ol {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

::selection {
  color: var(--white);
  background: var(--accent);
}

/* =========================================
   SHARED LAYOUT
   ========================================= */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.content-narrow {
  width: min(780px, 100%);
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

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

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
}

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

/* =========================================
   SKIP LINK
   ========================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--graphite);
  color: var(--white);
  border-radius: var(--radius-small);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* =========================================
   HEADER AND NAVIGATION
   ========================================= */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--graphite);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--graphite);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.logo-text {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -1px;
  white-space: nowrap;
}

.logo-accent {
  color: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: var(--radius-small);
  color: var(--graphite);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* =========================================
   HOMEPAGE HERO
   ========================================= */

.hero {
  padding: 76px 0 68px;
  background: linear-gradient(
    115deg,
    #f5f6f7 0%,
    #ffffff 58%,
    #fff5ef 100%
);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 65px;
}

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

.hero-content h1 {
  max-width: 650px;
}

.hero-description {
  max-width: 630px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  padding: 36px;
  background: var(--graphite);
  border-radius: 14px;
  color: var(--white);
  box-shadow: var(--shadow-hover);
}

.hero-panel h2 {
  color: var(--white);
  font-size: 23px;
  margin-bottom: 25px;
}

.hero-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.hero-panel-item h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 5px;
}

.hero-panel-item p {
  margin-bottom: 0;
  color: #d7dde1;
  font-size: 14px;
}

/* =========================================
   INNER PAGE HERO
   ========================================= */

.page-hero {
  padding: 52px 0 48px;
  background: linear-gradient(
    115deg,
    #f5f6f7,
    #ffffff 72%
);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
}

.page-intro {
  max-width: 790px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.page-intro:last-child {
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}

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

.breadcrumbs a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.breadcrumbs span[aria-current="page"] {
  color: var(--graphite);
  font-weight: 650;
}

/* =========================================
   BUTTONS
   ========================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

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

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.button-secondary {
  background: var(--white);
  border-color: var(--graphite);
  color: var(--graphite);
}

.button-secondary:hover {
  background: var(--graphite);
  color: var(--white);
}

.button-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.button-full {
  width: 100%;
}

.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* =========================================
   ADVERTISING SPACE
   ========================================= */

.ad-slot {
  display: block;
  width: 100%;
  min-height: 250px;
  height: 250px;
  margin: 20px 0;
  background: transparent;
  overflow: hidden;
}

/* =========================================
   DIRECTORY FINDER
   ========================================= */

.finder {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.finder-panel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

.finder-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.directory-results {
  margin-top: 38px;
}

.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.results-heading h3 {
  margin-bottom: 0;
}

#results-status {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* =========================================
   FORMS
   ========================================= */

.form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 55px;
}

.form-intro {
  position: sticky;
  top: 25px;
}

.form-intro > p {
  color: var(--muted);
}

.form-card {
  min-width: 0;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 0 22px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #bfc7ce;
  border-radius: 6px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #66727d;
  opacity: 1;
}

.form-field select {
  cursor: pointer;
}

.form-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-field fieldset,
fieldset.form-field {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

.form-field fieldset legend,
fieldset.form-field legend {
  padding: 0 7px;
}

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

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

.checkbox-label {
  display: flex!important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0!important;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  font-size: 14px!important;
  font-weight: 600!important;
}

.checkbox-label input {
  width: 19px!important;
  height: 19px;
  min-height: 19px;
  margin: 0;
  accent-color: var(--accent);
}

.form-privacy-note {
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 650;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

/* HONEYPOT */

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================
   DIRECTORY AND CATEGORY CARDS
   ========================================= */

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

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

.section-footer-link {
  margin-top: 30px;
  text-align: center;
}

.company-card,
.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.company-card:hover,
.category-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.company-card h3,
.category-card h3 {
  margin-bottom: 10px;
}

.company-card p,
.category-card p {
  color: var(--muted);
  font-size: 15px;
}

.category-card {
  text-decoration: none;
  color: var(--text);
}

.category-card:hover {
  color: var(--text);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 15px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 750;
}

.equipment-tag,
.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 3px 4px 3px 0;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 700;
}

.company-equipment {
  margin: 12px 0;
}

.service-tag {
  background: var(--accent-light);
  color: var(--accent-dark);
}

/* =========================================
   EMPTY STATES
   ========================================= */

.empty-state {
  width: 100%;
  padding: 36px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state p {
  max-width: 650px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.empty-state h2,
.empty-state h3,
.empty-state h4 {
  margin-bottom: 14px;
}

.empty-state .button {
  margin-top: 8px;
}

/* =========================================
   STATE DIRECTORY LINKS
   ========================================= */

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

.state-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--graphite);
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.state-link:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* =========================================
   SPLIT CONTENT AND FEATURE CARDS
   ========================================= */

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

.feature-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--muted);
}

.feature-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: var(--accent-light);
  border-radius: 20px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 45px;
}

/* =========================================
   INFORMATION PANELS
   ========================================= */

.info-panel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-panel h3 {
  margin-bottom: 16px;
}

.info-panel p {
  color: var(--muted);
}

.check-list,
.question-list {
  padding-left: 22px;
  margin: 0;
}

.check-list li,
.question-list li {
  padding-left: 4px;
  margin-bottom: 12px;
  color: var(--text);
}

.check-list li::marker {
  color: var(--accent);
}

.question-list li::marker {
  color: var(--accent);
  font-weight: 800;
}

/* =========================================
   CONTENT AND LEGAL PAGE TYPOGRAPHY
   ========================================= */

.content-list {
  margin: 18px 0 24px;
  padding-left: 24px;
}

.content-list li {
  padding-left: 5px;
  margin-bottom: 11px;
}

.legal-content h2 {
  margin-top: 12px;
  font-size: 27px;
}

.legal-content p {
  color: var(--text);
  line-height: 1.8;
}

.legal-content .eyebrow {
  margin-top: 34px;
}

.legal-content .eyebrow:first-child {
  margin-top: 0;
}

.divider {
  height: 1px;
  margin: 35px 0;
  background: var(--border);
}

.method-note {
  margin: 25px 0;
  padding: 20px 24px;
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 7px 7px 0;
  color: var(--graphite);
}

.method-quote {
  margin: 22px 0;
  padding: 20px 24px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  color: var(--graphite);
  font-weight: 650;
  line-height: 1.7;
}

/* =========================================
   PROCESS AND STEP CARDS
   ========================================= */

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

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 850;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.65;
}

/* CALL TO ACTION */

.cta-section {
  background: var(--graphite);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 42px;
  background: var(--graphite-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.cta-panel h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-panel p {
  max-width: 650px;
  color: #d7dde1;
  margin-bottom: 0;
}

.cta-panel .eyebrow {
  color: #ffb18b;
  margin-bottom: 12px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
}

.cta-actions .button {
  min-width: 205px;
}

/* FOOTER */

.site-footer {
  padding: 58px 0 0;
  background: #1b2024;
  color: #d7dde1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 55px;
  padding-bottom: 42px;
}

.footer-logo {
  margin-bottom: 18px;
  color: var(--white);
}

.footer-logo .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: #c1c9ce;
  font-size: 14px;
}

.footer-small {
  font-size: 13px!important;
}

/* =========================================
   FOOTER NAVIGATION
   ========================================= */

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-nav h2 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #d7dde1;
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffb18b;
  text-decoration: underline;
}

/* FOOTER DISCLAIMER */

.footer-disclaimer {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-disclaimer p {
  color: #c1c9ce;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
}

.footer-bottom p {
  margin: 0;
  color: #aeb8bf;
  font-size: 12px;
}

/* RESPONSIVE LAYOUT */

@media (max-width: 1000px) {
.header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 0;
}

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

.hero-inner {
    gap: 35px;
}

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

.footer-main {
    gap: 30px;
}
}

@media (max-width: 760px) {
.container {
    width: calc(100% - 36px);
}

.section {
    padding: 58px 0;
}

.header-inner {
    align-items: center;
}

.primary-nav {
    gap: 2px;
}

.primary-nav a {
    padding: 8px 9px;
    font-size: 13px;
}

.hero {
    padding: 56px 0;
}

.hero-inner {
    grid-template-columns: 1fr;
    gap: 35px;
}

.hero-panel {
    max-width: 620px;
}

.page-hero {
    padding: 42px 0;
}

.page-intro {
    font-size: 17px;
}

.finder-controls {
    grid-template-columns: 1fr;
}

.form-layout {
    grid-template-columns: 1fr;
    gap: 30px;
}

.form-intro {
    position: static;
}

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

.feature-layout {
    grid-template-columns: 1fr;
    gap: 28px;
}

.cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
}

.cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
}

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

.footer-brand {
    grid-column: 1 / -1;
}

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

/* =========================================
   SMALL MOBILE SCREENS
   ========================================= */

@media (max-width: 520px) {
  .container {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .logo-text {
    font-size: 20px;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .primary-nav a {
    justify-content: flex-start;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .card-grid,
  .category-grid,
  .split-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

  .form-card {
    padding: 20px;
  }

  .form-grid,
  .checkbox-list {
    grid-template-columns: 1fr;
  }

  .finder-panel {
    padding: 18px;
  }

  .cta-panel {
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .ad-slot {
    min-height: 250px;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
}

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms!important;
    animation-duration: 0.01ms!important;
    animation-iteration-count: 1!important;
}
}
