:root {
  color-scheme: light;
  --ink: #111417;
  --graphite: #171b1f;
  --graphite-2: #22282d;
  --steel: #5f9fc8;
  --steel-dark: #2f6f9f;
  --steel-muted: #4f5d64;
  --muted: #6d767e;
  --line: #d5d0c6;
  --line-dark: #343b42;
  --panel: #ffffff;
  --off: #f4f2ec;
  --paper: #ebe8df;
  --soft: #f3f1eb;
  --field: #ffffff;
  --accent: #5f9fc8;
  --accent-dark: #2f6f9f;
  --accent-soft: rgba(95, 159, 200, 0.2);
  --success: #23765d;
  --warning: #b78014;
  --review: #934536;
  --shadow: 0 22px 54px rgba(7, 12, 17, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button {
  touch-action: manipulation;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(23, 27, 31, 0.98);
  border-bottom: 4px solid var(--steel);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(174px, 17vw, 244px);
  height: 52px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--accent);
  border: 2px solid var(--steel-dark);
  border-radius: 6px;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18);
  color: #111417;
  font-weight: 950;
}

.brand-text {
  display: flex;
  align-items: baseline;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-text strong {
  margin-left: 4px;
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 30px);
}

nav a {
  color: #c7ced4;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: #ffffff;
}

.finder-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: clamp(24px, 5vw, 64px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(23, 27, 31, 0.99) 0%, rgba(23, 27, 31, 0.92) 48%, rgba(23, 27, 31, 0.42) 100%),
    url("./assets/brand-images/diggerfit-hero-industrial.png") center / cover,
    #171b1f;
}

.finder-panel,
.machine-summary,
.enquiry-form,
.attachment-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.finder-panel {
  display: grid;
  align-self: center;
  gap: 17px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--off);
  border-top: 5px solid var(--steel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.finder-panel-head {
  display: grid;
  gap: 8px;
  padding-bottom: 8px;
}

.finder-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.hero-copy {
  max-width: 780px;
  color: var(--off);
}

.hero-copy h1 {
  max-width: min(100%, 11.5ch);
  color: var(--off);
  font-family: Arial Black, Impact, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.85rem, 5.8vw, 5.25rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.hero-copy .finder-support {
  max-width: 700px;
  margin: 10px 0 8px;
  color: #d8d9d5;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.machine-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(16px, 2.6vw, 30px);
  align-items: stretch;
  min-height: clamp(360px, 44vw, 510px);
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 205, 17, 0.2), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #242a30, #111417);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
}

.machine-visual::before {
  display: none;
}

.machine-visual::after {
  display: none;
}

.machine-visual > .visual-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: saturate(0.82) contrast(1.08);
}

.preview-panel,
.preview-products {
  position: relative;
  z-index: 1;
}

