:root {
  --navy: #0b2438;
  --blue: #0c6fa8;
  --sky: #eaf7ff;
  --text: #183042;
  --muted: #5f7180;
  --white: #ffffff;
  --line: #dbe7ee;
  --shadow: 0 18px 45px rgba(12, 51, 78, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(850px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(219,231,238,.9);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  color: white;
  font-size: .85rem;
}
.main-nav { display: flex; gap: 24px; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 700; }
.main-nav a:hover { color: var(--blue); }
.menu-button { display: none; }

.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(85,190,240,.35), transparent 32%),
    linear-gradient(155deg, #f7fcff 0%, #e8f7ff 60%, #f9fdff 100%);
  padding: 88px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
}
h1, h2, h3 { color: var(--navy); line-height: 1.15; }
h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.035em; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { margin: 0 0 10px; }
.lead { max-width: 690px; margin: 24px 0; font-size: 1.25rem; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.button.primary { background: var(--blue); color: white; box-shadow: 0 12px 25px rgba(12,111,168,.25); }
.button.primary:hover { transform: translateY(-1px); }
.button.secondary { background: white; color: var(--navy); border: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 9px; color: var(--muted); }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 10px; }
.device-card { padding: 24px; border-radius: 34px; background: rgba(255,255,255,.62); box-shadow: var(--shadow); }

.section { padding: 88px 0; }
.section.alt { background: #f5fafc; }
.section-intro { max-width: 760px; font-size: 1.12rem; color: var(--muted); margin: 20px 0 38px; }
.card-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 25px rgba(13,52,77,.06);
}
.feature-card p { margin-bottom: 0; color: var(--muted); }
.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  font-weight: 900;
}

.steps { margin-top: 38px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.steps article {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.steps span {
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-weight: 900;
}
.steps p { margin: 0; color: var(--muted); }

.screenshot-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.screenshot-grid figure {
  margin: 0;
  padding: 16px;
  background: white;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(14,50,76,.07);
}
.screenshot-grid img { border-radius: 18px; }
.screenshot-grid figcaption { padding: 16px 4px 4px; font-weight: 800; color: var(--navy); }

.callout-section { padding-top: 30px; }
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: 30px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.callout h2, .callout .eyebrow { color: white; }
.callout p { max-width: 760px; margin-bottom: 0; }
.callout .button.primary { background: white; color: var(--navy); white-space: nowrap; }

details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
summary { cursor: pointer; font-weight: 850; color: var(--navy); }
details p { color: var(--muted); }

.support-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 48px; align-items: start; }
.contact-card { padding: 28px; border-radius: var(--radius); background: var(--sky); border: 1px solid #cfe9f6; }
.contact-card a { color: var(--blue); font-weight: 800; }
.small { font-size: .9rem; color: var(--muted); }

.site-footer { background: #071b2b; color: #dbe9f1; padding: 46px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: start; }
.footer-grid strong { color: white; font-size: 1.2rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: white; }
.copyright { grid-column: 1 / -1; margin: 8px 0 0; color: #9fb5c4; font-size: .9rem; }

.legal { padding: 80px 0; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.legal h2 { margin-top: 38px; font-size: 1.6rem; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .support-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .device-card { max-width: 620px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-grid figure { max-width: 560px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 66px 0; }
  .menu-button {
    display: inline-flex;
    border: 1px solid var(--line);
    background: white;
    border-radius: 10px;
    padding: 9px 13px;
    font-weight: 800;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 66px;
    padding: 18px;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; flex-direction: column; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}


.overview-image {
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.overview-section {
  padding-top: 68px;
}

.overview-figure {
  margin: 34px 0 0;
  padding: 16px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.overview-figure img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.overview-figure figcaption {
  padding: 14px 6px 2px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.screenshot-grid figure:first-child {
  grid-column: 1 / -1;
}

.screenshot-grid figure:first-child img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #f7fafc;
}


.hero-copy {
  max-width: 900px;
}

.hero-grid {
  justify-items: start;
}


.screenshot-grid .layout-screenshot {
  grid-column: 1 / -1;
}

.screenshot-grid .layout-screenshot img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #f7fafc;
}


.screenshot-grid .wide-screenshot {
  grid-column: 1 / -1;
}

.screenshot-grid .wide-screenshot img {
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  background: #f7fafc;
}


.screenshot-grid .wide-screenshot figcaption strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.05rem;
}


.screenshot-grid figure figcaption {
  padding: 4px 4px 16px;
}

.screenshot-grid figure figcaption + img {
  margin-top: 0;
}


.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  white-space: nowrap;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  font-size: .88rem;
}

.language-switch a {
  color: var(--muted);
}

.language-switch a:hover {
  color: var(--blue);
  background: var(--sky);
}

.language-switch .active {
  color: white;
  background: var(--blue);
}

.legal-nav {
  display: flex;
}

.legal-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  .nav-wrap {
    gap: 14px;
  }

  .header-tools {
    gap: 10px;
  }

  .main-nav {
    gap: 15px;
  }
}

@media (max-width: 680px) {
  .brand span:last-child {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .language-switch a,
  .language-switch span {
    min-width: 34px;
    min-height: 32px;
    padding: 0 8px;
  }

  .legal-nav {
    display: flex;
  }
}
