:root {
  --brand-blue: #1f76e8;
  --brand-blue-dark: #164d95;
  --ink: #172033;
  --muted: #5b6475;
  --line: #d8e5f5;
  --soft: #f4f8fd;
  --white: #ffffff;
  --accent: #13a678;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(31, 68, 117, 0.08);
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-blue-dark);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a,
.nav-label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--brand-blue-dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
}

.nav a:hover,
.nav-label:hover {
  background: var(--soft);
}

.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 68, 117, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu a {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, #eef7ff 0%, #ffffff 52%, #eaf8f3 100%);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--brand-blue-dark);
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: var(--white);
  color: var(--brand-blue-dark);
}

.hero-media,
.product-banner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(31, 68, 117, 0.2);
}

.page-hero {
  padding: clamp(42px, 7vw, 72px) clamp(20px, 5vw, 72px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.content {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 40px);
}

.section-title {
  margin: 0 0 18px;
  color: var(--brand-blue-dark);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

.lede {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

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

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(31, 68, 117, 0.07);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--brand-blue-dark);
  font-size: 1.22rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.58;
}

.card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-top: 30px;
}

.profile img {
  width: 280px;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.band {
  max-width: none;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.product-banner {
  border: 1px solid var(--line);
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #b8d4f5;
  border-radius: 999px;
  color: var(--brand-blue-dark);
  background: #f6fbff;
  font-weight: 700;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(31, 68, 117, 0.14);
}

.phone-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
  background: var(--brand-blue-dark);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer p {
  margin: 0 0 10px;
}

@media (max-width: 920px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    justify-content: stretch;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav-toggle:checked ~ .nav {
    display: grid;
  }

  .nav a,
  .nav-label {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    justify-content: flex-start;
  }

  .submenu {
    position: static;
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0;
    min-width: 0;
    background: transparent;
  }

  .submenu a {
    padding-left: 22px;
    color: var(--muted);
  }

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

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

@media (max-width: 620px) {
  .logo img {
    height: 48px;
  }

  .nav a,
  .nav-label {
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.94rem;
  }

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

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

  .profile img {
    width: min(100%, 280px);
  }
}