.preview-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  background: rgba(17, 20, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.preview-panel h2 {
  max-width: 9ch;
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.98;
}

.preview-machine {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.preview-machine span,
.preview-machine small {
  color: #aeb7bf;
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-machine strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.05;
}

.preview-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-self: end;
}

.preview-product {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  background: rgba(248, 249, 249, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.preview-product img {
  display: block;
  width: 100%;
  height: clamp(92px, 11vw, 140px);
  object-fit: contain;
  padding: 8px;
  border-radius: 6px;
  background: #ffffff;
}

.preview-product span {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-product strong {
  color: var(--ink);
  font-size: clamp(0.96rem, 1.25vw, 1.12rem);
  line-height: 1.15;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.trust-grid div {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--steel);
  border-radius: 4px;
}

.trust-grid strong {
  color: #ffffff;
  font-size: 0.98rem;
}

.trust-grid span {
  color: #b9c1c8;
  font-size: 0.84rem;
  line-height: 1.35;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finder-panel h2 {
  font-family: Arial Black, Impact, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.02;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.18;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

select,
input,
textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid #bfc6cc;
  border-radius: 6px;
  outline: 0;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

select:disabled {
  color: #8d949a;
  background: #e8ebed;
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
}

.primary-button {
  color: #ffffff;
  background: var(--steel-dark);
  border: 1px solid var(--steel-dark);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #245d86;
}

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.quick-picks button {
  min-height: 36px;
  padding: 0 11px;
  color: var(--graphite);
  background: #f0eee7;
  border: 1px solid #d7dcdf;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.quick-picks button:hover,
.quick-picks button:focus-visible {
  color: #ffffff;
  background: var(--graphite);
  border-color: var(--graphite);
}

.results-section {
  padding: clamp(34px, 6vw, 74px) clamp(18px, 5vw, 72px);
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 5vw, 72px);
  background: var(--off);
  border-bottom: 1px solid var(--line);
}

.platform-band h2 {
  max-width: 13ch;
}

.platform-band p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--steel-muted);
  line-height: 1.55;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: #ffffff;
  background: var(--steel-dark);
  border: 1px solid var(--steel-dark);
  border-radius: 6px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 24px;
  margin-bottom: 24px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.show-all-button {
  grid-row: 1 / span 2;
  grid-column: 2;
  min-height: 42px;
  padding: 0 14px;
  color: var(--graphite);
  background: #ffffff;
  border: 1px solid #bfc6cc;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.show-all-button[aria-pressed="true"] {
  background: var(--graphite);
  border-color: var(--graphite);
  color: #ffffff;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  gap: 22px;
}

.category-tiles {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 14px;
  align-items: center;
  min-height: 106px;
  padding: 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.category-tile:hover,
.category-tile:focus-visible,
.category-tile.active {
  border-color: var(--accent-dark);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.category-tile img {
  grid-row: 1 / span 2;
  width: 76px;
  height: 76px;
  object-fit: cover;
  padding: 4px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e1e5e8;
}

.category-tile .tile-label {
  font-size: 0.94rem;
  font-weight: 950;
  text-transform: uppercase;
}

.category-tile strong {
  font-size: 0.94rem;
}

.category-tile small {
  display: block;
  color: var(--steel-dark);
  font-size: 0.84rem;
  font-weight: 950;
}

.category-tiles-heading {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  padding: 2px 0 4px;
}

.category-tiles-heading strong {
  font-family: Arial Black, Impact, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.05;
}

.category-tiles-heading span {
  color: var(--steel-muted);
  font-size: 0.95rem;
}

.selected-products-panel {
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #111417;
  border: 1px solid #2d343a;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  color: #ffffff;
}

.selected-products-panel[hidden] {
  display: none;
}

.selected-products-panel strong {
  display: block;
  font-size: 1rem;
}

.selected-products-panel span {
  color: #c7ced4;
  font-size: 0.86rem;
  font-weight: 800;
}

.selected-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-product-chip {
  display: grid;
  max-width: 230px;
  padding: 8px 10px;
  background: #22282d;
  border: 1px solid #3a4249;
  border-radius: 6px;
}

.selected-product-chip strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-product-chip small {
  color: #aeb7bf;
  font-size: 0.74rem;
  font-weight: 800;
}

.selected-products-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.selected-products-actions .show-all-button {
  grid-row: auto;
  grid-column: auto;
  color: #ffffff;
  background: #22282d;
  border-color: #4a535b;
}

.machine-summary {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 22px;
  box-shadow: none;
}

.summary-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--success);
  font-weight: 950;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 999px;
}

dl {
  display: grid;
  gap: 0;
  margin: 0;
}

dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--graphite);
  font-weight: 950;
  text-align: right;
}

.fitment-note {
  margin: 18px 0 0;
  padding: 13px 14px;
  color: #31424c;
  background: #eaf3f8;
  border: 1px solid #b8d5e6;
  border-radius: 6px;
  line-height: 1.45;
}

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

.attachment-results.is-empty {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 760px);
}

.attachment-results.is-empty .placeholder-card {
  min-height: 0;
}

.attachment-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 450px;
  overflow: hidden;
  padding: 0;
  box-shadow: none;
}

.product-card {
  background: #ffffff;
}

.more-card {
  min-height: 240px;
}

.attachment-card.strong {
  border-top: 5px solid var(--steel);
}

.attachment-card.useful {
  border-top: 5px solid var(--steel);
}

.attachment-card.review {
  border-top: 5px solid var(--steel-muted);
}

.placeholder-card {
  grid-column: 1 / -1;
  min-height: 260px;
}

.attachment-image {
  position: relative;
  display: grid;
  height: 238px;
  overflow: hidden;
  place-items: center;
  background: #f7f8f8;
  border-bottom: 1px solid var(--line);
}

.attachment-image::before,
.attachment-image::after {
  display: none;
}

.attachment-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
}

