/* Hum marketing site: shared tokens, layout, type and components.
   Page-specific sections live in pricing.css and guardian.css (class
   prefixes hp- and hg-); both read the tokens declared here.

   Design (September 2026): dark throughout. A navy page with raised navy
   cards, the logo's blue for the main actions and a lighter sky blue for
   accents. The concentric "hum" rings that recur across the site are drawn
   from the logo's swirl, and the phone in the hero and the app screens in
   How it works are drawn in CSS so they always show the app as it is.

   The CSP (site/headers.ts) allows no inline style, so every visual lives
   here or in the page stylesheets — never in a style= attribute. */

/* ---------- fonts (self-hosted: the CSP allows no third-party origin) ----------
   Inter, the app's own typeface, subset to Latin from the copy the app already
   ships (node_modules/@expo-google-fonts/inter, SIL Open Font License):
     pyftsubset node_modules/@expo-google-fonts/inter/700Bold/Inter_700Bold.ttf \
       --output-file=site/public/assets/fonts/Inter-700Bold.woff2 --flavor=woff2 \
       --layout-features='*' --unicodes="U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
   (one per weight). About 30 KB each. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/Inter-400Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/Inter-500Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/Inter-600SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/Inter-700Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/Inter-800ExtraBold.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  /* surfaces */
  --navy: #12192B;          /* the page */
  --navy-deep: #0E1424;     /* alternate sections, footer */
  --raised: #1A2440;        /* cards */
  --raised-2: #1E2A4B;      /* the featured card */
  /* brand */
  --blue: #056CB5;          /* the logo's blue: main actions */
  --blue-deep: #045A97;
  --blue-glow: rgba(5, 108, 181, .38);
  --sky: #5B9CF8;           /* accents and links on navy */
  --sky-soft: #BFDDFB;
  --sky-tint: rgba(91, 156, 248, .10);
  --sky-line: rgba(91, 156, 248, .26);
  --sky-faint: rgba(91, 156, 248, .22);
  /* the app's own signal colours, used only where they mean what they mean */
  --safe: #2A6FDB;
  --alert: #F59F00;
  --panic: #DC3545;
  --forest: #28A745;
  --go: #5FD37A;
  /* text on navy */
  --text: #FFFFFF;
  --body: #A9B2C6;
  --muted: #8A93A8;
  --soft: #C3CADA;
  --list: #D5DAE5;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  /* the app's dark theme, for the drawn phone and app screens */
  --app-bg: #1A1A2E;
  --app-bg-2: #16213E;
  --app-card: #323268;
  --app-muted: #B0B0C8;
  --app-safe: #52A8F0;      /* the app's Safe colour in dark mode (colors.success) */
  /* layout */
  --gutter: 24px;
  --max: 1248px;
  --radius: 20px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

img, svg { max-width: 100%; }

/* Headings and the short, single-line pieces of UI (labels, pills, the
   drawn app screens) sit on Inter's own line height, as in the design;
   running text keeps the body's 1.55. */
h1, h2, h3, h4,
.eyebrow, .pill, .chip, .feature__tag, .float, .phone__screen,
.strip__label, .strip__list, .stat, .app-card, .alert-button, .notice,
.replies, .step__badge, .cta__note, .site-nav, .menu__panel,
.site-footer__col, .site-footer__legal { line-height: 1.2; }

a { color: var(--sky); }
a:hover { color: var(--sky-soft); }

:focus-visible { outline: 3px solid rgba(91, 156, 248, .75); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 40;
  background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--navy); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Copy that differs between the wide layout and the phone layout (a line
   break, or a shorter phrase where the longer one would wrap). The hidden
   variant is display: none, so screen readers get one or the other. */
.narrow-only, .br-narrow { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 25, 43, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em;
}
.brand:hover { color: #fff; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.brand__mark img { display: block; width: 24px; height: 25px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.site-nav a:hover { color: #fff; }
.site-actions { display: flex; align-items: center; gap: 12px; }

/* phone-width menu: a <details>, so it opens without script */
.menu { display: none; position: relative; }
.menu__button {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); color: #fff;
}
.menu__button::-webkit-details-marker { display: none; }
.menu__button svg { width: 20px; height: 20px; }
.menu[open] .menu__button { background: rgba(255, 255, 255, .08); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 31;
  width: 240px; padding: 8px;
  display: flex; flex-direction: column;
  background: var(--raised); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.menu__panel a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px;
  color: var(--list); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.menu__panel a:hover { background: rgba(255, 255, 255, .06); color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, .06); color: var(--body); }
