:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #eef5ff;
  --text: #172033;
  --muted: #64748b;
  --line: #dbe4ef;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --green: #15803d;
  --green-soft: #edf9f1;
  --amber: #b45309;
  --amber-soft: #fff8e8;
  --shadow: 0 22px 60px rgba(15, 23, 42, .11);
}

html[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b1220;
  --panel: #111827;
  --panel-soft: #17243a;
  --text: #e5edf8;
  --muted: #a7b4c7;
  --line: #2a374a;
  --accent: #60a5fa;
  --accent-strong: #93c5fd;
  --green: #6ee7a0;
  --green-soft: #112b20;
  --amber: #fbbf65;
  --amber-soft: #312512;
  --shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: var(--accent-strong); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent);
  outline-offset: 3px;
}
.shell { width: min(1140px, calc(100% - 36px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  inset-inline-start: 10px;
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--text);
  color: var(--panel);
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  backdrop-filter: blur(16px);
}
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 22px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; line-height: 1.25; }
.top-nav { display: flex; margin-inline-start: auto; gap: 18px; }
.top-nav a { color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.top-nav a:hover { color: var(--accent); }
.header-controls { display: flex; gap: 9px; }
.select-control { display: grid; gap: 2px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.select-control select { min-width: 96px; padding: 7px 28px 7px 9px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--panel); font: inherit; font-size: 12px; text-transform: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 56px;
  align-items: center;
  padding-block: 84px 76px;
}
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(43px, 7vw, 76px); letter-spacing: -.05em; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4.7vw, 50px); letter-spacing: -.04em; }
h3 { letter-spacing: -.02em; }
.hero-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font-weight: 850; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .12); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 750; }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes b { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--panel-soft); color: var(--accent); }

.connection-panel { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); box-shadow: var(--shadow); }
.connection-panel::after { position: absolute; width: 170px; height: 170px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); content: ''; inset: -70px -70px auto auto; }
.connection-illustration { display: flex; height: 120px; align-items: center; justify-content: center; }
.device-frame { position: relative; display: flex; width: 164px; height: 104px; align-items: flex-start; gap: 7px; padding: 14px; border: 5px solid var(--text); border-radius: 14px; }
.device-frame::after { position: absolute; width: 72px; height: 5px; border-radius: 8px; background: var(--text); content: ''; inset: auto 50% -16px auto; transform: translateX(50%); }
.device-frame i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.device-frame i:nth-child(2) { opacity: .66; }
.device-frame i:nth-child(3) { opacity: .32; }
.offline-bolt { display: grid; width: 48px; height: 48px; margin-inline-start: -30px; place-items: center; border: 5px solid var(--panel); border-radius: 50%; background: var(--accent); color: #fff; font-size: 25px; font-weight: 900; transform: translateY(28px); }
.connection-label { margin: 16px 0 4px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.connection-state { display: flex; gap: 9px; align-items: flex-start; margin: 0 0 10px; font-size: 18px; font-weight: 850; }
.connection-state span { flex: 0 0 auto; width: 11px; height: 11px; margin-top: 8px; border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 15%, transparent); background: currentColor; }
.connection-state-online { color: var(--green); }
.connection-state-offline { color: var(--amber); }
.connection-panel small { display: block; color: var(--muted); line-height: 1.45; }

.promise-band { padding-block: 62px; border-block: 1px solid var(--line); background: var(--panel); }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.section-heading.compact { max-width: 840px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.promise-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.card-icon { display: grid; width: 43px; height: 43px; margin-bottom: 18px; place-items: center; border-radius: 13px; background: var(--panel-soft); color: var(--accent); font-size: 22px; font-weight: 900; }
.promise-grid h3 { margin-bottom: 8px; font-size: 20px; }
.promise-grid p { margin: 0; color: var(--muted); }

.steps { padding-block: 82px; }
.step-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step-list li { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); }
.step-number { flex: 0 0 auto; color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.step-list h3 { margin-bottom: 8px; font-size: 21px; }
.step-list p { margin: 0; color: var(--muted); }
.install-note { display: flex; max-width: 930px; gap: 20px; align-items: flex-start; margin: 22px auto 0; padding: 24px 28px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 18px; background: var(--panel-soft); }
.install-mark { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--accent); color: #fff; font-size: 24px; }
.install-note h3 { margin-bottom: 6px; }
.install-note p { margin: 0; color: var(--muted); }

.availability { padding-block: 78px; border-block: 1px solid var(--line); background: var(--panel); }
.availability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.availability-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); }
.availability-title { display: flex; gap: 15px; align-items: center; padding: 25px 28px; border-bottom: 1px solid var(--line); }
.availability-title > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; font-size: 23px; font-weight: 900; }
.works .availability-title > span { background: var(--green-soft); color: var(--green); }
.waits .availability-title > span { background: var(--amber-soft); color: var(--amber); }
.availability-title small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; }
.availability-title h3 { margin: 2px 0 0; font-size: 24px; }
.availability-card ul { margin: 0; padding: 24px 30px 28px 52px; }
.availability-card li { margin-bottom: 9px; padding-inline-start: 4px; }
.availability-card li::marker { color: var(--green); }
.waits li::marker { color: var(--amber); }
.caution { display: flex; max-width: 940px; gap: 15px; margin: 23px auto 0; padding: 18px 22px; border-inline-start: 5px solid var(--amber); border-radius: 10px; background: var(--amber-soft); }
.caution strong { flex: 0 0 auto; color: var(--amber); }
.caution p { margin: 0; }

