/* Beacon: light, warm, family-first. Palette from the app's BeaconTheme.kt. */
:root {
  --bg: #f8fafc; --card: #ffffff; --line: #e2e8f0; --pill: #f1f5f9;
  --text: #0f172a; --text-2: #334155; --muted: #475569;
  --navy: #1c2d55; --navy-l: #3b4e7a; --gold: #fcd116; --gold-d: #e0b400; --gold-soft: #fff8d6;
  --red: #dc2626; --red-soft: #fee2e2; --red-text: #b42318;
  --green: #16a34a; --green-soft: #dcfce7; --link: #0369a1; --amber: #ff9800; --amber-text: #9a5b00;
  --sky-soft: #e0f2fe; --violet: #8b5cf6;
  --r: 24px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -14px rgba(15,23,42,.16);
  --shadow-lg: 0 2px 6px rgba(15,23,42,.05), 0 40px 80px -30px rgba(28,45,85,.35);
  --display: ui-rounded, "SF Pro Rounded", -apple-system, "SF Pro Display", system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 -apple-system, "SF Pro Text", system-ui, "Segoe UI", Inter, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy-l); outline-offset: 3px; border-radius: 12px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #0f172a; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--display); color: var(--text); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(248,250,252,.82); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid rgba(226,232,240,.8); }
