:root {
  color-scheme: light;
  --ink: #111315;
  --muted: #5f6972;
  --line: #d8e1e8;
  --panel: #ffffff;
  --soft: #eef5f8;
  --soft-2: #f7fafb;
  --accent: #d84837;
  --accent-strong: #b73125;
  --teal: #118d7c;
  --blue: #2c6ecb;
  --shadow: 0 18px 48px rgba(31, 46, 56, 0.12);
  --max: 1180px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

main {
  padding-top: var(--header-height);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 54px);
  background: rgba(248, 251, 252, 0.84);
  border-bottom: 1px solid rgba(216, 225, 232, 0.76);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-strong);
}

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.nav-plan-button {
  margin-left: 4px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 19, 21, 0.12);
}

.nav-links a.nav-plan-button:hover,
.nav-links a.nav-plan-button:focus-visible,
.nav-links a.nav-plan-button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 96px;
  background:
    linear-gradient(90deg, rgba(248, 251, 252, 0.98) 0%, rgba(248, 251, 252, 0.9) 28%, rgba(248, 251, 252, 0.2) 58%),
    url("/static/assets/hero.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero,
.plan-hero,
.section,
.image-band {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero-copy {
  width: min(560px, 100%);
}

.plan-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 88px;
  background:
    radial-gradient(circle at 80% 22%, rgba(216, 72, 55, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbfc 0%, #eef5f8 100%);
  border-bottom: 1px solid var(--line);
}

.plan-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 48px;
}

.plan-copy h1 {
  max-width: 620px;
  font-size: 64px;
}

.plan-visual {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle,
.section-copy p,
.section-heading p,
.feature-card p,
.safety-item span,
.site-footer {
  color: var(--muted);
}

.hero-subtitle {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--ink);
}

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

.section,
.image-band {
  padding: 96px clamp(20px, 5vw, 72px);
}

.soft-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-section {
  background: #ffffff;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.two-column,
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.feature-layout.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.feature-layout.reverse .section-copy {
  order: 2;
}

.section-copy p {
  margin: 22px 0 0;
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 18px;
}

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

.metric,
.feature-card,
.safety-item,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.plan-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

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

.pricing-card .button {
  margin-top: 18px;
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 26px 0 20px;
}

.price {
  font-size: 72px;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.price-unit {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  padding-bottom: 6px;
}

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

.metric {
  min-height: 132px;
  padding: 24px;
}

.metric strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.wide-visual,
.panel-visual {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-visual {
  background: #ffffff;
}

.wide-visual.compact {
  box-shadow: none;
  border: 1px solid var(--line);
}

.panel-visual {
  background: var(--soft-2);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-card {
  padding: 22px;
}

.feature-card p {
  margin: 10px 0 0;
  font-size: 15px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #edf3f7;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.safety-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.safety-list {
  display: grid;
  gap: 12px;
}

.safety-item {
  padding: 22px;
}

.safety-item strong {
  display: block;
  font-size: 18px;
}

.safety-item span {
  display: block;
  margin-top: 8px;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #f3f8fa;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
}

@media (max-width: 980px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    min-height: 64px;
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    min-height: 780px;
    align-items: flex-start;
    padding-top: 104px;
    background:
      linear-gradient(180deg, rgba(248, 251, 252, 0.98) 0%, rgba(248, 251, 252, 0.9) 42%, rgba(248, 251, 252, 0.34) 100%),
      url("/static/assets/hero.png") center bottom / 1120px auto no-repeat;
  }

  h1 {
    font-size: 58px;
  }

  .plan-hero {
    min-height: auto;
    padding-top: 104px;
  }

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

  .plan-copy h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 36px;
  }

  .two-column,
  .feature-layout,
  .feature-layout.reverse {
    grid-template-columns: 1fr;
  }

  .feature-layout.reverse .section-copy {
    order: 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 0px;
  }

  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 18px;
  }

  main {
    padding-top: 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding: 56px 20px 60px;
    background:
      linear-gradient(180deg, rgba(248, 251, 252, 0.98) 0%, rgba(248, 251, 252, 0.94) 48%, rgba(248, 251, 252, 0.38) 100%),
      url("/static/assets/hero.png") center bottom / 900px auto no-repeat;
  }

  h1 {
    font-size: 46px;
  }

  .plan-copy h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-subtitle,
  .section-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .section,
  .image-band {
    padding: 68px 20px;
  }

  .feature-list,
  .metric-grid,
  .capability-grid,
  .plan-benefits {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 58px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