.site-footer__inner {
  max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter) 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.site-footer__tagline { margin: 18px 0 0; max-width: 340px; font-size: .9375rem; line-height: 1.6; }
.site-footer__col h2 {
  margin: 0 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.site-footer__col nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a { color: var(--soft); text-decoration: none; font-size: .9375rem; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal {
  grid-column: 1 / -1; margin: 8px 0 0; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: .8125rem; color: var(--muted);
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sky); background: var(--sky-tint); border: 1px solid var(--sky-line);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); animation: hum-blink 1.4s ease-in-out infinite; }

.h1, .h2 { text-wrap: balance; }
.h1 {
  margin: 26px 0 0; color: #fff;
  font-size: clamp(3.125rem, 6vw, 5.375rem); line-height: .98; letter-spacing: -.045em; font-weight: 800;
}
.h2 {
  margin: 20px 0 0; color: #fff;
  font-size: clamp(2.25rem, 3.8vw, 3.375rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
}
.accent { color: var(--sky); }
.quiet { color: var(--muted); }
.lead {
  margin: 28px 0 0; max-width: 520px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--body);
}

.section { padding: 112px 0; }
.section--deep { background: var(--navy-deep); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { margin: 20px auto 0; max-width: 620px; font-size: 1.125rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 28px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--solid { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(5, 108, 181, .4); }
.btn--solid:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.btn--light:hover { background: var(--sky-soft); color: var(--navy); transform: translateY(-1px); }
.btn--sm { height: 44px; padding: 0 18px; border-radius: 12px; font-size: .875rem; }
.btn--sm.btn--solid { box-shadow: 0 8px 20px rgba(5, 108, 181, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  left: 50%; top: -40px; width: 920px; height: 920px; margin-left: -20px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blue-glow), rgba(5, 108, 181, 0));
}
.hero__rings {
  position: absolute; z-index: -1; pointer-events: none;
  width: 1100px; height: 1100px; max-width: none; left: 50%; margin-left: -110px; top: -110px;
  color: #fff; opacity: .07;
}
.hero__inner {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center;
  padding-top: 96px; padding-bottom: 128px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem; font-weight: 600; color: #E3E7F0;
}
.pill svg { width: 16px; height: 16px; flex: none; color: var(--sky-soft); }
.pill--go svg, .pill--forest svg { color: var(--go); }
.pill--gold svg { color: var(--alert); }

/* the phone: drawn in CSS so it always shows the app as it is today */
.hero__visual { display: flex; justify-content: center; }
.phone-stage { position: relative; width: 300px; }
.phone {
  position: relative; width: 300px; padding: 12px;
  background: #0B0F1A; border-radius: 48px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px rgba(0, 0, 0, .55), 0 0 120px var(--blue-glow);
}
.phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; z-index: 2;
  width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #0B0F1A;
}
.phone__screen {
  display: flex; flex-direction: column;
  padding: 58px 20px 22px; border-radius: 38px; color: #fff;
  background: linear-gradient(180deg, var(--app-bg) 0%, var(--app-bg-2) 100%);
}
.phone__row { display: flex; align-items: center; justify-content: space-between; }
.phone__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1rem; letter-spacing: -.01em; }
.phone__brand img { width: 18px; height: 19px; padding: 3px; background: #fff; border-radius: 6px; box-sizing: content-box; }
/* The status pill as the app draws it in dark mode (app/(tabs)/index.tsx):
   Safe's blue for the dot and label, the same blue at 14% for the capsule
   and 25% for the halo round the dot. */
.phone__status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; background: rgba(82, 168, 240, .14);
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--app-safe);
}
.phone__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--app-safe); box-shadow: 0 0 0 3px rgba(82, 168, 240, .25); }
.phone__button-wrap { position: relative; height: 224px; margin: 12px 0 6px; display: flex; align-items: center; justify-content: center; }
.phone__ring {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  border: 2px solid rgba(42, 111, 219, .55); opacity: 0;
  animation: hum-pulse 2.4s ease-out infinite;
}
.phone__ring:nth-child(2) { animation-delay: .8s; }
.phone__ring:nth-child(3) { animation-delay: 1.6s; }
.phone__button {
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: radial-gradient(circle at 35% 30%, #4B8AE8 0%, var(--safe) 55%, #1F55B0 100%);
  box-shadow: 0 0 0 8px rgba(42, 111, 219, .18), 0 18px 40px rgba(42, 111, 219, .45);
  font-weight: 800; font-size: 1.3125rem; letter-spacing: .06em;
}
.phone__button small { font-size: .625rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .85); }
.phone__hint { margin: 0; text-align: center; font-size: .75rem; color: rgba(255, 255, 255, .62); }
.phone__card {
  margin-top: 18px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.phone__card b { display: block; font-size: .8125rem; }
.phone__card small { display: block; margin-top: 2px; font-size: .6875rem; color: rgba(255, 255, 255, .62); }
.phone__card--warn { margin-top: 10px; justify-content: flex-start; gap: 12px; background: rgba(245, 159, 0, .08); border-color: rgba(245, 159, 0, .22); }
.warn-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px rgba(245, 159, 0, .2); }

