:root {
  --ink: #101937;
  --ink-soft: #58627f;
  --navy: #1d244c;
  --navy-2: #252a58;
  --purple: #313068;
  --purple-light: #474a86;
  --accent: #6475ff;
  --accent-bright: #8e9aff;
  --green: #25c875;
  --green-soft: #dff8ea;
  --blue-soft: #eef2ff;
  --page: #f6f7fa;
  --surface: #ffffff;
  --line: #e1e5ef;
  --shadow: 0 24px 70px rgba(18, 27, 66, .13);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { padding: 112px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(29, 36, 76, .92);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 14px 35px rgba(8, 13, 37, .16);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { width: 175px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.82); font-size: .93rem; font-weight: 650; }
.site-nav > a:not(.nav-button) { position: relative; padding: 8px 0; }
.site-nav > a:not(.nav-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--accent-bright);
  transition: right .2s ease;
}
.site-nav > a:not(.nav-button):hover::after { right: 0; }
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  transition: transform .2s ease, background .2s ease;
}
.nav-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.nav-button svg { width: 18px; height: 18px; fill: currentColor; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 960px;
  padding: 168px 0 64px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(112,123,255,.22), transparent 32%),
    linear-gradient(140deg, #151b3e 0%, #1d244c 44%, #313068 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background: var(--page);
  clip-path: polygon(0 86%, 18% 61%, 42% 78%, 67% 48%, 100% 66%, 100% 100%, 0 100%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 430px; height: 430px; right: -190px; top: 90px; background: rgba(112, 125, 255, .14); }
.hero-glow-two { width: 300px; height: 300px; left: -170px; top: 530px; background: rgba(57, 224, 163, .08); }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 68px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #c8ceff;
  font-size: .78rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-light { color: #5d69d4; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(37,200,117,.12); }
.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 830;
}
.hero h1 span { display: block; color: #adb6ff; }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: 1.15rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 790;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #fff; background: linear-gradient(135deg, #6575ff, #7687ff); box-shadow: 0 14px 36px rgba(86,104,255,.32); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(86,104,255,.42); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.button-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.button-light { background: #fff; color: var(--navy); box-shadow: 0 14px 35px rgba(4,10,35,.18); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  font-weight: 700;
}
.hero-visual { position: relative; }
.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 38px 110px rgba(4, 8, 30, .45);
  transform: perspective(1500px) rotateY(-4deg) rotateX(1.5deg);
  transform-origin: center;
}
.window-bar { height: 48px; padding: 0 15px; display: flex; align-items: center; gap: 14px; background: #f3f5f9; color: #7a8297; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #c9cedb; }
.window-address { flex: 1; max-width: 290px; margin-inline: auto; padding: 6px 12px; border: 1px solid #e3e6ed; border-radius: 8px; background: #fff; font-size: .68rem; text-align: center; }
.lock-icon { color: var(--green); font-size: .55rem; }
.window-live { display: flex; align-items: center; gap: 5px; font-size: .62rem; font-weight: 800; color: #3a4562; }
.window-live span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.app-window > img { width: 100%; max-height: 650px; object-fit: cover; object-position: top; }
.floating-card {
  position: absolute;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(18, 24, 60, .82);
  backdrop-filter: blur(15px);
  box-shadow: 0 16px 45px rgba(4,8,30,.28);
}
.floating-card-status { left: -45px; bottom: 65px; align-items: center; }
.status-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--green); }
.status-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.floating-card strong, .floating-card small, .floating-card span { display: block; }
.floating-card strong { font-size: .8rem; }
.floating-card small, .floating-card span { color: rgba(255,255,255,.6); font-size: .68rem; }
.floating-card-message { right: -30px; top: 82px; display: block; width: 220px; }
.floating-card-message strong { margin: 4px 0; }
.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.proof-strip div { padding: 22px 26px; }
.proof-strip div + div { border-left: 1px solid rgba(255,255,255,.09); }
.proof-strip strong { display: block; color: #fff; font-size: 1.55rem; line-height: 1; }
.proof-strip span { display: block; margin-top: 7px; color: rgba(255,255,255,.58); font-size: .78rem; }

.section-heading { max-width: 650px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(2.35rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { margin: 22px 0 0; color: var(--ink-soft); font-size: 1.08rem; }

.alert-section { position: relative; padding-top: 140px; background: var(--page); }
.phones-stage { margin-top: 70px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: center; gap: 44px; }
.phone-copy h3 { margin: 15px 0 12px; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.025em; }
.phone-copy p { color: var(--ink-soft); }
.network-label { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.network-label-meshtastic { color: #3b4a9b; background: #e9edff; }
.network-label-meshcore { color: #0d7658; background: #dcf7eb; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 29px; margin: 11px 0; color: #424d6c; font-size: .9rem; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--green-soft); color: #0a9b58; font-size: .69rem; font-weight: 900; }
.phone-pair { position: relative; min-height: 610px; }
.phone-pair::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101,117,255,.16), transparent 66%);
}
.phone-card { position: absolute; width: 280px; margin: 0; }
.phone-card img { filter: drop-shadow(0 30px 36px rgba(21,29,65,.22)); }
.phone-card figcaption { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 7px 10px; border-radius: 999px; background: #fff; box-shadow: 0 8px 25px rgba(21,29,65,.1); color: #56617e; font-size: .72rem; font-weight: 750; }
.phone-card figcaption span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.phone-card-back { left: 0; top: 40px; transform: rotate(-7deg); }
.phone-card-front { right: 0; top: 0; z-index: 2; transform: rotate(6deg); }
.phone-card-back figcaption { margin-left: 28px; }
.phone-card-front figcaption { margin-left: 90px; }

.audience-section { background: #fff; }
.audience-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: center; }
.text-link { display: inline-flex; gap: 8px; margin-top: 28px; color: #5664d8; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.audience-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-card { min-height: 225px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.audience-card:hover { transform: translateY(-6px); border-color: #cfd5ff; box-shadow: 0 20px 50px rgba(32,40,87,.09); }
.card-icon, .feature-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: #5d6be0; background: #eef1ff; }
.card-icon svg, .feature-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.audience-card h3 { margin: 23px 0 9px; font-size: 1.08rem; }
.audience-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.features-section { background: linear-gradient(180deg, #f6f7fa 0%, #eef1f7 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.feature-card { position: relative; overflow: hidden; min-height: 280px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 14px 35px rgba(26,34,74,.04); }
.feature-card h3 { margin: 22px 0 10px; font-size: 1.24rem; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.feature-card-wide { grid-column: span 2; min-height: 310px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; background: linear-gradient(145deg, #fff, #f4f5ff); }
.feature-number { position: absolute; top: 21px; left: 28px; color: #9ba3c4; font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.feature-card-wide h3 { margin-top: 30px; font-size: 1.7rem; }
.radio-diagram { position: relative; min-height: 220px; }
.radio-diagram span { position: absolute; display: grid; place-items: center; border-radius: 16px; font-size: .76rem; font-weight: 850; }
.radio-diagram .hub { left: 50%; top: 50%; width: 94px; height: 94px; transform: translate(-50%, -50%); color: #fff; background: var(--purple); box-shadow: 0 17px 36px rgba(49,48,104,.24); }
.radio-diagram .node { width: 105px; height: 50px; color: #46539f; background: #fff; border: 1px solid #dce1ff; box-shadow: 0 11px 25px rgba(35,44,90,.09); }
.radio-diagram .node-one { right: 0; top: 30px; }
.radio-diagram .node-two { left: 0; bottom: 23px; color: #0a7654; border-color: #cff0e1; }
.radio-diagram i, .radio-diagram i::before { position: absolute; content: ""; height: 1px; background: #cbd1f6; transform-origin: left center; }
.radio-diagram i { width: 118px; left: 50%; top: 50%; transform: rotate(-31deg); }
.radio-diagram i::before { width: 110px; transform: rotate(154deg); }
.feature-card-dark { color: #fff; background: linear-gradient(145deg, var(--navy), var(--purple)); border-color: transparent; }
.feature-card-dark .feature-icon { color: #dfe3ff; background: rgba(255,255,255,.1); }
.feature-card-dark p { color: rgba(255,255,255,.68); }

.process-section { background: #fff; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 70px; }
.process-grid::before { content: ""; position: absolute; left: 15%; right: 15%; top: 34px; height: 1px; border-top: 1px dashed #bdc4e4; }
.process-card { position: relative; padding: 0 30px; text-align: center; }
.process-top { position: relative; z-index: 2; display: flex; justify-content: center; }
.process-top span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--purple), #5f67c5); box-shadow: 0 13px 30px rgba(49,48,104,.2); font-weight: 850; }
.process-card h3 { margin: 25px 0 10px; font-size: 1.2rem; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.install-section { padding-top: 70px; background: #fff; }
.install-wrap { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; padding: 72px; border-radius: 34px; color: #fff; background: linear-gradient(140deg, #1c234b, #353477); box-shadow: 0 32px 80px rgba(24,31,72,.22); }
.install-wrap::before { content: ""; position: absolute; width: 500px; height: 500px; right: -220px; bottom: -280px; border-radius: 50%; background: rgba(127,140,255,.18); }
.install-intro, .platform-grid { position: relative; z-index: 2; }
.install-intro h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.04em; }
.install-intro p { margin: 22px 0 30px; color: rgba(255,255,255,.7); }
.platform-grid { display: grid; gap: 13px; }
.platform-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.platform-logo { flex: 0 0 auto; display: grid; place-items: center; width: 49px; height: 49px; border-radius: 13px; color: #fff; background: rgba(255,255,255,.1); }
.platform-card h3 { margin: 0 0 3px; font-size: 1rem; }
.platform-card p { margin: 0; color: rgba(255,255,255,.58); font-size: .8rem; }
.windows-logo { grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 2px; }
.windows-logo i { width: 9px; height: 9px; background: #fff; }
.pi-logo { font-family: Georgia, serif; font-size: 1.9rem; }
.docker-logo svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.final-section { background: #fff; }
.final-card { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 36px; padding: 48px 52px; border-radius: 27px; color: #fff; background: #171e42; }
.final-logo { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 25px; background: rgba(255,255,255,.07); overflow: hidden; }
.final-logo img { width: 245px; }
.final-card h2 { margin: 0; max-width: 700px; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.final-card p { margin: 15px 0 0; max-width: 660px; color: rgba(255,255,255,.64); }
.final-actions { display: grid; gap: 10px; min-width: 160px; }
.safety-note { margin-top: 20px; padding: 18px 22px; border: 1px solid #e5d7a6; border-radius: 14px; color: #6a5723; background: #fff9e6; font-size: .85rem; }

.site-footer { padding: 60px 0 30px; color: rgba(255,255,255,.68); background: #111735; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.footer-brand { width: 155px; }
.footer-inner p { margin: 0; font-size: .86rem; }
.footer-links { display: flex; gap: 22px; font-size: .82rem; font-weight: 650; }
.footer-links a:hover { color: #fff; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 22px; margin-top: 12px; border-top: 1px solid rgba(255,255,255,.08); font-size: .73rem; color: rgba(255,255,255,.42); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 920px; }
  .hero { min-height: auto; }
  .phones-stage { grid-template-columns: 1fr 1fr; }
  .phone-pair { grid-column: 2; grid-row: 1 / span 2; }
  .phones-stage .phone-copy:last-child { grid-column: 1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }
  .install-wrap { padding: 58px; gap: 45px; }
  .final-card { grid-template-columns: 100px 1fr; }
  .final-actions { grid-column: 2; display: flex; }
  .final-logo { width: 95px; height: 95px; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 74px 20px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(22,29,64,.98);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: 13px 14px !important; }
  .site-nav > a:not(.nav-button)::after { display: none; }
  .nav-button { margin-top: 5px; justify-content: center; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(3) { opacity: 0; }
  .menu-toggle.active span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
  .proof-strip div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.09); }
  .phones-stage { grid-template-columns: 1fr; }
  .phone-pair { grid-column: 1; grid-row: auto; width: min(100%, 620px); margin-inline: auto; }
  .phones-stage .phone-copy:last-child { grid-column: 1; }
  .audience-grid { grid-template-columns: 1fr; gap: 50px; }
  .install-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-bottom { width: 100%; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 72px; }
  .brand { width: 145px; }
  .hero { padding-top: 130px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .app-window { border-radius: 16px; transform: none; }
  .window-bar { height: 36px; padding: 0 10px; }
  .window-address { font-size: .56rem; }
  .floating-card { display: none; }
  .proof-strip { margin-top: 38px; }
  .proof-strip div { padding: 18px 14px; }
  .proof-strip strong { font-size: 1.3rem; }
  .proof-strip span { font-size: .68rem; }
  .section-heading h2 { font-size: 2.35rem; }
  .phones-stage { margin-top: 45px; }
  .phone-pair { min-height: 500px; }
  .phone-card { width: 220px; }
  .phone-card-back { left: 2%; }
  .phone-card-front { right: 2%; }
  .audience-cards, .feature-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; }
  .feature-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .radio-diagram { min-height: 200px; }
  .process-grid { grid-template-columns: 1fr; gap: 42px; }
  .process-grid::before { left: 34px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; border-top: 0; border-left: 1px dashed #bdc4e4; }
  .process-card { display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; padding: 0; text-align: left; }
  .process-top { grid-row: 1 / span 2; }
  .process-card h3 { margin: 8px 0; }
  .process-card p { grid-column: 2; }
  .install-wrap { padding: 42px 25px; border-radius: 24px; }
  .platform-card { align-items: flex-start; }
  .final-card { grid-template-columns: 1fr; padding: 38px 25px; }
  .final-logo { display: none; }
  .final-actions { grid-column: 1; display: grid; width: 100%; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { display: grid; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Compact mobile phone showcase. The phone cards stay absolutely positioned
   inside a deliberately sized stage, so they cannot create a tall blank area. */
@media (max-width: 680px) {
  .phones-stage {
    gap: 34px;
  }

  .phone-pair {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(390px, 116vw, 470px);
    min-height: 0;
    margin-inline: auto;
    padding: 0;
  }

  .phone-pair::before {
    width: min(105vw, 420px);
    height: min(105vw, 420px);
    top: 46%;
  }

  .phone-card {
    position: absolute;
    width: min(56vw, 220px);
    aspect-ratio: 1 / 2;
    margin: 0;
  }

  .phone-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .phone-card-back {
    left: 4%;
    top: 16px;
    transform: rotate(-5deg);
  }

  .phone-card-front {
    right: 4%;
    top: 0;
    transform: rotate(5deg);
  }

  .phone-card figcaption {
    display: none;
  }

  .phone-copy {
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 420px) {
  .phone-pair {
    height: clamp(380px, 118vw, 450px);
  }

  .phone-card {
    width: min(57vw, 214px);
  }

  .phone-card-back {
    left: 2%;
  }

  .phone-card-front {
    right: 2%;
  }
}

/* Tested hardware page */
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a[aria-current="page"]::after {
  right: 0 !important;
}

.hardware-hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 100px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(100,117,255,.22), transparent 30%),
    radial-gradient(circle at 12% 72%, rgba(37,200,117,.09), transparent 27%),
    linear-gradient(140deg, #151b3e 0%, #1d244c 48%, #313068 100%);
}

.hardware-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: var(--page);
  clip-path: polygon(0 82%, 22% 38%, 46% 68%, 72% 26%, 100% 58%, 100% 100%, 0 100%);
}

.hardware-hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  transform: perspective(900px) rotateX(62deg) scale(1.55) translateY(-8%);
  transform-origin: top center;
}

.hardware-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hardware-hero h1 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hardware-hero p {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(255,255,255,.72);
  font-size: 1.15rem;
}

.hardware-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 32px;
}

.hardware-hero-badges span {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 700;
}

.hardware-hero-badges strong {
  color: #fff;
}

.hardware-section {
  padding-top: 108px;
  background: var(--page);
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 960px;
  margin: 62px auto 0;
}

.hardware-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24,32,72,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hardware-card:hover {
  transform: translateY(-7px);
  border-color: #ccd3ff;
  box-shadow: 0 28px 65px rgba(24,32,72,.12);
}

.hardware-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 42px;
  background:
    radial-gradient(circle at 50% 46%, rgba(100,117,255,.10), transparent 45%),
    linear-gradient(180deg, #fbfcff, #f2f4fa);
  border-bottom: 1px solid var(--line);
}

.hardware-image img {
  width: 100%;
  height: 270px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(18,27,66,.16));
}

.verified-badge {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #c9eedb;
  border-radius: 999px;
  color: #087648;
  background: rgba(229,250,239,.95);
  box-shadow: 0 8px 24px rgba(20,110,72,.08);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .02em;
}

.verified-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hardware-card-body {
  padding: 30px;
}

.hardware-brand {
  margin: 0 0 7px;
  color: #6370d7;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hardware-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.hardware-card-body > p:not(.hardware-brand) {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.hardware-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--line);
}

.hardware-details div {
  padding: 14px 16px;
  background: #fafbfe;
}

.hardware-details dt {
  color: #8189a0;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hardware-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 750;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(37,200,117,.12);
}

.hardware-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 28px auto 0;
  padding: 26px 28px;
  border: 1px solid #dfe3f4;
  border-radius: 20px;
  background: #fff;
}

.hardware-note-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #5d6be0;
  background: #eef1ff;
}

.hardware-note-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hardware-note h2 {
  margin: 1px 0 5px;
  font-size: 1.05rem;
}

.hardware-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .88rem;
}

.hardware-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  max-width: 960px;
  margin: 70px auto 0;
  padding: 42px;
  border-radius: 25px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(126,139,255,.22), transparent 35%),
    linear-gradient(140deg, #171e42, #313068);
  box-shadow: 0 25px 65px rgba(24,31,72,.18);
}

.hardware-cta .eyebrow {
  margin-bottom: 13px;
}

.hardware-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hardware-cta p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.65);
}

@media (max-width: 900px) {
  .hardware-grid {
    max-width: 680px;
  }

  .hardware-image {
    min-height: 320px;
  }

  .hardware-image img {
    height: 235px;
  }

  .hardware-cta {
    grid-template-columns: 1fr;
  }

  .hardware-cta .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .hardware-hero {
    padding: 132px 0 78px;
  }

  .hardware-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hardware-hero p {
    font-size: 1rem;
  }

  .hardware-hero-badges {
    align-items: stretch;
  }

  .hardware-hero-badges span {
    flex: 1 1 100%;
  }

  .hardware-section {
    padding-top: 78px;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .hardware-image {
    min-height: 285px;
    padding: 30px;
  }

  .hardware-image img {
    height: 210px;
  }

  .hardware-card-body {
    padding: 25px;
  }

  .hardware-details {
    grid-template-columns: 1fr;
  }

  .hardware-note {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .hardware-cta {
    margin-top: 50px;
    padding: 32px 24px;
  }

  .hardware-cta .button {
    width: 100%;
  }
}

.hardware-buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 49px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #1d244c, #313068);
  box-shadow: 0 12px 28px rgba(29,36,76,.18);
  font-size: .88rem;
  font-weight: 820;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hardware-buy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(29,36,76,.26);
}

.hardware-buy-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.affiliate-disclosure {
  margin-top: -38px;
  margin-bottom: 48px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  background: #fff;
  font-size: .78rem;
  line-height: 1.55;
}

.affiliate-disclosure strong {
  color: var(--ink);
}

@media (max-width: 680px) {
  .affiliate-disclosure {
    margin-top: -24px;
    margin-bottom: 34px;
  }
}

/* Keep each hardware card's single purchase button aligned consistently. */
.hardware-card {
  display: flex;
  flex-direction: column;
}

.hardware-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.hardware-details {
  margin-bottom: 22px;
}

.hardware-buy-button {
  margin-top: auto;
}

/* Three confirmed devices: use a balanced three-column layout on wide screens. */
.hardware-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--shell);
}

@media (max-width: 1050px) {
  .hardware-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
  }
}

@media (max-width: 680px) {
  .hardware-grid {
    grid-template-columns: 1fr;
  }
}

