:root {
  color-scheme: light dark;
  --paper: #f4f7fa;
  --paper-deep: #e6edf4;
  --surface: #ffffff;
  --ink: #141a33;
  --muted: #4c5a76;
  --line: #c9d4e2;
  --navy: #1a237e;
  --navy-deep: #10165c;
  --aqua: #00b8d4;
  --aqua-bright: #29d3ee;
  --navy-ink: #1a237e;
  --shadow: 0 24px 60px rgba(26, 35, 126, .12);
  --radius-lg: 30px;
  --radius-md: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1226;
    --paper-deep: #131a36;
    --surface: #182046;
    --ink: #eef2fa;
    --muted: #a9b6d4;
    --line: #2c3763;
    --navy: #8f9bf0;
    --navy-deep: #c3cbfa;
    --aqua: #29d3ee;
    --aqua-bright: #5fe3f7;
    --navy-ink: #eef2fa;
    --shadow: 0 28px 70px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 92% 2%, color-mix(in srgb, var(--aqua) 22%, transparent), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: "Public Sans", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Source Serif 4", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--navy-ink);
}
.brand img { width: 44px; height: auto; border-radius: 50%; }
.topline .nav-links { display: flex; gap: 26px; flex-wrap: wrap; }
.topline .nav-links a {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
.topline .nav-links a:hover, .topline .nav-links a:focus-visible,
.topline .nav-links a[aria-current="page"] { color: var(--navy-ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 640px;
  padding: 84px 0 100px;
}
.place {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--navy-ink);
  font-size: .93rem;
  font-weight: 700;
}
.place::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--aqua);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.9rem, 5.9vw, 5.4rem);
  line-height: 1;
  letter-spacing: -.04em;
}
h1 em { color: var(--navy-ink); font-style: normal; }
.hero-copy > p:not(.place) {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.byline {
  margin-top: 26px;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); }
.button.secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  .button { color: #0d1226; }
  .button.secondary { color: var(--navy); }
}

.logo-card {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.logo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-bottom: 8px solid var(--aqua);
}
.logo-card img {
  width: min(100%, 460px);
  height: auto;
  display: block;
}

/* Interior page hero */
.page-hero { padding: 72px 0 20px; }
.page-hero .place { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin-bottom: 18px; }
.page-hero > p { max-width: 680px; color: var(--muted); font-size: 1.15rem; line-height: 1.65; margin-bottom: 0; }

section.band-section { padding: 90px 0 112px; border-top: 1px solid var(--line); }
.band-section.tight { padding: 64px 0 84px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 52px;
}
h2 {
  margin-bottom: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.section-head p { margin-bottom: 4px; color: var(--muted); font-size: 1.08rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature {
  padding: 30px 32px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(26, 35, 126, .07);
}
.feature .rule {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 20px;
  background: var(--aqua);
  border-radius: 2px;
}
.feature h3 {
  margin-bottom: 8px;
  font-family: "Source Serif 4", serif;
  font-size: 1.5rem;
  line-height: 1.15;
}
.feature p { margin-bottom: 0; color: var(--muted); }
.feature .cta-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); text-decoration: none; }
.feature .cta-link:hover { text-decoration: underline; }

.callout {
  margin-top: 26px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
  color: #fff;
}
.callout h3 {
  margin-bottom: 12px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.08;
}
.callout p { max-width: 860px; margin-bottom: 0; font-size: 1.08rem; opacity: .92; }
.callout .kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--aqua-bright);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.callout .button { margin-top: 24px; border-color: var(--aqua-bright); background: var(--aqua-bright); color: #0d1226; }
.callout .button:hover, .callout .button:focus-visible { background: #fff; border-color: #fff; }

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split-copy h2 { margin-bottom: 20px; }
.split-copy > p { color: var(--muted); font-size: 1.08rem; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 12px 0 12px 34px; color: var(--muted); border-top: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 12px;
  color: var(--aqua);
  font-weight: 700;
}
.terms {
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.terms h3 {
  margin-bottom: 18px;
  font-family: "Source Serif 4", serif;
  font-size: 1.7rem;
}
.terms ul { margin: 0; padding: 0; list-style: none; }
.terms li { position: relative; padding: 12px 0 12px 34px; color: var(--muted); border-top: 1px solid var(--line); }
.terms li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 12px;
  color: var(--aqua);
  font-weight: 700;
}

.contact { padding: 96px 0 80px; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-card h2 { margin-bottom: 14px; font-size: clamp(2.35rem, 4.7vw, 4rem); }
.contact-card p { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.contact-actions { display: flex; gap: 12px; }
.contact-actions .button { min-width: 148px; }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.quote-form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--aqua);
  outline-offset: 1px;
  border-color: var(--aqua);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: .95rem; }

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.area-card {
  padding: 30px 32px;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(26, 35, 126, .07);
}
.area-card h3 { font-family: "Source Serif 4", serif; font-size: 1.5rem; margin-bottom: 10px; }
.area-card p { color: var(--muted); margin-bottom: 0; }

.faq { max-width: 820px; }
.faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: "Source Serif 4", serif; font-size: 1.35rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin-bottom: 0; }

footer.site-footer {
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-grid strong { color: var(--ink); display: block; margin-bottom: 8px; }
.footer-grid p { margin: 0 0 6px; }
.footer-grid a { text-decoration: none; font-weight: 700; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--navy-ink); }
.footer-legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .shell { width: min(100% - 32px, 700px); }
  .topline { min-height: 60px; gap: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 64px 0 76px; }
  .section-head, .split-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { grid-template-columns: 1fr; }
  .feature-grid.three, .area-list, .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-form { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topline .nav-links { gap: 16px; }
  .topline .nav-links a { font-size: .86rem; }
  .hero { padding-top: 52px; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .band-section { padding: 72px 0 84px; }
  .band-section.tight { padding: 52px 0 66px; }
  .section-head { margin-bottom: 36px; }
  .feature-grid, .feature-grid.three, .area-list, .footer-grid { grid-template-columns: 1fr; }
  .contact { padding: 72px 0 58px; }
  .contact-card { border-radius: 20px; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
