:root {
  --hose-blue: #0a6fa8;
  --hose-blue-dark: #085a88;
  --sunshine: #ffc93c;
  --sunshine-dark: #f2b519;
  --navy: #0b2a4a;
  --cream: #fff8e7;
  --mist: #e9f1f5;
  --white: #ffffff;
  --green: #1f8a5b;
  --flamingo: #f7a8b8;
  --ink-soft: #3d5568;
  --line: #d3e1e8;
  --radius-card: 24px;
  --radius-img: 20px;
  --shadow: 0 8px 24px rgba(11, 42, 74, 0.1);
  --font-head: "Fredoka", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--hose-blue);
}

a:hover {
  color: var(--hose-blue-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--hose-blue);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100% - 2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(233, 241, 245, 0.96);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.75rem 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
}

.wordmark-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

.amp {
  color: var(--hose-blue);
}

.wordmark-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  order: 3;
  width: 100%;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--hose-blue);
}

@media (min-width: 900px) {
  .site-nav {
    order: 0;
    width: auto;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sunshine);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--sunshine-dark);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-small {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

.link-arrow {
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: " \2192";
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-blue {
  background: var(--hose-blue);
  color: var(--white);
}

.section-blue a {
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hose-blue);
  margin-bottom: 0.5rem;
}

.section-blue .eyebrow {
  color: var(--sunshine);
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.section-blue .lede {
  color: #e3f1f8;
}

.deco-stripe {
  height: 18px;
  background: linear-gradient(
    to bottom,
    var(--sunshine) 0 33%,
    var(--flamingo) 33% 66%,
    var(--hose-blue) 66% 100%
  );
}

.wave {
  display: block;
  width: 100%;
  height: 48px;
  background: url("/img/wave.svg") center bottom / 100% 100% no-repeat;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
  background:
    repeating-conic-gradient(from 180deg at 50% 110%, rgba(255, 201, 60, 0.16) 0deg 6deg, transparent 6deg 14deg),
    var(--mist);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  font-weight: 500;
  color: var(--ink-soft);
}

.trust li::before {
  content: "\2713";
  color: var(--green);
  font-weight: 700;
  margin-right: 0.4rem;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  border-top: 8px solid var(--sunshine);
}

.hero-card h2 {
  font-size: 1.6rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--hose-blue);
  margin-top: auto;
}

.badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: var(--flamingo);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.chips li {
  background: #e4f1f8;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.chips li span {
  font-weight: 700;
  color: var(--hose-blue);
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  counter-increment: step;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sunshine);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Membership band */
.plans {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 720px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  position: relative;
}

.plan .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--hose-blue);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

tbody th {
  font-weight: 700;
}

tbody th small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}

td {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--hose-blue);
}

.footnote {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

/* ZIP check */
.zip-check {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.zip-check label {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 0.35rem;
}

.zip-result {
  width: 100%;
  font-weight: 700;
  min-height: 1.5em;
}

.zip-result.served {
  color: var(--green);
}

.zones {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .zones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Forms */
.lead-form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
}

.field small {
  font-weight: 400;
  color: var(--ink-soft);
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

input,
select,
textarea {
  font: 400 1rem var(--font-body);
  color: var(--navy);
  background: var(--white);
  border: 2px solid #c9d6df;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  min-height: 48px;
  width: 100%;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--hose-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 111, 168, 0.2);
}

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

.form-status {
  font-weight: 700;
  min-height: 1.5em;
  margin: 0;
}

.form-status.error {
  color: #b42318;
}

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

.consent {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 0;
  min-height: 44px;
  list-style-position: inside;
}

.faq details p {
  margin-bottom: 1rem;
}

/* Photo placeholder */
.placeholder {
  border: 3px dashed #b9cbd6;
  border-radius: var(--radius-card);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
}

/* Prose pages */
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.updated {
  color: var(--ink-soft);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #d8e3ec;
  padding: 3.5rem 0 2rem;
}

.site-footer a {
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-name .amp {
  color: var(--sunshine);
}

.footer-tag {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer-heading {
  font-weight: 700;
  color: var(--sunshine);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

.footnote.on-blue {
  color: #e3f1f8;
}

.hero-card .trust {
  flex-direction: column;
  margin-top: 0.5rem;
}

.wordmark-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sunshine);
}
