:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --ink: #102431;
  --muted: #586871;
  --panel: #ffffff;
  --line: #dce3df;
  --accent: #247b7d;
  --accent-dark: #14565c;
  --warm: #d9a95f;
  --shadow: 0 24px 70px rgba(31, 59, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #e8f0ec 0, #f6f8f5 390px);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

a {
  color: var(--accent-dark);
}

.topbar,
main,
footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 86, 92, 0.18);
}

nav {
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 44px;
  padding: 22px 0 72px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7.6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.22;
}

p {
  color: var(--muted);
  font-size: 16px;
}

.lede {
  max-width: 580px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0d242b;
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.panel {
  margin: 0 0 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(31, 59, 67, 0.07);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: 28px;
  align-items: center;
}

.contact-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
  text-decoration: none;
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

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

.grid article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.grid p,
details p,
.panel p:last-child,
footer p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

details p {
  padding-top: 10px;
}

.links-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 34px;
}

.links-panel a {
  font-weight: 760;
}

footer {
  padding: 6px 0 38px;
  text-align: center;
}

footer p {
  font-size: 14px;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
    gap: 28px;
    padding-bottom: 36px;
  }

  .hero-media {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .topbar,
  main,
  footer {
    width: min(100% - 28px, 1080px);
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  h1 {
    font-size: 44px;
  }

  .panel {
    padding: 22px;
  }

  .actions {
    flex-direction: column;
  }
}