.card-body {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.select-product-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 38px;
  padding: 7px 10px;
  color: var(--graphite);
  background: #f5f6f7;
  border: 1px solid #d9dee2;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 950;
}

.select-product-control input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.select-product-control span {
  color: inherit;
  font-size: inherit;
}

.product-card.is-selected {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auger-bundle-card .recommendation-badge {
  background: #ffffff;
}

.diameter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.diameter-options span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 9px;
  color: #243034;
  background: #ffffff;
  border: 1px solid #cfd6dc;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 950;
}

.category-pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: #ffffff;
  background: var(--graphite);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.recommendation-badge {
  display: none;
  width: fit-content;
  padding: 5px 8px;
  color: #111417;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.attachment-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-card-meta span:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.product-card-meta span {
  min-height: 36px;
  padding: 8px;
  color: #243034;
  background: #f0f2f3;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 850;
}

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

.evidence-strip span {
  min-height: 38px;
  padding: 8px;
  color: #243034;
  background: #f0f2f3;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-list {
  display: grid;
  gap: 10px;
  margin: 0 18px 18px;
  padding: 0;
  list-style: none;
}

.product-list li {
  padding: 12px;
  background: var(--soft);
  border: 1px solid #e0e4e7;
  border-radius: 6px;
}

.product-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.93rem;
  line-height: 1.25;
}

.product-list span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.product-meta {
  display: block;
}

.review-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 7px;
  color: #31424c;
  background: #eaf3f8;
  border: 1px solid #b8d5e6;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 900;
}

.text-button {
  width: calc(100% - 36px);
  margin: 0 18px 18px;
  color: #ffffff;
  background: var(--graphite);
  border: 1px solid var(--graphite);
}

.text-button:hover,
.text-button:focus-visible {
  color: #ffffff;
  background: var(--steel-dark);
  border-color: var(--steel-dark);
}

.enquiry-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.98), rgba(17, 20, 23, 0.72)),
    url("./assets/brand-images/diggerfit-quote-banner.jpg") center / cover,
    linear-gradient(90deg, rgba(17, 20, 23, 0.98), rgba(34, 40, 45, 0.96)),
    #171b1f;
  color: #ffffff;
}

.enquiry-band .eyebrow {
  color: var(--accent);
}

.enquiry-band p:not(.eyebrow) {
  max-width: 54ch;
  color: #c7ced4;
  line-height: 1.55;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  box-shadow: none;
}

.enquiry-form .wide,
.enquiry-form button,
.form-help {
  grid-column: 1 / -1;
}

.form-help {
  margin: -4px 0 2px;
  color: #c7ced4;
  font-size: 0.85rem;
  font-weight: 750;
}

.secondary-button {
  color: #ffffff;
  background: var(--steel-dark);
  border: 1px solid var(--steel-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: #c7ced4;
  background: #111417;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
}

footer a {
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--steel);
}