.avatars { display: inline-flex; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--app-bg-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .625rem; font-weight: 800; color: #fff; letter-spacing: .02em;
}
.avatar + .avatar { margin-left: -9px; }
.avatar--1 { background: #7C5CE0; }
.avatar--2 { background: #E0703C; }
.avatar--3 { background: #1FA3A3; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; white-space: nowrap;
  background: rgba(26, 36, 64, .94); border: 1px solid var(--sky-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.float b { display: block; font-size: .875rem; font-weight: 800; }
.float small { display: block; margin-top: 1px; font-size: .75rem; color: var(--body); }
.float--circle { left: -128px; top: 118px; }
.float--offline { right: -136px; bottom: 132px; }
.float__icon {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-tint); color: var(--sky);
}
.float__icon svg { width: 19px; height: 19px; }
.float__icon--go { background: rgba(95, 211, 122, .12); color: var(--go); }

/* ---------- home: who it's for ---------- */
.strip {
  padding: 40px 0; background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.strip__label {
  margin: 0 0 24px; text-align: center;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 48px; }
.strip__list li { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--soft); }
.strip__list svg { flex: none; width: 18px; height: 18px; color: var(--sky); }

/* ---------- home: numbers ---------- */
.stats { padding: 80px 0 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 30px 24px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); text-align: center; }
.stat__value { font-size: 3.125rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--sky); }
.stat__label { margin-top: 14px; font-size: 1rem; font-weight: 700; color: #fff; }
.stat__sub { margin-top: 4px; font-size: .8125rem; color: var(--muted); }

/* ---------- home: features ---------- */
.section--features { padding-top: 88px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); }
.feature__icon {
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--sky-tint); border: 1px solid var(--sky-line); color: var(--sky);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 22px 0 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.feature p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--body); }
.feature__tag {
  position: absolute; top: 28px; right: 28px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(245, 159, 0, .12); border: 1px solid rgba(245, 159, 0, .32);
  font-size: .75rem; font-weight: 800; color: #F5B640;
}
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .05);
  font-size: .75rem; font-weight: 600; color: var(--list);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.chip--safe::before { background: var(--safe); }
.chip--alert::before { background: var(--alert); }
.chip--panic::before { background: var(--panic); }

