:root {
  --color-navy: #0b1f3a;
  --color-navy-soft: #123456;
  --color-accent: #2db7a3;
  --color-accent-dark: #168f81;
  --color-bg: #ffffff;
  --color-muted: #f4f7fb;
  --color-card: #ffffff;
  --color-border: #d9e2ec;
  --color-text: #172033;
  --color-text-muted: #536174;
  --shadow-soft: 0 18px 45px rgba(11, 31, 58, 0.1);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.container.narrow {
  max-width: 820px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 31, 58, 0.98);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(238px, calc(100vw - 128px));
  max-height: 46px;
  height: auto;
  object-fit: contain;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-lines {
  display: grid;
  gap: 5px;
  width: 20px;
}

.nav-toggle-lines span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% - 6px);
  right: 0;
  left: 0;
  padding: 14px;
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-muted);
  color: var(--color-navy);
}

.hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(18, 52, 86, 0.96)),
    var(--color-navy);
  padding: 88px 0;
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.28;
}

.hero-subtitle,
.page-subtitle {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.45;
  font-weight: 650;
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  color: #061727;
  background: var(--color-accent);
}

.button-primary:hover {
  background: #45c6b5;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-small {
  min-height: 42px;
  align-self: flex-start;
  color: #ffffff;
  background: var(--color-navy);
}

.button-small:hover {
  background: var(--color-navy-soft);
}

.hero-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.panel-label,
.card-kicker {
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel .panel-label {
  color: var(--color-accent);
}

.check-list,
.feature-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.feature-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.check-list li::before,
.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  content: "✓";
  color: var(--color-accent);
  font-weight: 900;
}

.section {
  padding: 76px 0;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

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

.section-heading p,
.card p,
.legal-content p,
.legal-content li,
.contact-list,
.page-hero p {
  color: var(--color-text-muted);
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.two,
.card-grid.three {
  grid-template-columns: 1fr;
}

.card,
.notice {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 26px;
}

.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.compact-card {
  padding: 20px;
  min-height: 92px;
}

.compact-card h3 {
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-hero {
  padding: 74px 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.98), rgba(18, 52, 86, 0.94)),
    var(--color-navy);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.notice {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--color-accent);
}

.notice p {
  margin: 0;
  color: var(--color-text);
  font-weight: 650;
}

.contact-card {
  max-width: 680px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 24px;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.contact-list dt {
  color: var(--color-text);
  font-weight: 800;
}

.contact-list dd {
  margin: 4px 0 0;
}

.legal-section {
  background: var(--color-muted);
}

.legal-content {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content address {
  color: var(--color-text-muted);
  font-style: normal;
}

.legal-content ul {
  color: var(--color-text-muted);
  padding-left: 22px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #08182d;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a {
  color: #ffffff;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 720px) {
  .card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .header-inner {
    min-height: 82px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    color: #ffffff;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .site-nav a {
    color: rgba(255, 255, 255, 0.82);
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .hero {
    padding: 112px 0;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  .section {
    padding: 56px 0;
  }

  .card,
  .legal-content,
  .hero-panel {
    padding: 22px;
  }

  .button-row,
  .button {
    width: 100%;
  }
}
