:root {
  --ink: #14202a;
  --muted: #66727d;
  --paper: #f7fafb;
  --white: #ffffff;
  --line: #dce7ec;
  --accent: #57c936;
  --accent-dark: #2f871f;
  --accent-soft: #edfbe8;
  --green: #57c936;
  --charcoal: #17242e;
  --shadow: 0 22px 70px rgba(20, 32, 42, 0.12);
  --soft-shadow: 0 12px 34px rgba(20, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 231, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 360px;
  min-width: 220px;
}

.brand-logo {
  width: clamp(230px, 25vw, 360px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-link {
  color: var(--accent-dark);
  font-weight: 850;
}

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.header-button,
.button.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(87, 201, 54, 0.24);
}

.button.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 82px) 0 clamp(32px, 7vw, 96px);
}

.hero-copy {
  max-width: 720px;
}

.hero-logo {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-promises {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.hero-promises h1 {
  margin-bottom: 0;
}

.hero-promises h1:nth-child(2) {
  color: var(--accent-dark);
}

.hero-promises h1:nth-child(3) {
  color: #1d2b35;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lead {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--soft-shadow);
}

.quote-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.quote-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.quote-subhead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
}

.quote-panel form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9dce5;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfe;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(87, 201, 54, 0.18);
}

.rego-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.lookup-button {
  min-height: 46px;
  border: 1px solid rgba(87, 201, 54, 0.34);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
}

.lookup-status,
.quote-note,
.upload-box small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.lookup-status[data-state="checking"] {
  color: var(--accent-dark);
}

.lookup-status[data-state="found"] {
  color: #127a42;
}

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

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

.form-extra {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfe;
}

.form-extra[open] {
  padding-bottom: 14px;
}

.form-extra summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--accent-dark);
  font-weight: 900;
}

.form-extra > *:not(summary) {
  margin-right: 14px;
  margin-left: 14px;
}

.checkbox-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-fieldset legend {
  margin-bottom: 8px;
  font-weight: 900;
}

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

.check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  line-height: 1.25;
}

.check-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.upload-box {
  padding: 14px;
  border: 1px dashed rgba(47, 135, 31, 0.42);
  border-radius: 8px;
  background: var(--accent-soft);
}

.upload-box input {
  background: var(--white);
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.quote-note {
  display: block;
  margin-top: 14px;
}

.quote-note a {
  color: var(--accent-dark);
  font-weight: 900;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.stats-strip div {
  padding: 22px;
  background: var(--white);
}

.stats-strip strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.35rem;
}

.stats-strip span {
  color: var(--muted);
}

.section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 64% center;
}

.steps-list {
  display: grid;
  gap: 14px;
}

.steps-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.steps-list article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: white;
  background: var(--charcoal);
  font-weight: 900;
}

.steps-list p,
.vehicle-grid p,
.area-section p,
.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.vehicle-section,
.faq-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.vehicle-grid article {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.area-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding-right: clamp(20px, 5vw, 48px);
  padding-left: clamp(20px, 5vw, 48px);
  border-radius: 8px;
  color: white;
  background: var(--charcoal);
}

.area-section h2,
.area-section p {
  color: white;
}

.area-section .eyebrow {
  color: var(--accent);
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.faq-grid summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--accent-dark);
  font-weight: 900;
}

.faq-grid p {
  padding: 0 20px 20px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--charcoal);
}

footer strong {
  color: white;
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  nav {
    display: none;
  }

  .hero,
  .visual-split,
  .area-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 26px;
  }

  .stats-strip,
  .vehicle-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .area-section .button {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    flex-basis: auto;
  }

  .brand-logo {
    width: min(214px, 58vw);
    height: auto;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small,
  .header-link {
    display: none;
  }

  .header-button {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    width: min(100% - 28px, 1200px);
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 40px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .lead {
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: 16px;
  }

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

  .trust-row {
    display: grid;
  }

  .quote-panel {
    padding: 18px;
  }

  .quote-heading {
    display: block;
  }

  .rego-check,
  .vehicle-fields,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .lookup-button {
    width: 100%;
  }

  .stats-strip {
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .section {
    width: min(100% - 28px, 1200px);
    padding: 48px 0;
  }

  .image-frame {
    display: none;
  }

  .steps-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 15px;
  }

  .steps-list article > span {
    width: 38px;
    height: 38px;
  }

  .area-section {
    width: calc(100% - 28px);
    padding: 28px 20px;
  }

  body {
    padding-bottom: 74px;
  }

  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(87, 201, 54, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(20, 32, 42, 0.22);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 8px;
    color: white;
    background: var(--accent);
    font-weight: 900;
  }

  .mobile-action-bar a:last-child {
    color: var(--ink);
    background: var(--accent-soft);
  }
}