/* ---------- home: how it works ---------- */
.section--steps { padding-bottom: 128px; }
.section--steps .section-head { margin-bottom: 88px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 104px; }
.step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.step--flip .step__text { order: 2; }
.step__num { display: block; font-size: 7.5rem; line-height: .9; font-weight: 800; letter-spacing: -.05em; color: var(--sky-faint); }
.step__text h3 { margin: 20px 0 14px; font-size: 2.125rem; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.step__text p { margin: 0; max-width: 470px; font-size: 1.0625rem; line-height: 1.65; color: var(--body); }
.step__visual { position: relative; }
.step__badge {
  position: absolute; right: -18px; bottom: -18px;
  width: 100px; height: 100px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--raised); border: 1px solid var(--sky-line); box-shadow: 0 0 24px var(--sky-tint);
  font-size: 1.125rem; font-weight: 800; color: var(--sky);
}
.panel {
  position: relative; height: 430px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  border-radius: 24px; background: var(--raised); border: 1px solid var(--line);
}
.panel--stack { flex-direction: column; gap: 30px; }
.panel--safe { gap: 40px; }
.panel__rings { position: absolute; width: 600px; height: 600px; max-width: none; color: #fff; opacity: .05; }

/* drawn app screens: the app's own dark theme */
.app-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  width: 382px; padding: 20px; border-radius: 22px; color: #fff;
  background: linear-gradient(180deg, var(--app-bg) 0%, var(--app-bg-2) 100%);
  border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .4);
}
.app-card__head { display: flex; align-items: center; justify-content: space-between; font-size: 1.0625rem; font-weight: 800; }
.app-card__count { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: .75rem; font-weight: 700; color: var(--app-muted); }
.member { display: flex; align-items: center; gap: 12px; }
.member .avatar { width: 40px; height: 40px; border: 0; font-size: .8125rem; }
.member > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.member b { display: block; font-size: .9375rem; }
.member small { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--app-muted); }
.member small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.member small.is-pending::before { background: var(--alert); }
.qr-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; margin-top: 4px; border-radius: 12px;
  border: 1.5px dashed var(--sky-line); background: var(--sky-tint); color: var(--sky);
  font-size: .875rem; font-weight: 700;
}
.qr-button svg { width: 18px; height: 18px; }

.alert-buttons { position: relative; display: flex; gap: 56px; }
.alert-button { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: .8125rem; font-weight: 700; color: var(--list); }
.alert-button__ring { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid rgba(245, 159, 0, .3); }
.alert-button__face {
  width: 118px; height: 118px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .9375rem; line-height: 1.15; font-weight: 800; letter-spacing: .04em;
  background: radial-gradient(circle at 35% 30%, #FFC04D 0%, var(--alert) 55%, #C77F00 100%);
  box-shadow: 0 16px 36px rgba(245, 159, 0, .35); color: var(--app-bg);
}
.alert-button--panic .alert-button__ring { border-color: rgba(220, 53, 69, .35); }
.alert-button--panic .alert-button__face {
  font-size: 1.0625rem; letter-spacing: .06em; color: #fff;
  background: radial-gradient(circle at 35% 30%, #F0606D 0%, var(--panic) 55%, #A8212F 100%);
  box-shadow: 0 16px 36px rgba(220, 53, 69, .4);
}
.notice {
  position: relative; display: flex; align-items: center; gap: 14px;
  width: 400px; max-width: calc(100% - 32px); padding: 14px 16px; border-radius: 16px;
  background: var(--app-bg-2); border: 1px solid rgba(220, 53, 69, .3); color: #fff;
}
.notice__icon {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220, 53, 69, .16); color: #F0808B;
}
.notice__icon svg { width: 19px; height: 19px; }
.notice b { display: block; font-size: .875rem; font-weight: 800; }
.notice small { display: block; margin-top: 2px; font-size: .75rem; line-height: 1.45; color: var(--app-muted); }

.safe-button { position: relative; flex: none; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid rgba(42, 111, 219, .4); }
.safe-button span {
  width: 126px; height: 126px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #4B8AE8 0%, var(--safe) 55%, #1F55B0 100%);
  box-shadow: 0 16px 36px rgba(42, 111, 219, .45);
  font-size: 1.1875rem; font-weight: 800; letter-spacing: .06em; color: #fff;
}
.replies { position: relative; width: 250px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.marked-safe { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--app-bg-2); border: 1px solid rgba(40, 167, 69, .35); }
.marked-safe b { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 800; }
.marked-safe b svg { width: 16px; height: 16px; color: var(--go); }
.marked-safe small { font-size: .75rem; color: var(--app-muted); }
.bubble { display: flex; align-items: flex-end; gap: 10px; }
.bubble .avatar { flex: none; border: 0; }
.bubble p { margin: 0; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--app-card); font-size: .8125rem; line-height: 1.4; }