.data-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding-block: 82px; }
.data-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 8px; font-weight: 850; text-decoration: none; }
.checklist-card { padding: 30px; border: 1px solid var(--line); border-radius: 23px; background: var(--panel); box-shadow: var(--shadow); }
.checklist-card h3 { margin-bottom: 18px; font-size: 23px; }
.checklist-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist-card li { display: flex; gap: 11px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checklist-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.checklist-card li span { display: grid; flex: 0 0 auto; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 900; }

.faq { padding-block: 28px 82px; }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.faq summary { padding: 18px 21px; cursor: pointer; font-weight: 850; }
.faq details p { margin: 0; padding: 0 21px 20px; color: var(--muted); }

.final-cta { padding-block: 64px; background: #172554; color: #fff; }
html[data-theme='dark'] .final-cta { background: #101b3c; }
.final-inner { display: flex; gap: 38px; align-items: center; justify-content: space-between; }
.final-inner > div { max-width: 760px; }
.final-inner h2 { margin-bottom: 10px; }
.final-inner p:last-child { margin: 0; color: #c7d2fe; font-size: 17px; }
.final-inner .eyebrow { color: #93c5fd; }
.final-inner .button { flex: 0 0 auto; }

.site-footer { padding-block: 27px; border-top: 1px solid var(--line); background: var(--panel); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-inner nav { display: flex; flex-wrap: wrap; margin-inline-start: auto; gap: 16px; }
.footer-inner nav a { color: var(--muted); font-size: 14px; font-weight: 750; text-decoration: none; }
.footer-inner nav a:hover { color: var(--accent); }

[dir='rtl'] .device-frame::after { transform: translateX(-50%); }

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .top-nav { order: 3; width: 100%; margin-inline-start: 0; overflow-x: auto; padding-bottom: 4px; }
  .header-controls { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 60px; }
  .connection-panel { max-width: 600px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 1140px); }
  .header-controls { width: 100%; margin-inline-start: 0; }
  .select-control { flex: 1; }
  .select-control select { width: 100%; }
  .top-nav { gap: 15px; }
  .hero { padding-block: 48px; }
  h1 { font-size: clamp(39px, 13vw, 58px); }
  .promise-grid, .step-list, .availability-grid, .data-section { grid-template-columns: 1fr; }
  .step-list li, .availability-title { padding: 22px; }
  .install-note, .caution { flex-direction: column; }
  .data-section { gap: 28px; }
  .final-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { width: 100%; margin-inline-start: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .hero-actions, .final-cta, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .promise-band, .steps, .availability, .data-section, .faq { padding-block: 20px; }
  .connection-panel, .promise-grid article, .step-list li, .availability-card, .checklist-card, .faq details { box-shadow: none; break-inside: avoid; }
}
