:root {
  --navy: #102047;
  --ink: #17233c;
  --muted: #4d5b73;
  --blue: #2f6bff;
  --blue-dark: #1f54db;
  --line: #e3e8f2;
  --soft: #f4f6fb;
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(22, 39, 80, 0.08);
  --radius: 18px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(900px 420px at 15% -10%, #e7edff 0%, transparent 70%),
    radial-gradient(800px 380px at 90% 0%, #f3eefe 0%, transparent 65%),
    linear-gradient(180deg, #f7f8fd 0%, #ffffff 420px);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 28px));
  margin: 10px auto 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(227, 232, 242, 0.9);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}
.site-nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.site-nav a, .drop > button {
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.site-nav a:hover, .drop > button:hover, .site-nav a:focus-visible, .drop > button:focus-visible {
  background: var(--soft);
}
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.drop { position: relative; }
.menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.drop.end .menu { left: auto; right: 0; }
.drop.open .menu { display: grid; }
.menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu a:hover, .menu a:focus-visible { background: var(--soft); }
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}
.btn { background: var(--blue); color: white; }
.btn:hover { background: var(--blue-dark); }
.btn-line { background: white; color: var(--blue-dark); border-color: #c9d7ff; }
.btn-line:hover { background: #f3f7ff; }

.hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: center; padding: 54px 0 20px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(40px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.035em; color: #12182b; }
.lede { margin: 0 0 22px; max-width: 38rem; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.devices { position: relative; height: 430px; }
.device {
  position: absolute;
  background: #1b2437;
  border-radius: 26px;
  padding: 12px 12px 28px;
  box-shadow: 0 18px 40px rgba(18, 32, 68, 0.18);
}
.device img { display: block; width: 100%; height: 250px; object-fit: cover; object-position: top; border-radius: 14px; background: #0e1424; }
.device span { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: white; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: 13px; white-space: nowrap; }
.device.left { width: 38%; left: 0; top: 48px; transform: rotate(-7deg); }
.device.center { width: 48%; left: 26%; top: 0; z-index: 2; }
.device.center img { height: 300px; }
.device.right { width: 38%; right: 0; top: 56px; transform: rotate(7deg); }

.section { padding: 34px 0; }
.section h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.03em; }
.kicker { margin: 0 0 8px; color: #7b879c; font-size: 13px; letter-spacing: 0.14em; font-weight: 700; }
.path-head { display: flex; align-items: center; gap: 16px; }
.path-head:after { content: ""; height: 1px; flex: 1; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.card, .plan, .tile, .band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 22px; }
.card .tag { color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.card h3 { margin: 8px 0; font-size: 26px; }
.card p { margin: 0 0 12px; color: var(--muted); }

.band { box-shadow: none; border-radius: 0; border-left: 0; border-right: 0; background: transparent; padding: 28px 0; }
.band h3 { margin: 0 0 6px; font-size: 24px; }
.band h3 a { color: var(--navy); text-decoration: none; }
.summary { max-width: 44rem; color: var(--muted); margin: 0 0 16px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.plan { padding: 16px; min-height: 132px; border-radius: 16px; background: #f6f8fc; box-shadow: none; }
.plan.featured { border-top: 4px solid var(--blue); background: white; }
.badge { display: block; margin-bottom: 6px; color: var(--blue-dark); font-size: 11px; letter-spacing: 0.08em; font-weight: 800; }
.plan strong { display: block; }
.price { display: block; margin: 6px 0; color: var(--navy); font-size: 22px; font-weight: 750; }
.plan span, .note { color: var(--muted); font-size: 14px; }
.band-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.note { margin: 10px 0 0; }

.industries { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; min-width: 0; }
.tile {
  min-width: 0;
  min-height: 92px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}
.tile small { display: block; font-weight: 500; opacity: 0.85; }
.diagram { padding: 18px; }
.diagram ol { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; padding: 22px 0; }
.feature.reverse { grid-template-columns: 0.9fr 1.1fr; }
.feature.reverse .copy { order: 2; }
.frame { background: #12192c; border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
.frame img { display: block; width: 100%; border-radius: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f6f8fc; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.videos figure { margin: 0; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.videos video { width: 100%; display: block; background: #111; aspect-ratio: 16/9; }
.videos figcaption { padding: 10px 12px; font-size: 14px; }

.footer { margin-top: 40px; background: var(--navy); color: #d5def2; padding: 36px 0 28px; }
.footer a { color: white; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; }
.footer h2 { color: white; font-size: 14px; margin: 0 0 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.legal { margin-top: 18px; color: #b7c3de; font-size: 13px; }
.footer img { height: 32px; width: auto; background: white; border-radius: 6px; padding: 4px; }

.page-hero { padding: 36px 0 8px; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; }
.banner { margin: 18px 0; padding: 16px 18px; border-radius: 16px; background: #eef3ff; border: 1px solid #d5e2ff; }

@media (max-width: 980px) {
  .hero, .industries, .feature, .feature.reverse, .cards, .footer-grid { grid-template-columns: 1fr; }
  .feature.reverse .copy { order: 0; }
  .devices { height: 360px; overflow: hidden; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav, .nav-end { display: none; }
  body.nav-open .top { flex-wrap: wrap; }
  body.nav-open .site-nav,
  body.nav-open .nav-end {
    display: flex;
    position: static;
    flex: 1 0 100%;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 4px 0 0;
  }
  body.nav-open .site-nav { flex-direction: column; align-items: stretch; }
  body.nav-open .nav-end { flex-wrap: wrap; }
  .menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 10px; }
  .drop.open .menu { display: grid; }
}