/* ---------- home: faq ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faq-card { padding: 28px 30px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); }
.faq-card h3 { margin: 0; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.faq-card p { margin: 10px 0 0; font-size: .9375rem; line-height: 1.65; color: var(--body); }

/* ---------- home: closing band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 128px 0; background: var(--navy); text-align: center; }
.cta::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  left: 50%; top: 180px; width: 900px; height: 700px; margin-left: -450px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--blue-glow), rgba(5, 108, 181, 0));
}
.cta__rings {
  position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; max-width: none; left: 50%; margin-left: -450px; top: -120px;
  color: #fff; opacity: .06;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; max-width: 868px; }
.cta .h2 { margin-top: 24px; font-size: clamp(2.5rem, 4.6vw, 4.125rem); line-height: 1.02; letter-spacing: -.045em; }
.cta .lead { margin: 24px auto 0; max-width: 560px; }
.cta .btn-row { justify-content: center; }
.cta__note { margin: 24px 0 0; font-size: .8125rem; color: var(--muted); }

/* ---------- simple pages (download, contact, 404) ---------- */
.page { max-width: 680px; margin: 0 auto; padding: 88px var(--gutter) 112px; text-align: center; }
.page .h1 { margin-top: 22px; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.02; }
.page .lead { margin: 22px auto 36px; max-width: 560px; }
.page .btn-row { justify-content: center; margin-top: 0; }

.stores { display: flex; flex-direction: column; gap: 12px; max-width: 380px; margin: 0 auto; }
.store {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 24px; border-radius: 14px;
  font-weight: 700; text-decoration: none;
  background: #fff; color: var(--navy); border: 1.5px solid #fff;
}
.store:hover { color: var(--navy); background: var(--sky-soft); border-color: var(--sky-soft); }
.store svg { width: 20px; height: 20px; flex: none; }
.store--soon { background: rgba(255, 255, 255, .04); color: var(--muted); border-color: var(--line-strong); }
.store--soon .soon {
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .08); color: var(--body); border-radius: 6px; padding: 3px 8px;
}

.note-card {
  margin: 32px auto 0; padding: 22px 24px; text-align: left;
  border-radius: 18px; background: var(--raised); border: 1px solid var(--line);
  font-size: .9375rem; color: var(--body);
}
.note-card b { color: #fff; }
.note-card p { margin: 0; }
.note-card p + p { margin-top: 10px; }

.contact-cards { display: grid; gap: 16px; text-align: left; }
.contact-card { padding: 26px 28px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); }
.contact-card h2 { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.contact-card p { margin: 0 0 18px; font-size: .9375rem; color: var(--body); }
.contact-card .btn { height: 48px; padding: 0 20px; border-radius: 12px; font-size: .9375rem; }
.contact-address { margin-top: 28px; font-size: .9375rem; color: var(--body); }

/* ---------- page heroes (guardian) ---------- */
.hero--page::before { left: 50%; top: -260px; margin-left: -460px; }
.hero--page .hero__rings { margin-left: -550px; top: -300px; }
.hero--page .hero__inner { padding-top: 80px; padding-bottom: 96px; }
.hero__inner--single { grid-template-columns: minmax(0, 820px); justify-content: center; text-align: center; }
.hero__inner--single .hero__copy { align-items: center; }
.hero__inner--single .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.hero__inner--single .btn-row, .hero__inner--single .pills { justify-content: center; }
.hero--page .h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); line-height: 1.02; }
.page-top { padding-top: 72px; padding-bottom: 112px; }

