@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}

:root {
  --petrol: #1A5E63;
  --petrol-dark: #123E42;
  --secondary: #4C9F8A;
  --bg: #F5F7F6;
  --ink: #16211F;
  --muted: #5C6A67;
  --hairline: #DDE5E2;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 20px; }

p {
  margin: 0 0 16px;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-link {
  display: block;
  width: 168px;
  flex-shrink: 0;
}

.logo-link svg {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--petrol);
}

.main-nav a.current {
  color: var(--petrol);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--petrol);
  color: #fff;
}

.btn-primary:hover {
  background: var(--petrol-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--petrol);
  border-color: var(--petrol);
}

.btn-ghost:hover {
  background: var(--petrol);
  color: #fff;
}

.btn-on-dark {
  background: #fff;
  color: var(--petrol-dark);
}

.btn-on-dark:hover {
  background: var(--bg);
}

/* Hero */

.hero {
  padding: 72px 0 56px;
}

.hero-inner > h1 {
  max-width: 720px;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 16px;
}

.hero p.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Page header (non-home pages) */

.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--hairline);
}

.page-header .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 14px;
}

.page-header p.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
}

/* Sections */

section {
  padding: 64px 0;
}

section.tight {
  padding: 48px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 40px;
}

/* Cards grid */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px 28px;
}

.card h3 {
  color: var(--petrol-dark);
}

.card a.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--petrol);
  text-decoration: none;
}

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

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(76, 159, 138, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--petrol);
  font-weight: 600;
}

/* Statement band */

.band-dark {
  background: var(--petrol-dark);
  color: #fff;
}

.band-dark h2 {
  color: #fff;
}

.band-dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.statement {
  text-align: center;
}

.statement h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.statement p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
}

/* Numbered steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

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

.step {
  counter-increment: step;
  position: relative;
  padding-top: 8px;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.step h3 {
  margin-bottom: 6px;
}

/* Lists */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Pricing / level cards */

.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.level-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.level-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(26, 94, 99, 0.1);
}

.level-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 10px;
}

.level-price {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.level-card ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex-grow: 1;
}

.level-card li {
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
}

.level-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary);
}

/* Callout */

.callout {
  background: rgba(76, 159, 138, 0.1);
  border: 1px solid rgba(76, 159, 138, 0.3);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.callout p {
  margin: 0;
  max-width: 520px;
}

/* CTA band */

.cta-band {
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 24px;
}

/* Contact form */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
}

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

.contact-details {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 28px;
}

.contact-details a {
  color: var(--petrol);
  font-weight: 500;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

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

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  width: 140px;
  margin-bottom: 14px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--petrol);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */

@media (max-width: 1240px) {
  .main-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 860px) {
  .grid-3,
  .levels {
    grid-template-columns: 1fr;
  }

  .steps,
  .steps.steps-3 {
    grid-template-columns: 1fr;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.stat {
  border-top: 2px solid var(--secondary);
  padding-top: 16px;
}

.stat-value {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: var(--petrol);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--muted);
  font-size: 15px;
}

/* Chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chips li {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(76, 159, 138, 0.14);
  border: 1px solid rgba(76, 159, 138, 0.35);
  color: var(--petrol-dark);
  font-size: 14.5px;
  font-weight: 500;
}

/* Four-up levels */

.levels.levels-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.level-card .level-note {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 16px;
}

/* Terms page */

.terms > * {
  max-width: 760px;
}

.terms h2 {
  font-size: 22px;
  margin: 40px 0 16px;
  color: var(--petrol-dark);
}

.terms ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.terms ol li {
  position: relative;
  padding-left: 44px;
}

.terms ol li .clause {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
  color: var(--petrol);
}

.terms .updated {
  color: var(--muted);
  font-size: 14px;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.schedule th {
  width: 34%;
  font-weight: 500;
  background: var(--bg);
}

.schedule tr:last-child th,
.schedule tr:last-child td {
  border-bottom: none;
}

@media (max-width: 1100px) {
  .levels.levels-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .stats,
  .levels.levels-4 {
    grid-template-columns: 1fr;
  }
}

.section-head a,
.terms a,
p.muted a {
  color: var(--petrol);
  text-decoration: underline;
}

.site-header .container {
  max-width: 1240px;
}

.footer-bottom .company {
  max-width: 560px;
}

@media (min-width: 861px) {
  .footer-bottom .company {
    text-align: right;
  }
}

.main-nav a.btn-primary,
.main-nav a.btn-primary:hover {
  color: #fff;
}

.levels.levels-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  gap: 24px;
}

.level-amount {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 500;
  color: var(--petrol);
  line-height: 1.15;
  margin-bottom: 16px;
}

.level-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 860px) {
  .levels.levels-2 {
    grid-template-columns: 1fr;
  }
}
