:root {
  --ink: #07142f;
  --ink-soft: #34405a;
  --muted: #65728a;
  --line: #d9e2ef;
  --panel: #ffffff;
  --panel-soft: #f7faff;
  --navy: #061a38;
  --navy-2: #02112a;
  --blue: #0d63d8;
  --blue-2: #23a8ff;
  --green: #149447;
  --green-soft: #e8f8ef;
  --orange: #ff8c1a;
  --purple: #7257df;
  --pink: #e44f96;
  --shadow: 0 18px 45px rgba(7, 20, 47, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

svg {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f7fbff;
  background:
    linear-gradient(160deg, rgba(7, 34, 75, 0.96), rgba(2, 13, 32, 0.98)),
    #061a38;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(760px, 70vw);
  height: 280px;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(135deg, transparent 0 44%, rgba(35, 168, 255, 0.32) 45% 46%, transparent 47%),
    radial-gradient(circle, rgba(35, 168, 255, 0.42) 1px, transparent 1.5px);
  background-size: 100% 100%, 22px 22px;
}

.site-nav,
.hero-grid,
.container {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 58px;
  height: 40px;
  place-items: center;
  color: #ffffff;
}

.brand-mark svg {
  width: 58px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 620;
}

.nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:not(.nav-cta):hover {
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #ffffff;
  border: 1px solid #1681ff;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(22, 129, 255, 0.3);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 20px 0 60px;
}

.hero-copy,
.cost-panel,
.chart-wrap,
.drivers,
.learn-block {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 570px;
  margin: 0;
  color: #f8fbff;
  font-size: clamp(42px, 5.2vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 585px;
  margin: 22px 0 0;
  color: rgba(248, 251, 255, 0.88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 760;
  border-radius: 6px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #177dff, #075ed3);
  border: 1px solid #2b91ff;
  box-shadow: 0 10px 24px rgba(13, 99, 216, 0.3);
}

.button-secondary {
  color: #bafbd1;
  background: rgba(3, 30, 32, 0.28);
  border: 1px solid #21c56f;
}

.hero-note {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(248, 251, 255, 0.86);
  font-size: 16px;
}

.cost-panel {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(182, 209, 247, 0.8);
  border-radius: 8px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    var(--shadow);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 8px;
}

.panel-label,
.drivers h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.metric-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.metric-row strong {
  font-size: 30px;
  line-height: 1;
}

.trend {
  color: var(--green);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.05;
}

.trend small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 640;
}

.panel-chip {
  padding: 5px 8px;
  color: #27517f;
  background: #edf6ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}

.panel-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.85fr);
  gap: 20px;
  padding: 6px 22px 18px;
}

.chart-wrap {
  min-height: 214px;
}

.chart {
  width: 100%;
  height: auto;
}

.chart-grid path {
  fill: none;
  stroke: #dce5f2;
  stroke-width: 1;
}

.chart-axis text {
  fill: #5d6b80;
  font-size: 11px;
  font-weight: 620;
}

.chart-line {
  fill: none;
  stroke: #1269df;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-dot {
  fill: #1269df;
  stroke: #ffffff;
  stroke-width: 3;
}

.drivers {
  padding-left: 18px;
  border-left: 1px solid #dce5f2;
}

.drivers ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.drivers li {
  display: grid;
  grid-template-columns: 28px minmax(82px, 1fr) auto 36px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.drivers strong {
  font-size: 12px;
}

.drivers li > span:last-child {
  color: var(--muted);
  text-align: right;
}

.driver-name {
  font-weight: 720;
}

.driver-icon {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #ffffff;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 820;
}

.driver-icon.orange {
  background: var(--orange);
}

.driver-icon.green {
  background: #20a95b;
}

.driver-icon.blue {
  background: #176bd9;
}

.driver-icon.purple {
  background: var(--purple);
}

.driver-icon.pink {
  background: var(--pink);
}

.driver-icon.muted {
  color: var(--ink);
  background: #e8eef7;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 22px 20px;
}

.summary-grid div {
  min-height: 78px;
  padding: 16px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(7, 20, 47, 0.06);
}

.summary-grid span,
.summary-grid small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 720;
}

.summary-grid strong {
  display: block;
  margin: 5px 0 1px;
  color: var(--ink);
  font-size: 22px;
}

.summary-grid div:first-child strong {
  color: var(--green);
}

.summary-grid small {
  color: var(--muted);
  font-weight: 620;
}

.section {
  padding: 22px 0;
}

.leak-section {
  padding-top: 26px;
  background: #ffffff;
}

.section h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.12;
  letter-spacing: 0;
}

.leak-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-card,
.learn-card,
.resource-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 20, 47, 0.06);
}

.mini-card {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 18px;
  padding: 16px;
}

.mini-card h3,
.learn-card h3,
.resource-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.18;
}

.icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon.blue {
  color: #1269df;
  background: #e7f1ff;
}

.icon.green {
  color: #149447;
  background: #e8f8ef;
}

.icon.purple {
  color: #7257df;
  background: #f0ecff;
}

.icon.pink {
  color: #e44f96;
  background: #fff0f7;
}

.icon.orange {
  color: #f08216;
  background: #fff2e4;
}

