:root {
  --navy: #071b36;
  --blue: #1268d4;
  --blue-dark: #0b4fa8;
  --ice: #eef6ff;
  --mint: #dff7ea;
  --ink: #172033;
  --muted: #5d687a;
  --line: #dce4ef;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 27, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 228, 239, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  overflow: hidden;
  padding: 96px 0 82px;
  background:
    radial-gradient(circle at 82% 20%, rgba(18, 104, 212, 0.45), transparent 28%),
    linear-gradient(135deg, #05152c 0%, #092d5c 60%, #0f5fbf 100%);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #76b8ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 32px;
  color: #d8e8fa;
  font-size: 1.15rem;
}

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

.device-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.device-card img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto 24px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.status {
  color: #8cf0b7;
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--white);
}

.section-title {
  max-width: 700px;
  margin-bottom: 42px;
}

.section-title h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.section-title p,
.card p,
.legal-intro {
  color: var(--muted);
}

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(7, 27, 54, 0.06);
}

.card .icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  background: var(--ice);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 62px;
  counter-increment: steps;
}

.step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  content: counter(steps);
  font-weight: 800;
}

.cta {
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta p {
  max-width: 700px;
  color: #d8e8fa;
}

.legal-page {
  padding: 64px 0 92px;
}

.legal-card {
  max-width: 880px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.legal-card h2 {
  margin-top: 36px;
  color: var(--navy);
  font-size: 1.35rem;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--ice);
}

.site-footer {
  padding: 44px 0;
  background: var(--navy);
  color: #cbd8e8;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--white);
}

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

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

  .hero {
    padding-top: 64px;
  }

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

  .device-card {
    max-width: 520px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

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

  .nav-links {
    gap: 16px;
  }

  .nav-links .button {
    display: none;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .section {
    padding: 58px 0;
  }

  .cta {
    padding: 30px 24px;
  }
}
