:root {
  --bg: #0b1220;
  --bg-2: #0f1a2e;
  --panel: #131f36;
  --line: #22314d;
  --text: #e6edf7;
  --muted: #9fb0c8;
  --accent: #38bdf8;
  --accent-2: #f59e0b;
  --red: #dc2640;
  --green: #22c55e;
  --radius: 18px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  margin: 0 0 .4em;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 18, 32, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 1.3rem; font-weight: 600; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--accent-2); font-weight: 800; }
.brand-mark { width: 34px; height: auto; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04121c; }
.btn-primary:hover { background: #7dd3fc; }
.btn-ghost { border: 1px solid #3a4d6e; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(56, 189, 248, .14), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(245, 158, 11, .10), transparent 60%),
    linear-gradient(180deg, #0d1729 0%, var(--bg) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.radar-window {
  margin: 0; border-radius: 14px; overflow: hidden;
  background: #05080f; border: 1px solid #2a3a55;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(56, 189, 248, .12);
}
.window-bar {
  display: flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px;
  background: #151f33; border-bottom: 1px solid #2a3a55;
}
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4d6e; }
.window-bar b { margin-left: 8px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.radar-window video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1a2230; }
.radar-window figcaption { padding: 8px 12px; color: #6f819c; font-size: .8rem; border-top: 1px solid #2a3a55; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* app grid */
.apps { padding: 80px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  transition: transform .2s, border-color .2s;
}
.app-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--accent); }
.app-card img { border-radius: 16px; margin-bottom: 18px; }
.app-card p { color: var(--muted); flex: 1; }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(245, 158, 11, .12); color: #fbbf24;
  font-size: .8rem; font-weight: 700;
}
.tag-live { background: rgba(34, 197, 94, .12); color: #4ade80; }

/* feature sections */
.feature { padding: 96px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-inner.reverse .feature-copy { order: 2; }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-head img { border-radius: 14px; }
.app-head h2 { margin: 0; }
.checks { list-style: none; padding: 0; margin: 24px 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5.1-5.1L12.7 5z'/%3E%3C/svg%3E") center/contain, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5.1-5.1L12.7 5z'/%3E%3C/svg%3E") center/contain, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.soon-note { color: #fbbf24; font-weight: 600; font-size: .95rem; }

/* RAVIN */
.feature-ravin { background: radial-gradient(800px 500px at 80% 50%, rgba(220, 38, 64, .10), transparent 65%); }
.feature-art { display: grid; gap: 20px; }
.ravin-panel {
  padding: 48px 40px 32px; border-radius: var(--radius);
  background: #f8fafc; text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.ravin-mark { max-width: 300px; margin: 0 auto; }
.ravin-quote { margin: 18px 0 0; color: var(--red); font-style: italic; font-size: 1.1rem; }
.mobile-soon {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.mobile-soon img { border-radius: 12px; flex: none; }
.mobile-soon h3 { margin: 0 0 2px; font-size: 1.05rem; }
.mobile-soon p { margin: 0; color: var(--muted); font-size: .92rem; }
.mobile-soon .tag { margin-left: auto; flex: none; }

/* StormThreat */
.feature-st { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 8px; }
.store-buttons { display: flex; flex-direction: column; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 12px;
  background: #000; border: 1px solid #3a4d6e; color: #fff;
  font-size: 1.15rem; font-weight: 700; line-height: 1.1;
}
.store:hover { text-decoration: none; border-color: var(--accent); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .7rem; font-weight: 500; }
.qrs { display: flex; gap: 20px; }
.qrs figure { margin: 0; text-align: center; }
.qrs img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 6px; }
.qrs figcaption { margin-top: 6px; color: var(--muted); font-size: .8rem; }

/* HurriMap */
.feature-hm { background: radial-gradient(800px 500px at 20% 50%, rgba(20, 184, 166, .10), transparent 65%); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: center; }
.phones img {
  border-radius: 22px; border: 3px solid #2a3a55;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.phones img:nth-child(2) { transform: translateY(-24px); }
.phones-framed img { border: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }

/* YouTube */
.feature-yt { background: radial-gradient(800px 400px at 50% 0%, rgba(239, 68, 68, .10), transparent 65%); }
.yt-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.yt-head .lede { margin-bottom: 0; }
.btn-yt { gap: 8px; background: #e62117; color: #fff; }
.btn-yt:hover { background: #ff3b30; }
.btn-yt svg { width: 18px; height: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video { color: var(--text); }
.video:hover { text-decoration: none; }
.thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.video:hover .thumb img { transform: scale(1.04); }
.play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 36px; margin: -18px 0 0 -26px;
  border-radius: 10px; background: rgba(230, 33, 23, .92);
}
.play::after {
  content: ""; position: absolute; left: 21px; top: 10px;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff;
}
.video-title { display: block; margin-top: 10px; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.video:hover .video-title { color: var(--accent); }

/* closing */
.closing {
  padding: 96px 0; text-align: center;
  background:
    radial-gradient(600px 300px at 50% 100%, rgba(56, 189, 248, .14), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.closing p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }
.signup { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup input[type=email] {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px;
  border: 1px solid #3a4d6e; background: var(--bg); color: var(--text); font: inherit;
}
.signup input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.signup button { border: 0; cursor: pointer; font-family: inherit; }
.signup button:disabled { opacity: .7; cursor: default; transform: none; }
.hp { position: absolute; left: -5000px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.closing .signup-msg { min-height: 1.6em; margin: 14px 0 0; font-size: .95rem; }
.closing .signup-msg.ok { color: #4ade80; }
.closing .signup-msg.err { color: #f87171; }

/* footer */
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner > div { max-width: 560px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); }
.fine { color: #6f819c; font-size: .85rem; margin-top: 14px; }
.copyright { margin-top: 28px; }

/* responsive */
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-inner, .feature-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-inner.reverse .feature-copy { order: 0; }
  .app-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 14px; }
  .nav a { font-size: .85rem; }
}
@media (max-width: 480px) {
  .nav { display: none; }
  .signup { flex-direction: column; }
  .brand { font-size: 1.1rem; }
  .phones { gap: 8px; }
  .phones img { border-radius: 14px; border-width: 2px; }
  .phones-framed img { border-radius: 0; }
  .phones img:nth-child(2) { transform: translateY(-12px); }
  .mobile-soon { flex-wrap: wrap; }
  .mobile-soon .tag { margin-left: 0; }
  .ravin-panel { padding: 32px 24px 24px; }
}
