:root {
  --night: #FFFBEF;
  --panel: #FFFFFF;
  --ink: #0B1B2E;
  --muted: #5A6B80;
  --line: #EBE3CB;
  --lilac: #5b84c4;
  --coral: #c4503f;
  --blue: #2F6FDB;
  --green: #022847;
  --amber: #b9822a;
  --meet: #4D7FD6;
  --onaccent: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--lilac); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lilac); outline-offset: 4px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Rubik", sans-serif; font-weight:600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 14px; max-width: 60ch; }
.muted { color: var(--muted); }

header.top { padding: 22px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo img { height: 44px; width: 44px; display: block; border-radius: 10px; }
.logo span { font-family: "Rubik", sans-serif; font-weight:600; font-size: 1.7rem; letter-spacing: 0.01em; line-height: 1; }
nav a { white-space: nowrap; margin-left: 20px; color: var(--muted); text-decoration: none; font-weight:500; font-size: 0.95rem; }
nav a:hover { color: var(--ink); }

.hero { padding: 36px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin-top: 22px; }
.hero p.lead strong { color: var(--ink); }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; background: var(--lilac); color: var(--onaccent); font-weight:600; padding: 14px 24px; border-radius: 999px; text-decoration: none; }
.btn:hover { background: #2F6FDB; }
.note { font-size: 0.95rem; color: var(--muted); }

/* the hold demo is the one memorable thing on the page */
.demo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.demo-top { min-height: 92px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; margin-bottom: 14px; }
.demo-top .say { font-weight:500; color: var(--muted); min-height: 1.6em; }
.demo-top .count { font-family: "Rubik", sans-serif; font-weight:600; font-size: 3.4rem; line-height: 1; color: var(--coral); }
.ring { position: relative; width: 250px; height: 250px; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; color: var(--ink); }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: rgba(255, 90, 95, 0.2); stroke-width: 14; }
.ring .bar { fill: none; stroke: var(--coral); stroke-width: 14; stroke-linecap: round; }
.ring .fill { fill: var(--coral); opacity: 0; }
.ring.armed .track { stroke: rgba(255, 90, 95, 0.55); }
.ring.sending .fill { opacity: 1; }
.ring .label { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Rubik", sans-serif; font-weight:600; font-size: 1.6rem; padding: 0 34px; line-height: 1.15; }
.ring.sending .label { color: #1a0508; font-size: 2rem; }
.demo-hint { margin-top: 18px; color: var(--muted); font-size: 0.95rem; max-width: 30ch; }
.demo-hint b { color: var(--ink); }


/* Four ways: tabs + a 5-slide walkthrough */
.fw-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fw-tab { font: inherit; font-weight:600; font-size: 0.95rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.fw-tab:hover { color: var(--ink); }
.fw-tab.active { color: var(--night); background: var(--c); border-color: var(--c); }

.fw-stage { --c: var(--coral); display: grid; grid-template-columns: auto 260px auto 1fr; align-items: center; gap: 24px; margin-top: 42px; }
.fw-arrow { font: inherit; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.fw-arrow:hover { border-color: var(--c); color: var(--c); }

.fw-text h3 { margin-bottom: 8px; }
.fw-eyebrow { color: var(--c); font-weight:600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.fw-dots { display: flex; gap: 8px; margin-top: 22px; }
.fw-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.fw-dot.on { background: var(--c); width: 22px; border-radius: 5px; }

.fw-phone { width: 240px; height: 490px; border-radius: 36px; background: #000; padding: 10px; flex-shrink: 0; }
.fw-screen { position: relative; width: 100%; height: 100%; border-radius: 28px; background: radial-gradient(circle at 30% 20%, #20193d, #0f0c1c 70%); overflow: hidden; }

/* Map-based screens (Emergency / Pick up / Meet up): a stylized street map,
   like the real app, with invented street names so nothing traces to a place. */
.fw-screen.map {
  background-color: #f2e2dd;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNDAgNDMwJz4KICA8cmVjdCB3aWR0aD0nMjQwJyBoZWlnaHQ9JzQzMCcgZmlsbD0nbm9uZScvPgogIDxnIHN0cm9rZT0nI2ZmZmZmZicgc3Ryb2tlLW9wYWNpdHk9JzAuODUnIHN0cm9rZS13aWR0aD0nMycgZmlsbD0nbm9uZScgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJz4KICAgIDxwYXRoIGQ9J00tMTAgNTQgTDI1MCA5MicvPgogICAgPHBhdGggZD0nTS0xMCAxNTAgTDI1MCAxMTgnLz4KICAgIDxwYXRoIGQ9J00zNCAtMTAgTDggNDQwJy8+CiAgICA8cGF0aCBkPSdNMTI4IC0xMCBMMTU2IDQ0MCcvPgogICAgPHBhdGggZD0nTS0xMCAyNjIgTDI1MCAyOTYnLz4KICAgIDxwYXRoIGQ9J00tMTAgMzcyIEwyNTAgMzM4Jy8+CiAgICA8cGF0aCBkPSdNMjA2IC0xMCBMMjMyIDQ0MCcvPgogICAgPHBhdGggZD0nTS0xMCAyMTAgTDI1MCAyMzInIHN0cm9rZS13aWR0aD0nMicgc3Ryb2tlLW9wYWNpdHk9JzAuNTUnLz4KICA8L2c+CiAgPHBhdGggZD0nTS0xNCAxODIgQzU0IDE1OCw5MiAyMzIsMTUwIDIwNiBTIDIzMCAyNTAsMjU0IDIyNicgc3Ryb2tlPScjOWZjM2ZmJyBzdHJva2Utb3BhY2l0eT0nMC42NScgc3Ryb2tlLXdpZHRoPScxMScgZmlsbD0nbm9uZScgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJy8+Cjwvc3ZnPgo=");
  background-size: 160% auto;
  background-position: center;
}
.fw-screen.map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,20,0.08), rgba(10,8,20,0) 30%, rgba(10,8,20,0) 70%, rgba(10,8,20,0.18)); pointer-events: none; }

.fw-topbar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; align-items: center; gap: 8px; z-index: 4; }
.fw-topbar .dot-btn { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20,10,10,0.2); flex-shrink: 0; }
.fw-topbar .vis { flex: 1; height: 28px; border-radius: 999px; background: #0d3a39; color: #eafff6; font-size: 0.62rem; font-weight:600; letter-spacing: 0.02em; display: flex; align-items: center; justify-content: center; gap: 10px; }
.fw-topbar .vis em { font-style: normal; opacity: 0.55; }
.fw-topbar .vis em.on { opacity: 1; color: #6be3b4; }

.fw-marker { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; z-index: 3; }
.fw-marker .head { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c)); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(20,10,10,0.3); display: grid; place-items: center; color: #fff; font-weight:600; font-size: 1.05rem; font-family: "Rubik", sans-serif; }
.fw-marker .tail { width: 13px; height: 13px; background: var(--c); margin-top: -7px; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.fw-marker .mini-label { margin-top: 6px; font-size: 0.68rem; font-weight:600; color: #3a2e2e; background: #fff; border-radius: 999px; padding: 3px 10px; box-shadow: 0 2px 6px rgba(20,10,10,0.18); white-space: nowrap; }
.fw-marker.small .head { width: 38px; height: 38px; font-size: 0.85rem; }

.fw-rings { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%) translateY(-25px); width: 150px; height: 150px; }
.fw-rings.sm { width: 90px; height: 90px; }
.fw-rings span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: fwPulse 2.2s ease-out infinite; }
.fw-rings span:nth-child(2) { animation-delay: 1.1s; }
@keyframes fwPulse { 0% { transform: scale(0.35); opacity: 0.7; } 100% { transform: scale(1); opacity: 0; } }

.fw-sos-hold { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); text-align: center; z-index: 3; }
.fw-sos-hold .say { font-size: 0.72rem; font-weight:600; color: #c0272c; text-transform: uppercase; letter-spacing: 0.04em; }
.fw-sos-hold .num { font-family: "Rubik", sans-serif; font-weight:600; font-size: 2.6rem; color: #c0272c; line-height: 1; }
.fw-sos-cta { position: absolute; left: 20px; right: 20px; bottom: 26px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e8565b, #c0272c); color: #fff; font-weight:600; font-size: 1rem; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(192,39,44,0.45); z-index: 3; }

.fw-actions-right { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 7px; z-index: 4; }
.fw-actions-right .act { font-size: 0.66rem; font-weight:600; padding: 7px 12px; border-radius: 999px; background: #fff; color: #2a2238; box-shadow: 0 3px 10px rgba(20,10,10,0.2); white-space: nowrap; }
.fw-actions-right .act.red { background: #e24a4f; color: #fff; }
.fw-actions-right .act.green { background: #2fae7e; color: #fff; }
.fw-actions-right .act.on { outline: 2px solid var(--c); }

.fw-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0; padding: 12px 16px 16px; box-shadow: 0 -10px 24px rgba(20,10,10,0.18); color: #241c33; z-index: 3; }
.fw-sheet .handle { width: 34px; height: 4px; border-radius: 3px; background: #EDE6D0; margin: 0 auto 10px; }
.fw-sheet .hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2px; }
.fw-sheet .hd b { font-size: 0.92rem; font-family: "Rubik", sans-serif; }
.fw-sheet .hd b em { font-style: normal; color: var(--c); }
.fw-sheet .hd .t { font-size: 0.8rem; font-weight:600; color: #6a6178; }
.fw-sheet small { color: #8d849c; font-size: 0.7rem; }
.fw-sheet .meta { display: flex; gap: 14px; margin-top: 8px; }
.fw-sheet .meta div { font-size: 0.68rem; color: #8d849c; }
.fw-sheet .meta b { display: block; font-size: 0.78rem; color: #241c33; }

.fw-avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--night); font-weight:600; font-size: 0.8rem; border: 2px solid var(--night); }
.fw-tag { position: absolute; left: 50%; top: 68%; transform: translateX(-50%); font-size: 0.78rem; font-weight:500; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.fw-chip.count { position: absolute; left: 50%; top: 70%; transform: translateX(-50%); font-family: "Rubik", sans-serif; font-weight:600; font-size: 1.6rem; color: var(--c); }

.fw-pin { position: absolute; left: 60%; top: 34%; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--c); transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.fw-pin.lilac { background: var(--lilac); }

.fw-card { position: absolute; left: 14px; right: 14px; bottom: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.fw-card.center { position: absolute; inset: 0; margin: auto; bottom: auto; top: 50%; transform: translateY(-50%); height: fit-content; text-align: center; }
.fw-tick { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: var(--c); color: var(--night); display: grid; place-items: center; font-weight:600; }
.fw-inputline { font-size: 0.85rem; color: var(--ink); background: var(--night); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.fw-row { display: flex; align-items: center; gap: 10px; }
.fw-row b { display: block; font-size: 0.9rem; }
.fw-row small { color: var(--muted); font-size: 0.75rem; }
.fw-row.people .fw-avatar { margin-left: -8px; }
.fw-row.people .fw-avatar:first-child { margin-left: 0; }
.fw-chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.fw-chips span { font-size: 0.75rem; font-weight:600; color: var(--muted); background: var(--night); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
.fw-chips span.on { color: var(--night); background: var(--c); border-color: var(--c); }
.fw-chat { margin-top: 10px; font-size: 0.8rem; color: var(--ink); background: var(--night); border-radius: 12px; padding: 8px 10px; }

.fw-bubble { max-width: 76%; font-size: 0.85rem; padding: 10px 14px; border-radius: 16px; position: absolute; }
.fw-bubble.out { right: 14px; top: 26%; background: var(--c); color: var(--night); font-weight:500; border-bottom-right-radius: 4px; }
.fw-bubble.in { left: 14px; top: 40%; background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.fw-toggle { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-size: 0.8rem; color: var(--muted); font-weight:500; }
.fw-toggle .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.fw-toggle.on .dot { background: var(--c); }
.fw-toggle.on { color: var(--ink); }

/* the phone menu button is hidden on a big screen */
.fw-menu, .fw-mlist { display: none; }
.fw-bars { display: grid; gap: 5px; width: 22px; }
.fw-bars i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; }

@media (max-width: 820px) {
  /* a phone: small heading, the five features in a three-line menu, the phone and its sliding buttons come first */
  main.doc { padding-top: 14px !important; }
  main.doc h1 { font-size: 1.35rem; }
  main.doc .lead { font-size: .8rem; line-height: 1.4; margin: 4px 0 0; }
  .fw-tab { font-size: .9rem; padding: 6px 14px; }
  /* the five features live in a three-line menu at the top right of the bar, beside the logo */
  .fw-tabs { display: none; }
  .fw-menu { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; margin-right: -6px; color: #022847; background: none; border: 0; border-radius: 10px; cursor: pointer; }
  .fw-mlist { display: none; position: absolute; right: 12px; top: 100%; margin-top: 6px; min-width: 170px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(2, 40, 71, .16); z-index: 60; }
  .fw-mlist.open { display: block; }
  .fw-mlist button { display: block; width: 100%; text-align: left; font: inherit; font-size: 1rem; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; }
  .fw-mlist button.on { color: #022847; background: #F9C845; }
  .fw-stage { grid-template-columns: auto 1fr auto; align-items: center; justify-items: center; text-align: center; gap: 10px; margin-top: 8px; }
  .fw-phonecol { grid-column: 1 / -1; order: 1; gap: 6px; }
  .fw-steps { min-height: 28px; }
  .fw-arrow.prev { order: 2; grid-column: 1; }
  .fw-text { display: contents; }
  .fw-dots { order: 3; grid-column: 2; justify-content: center; margin-top: 0; }
  .fw-arrow.next { order: 4; grid-column: 3; }
  .fw-bar { order: 5; grid-column: 1 / -1; width: 100%; margin: 0; }
  .fw-eyebrow { order: 6; grid-column: 1 / -1; margin: 6px 0 0; }
  .fw-text h3 { order: 7; grid-column: 1 / -1; font-size: 1.25rem; margin: 0; }
  .fw-text > p.muted { order: 8; grid-column: 1 / -1; max-width: 44ch; font-size: .95rem; margin: 0; }
  /* the real-screen tabs get a bigger phone on a phone (the drawn ones keep their fixed layout) */
  .fw-stage.live .fw-phone { --w: min(250px, 70vw); width: var(--w); height: calc(var(--w) * 2.0417); }
  .fw-stage.live.tall .fw-phone { height: calc(var(--w) * 2.075); }
  .fw-stage.live .fw-steps { margin: 0; width: 100%; }
}

section { padding: 72px 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 30px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: "Rubik", sans-serif; font-weight:600; font-size: 2.6rem; color: var(--lilac); line-height: 1; margin-bottom: 10px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 1rem; }

.kinds { margin-top: 28px; border-top: 1px solid var(--line); }
.kind { display: grid; grid-template-columns: 10px 190px 1fr; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.kind i { display: block; width: 10px; height: 10px; border-radius: 50%; transform: translateY(2px); }
.kind h3 { font-size: 1.3rem; }
.kind p { margin: 0; color: var(--muted); }

.plain { background: var(--panel); border-radius: 22px; padding: 34px; max-width: 760px; }
.plain h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.plain p:last-child { margin-bottom: 0; }

.facts { padding: 0; margin: 24px 0 0; list-style: none; max-width: 640px; }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts b { color: var(--ink); }
.facts span { color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--muted); margin-right: 18px; }

/* legal pages */
.doc { padding: 30px 0 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.doc ul { max-width: 62ch; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.draft { background: var(--panel); border-left: 4px solid var(--lilac); padding: 14px 18px; border-radius: 10px; margin: 18px 0 8px; max-width: 62ch; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .kind { grid-template-columns: 10px 1fr; gap: 6px 16px; }
  .kind p { grid-column: 2; }
  nav a { margin-left: 14px; }
  body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 520px) {
  .logo img { height: 38px; width: 38px; }
  .logo span { font-size: 1.45rem; }
  nav a:first-child { display: none; }
}

/* Features: real screens, played automatically (Pulse) */
.fw-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; animation: fwIn .7s ease both; }
@keyframes fwIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.fw-ping { position: absolute; left: 50%; top: 43%; width: 0; height: 0; pointer-events: none; }
.fw-ping span { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(91, 63, 176, .55); opacity: 0; animation: fwRing 2.4s ease-out infinite; }
.fw-ping span:nth-child(2) { animation-delay: .8s; }
.fw-ping span:nth-child(3) { animation-delay: 1.6s; }
@keyframes fwRing { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.fw-bar { display: none; height: 3px; margin-top: 14px; border-radius: 3px; background: rgba(2, 40, 71, .12); overflow: hidden; max-width: 220px; }
.fw-bar i { display: block; height: 100%; width: 0; background: var(--c, var(--green)); }
.fw-stage.live .fw-bar { display: block; }
.fw-bar.run i { animation: fwBar var(--dur, 4800ms) linear forwards; }
@keyframes fwBar { from { width: 0; } to { width: 100%; } }
.fw-shot.fw-sub { animation: none; opacity: 0; transition: opacity .6s ease; }
.fw-shot.fw-sub.on { opacity: 1; }
/* the label row above the phone: plain pale text, the chosen one lit in logo yellow */
.fw-phonecol { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fw-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; width: 320px; max-width: 100vw; min-height: 30px; margin: 0 -30px; }
.fw-steps button { font: inherit; font-size: .8rem; font-weight: 600; color: #A7ADB6; background: none; border: 0; border-radius: 99px; padding: 4px 10px; cursor: pointer; white-space: nowrap; transition: background .3s, color .3s; }
.fw-steps button.on { background: #F9C845; color: #022847; }
.fw-stage.live .fw-phone { cursor: pointer; }
.fw-stage.paused .fw-screen::after { content: "Paused, click to play"; position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 4px 10px; border-radius: 99px; background: rgba(2, 40, 71, .85); color: #fff; font-size: .7rem; font-weight: 600; white-space: nowrap; z-index: 3; }
.fw-stage.paused .fw-bar i { animation-play-state: paused; }
.fw-stage.tall .fw-phone { height: 498px; }
.fw-stage.tall .fw-screen { border-radius: 22px; }
@media (prefers-reduced-motion: reduce) { .fw-shot, .fw-ping span, .fw-bar.run i { animation: none; } .fw-ping { display: none; } }

/* Features page, desktop: the nav already says Features, so the heading hides, the tabs come first (small) with the subtext under them,
   the phone sizes to the screen height, and Start in minutes is one row, so everything fits without scrolling. */
@media (min-width: 821px) {
  .fw-head h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fw-head .fw-tabs { margin-top: 6px; gap: 8px; }
  .fw-head .fw-tab { font-size: .85rem; padding: 6px 14px; }
  .fw-head .lead { margin: 10px 0 0; font-size: .82rem; }
  .fw-stage { margin-top: 14px; }
  .fw-stage.live.tall { --h: clamp(380px, calc(100vh - 360px), 498px); }
  .fw-stage.live.tall .fw-phone { height: var(--h); width: calc(var(--h) / 2.075); }
  .fw-start { margin-top: 10px; display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
  .fw-start h2 { font-size: 1.5rem; white-space: nowrap; line-height: 1.1; margin: 0; }
  .fw-start ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; flex: 1; }
  .fw-start li { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; line-height: 1.35; }
  .fw-start li b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #F9C845; color: #022847; display: grid; place-items: center; font-size: .75rem; }
}
/* phones: Start in minutes stays a simple list */
@media (max-width: 820px) {
  .fw-start { margin-top: 18px; }
  .fw-start h2 { font-size: 1.1rem; margin-bottom: 8px; }
  .fw-start ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .fw-start li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.4; }
  .fw-start li b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #F9C845; color: #022847; display: grid; place-items: center; font-size: .8rem; }
}
/* Features page, desktop: everything centred as one group, so the right side is not empty */
@media (min-width: 821px) {
  .fw-head .fw-tabs { justify-content: center; }
  .fw-head .lead { text-align: center; }
  .fw-stage { justify-content: center; grid-template-columns: auto 260px auto minmax(300px, 440px); column-gap: 30px; }
  .fw-stage .fw-eyebrow { font-size: .85rem; }
  .fw-stage .fw-text h3 { font-size: 1.75rem; margin-bottom: 10px; }
  .fw-stage .fw-text .muted { font-size: 1.1rem; line-height: 1.5; }
  .fw-start { max-width: 1000px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 821px) {
  .fw-head .lead { max-width: none; margin-left: auto; margin-right: auto; }
  .fw-start { max-width: 1080px; }
}

/* Features page, desktop: Start in minutes is a vertical list on the right of the phone and slide text */
@media (min-width: 821px) {
  #ways { display: flex; align-items: center; justify-content: center; gap: 40px; }
  #ways .fw-stage { grid-template-columns: auto 260px auto minmax(240px, 300px); column-gap: 24px; margin-top: 14px; }
  #ways .fw-stage .fw-text h3 { font-size: 1.6rem; }
  #ways .fw-stage .fw-text .muted { font-size: 1.02rem; }
  #ways .fw-start { display: block; flex: none; width: 270px; max-width: none; margin: 14px 0 0; border-top: 0; border-left: 1px solid var(--line); padding: 6px 0 6px 30px; }
  #ways .fw-start h2 { font-size: 1.4rem; margin: 0 0 16px; }
  #ways .fw-start ol { display: grid; grid-template-columns: 1fr; gap: 16px; }
  #ways .fw-start li { font-size: .92rem; gap: 10px; }
  #ways .fw-start li b { width: 26px; height: 26px; font-size: .85rem; }
}

/* Features page, desktop: the subtext sits above the tabs, both on the left, smaller */
@media (min-width: 821px) {
  .fw-head .lead { text-align: left; margin: 14px 0 0; font-size: .8rem; max-width: none; }
  .fw-head .fw-tabs { justify-content: flex-start; margin-top: 8px; }
  .fw-head .fw-tab { font-size: .8rem; padding: 5px 12px; }
}

/* Features page, desktop: tabs as a column on the left, bigger phone with a thin bezel and less rounded corners */
@media (min-width: 821px) {
  #ways { gap: 26px; align-items: center; }
  #ways .fw-side { flex: none; width: 150px; align-self: center; }
  #ways .fw-side .lead { margin: 0 0 12px; font-size: .8rem; line-height: 1.4; text-align: left; }
  #ways .fw-side .fw-tabs { flex-direction: column; align-items: stretch; gap: 6px; margin: 0; }
  #ways .fw-side .fw-tab { text-align: left; font-size: .85rem; padding: 7px 14px; }
  #ways .fw-stage { grid-template-columns: auto auto auto minmax(220px, 250px); column-gap: 14px; margin-top: 0; }
  #ways .fw-stage.live.tall { --h: clamp(400px, calc(100vh - 190px), 600px); }
  #ways .fw-stage .fw-phone { padding: 5px; border-radius: 22px; }
  #ways .fw-stage .fw-screen { border-radius: 17px; }
  #ways .fw-arrow { width: 38px; height: 38px; }
  #ways .fw-start { width: 240px; padding-left: 26px; margin-top: 0; }
  #ways .fw-stage .fw-text h3 { font-size: 1.5rem; }
  #ways .fw-stage .fw-text .muted { font-size: 1rem; }
}

/* Features page: one phone size on every tab (desktop), and EMARU yellow for whatever is selected */
@media (min-width: 821px) {
  #ways .fw-stage { --h: clamp(400px, calc(100vh - 190px), 600px); }
  #ways .fw-stage .fw-phone { height: var(--h); width: calc(var(--h) / 2.075); position: relative; overflow: hidden; }
  #ways .fw-stage:not(.live) .fw-screen { position: absolute; left: 5px; top: 5px; width: 220px; height: 470px; transform: scale(var(--k, 1)); transform-origin: 0 0; border-radius: 12px; }
}
.fw-tab, .fw-stage { --c: #F9C845 !important; }
.fw-tab.active { color: #022847; }
.fw-eyebrow { color: #022847; }

/* Emergency tab: the tap-and-hold demo inside the phone, over a real app screen, in SOS red (nothing is sent) */
.fw-sosdemo { position: absolute; inset: 0; background: #0b1d33 url(sos/bg.jpg) center top / cover no-repeat; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 14px; }
.fw-sosdemo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6,12,24,.40), rgba(6,12,24,.58)); }
.fw-sosdemo > * { position: relative; }
.fw-sosdemo .d-top { min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.fw-sosdemo .d-say { font-size: .78rem; font-weight: 600; }
.fw-sosdemo .d-count { font-family: "Rubik", sans-serif; font-weight: 600; font-size: 1.6rem; color: #fff; min-height: 1.7rem; }
.fw-sosdemo .d-ring { position: relative; width: 168px; height: 168px; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; color: #fff; font: inherit; }
.fw-sosdemo .d-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: rgba(6,12,24,.55); }
.fw-sosdemo .d-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fw-sosdemo .track { fill: none; stroke: rgba(255,75,75,.3); stroke-width: 14; }
.fw-sosdemo .bar { fill: none; stroke: #FF4B4B; stroke-width: 14; stroke-linecap: round; }
.fw-sosdemo .fill { fill: #E5383B; opacity: 0; }
.fw-sosdemo .armed .track { stroke: rgba(255,75,75,.65); }
.fw-sosdemo .sending .fill { opacity: 1; }
.fw-sosdemo .sending::before { opacity: 0; }
.fw-sosdemo .d-label { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Rubik", sans-serif; font-weight: 600; font-size: 1.05rem; padding: 0 26px; line-height: 1.15; }
.fw-sosdemo .d-hint { margin: 4px 0 0; font-size: .7rem; max-width: 170px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* SOS demo: when "sent", the screen washes red and ripples out, like the alarm on their phone */
.fw-sosdemo .d-wash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(229,56,59,.05), rgba(229,56,59,.55)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.fw-sosdemo.alarm .d-wash { opacity: 1; }
.fw-sosdemo .d-rip { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border: 4px solid #FF5A5A; border-radius: 50%; opacity: 0; pointer-events: none; }
.fw-sosdemo.alarm .d-rip { animation: sosrip 2.1s ease-out infinite; }
.fw-sosdemo.alarm .d-rip:nth-of-type(3) { animation-delay: .7s; }
.fw-sosdemo.alarm .d-rip:nth-of-type(4) { animation-delay: 1.4s; }
@keyframes sosrip { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fw-sosdemo.alarm .d-rip { animation: none; opacity: .5; } }

.fw-stage.paused .fw-screen:has(.fw-sosdemo)::after { display: none; }
.fw-sosdemo.alarm .d-hint { visibility: hidden; }

/* SOS demo: the ring is pinned to the exact middle, so it never moves (text above and below change size) and the ripples line up with it */
.fw-sosdemo .d-ring { position: absolute; left: 50%; top: 50%; margin: -84px 0 0 -84px; }
.fw-sosdemo .d-top { position: absolute; left: 14px; right: 14px; bottom: calc(50% + 96px); min-height: 0; height: 64px; justify-content: flex-end; }
.fw-sosdemo .d-hint { position: absolute; left: 50%; top: calc(50% + 96px); transform: translateX(-50%); margin: 0; width: 170px; }

/* footer: quiet and small, links not bold */
footer { font-size: .8rem; }
footer a { font-weight: 400; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.stores .btn svg { flex: none; }