.nav-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 750; font-size: 20px; color: var(--navy); letter-spacing: -.01em; }
.brand img { border-radius: 10px; box-shadow: 0 2px 6px rgba(28,45,85,.18); }
nav a { margin-left: 26px; text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--navy); }
.pill { padding: 9px 18px; border-radius: 999px; background: var(--gold); color: var(--navy) !important; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(224,180,0,.7); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15.5px; transition: transform .18s, box-shadow .18s, background .18s; }
.btn:hover { transform: translateY(-2px); }
.primary { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(224,180,0,.8); }
.primary:hover { box-shadow: 0 14px 30px -10px rgba(224,180,0,.9); }
.outline { background: var(--card); color: var(--navy); border: 1.5px solid var(--line); }
.outline:hover { border-color: #cbd5e1; }
.navy { background: var(--navy); color: #fff; box-shadow: 0 12px 28px -12px rgba(28,45,85,.7); }
.big { padding: 16px 30px; font-size: 16.5px; }
.small { padding: 7px 14px; font-size: 13.5px; }

/* ---- hero ---- */
.hero { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 56px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -4%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(252,209,22,.34), rgba(252,209,22,.08) 45%, transparent 68%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: -14%; bottom: -10%; width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,78,122,.12), transparent 65%); }
.chip { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px; padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
h1 { margin: 0; font-size: clamp(46px, 6.6vw, 86px); line-height: 1; letter-spacing: -.035em; font-weight: 800; color: var(--navy); }
.hl { color: var(--text); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em; background: var(--gold); border-radius: 999px; z-index: -1; opacity: .85; }
.lede { margin: 24px 0 0; font-size: clamp(17.5px, 1.5vw, 19.5px); color: var(--text-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  background: var(--green-soft); border-radius: 50%; padding: 2px; }

/* the illustrated phone */
.hero-visual { position: relative; display: grid; place-items: center; padding: 20px 0 30px; }
.phone { width: min(330px, 78vw); aspect-ratio: 9 / 18.6; border-radius: 48px; padding: 12px; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  transform: rotate(2deg); }
/* ---- app UI, matched to the real Beacon screens (white header, gold pills, floating nav) ---- */
.phone-wrap { display: grid; place-items: center; }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #f5f6f8; display: flex; flex-direction: column; }
.app-screen { font-family: Roboto, -apple-system, system-ui, "Segoe UI", sans-serif; color: var(--navy); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-label { font: 700 10px var(--display); fill: #475569; }
.bldg-no { font: 500 10px Roboto, system-ui, sans-serif; fill: #6b7280; }
.attr { font: 700 9px Roboto, system-ui, sans-serif; fill: #9ca3af; }
.pin-txt { font: 800 12px Roboto, system-ui, sans-serif; fill: var(--navy); }
.pin-txt.light { fill: #fff; font-size: 10.5px; }
.pin-badge { font: 800 8px Roboto, system-ui, sans-serif; fill: #fff; }
.geo-pulse { transform-box: fill-box; transform-origin: center; animation: geo 3s ease-out infinite; }
@keyframes geo { 0% { transform: scale(.55); opacity: .5; } 70% { opacity: .18; } 100% { transform: scale(1.25); opacity: 0; } }

.app-head { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 34px 10px 10px; background: #fff; border-radius: 0 0 22px 22px; box-shadow: 0 6px 18px -12px rgba(15,23,42,.35); }
.app-head.static { position: relative; flex: none; }
.circle-name { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: var(--gold);
  font-weight: 700; font-size: 10.5px; color: var(--navy); white-space: nowrap; }
.bcn-id { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 999px; border: 2px solid var(--gold);
  font-weight: 700; font-size: 10px; color: var(--navy); background: #fff; white-space: nowrap; }
.circle-name svg, .bcn-id svg { width: 13px; height: 13px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }

.member-rail { position: absolute; z-index: 2; left: 10px; top: 92px; display: flex; flex-direction: column; gap: 9px; }
.rail-av { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 12px Roboto, system-ui, sans-serif;
  color: #fff; border: 3px solid var(--gold); box-shadow: 0 0 0 4px rgba(252,209,22,.28); }
.rail-av i { position: absolute; left: 1px; bottom: -3px; width: 13px; height: 7px; border-radius: 4px; background: #16a34a; border: 1.5px solid #fff; }
.av1 { background: #1c2d55; } .av2 { background: #3b4e7a; } .av3 { background: #b45309; } .av4 { background: #0f766e; }
.rail-filter { width: 36px; height: 36px; margin: 4px 2px 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px -6px rgba(15,23,42,.35); }
.rail-filter svg { width: 18px; height: 18px; fill: #fff; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; }

.beacon-btn, .halo-btn { position: absolute; z-index: 2; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 5px rgba(252,209,22,.22), 0 10px 22px -12px rgba(15,23,42,.45); }
.beacon-btn { right: 10px; top: 84px; width: 74px; height: 74px; animation: beaconGlow 2.6s ease-in-out infinite; }
.halo-btn { right: 22px; top: 172px; width: 48px; height: 48px; }
.beacon-btn .ring, .halo-btn .ring { position: absolute; border-radius: 50%; }
.beacon-btn .r1 { inset: 5px; border: 4px solid transparent; background: conic-gradient(#fcd116, #f97316, #dc2626, #fcd116) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.beacon-btn .r2 { inset: 15px; border: 2px solid #1f2937; } .beacon-btn .r3 { inset: 21px; border: 2px solid #fcd116; }
.beacon-btn .core, .halo-btn .core { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #1f2937; background: #fff8d6; }
.halo-btn .r2 { inset: 7px; border: 2px solid #84cc16; }
.halo-btn i { position: absolute; top: -4px; right: -4px; width: 17px; height: 17px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; }
@keyframes beaconGlow { 50% { box-shadow: 0 0 0 9px rgba(252,209,22,.28), 0 10px 22px -12px rgba(15,23,42,.45); } }

.app-nav { position: absolute; z-index: 3; left: 8px; right: 8px; bottom: 10px; display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; border-radius: 22px; background: #fff; box-shadow: 0 8px 22px -12px rgba(15,23,42,.45); }
.ni { display: inline-flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; font: 700 10.5px Roboto, system-ui, sans-serif; color: var(--navy); }
.ni.on { background: var(--gold-soft); padding: 6px 10px; box-shadow: inset 0 0 0 1px rgba(252,209,22,.6); }
.ni svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---- "See it in the app" showcase ---- */
.show-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; justify-items: center; }
.show-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone.small { width: min(300px, 80vw); transform: none; }
.show-item figcaption { text-align: center; max-width: 30ch; color: var(--muted); font-size: 15px; }
.show-item figcaption strong { display: block; color: var(--text); font-family: var(--display); font-size: 18px; margin-bottom: 2px; }
.ui .app-body { flex: 1; overflow: hidden; padding: 10px 10px 70px; display: flex; flex-direction: column; gap: 9px; font-size: 10px; }
.ui svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ui small { display: block; color: #475569; font-size: 8.5px; line-height: 1.35; }
.ui strong { color: var(--navy); }
.id-card, .lh-card, .m-card, .comm-card, .empty-card, .s-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 14px -8px rgba(15,23,42,.3); }
.id-card { display: flex; align-items: center; gap: 6px; padding: 9px 10px; }
.id-txt { flex: 1; } .id-txt small { font-size: 6.5px; font-weight: 800; letter-spacing: .04em; } .id-txt strong { font-size: 14px; }
.qr { width: 24px; height: 24px; border-radius: 4px; background: repeating-linear-gradient(90deg, #1c2d55 0 2px, #fff 2px 4px), #fff; opacity: .8; box-shadow: inset 0 0 0 2px #fff; }
.sq { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #e2e8f0; }
.connect { padding: 6px 9px; border-radius: 10px; background: var(--gold); font-weight: 800; font-size: 9px; color: var(--navy); }
.ui p { margin: 0; max-width: none; }
.sec-title { margin: 2px 2px 0 !important; padding: 0; display: flex; align-items: center; gap: 4px; font: 700 11px Roboto, system-ui, sans-serif; color: var(--navy); }
.sec-title.big { font-size: 12.5px; }
.sec-title svg { width: 13px; height: 13px; color: var(--navy); }
.lh-row { display: grid; grid-template-columns: 1fr .62fr; gap: 7px; }
.lh-card { padding: 8px; overflow: hidden; }
.lh-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; margin-bottom: 6px; }
.lh-map { display: flex; align-items: center; gap: 5px; padding: 4px; border-radius: 10px; background: var(--gold-soft); border: 1.5px solid var(--gold); }
.mapdot { width: 30px; height: 30px; flex: none; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #dbeafe, #bfdbfe); box-shadow: inset 0 0 0 2px #fff; }
.lh-addr { font-size: 7.5px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.chips { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.chips span { padding: 2px 6px; border-radius: 999px; background: #f1f5f9; font-size: 7.5px; font-weight: 600; color: #334155; }
.chips .none { background: #f1f5f9; }
.tog { width: 24px; height: 14px; border-radius: 999px; background: #e2e8f0; position: relative; flex: none; }
.tog.on { background: var(--gold); }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.tog.on::after { left: 12px; }
.m-card { padding: 9px; display: flex; flex-direction: column; gap: 7px; }
.m-top { display: flex; align-items: center; gap: 8px; }
.m-av { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff !important;
  font: 800 10px Roboto, system-ui, sans-serif; border: 2.5px solid var(--gold); box-shadow: 0 0 0 3px rgba(252,209,22,.28); }
.m-av b { position: absolute; left: -4px; bottom: -6px; padding: 0 3px; border-radius: 5px; background: #dcfce7; color: #14532d; font-size: 6.5px; border: 1px solid #fff; }
.m-name { font: 700 12px Roboto, system-ui, sans-serif; color: var(--navy); display: flex; align-items: center; gap: 5px; }
.you { padding: 1px 6px; border-radius: 999px; background: var(--gold-soft); font-size: 7.5px; font-weight: 800; color: #7a5a00; }
.m-where { display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 12px; background: var(--gold-soft); border: 1px solid #fde68a; }
.m-where > span:nth-child(2) { flex: 1; } .m-where strong { font-size: 9.5px; }
.lh { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #b45309; }
.lh svg { width: 13px; height: 13px; }
.mini-act { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #e2e8f0; color: var(--navy); }
.mini-act.gold { background: var(--gold); border-color: var(--gold); } .mini-act svg { width: 11px; height: 11px; }
.m-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 11px; border: 1px solid #eef0f4; font-size: 8px; font-weight: 600; color: #334155; }
.act svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; }
.act.red svg { color: var(--red); background: #fee2e2; } .act.blue svg { color: #0369a1; background: #e0f2fe; } .act.gold svg { color: #b45309; background: var(--gold-soft); }
.comm-card { display: flex; align-items: center; gap: 8px; padding: 10px; }
.comm-l { flex: 1; } .comm-title { margin: 0 0 8px; display: flex; align-items: center; gap: 5px; font: 700 11.5px Roboto, system-ui, sans-serif; color: var(--navy); }
.comm-title svg { width: 13px; height: 13px; color: var(--red); }
.report { display: block; text-align: center; padding: 7px; border-radius: 9px; background: var(--red); color: #fff; font-weight: 800; font-size: 9.5px; }
.radar { position: relative; width: 72px; height: 72px; flex: none; border-radius: 50%; border: 2.5px solid var(--gold); background: conic-gradient(from 200deg, rgba(252,209,22,.45), transparent 25%), #fffdf2; }
.radar i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--navy); }
.radar i:nth-child(1) { left: 18px; top: 22px; } .radar i:nth-child(2) { left: 50px; top: 30px; } .radar i:nth-child(3) { left: 30px; top: 52px; }
.radar b { position: absolute; left: 30px; top: 30px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }
.reports-head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.reports-head strong { font-size: 12px; }
.rchips { display: flex; gap: 3px; } .rchips span { padding: 2px 6px; border-radius: 999px; background: #f1f5f9; font-size: 8px; font-weight: 700; color: #334155; }
.rchips .on { background: var(--gold); color: var(--navy); }
.empty-card { padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; color: #b45309; }
.empty-ic svg { width: 20px; height: 20px; } .empty-card strong { font-size: 11px; } .empty-card p { margin: 0; font-size: 8.5px; color: #475569; line-height: 1.4; }
.watch { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: #f1f5f9; font-size: 7.5px; font-weight: 600; color: #334155; }
.watch i { width: 5px; height: 5px; border-radius: 50%; background: #16a34a; }
.s-card { padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.prof { flex-direction: row; align-items: center; }
.prof-t { flex: 1; } .prof-t strong { font-size: 11px; }
.change { padding: 6px 10px; border-radius: 999px; background: var(--gold); font-weight: 800; font-size: 9px; color: var(--navy); }
.s-title { margin: 0; display: flex; align-items: center; gap: 5px; font: 700 11.5px Roboto, system-ui, sans-serif; color: var(--navy); }
.s-title svg { width: 14px; height: 14px; color: var(--red); }
.warn { padding: 7px 8px; border-radius: 10px; background: #fee2e2; } .warn strong { color: var(--red-text); font-size: 9px; } .warn small { color: #7f1d1d; font-size: 7.5px; }
.s-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 9.5px; font-weight: 600; color: #1f2937; }
.s-row > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.info { width: 10px; height: 10px; color: #64748b; }
.always { padding: 2px 6px; border-radius: 999px; background: #f1f5f9; font-size: 7.5px; font-weight: 700; color: #334155; white-space: nowrap; }
.s-note { margin-top: -3px; }
@media (max-width: 980px) { .show-row { grid-template-columns: 1fr; gap: 44px; } }

.toast, .float-card { position: absolute; display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 11px 16px 11px 11px; box-shadow: var(--shadow-lg); font-size: 13px; line-height: 1.3; }
.toast strong, .float-card strong { display: block; color: var(--text); font-size: 13.5px; }
.toast span span, .float-card span span { color: var(--muted); }
.toast { left: -10%; top: auto; bottom: 26%; animation: toast 7s ease-in-out infinite; }
@keyframes toast { 0%, 8% { opacity: 0; transform: translateY(10px) scale(.96); } 14%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-6px); } }
.toast-ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); }
.toast-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.float-card { right: -8%; top: 52%; }
.fc-ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); }
.fc-ic svg { width: 18px; height: 18px; fill: var(--navy); }

/* ---- at a glance ---- */
.glance { width: min(1160px, calc(100% - 40px)); margin: 8px auto 104px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.glance div { padding: 26px 28px; border-left: 1px solid var(--line); }
.glance div:first-child { border-left: 0; }
.glance strong { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.glance span { color: var(--muted); font-size: 14.5px; }

/* ---- sections ---- */
.section { width: min(1160px, calc(100% - 40px)); margin: 0 auto 112px; }
.kicker { display: inline-block; margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--navy-l);
  background: var(--gold-soft); padding: 5px 12px; border-radius: 999px; }
h2 { margin: 0 0 18px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; max-width: 22ch; }
.soft { color: var(--navy-l); }
.intro { color: var(--text-2); font-size: 18px; max-width: 66ch; margin: 0 0 36px; }

/* family */
.family { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.fam { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .2s; }
.fam:hover { transform: translateY(-3px); }
.fam h3 { margin: 16px 0 6px; font-size: 21px; }
.fam p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.fam-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; }
.fam-ic svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.ic-gold { background: var(--gold-soft); } .ic-navy { background: #e0e7ff; } .ic-green { background: var(--green-soft); }
.ic-sky { background: var(--sky-soft); } .ic-red { background: var(--red-soft); } .ic-amber { background: #ffedd5; }

/* triggers */
.triggers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trig { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.trig:hover { transform: translateY(-3px); border-color: #fde68a; }
.ti { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--gold-soft); }
.ti svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ti svg .fill { fill: var(--red); stroke: none; }
.trig h3 { margin: 14px 0 4px; font-size: 17px; }
.trig p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
sup { color: var(--navy-l); font-weight: 700; }
.footnotes { margin: 22px 0 0; color: var(--muted); font-size: 14px; max-width: 92ch; }

/* beacon network */
.spotlight { display: grid; grid-template-columns: 1fr 1.08fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.spot-copy { padding: 52px 48px; }
.spot-copy p { color: var(--text-2); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4L18 8'/></svg>") center/14px no-repeat; }
.spot-visual { position: relative; min-height: 440px; background: linear-gradient(160deg, #f1f5f9, #e8eef7); border-left: 1px solid var(--line); }
.spot-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.tile.wide { grid-column: span 2; }
.tile h3 { margin: 16px 0 8px; font-size: 20px; }
.tile p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.tile-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; }
.tile-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-red svg { stroke: var(--red-text); } .ic-amber svg { stroke: var(--amber-text); } .ic-green svg { stroke: #15803d; }
.tint-gold { background: linear-gradient(135deg, #fffbea, #fff 55%); border-color: #fde68a; }
.tint-red { background: linear-gradient(135deg, #fff5f5, #fff 60%); border-color: #fecaca; }
.statuses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.statuses span { padding: 6px 13px; border-radius: 999px; background: var(--pill); color: var(--navy); font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); }

/* promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.promise h3 { margin: 16px 0 8px; font-size: 20px; }
.promise p { margin: 0; color: var(--text-2); font-size: 15.5px; }


/* launch */
.launch { width: min(1160px, calc(100% - 40px)); margin: 0 auto 70px; border-radius: 36px; overflow: hidden; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, #fff7cc 0%, #fff3b0 40%, #fde68a 100%); border: 1px solid #fde68a; }
.launch-inner { padding: 72px 28px; }
.launch-inner img { border-radius: 22px; box-shadow: 0 16px 34px -14px rgba(28,45,85,.5); }
.launch h2 { margin: 22px auto 8px; color: var(--navy); }
.launch p { margin: 0 0 26px; color: #334155; font-size: 17.5px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 16px; background: rgba(255,255,255,.75); border: 1px solid rgba(28,45,85,.12); color: var(--navy); }
.store svg { width: 24px; height: 24px; fill: var(--navy); }
.store > span { display: flex; flex-direction: column; text-align: left; font-size: 12px; line-height: 1.2; color: var(--muted); }
.store strong { font-size: 15px; color: var(--navy); }

/* footer */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 44px; text-align: center; color: var(--muted); font-size: 14.5px; }
.footer .brand { justify-content: center; margin-bottom: 10px; font-size: 18px; }
.footer p { margin: 6px 0; }
.footer a { color: var(--link); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }
.footer .brand, .footer .brand:hover { color: var(--navy); text-decoration: none; }

/* ---- responsive ---- */
@media (max-width: 1060px) {
  .triggers { grid-template-columns: repeat(3, 1fr); }
  .family { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 20px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta, .trust { justify-content: center; }
  .spotlight { grid-template-columns: 1fr; }
  .spot-visual { min-height: 340px; border-left: 0; border-top: 1px solid var(--line); }
  .spot-copy { padding: 36px 28px; }
  .bento, .promises { grid-template-columns: 1fr 1fr; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .glance div:nth-child(3) { border-left: 0; }
  .glance div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  nav a:not(.pill) { display: none; }
  .triggers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trig { padding: 18px 16px; }
  .family, .bento, .promises { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .toast { left: 0; top: auto; bottom: 18%; }
  .float-card { right: 0; top: 50%; }
  .phone { transform: none; }
  .glance div { padding: 20px; }
  .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .geo-pulse, .toast, .beacon-btn { animation: none; }
  .toast { opacity: 1; }
  .btn, .fam, .trig { transition: none; }
}

/* ---- accessibility ---- */
.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; }
.footer p a { display: inline-block; padding: 4px 2px; min-height: 24px; }
.motion-toggle { position: absolute; right: 0; bottom: -6px; z-index: 5; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--navy); font: 600 14px/1.2 inherit; font-family: inherit; cursor: pointer; }
.motion-toggle:hover { border-color: #cbd5e1; }
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; }
@media (max-width: 900px) { .motion-toggle { position: static; display: block; margin: 0 auto 12px; } }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