.seo-hero {
  display: grid;
  gap: 16px;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(17, 20, 23, 0.98), rgba(17, 20, 23, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    #171b1f;
}

.seo-hero h1 {
  max-width: 11ch;
  color: #ffffff;
}

.seo-hero p:not(.eyebrow) {
  max-width: 64ch;
  margin-bottom: 0;
  color: #c7ced4;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.55;
}

.seo-page-grid {
  display: grid;
  gap: 18px;
  padding: clamp(30px, 5vw, 64px) clamp(18px, 5vw, 72px);
}

.seo-page-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  padding: clamp(18px, 3vw, 30px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-page-card img {
  width: 100%;
  aspect-ratio: 1 / 0.75;
  object-fit: contain;
  padding: 16px;
  background: #f7f8f8;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.seo-page-card p:not(.eyebrow) {
  color: var(--steel);
  line-height: 1.55;
}

.seo-page-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--steel);
  line-height: 1.45;
}

@media (max-width: 1040px) {
  .finder-band,
  .result-grid,
  .enquiry-band,
  .platform-band,
  .seo-page-card {
    grid-template-columns: 1fr;
  }

  .finder-band {
    min-height: 0;
  }

  .finder-panel {
    order: 2;
  }

  .finder-copy {
    order: 1;
  }

  .machine-visual {
    grid-template-columns: 1fr;
  }

  .preview-panel h2 {
    max-width: 14ch;
  }

  .machine-summary {
    position: static;
  }

  .category-tiles,
  .selected-products-panel,
  .attachment-results {
    grid-column: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selected-products-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand-logo {
    width: 118px;
    height: 40px;
  }

  nav {
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
  }

  nav a {
    font-size: 0.74rem;
  }

  nav a[href="./fitment-pages.html"] {
    display: none;
  }

  .finder-band,
  .results-section,
  .enquiry-band,
  .platform-band,
  .seo-hero,
  .seo-page-grid {
    padding-right: 18px;
    padding-left: 18px;
  }

  .finder-panel,
  .machine-summary,
  .attachment-card,
  .enquiry-form {
    width: 100%;
    max-width: 100%;
  }

  .finder-panel {
    position: static;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3.05rem);
    line-height: 0.94;
  }

  .finder-copy {
    display: grid;
  }

  .machine-visual {
    min-height: 260px;
    padding: 14px;
  }

  .preview-panel {
    gap: 16px;
  }

  .preview-products {
    grid-template-columns: 1fr;
  }

  .preview-product {
    grid-template-columns: 92px 1fr;
    align-items: center;
    gap: 12px;
  }

  .preview-product img {
    grid-row: span 2;
    height: 76px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .show-all-button {
    grid-column: 1;
  }

  .show-all-button {
    grid-row: auto;
    width: 100%;
  }

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

  .attachment-results,
  .selected-products-panel,
  .product-card-meta {
    grid-template-columns: 1fr;
  }

  .category-tiles {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .selected-products-panel {
    position: sticky;
    bottom: 0;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    margin-bottom: 4px;
    border-radius: 8px 8px 0 0;
  }

  .selected-products-list {
    max-height: 118px;
    overflow: auto;
  }

  .selected-product-chip {
    max-width: none;
  }

  .selected-products-actions {
    display: grid;
    grid-template-columns: 1fr 0.45fr;
  }

  .attachment-card {
    min-height: 0;
  }

  .attachment-image {
    height: 190px;
  }

  .card-body {
    gap: 10px;
    padding: 14px;
  }

  .product-card-meta span {
    min-height: 0;
  }

  .text-button {
    min-height: 52px;
    margin-right: 14px;
    margin-bottom: 14px;
    margin-left: 14px;
    width: calc(100% - 28px);
  }

  .category-tile {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 112px;
    padding: 14px;
  }

  .category-tile img {
    width: 82px;
    height: 82px;
  }

  .enquiry-form {
    grid-template-columns: 1fr;
  }

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