/* ---------- legal documents (rendered from docs/legal) ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 72px var(--gutter) 112px; color: var(--list); }
.legal h1 { margin: 0 0 .6em; font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.legal h2 { margin: 2.2em 0 .6em; font-size: 1.45rem; letter-spacing: -.015em; color: #fff; }
.legal h3 { margin: 1.8em 0 .5em; font-size: 1.12rem; color: #fff; }
.legal p, .legal li { line-height: 1.7; }
.legal strong { color: #fff; }
.legal hr { border: 0; border-top: 1px solid var(--line-strong); margin: 2.4em 0; }
.legal blockquote { margin: 1.4em 0; padding: 4px 18px; border-left: 3px solid var(--sky); background: var(--raised); border-radius: 0 12px 12px 0; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: rgba(255, 255, 255, .06); padding: 1px 5px; border-radius: 5px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line-strong); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: rgba(255, 255, 255, .04); color: #fff; }

/* ---------- motion ---------- */
@keyframes hum-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes hum-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .site-nav { gap: 24px; }
}
@media (max-width: 1080px) {
  .site-nav, .site-actions__portal { display: none; }
  .menu { display: block; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 72px; padding-top: 72px; padding-bottom: 104px; }
  .hero::before { left: 50%; top: auto; bottom: -80px; margin-left: -460px; }
  .hero__rings { left: 50%; margin-left: -550px; top: auto; bottom: -160px; }
  .hero--page::before { top: -260px; bottom: auto; }
  .hero--page .hero__rings { top: -300px; bottom: auto; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 80px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step--flip .step__text { order: 0; }
  .step__text p { max-width: 640px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 80px; }
  .site-header__inner { height: 64px; }
  .brand { font-size: 1.25rem; gap: 10px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__mark img { width: 21px; height: 22px; }
  .site-actions { gap: 8px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 36px; }
  .h2 { font-size: 2.25rem; line-height: 1.1; }
  .eyebrow { font-size: .6875rem; padding: 6px 13px; }

  .wide-only, .br-wide { display: none; }
  .narrow-only, .br-narrow { display: inline; }

  .hero__inner { gap: 48px; padding-top: 40px; padding-bottom: 56px; }
  .hero::before { width: 720px; height: 720px; margin-left: -360px; bottom: -69px; }
  .hero__rings { width: 900px; height: 900px; margin-left: -450px; bottom: -149px; }
  .hero--page .hero__rings { margin-left: -450px; }
  .hero .h1 { margin-top: 20px; font-size: 3.125rem; line-height: 1; }
  .hero .lead { margin-top: 20px; font-size: 1.0625rem; }
  .hero .btn-row { flex-direction: column; align-self: stretch; gap: 12px; margin-top: 28px; }
  .hero .btn { height: 54px; }
  .pills { gap: 8px; margin-top: 24px; }
  .pill { padding: 7px 12px 7px 10px; font-size: .8125rem; }

  .phone-stage, .phone { width: 262px; }
  .phone { padding: 10px; border-radius: 42px; }
  .phone::before { top: 19px; width: 80px; height: 22px; margin-left: -40px; }
  .phone__screen { padding: 50px 16px 18px; border-radius: 33px; }
  .phone__button-wrap { height: 196px; margin: 10px 0 4px; }
  .phone__ring, .phone__button { width: 130px; height: 130px; }
  .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .55), 0 0 90px var(--blue-glow); }
  .phone__brand { gap: 7px; font-size: .875rem; }
  .phone__brand img { width: 15px; height: 16px; border-radius: 5px; }
  .phone__status { gap: 5px; padding: 4px 9px; font-size: .625rem; }
  .phone__status::before { width: 6px; height: 6px; }
  .phone__button { gap: 3px; font-size: 1.1875rem; box-shadow: 0 0 0 7px rgba(42, 111, 219, .18), 0 16px 34px rgba(42, 111, 219, .45); }
  .phone__button small { font-size: .5625rem; }
  .phone__hint { font-size: .6875rem; }
  .phone__card { margin-top: 14px; padding: 10px 12px; border-radius: 14px; gap: 8px; }
  .phone__card b { font-size: .75rem; }
  .phone__card small { font-size: .625rem; }
  .phone__card--warn { margin-top: 8px; gap: 10px; }
  .warn-dot { width: 9px; height: 9px; }
  .phone__card .avatar { width: 26px; height: 26px; font-size: .5625rem; }
  .phone__card .avatar + .avatar { margin-left: -8px; }
  .float__icon svg { width: 17px; height: 17px; }
  .float { padding: 10px 14px 10px 10px; border-radius: 14px; gap: 10px; }
  .float__icon { width: 32px; height: 32px; border-radius: 10px; }
  .float b { font-size: .8125rem; }
  .float small { font-size: .6875rem; }
  .float--circle { left: -44px; top: 92px; }
  .float--offline { right: -44px; bottom: 116px; }

  .strip { padding: 32px 0; }
  .strip__label { font-size: .6875rem; margin-bottom: 20px; }
  .strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .strip__list li { font-size: .875rem; }

  .stats { padding: 48px 0 16px; }
  .stats__grid { gap: 12px; }
  .stat { padding: 22px 14px; border-radius: 18px; }
  .stat__value { font-size: 2.125rem; }
  .stat__label { margin-top: 10px; font-size: .875rem; }
  .stat__sub { font-size: .75rem; line-height: 1.4; }

  .section--features { padding-top: 72px; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feature { padding: 24px; }
  .feature h3 { margin-top: 18px; font-size: 1.1875rem; }
  .feature__tag { top: 24px; right: 24px; }

  .section--steps { padding-bottom: 96px; }
  .section--steps .section-head { margin-bottom: 52px; }
  .steps { gap: 72px; }
  .step { gap: 28px; }
  .step__num { font-size: 4.5rem; }
  .step__text h3 { margin: 14px 0 10px; font-size: 1.625rem; line-height: 1.2; }
  .step__text p { font-size: 1rem; }
  .step__badge { right: -8px; bottom: -14px; width: 76px; height: 76px; border-radius: 18px; font-size: .9375rem; }
  .panel { height: 360px; border-radius: 22px; }
  .panel--stack { gap: 24px; }
  .panel--safe { height: 380px; flex-direction: column; gap: 22px; }
  .app-card { width: 290px; padding: 16px; gap: 12px; border-radius: 20px; }
  .app-card__head { font-size: 1rem; }
  .app-card__count { padding: 3px 9px; font-size: .6875rem; }
  .member { gap: 11px; }
  .member .avatar { width: 36px; height: 36px; font-size: .75rem; }
  .member b { font-size: .875rem; }
  .member small { font-size: .6875rem; }
  .qr-button { height: 44px; margin-top: 2px; font-size: .8125rem; }
  .alert-buttons { gap: 28px; }
  .alert-button { gap: 10px; font-size: .75rem; }
  .alert-button__ring { width: 116px; height: 116px; }
  .alert-button__face { width: 92px; height: 92px; font-size: .75rem; }
  .alert-button--panic .alert-button__face { font-size: .875rem; }
  .notice { width: 306px; padding: 12px 14px; gap: 12px; border-radius: 14px; }
  .notice__icon { width: 34px; height: 34px; border-radius: 10px; }
  .notice b { font-size: .8125rem; }
  .notice small { font-size: .6875rem; }
  .section-head .lead { margin-top: 16px; font-size: 1rem; }
  .safe-button { width: 136px; height: 136px; }
  .safe-button span { width: 108px; height: 108px; font-size: 1.0625rem; }
  .replies { width: 280px; }

  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .faq-card { padding: 22px 24px; border-radius: 18px; }
  .faq-card h3 { font-size: 1.0625rem; line-height: 1.35; }

  .cta { padding: 88px 0; }
  .cta::before { width: 720px; height: 600px; margin-left: -360px; top: 200px; }
  .cta__rings { width: 700px; height: 700px; margin-left: -350px; top: -60px; }
  .cta .h2 { margin-top: 20px; font-size: 2.5rem; line-height: 1.05; letter-spacing: -.04em; }
  .cta .lead { margin-top: 18px; font-size: 1.0625rem; }
  .cta .btn-row { flex-direction: column; align-self: stretch; gap: 12px; margin-top: 28px; }
  .cta .btn { height: 54px; }
  .cta__note { margin-top: 20px; line-height: 1.5; }
  .cta__note span { display: block; }
  .cta__note .cta__sep { display: none; }

  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; padding-top: 48px; padding-bottom: 40px; }
  .site-footer__about { grid-column: 1 / -1; }
  .site-footer__col nav { gap: 4px; }
  .site-footer__col a { display: flex; align-items: center; min-height: 36px; }
  .site-footer__tagline { max-width: none; margin-top: 14px; }
  .site-footer__col h2 { margin-bottom: 14px; }
  .site-footer__legal { flex-direction: column; gap: 6px; margin-top: 0; padding-top: 22px; }

  .page { padding-top: 64px; padding-bottom: 88px; }
  .hero--page .hero__inner { padding-top: 56px; padding-bottom: 72px; }
  .hero__inner--single .btn-row { flex-direction: row; align-self: center; }
  .page-top { padding-top: 48px; padding-bottom: 88px; }
}
@media (max-width: 400px) {
  .site-actions .btn--sm { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .phone__ring { opacity: .35; transform: scale(1.25); }
}