.learning-section {
  padding-top: 6px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.safety-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 10px 20px;
  padding: 20px 22px 10px;
  background:
    linear-gradient(90deg, rgba(228, 248, 235, 0.92), rgba(249, 255, 251, 0.98)),
    #f7fff9;
  border: 1px solid #caecd8;
  border-radius: 8px;
}

.safety-panel h2 {
  margin-bottom: 8px;
}

.safety-panel p,
.learn-card p,
.resource-card p,
.checklist-cta p {
  margin: 0;
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  color: var(--ink-soft);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #ffffff;
  content: "✓";
  background: #1ca457;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 840;
}

.clipboard-art {
  display: grid;
  align-items: center;
  justify-items: center;
  border-left: 1px solid #bfdfca;
}

.clipboard-art svg {
  width: 180px;
  max-width: 100%;
}

.clipboard-art .board,
.clipboard-art .shield,
.checklist-art .paper {
  fill: #eaf8ef;
  stroke: #168a48;
  stroke-linejoin: round;
  stroke-width: 4;
}

.clipboard-art .clip,
.checklist-art .clip {
  fill: #caead6;
  stroke: #168a48;
  stroke-linejoin: round;
  stroke-width: 4;
}

.clipboard-art .line,
.checklist-art .paper-line {
  fill: none;
  stroke: #8cc4a3;
  stroke-linecap: round;
  stroke-width: 4;
}

.clipboard-art .tick,
.clipboard-art .shield-check,
.checklist-art .paper-check {
  fill: none;
  stroke: #168a48;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.safety-goal {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 6px;
  color: #085529;
  background: #daf5e3;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
}

.safety-goal svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.learn-block h2 {
  margin: 10px 0 16px;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.learn-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  min-height: 126px;
  padding: 16px;
}

.learn-card p {
  margin-top: 5px;
  font-size: 14px;
}

.checklist-section {
  padding-top: 0;
}

.checklist-cta {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 16px 28px;
  background: #f0f8ff;
  border: 1px solid #b8dbff;
  border-radius: 8px;
}

.checklist-art svg {
  width: 126px;
}

.checklist-art .paper {
  fill: #ffffff;
  stroke: #1269df;
}

.checklist-art .clip {
  fill: #a8cffd;
  stroke: #1269df;
}

.checklist-art .paper-line {
  stroke: #b8d4f5;
}

.checklist-art .paper-check {
  stroke: #17a157;
}

.checklist-cta h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.checklist-cta p {
  max-width: 710px;
  font-size: 15px;
}

.checklist-button {
  white-space: nowrap;
}

.latest-section {
  padding-top: 0;
  padding-bottom: 26px;
}

.latest-section h2 {
  margin-bottom: 8px;
}

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

.resource-card {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 18px;
  min-height: 132px;
  padding: 12px;
}

.resource-card p {
  margin-top: 5px;
  font-size: 14px;
}

.resource-card span:not(.resource-art) {
  display: inline-block;
  margin-top: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.resource-art {
  display: grid;
  width: 92px;
  height: 112px;
  place-items: center;
  border-radius: 8px;
}

.resource-art svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.resource-art.navy {
  color: #ffffff;
  background: #061a38;
}

.resource-art.green {
  color: #ffffff;
  background: #1ca457;
}

.resource-art.purple {
  color: #ffffff;
  background: #5b48ae;
}

.site-footer {
  color: rgba(255, 255, 255, 0.9);
  background: var(--navy-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 34px;
  align-items: center;
  padding: 24px 0;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-contact {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-contact > a {
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 22px;
}

.social-links a {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #ffffff;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-disclaimer {
  max-width: 390px;
  justify-self: end;
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy h1,
  .hero-subtitle,
  .hero-note {
    max-width: 760px;
  }

  .leak-grid,
  .latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .checklist-cta {
    grid-template-columns: 110px 1fr;
  }

  .checklist-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-nav,
  .hero-grid,
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
  }

  .nav-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, auto);
    gap: 12px 18px;
    align-items: center;
    justify-content: start;
  }

  .nav-cta {
    grid-column: 1 / -1;
    min-height: 40px;
    padding: 0 16px;
  }

  .hero-grid {
    padding: 12px 0 40px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

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

  .panel-main,
  .summary-grid,
  .leak-grid,
  .learn-grid,
  .latest-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .drivers {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid #dce5f2;
    border-left: 0;
  }

  .drivers li {
    grid-template-columns: 28px minmax(0, 1fr) auto 34px;
  }

  .driver-name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .summary-grid div {
    min-height: 0;
  }

  .safety-panel {
    grid-template-columns: 1fr;
  }

  .clipboard-art {
    border-top: 1px solid #bfdfca;
    border-left: 0;
  }

  .safety-goal {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 12px;
    font-size: 15px;
  }

  .checklist-cta {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .checklist-button {
    grid-column: auto;
  }

  .resource-card {
    grid-template-columns: 84px 1fr;
  }

  .resource-art {
    width: 78px;
    height: 96px;
  }

  .resource-art svg {
    width: 60px;
    height: 60px;
  }

  .footer-contact {
    justify-items: start;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .footer-disclaimer {
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 17px;
  }

  .brand-mark,
  .brand-mark svg {
    width: 48px;
    height: 34px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .cost-panel {
    width: 100%;
    margin: 0;
    overflow: hidden;
  }

  .panel-header {
    flex-direction: column;
  }

  .mini-card {
    min-height: 78px;
  }
}
