/* FireFind website */

@font-face { font-family: 'Rubik'; src: url('/assets/fonts/rubik-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #070C16;
  --navy-2: #0B1322;
  --panel: #0D1524;
  --panel-2: #131D30;
  --line: #1C2740;
  --line-2: #141E31;
  --line-3: #2A3A58;
  --on-dark: #E9EEF5;
  --on-dark-2: #B4BFD0;
  --on-dark-3: #7D8AA0;
  --dim: #8A96AB;
  --paper: #F2F4F7;
  --ink: #070C16;
  --muted: #4B5668;
  --rule: #C9D1DC;
  --rule-2: #D5DCE5;
  --tile-line: #E1E6ED;
  --red: #DA291C;
  --fire: #F2432F;
  --fire-text: #FF6B5A;
  --amber: #FFB020;
  --green: #22C08A;
  --blue: #35B0F5;
  --font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --pad: clamp(20px, 6.6vw, 96px);
  --radius: 28px;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--on-dark); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.82; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.plain { list-style: none; margin: 0; padding: 0; }
.mono { font-family: var(--mono); }
.ink { color: var(--ink); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #FFFFFF; color: var(--ink); }
.skip:focus { left: 12px; }
section[id] { scroll-margin-top: var(--header); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; background: none; color: inherit; font: inherit; font-size: 17px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.btn-red { background: var(--red); color: #FFFFFF; }
.btn-sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-ghost { align-self: flex-start; padding: 0 24px; border-color: var(--line-3); color: var(--on-dark); }
.btn-outline { align-self: flex-start; height: 44px; padding: 0 18px; border-color: var(--rule); background: #FFFFFF; color: var(--ink); font-size: 15px; font-weight: 400; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { border-bottom: 1px solid #3A4A66; padding-bottom: 2px; }

/* Brand */
.brand { display: flex; align-items: center; }
.logo { display: block; width: auto; height: 30px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-2); }
.site-header .wrap { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 40px; font-size: 15px; color: var(--on-dark-2); }
.nav-signin { display: none; }
.header-actions { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.header-signin { color: var(--on-dark-2); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--on-dark); cursor: pointer; }

@media (max-width: 980px) {
  .site-nav, .header-signin { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { gap: 8px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-nav { display: flex; position: fixed; inset: var(--header) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--pad) 32px; background: var(--navy); font-size: 22px; color: var(--on-dark); }
  body.menu-open .site-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  body.menu-open .nav-signin { display: block; }
}
@media (max-width: 400px) {
  .logo { height: 24px; }
  .site-header .btn-sm { padding: 0 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 48px 72px; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(38px, 10.8vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: #FFFFFF; }
.hero h1 span { display: block; }
.lede { max-width: 540px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--on-dark-2); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.note { font-size: 14px; color: var(--on-dark-3); }
@media (min-width: 1100px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 440px; min-height: min(860px, calc(100vh - var(--header))); padding-block: 64px; }
  .hero h1 { font-size: min(5.85vw, 84px); }
  .hero-copy { gap: 32px; }
}
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-ctas .text-link { align-self: center; }
}

/* Product shot */
.device-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 740px; }
.device-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 600px; height: 600px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(218, 41, 28, 0.3), rgba(218, 41, 28, 0)); }
.device-stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%) rotate(45deg); border: 1px solid #1E2A42; }
.device-wrap { position: relative; z-index: 1; width: 340px; height: 700px; }
.device { width: 340px; height: 700px; padding: 13px; border-radius: 54px; background: #18202F; border: 1px solid #2A3548; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55); }
.screen { position: relative; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 44px 14px 16px; border-radius: 42px; background: var(--navy); overflow: hidden; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site-head .site-name span { font-family: var(--mono); font-size: 11.5px; }
.share-btn { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--panel); color: #FFFFFF; cursor: pointer; }
.screen-brand img { display: block; width: auto; height: 13px; }
.site-name { display: flex; flex-direction: column; gap: 2px; }
.site-name strong { font-size: 17px; font-weight: 600; line-height: 1.25; color: #FFFFFF; }
.site-name span { font-size: 12px; line-height: 1.4; color: var(--dim); }
.lights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.light { height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--dim); }
.light.is-fire { background: rgba(218, 41, 28, 0.16); border-color: rgba(242, 67, 47, 0.6); color: #FFFFFF; }
.light.is-ok { color: var(--on-dark); }
.led { display: block; flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #2A3550; }
.led-fire { background: var(--fire); box-shadow: 0 0 10px var(--fire); }
.led-ok { background: var(--green); box-shadow: 0 0 8px rgba(34, 192, 138, 0.8); }
.led-warn { background: var(--amber); }
.instruction { padding: 9px 12px; border-radius: 10px; background: rgba(218, 41, 28, 0.16); color: #FFDAD5; font-size: 12.5px; line-height: 1.4; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tab { height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: inherit; font-size: 13px; color: var(--dim); cursor: pointer; }
.tab.is-on { border-bottom-color: var(--red); color: #FFFFFF; font-weight: 500; }
.tab-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--fire); }
.pane { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.pane[hidden] { display: none; }
.pane-events, .pane-site { overflow-y: auto; scrollbar-width: none; }
.pane-events::-webkit-scrollbar, .pane-site::-webkit-scrollbar { display: none; }
.floors { display: flex; align-items: center; gap: 5px; font-size: 11px; white-space: nowrap; }
.chip-floor { padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line); background: none; font: inherit; font-size: 11px; color: var(--dim); cursor: pointer; }
.chip-floor.has-fire:not(.is-on) { border-color: var(--fire); color: #FFFFFF; animation: floorFlash 1.1s step-end infinite; }
@keyframes floorFlash { 0% { background: rgba(218, 41, 28, 0.85); } 50% { background: rgba(218, 41, 28, 0.15); } }
.chip-floor.is-on { background: var(--panel-2); border-color: var(--line-3); color: #FFFFFF; }
.eye { margin-left: auto; display: flex; flex-shrink: 0; align-items: center; gap: 4px; height: 26px; padding: 0 7px; white-space: nowrap; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--on-dark-2); font: inherit; font-size: 11px; cursor: pointer; }
.plan { position: relative; flex-grow: 1; border-radius: 12px; background: #FFFFFF; overflow: hidden; }
.plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan .plan-healthy { display: none; }
.plan.show-healthy .plan-healthy { display: block; }
.plan[data-floor="ground"] .floor-first, .plan[data-floor="first"] .floor-ground { display: none !important; }
.plan-here { pointer-events: none; }
.here-pos { transition: transform 1.6s ease-in-out; }
.here-halo { transform-box: fill-box; transform-origin: center; transition: transform 1.6s ease-in-out; }
.pbox { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.pbox h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.mini-spread li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px solid var(--line); font-size: 12.5px; color: #FFFFFF; }
.mini-spread li:first-child { border-top: 0; }
.mini-spread small { display: block; font-size: 11px; color: var(--dim); }
.mini-spread .mono, .mini-log .mono { font-family: var(--mono); font-size: 11px; color: var(--on-dark-2); }
.mini-log li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.4; color: var(--on-dark-2); }
.mini-log li:first-child { border-top: 0; }
.ev-fire { color: var(--fire-text); font-weight: 600; }
.ev-fault { color: var(--amber); }
.pnote { font-size: 11px; line-height: 1.45; color: var(--dim); }
.mini-details div { padding: 6px 0; border-top: 1px solid var(--line); }
.mini-details div:first-child { border-top: 0; }
.mini-details dt { font-size: 11px; color: var(--dim); }
.mini-details dd { font-size: 12.5px; line-height: 1.4; color: #FFFFFF; }
.mini-details .tel { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 12px; color: var(--blue); }
.w3w-link { font-family: var(--mono); color: #FFFFFF; text-decoration: none; }
.w3w-link span { color: var(--fire-text); }
.share-wide { flex-shrink: 0; height: 40px; border-radius: 10px; border: 1px solid var(--line-3); background: var(--panel-2); color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.share-sheet { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 44px 22px 22px; background: var(--navy); text-align: center; }
.share-sheet[hidden] { display: none; }
.share-sheet h4 { font-size: 17px; font-weight: 600; color: #FFFFFF; }
.share-site { font-size: 12.5px; color: var(--on-dark-2); }
.qr { width: 180px; padding: 10px; border-radius: 12px; background: #FFFFFF; }
.qr svg { display: block; width: 100%; height: auto; }
.share-link { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.share-note { font-size: 11.5px; line-height: 1.45; color: var(--dim); }
.share-close { margin-top: 6px; height: 40px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--panel); color: #FFFFFF; font: inherit; font-size: 13px; cursor: pointer; }
.screen button:focus-visible, .screen a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.here { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--on-dark-2); }
.here-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
@media (max-width: 420px) {
  .device-stage { min-height: 620px; }
  .device-stage::before { width: 420px; height: 420px; }
  .device-stage::after { width: 300px; height: 300px; }
  .device-wrap { width: 280px; height: 577px; }
  .device { transform: scale(0.8235); transform-origin: top left; }
}

/* Live plan motion */
.ff-ring { transform-box: fill-box; transform-origin: center; animation: ffRing 1.8s ease-out infinite; }
.ff-d1 { animation-delay: 0.6s; }
.ff-d2 { animation-delay: 1.2s; }
.ff-run { stroke-dasharray: 16 400; animation: ffRun 3.4s linear infinite; }
.ff-blink { animation: ffBlink 1.1s step-end infinite; }
@keyframes ffRing { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.7); opacity: 0; } }
@keyframes ffRun { 0% { stroke-dashoffset: 16; } 72% { stroke-dashoffset: -171; } 100% { stroke-dashoffset: -171; } }
@keyframes ffBlink { 0% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
  .chip-floor.has-fire:not(.is-on) { animation: none; background: rgba(218, 41, 28, 0.6); }
  .here-pos, .here-halo { transition: none; }
  html { scroll-behavior: auto; }
  .ff-ring, .ff-blink { animation: none; }
  .ff-run { display: none; }
}

/* Sections */
.section { padding-block: clamp(72px, 7.8vw, 112px); }
.section-tight-top { padding-top: clamp(24px, 2.5vw, 32px); }
.light-band { background: var(--paper); color: var(--ink); }
.white-band { background: #FFFFFF; color: var(--ink); }
.on-dark { color: var(--on-dark); }
.display { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; }
.on-dark .display { color: #FFFFFF; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 8%; align-items: end; margin-bottom: 56px; }
.section-head p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--muted); }
.on-dark .section-head p { color: var(--on-dark-2); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; margin-bottom: 36px; } }

/* Video */
.video-band { border-top: 1px solid var(--line-2); }
.explainer { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
@media (max-width: 640px) { .explainer { border-radius: 16px; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.price-card, .trade-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--radius); }
.price-card { background: #FFFFFF; color: var(--ink); }
.price-name { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-num { font-size: clamp(48px, 5vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.price-per { font-size: 17px; color: var(--muted); }
.price-list { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; border-top: 1px solid var(--rule-2); }
.price-list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; }
.price-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.price-card .btn { align-self: flex-start; margin-top: auto; }
.trade-card { justify-content: center; border: 1px solid var(--line-3); background: var(--panel); }
.trade-card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: #FFFFFF; }
.trade-card p { color: var(--on-dark-2); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* Trade page */
.trade-page { min-height: calc(100vh - var(--header)); border-top: 0; }
.trade-page h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; color: #FFFFFF; }
.trade-points { display: flex; flex-direction: column; gap: 10px; }
.trade-points li { position: relative; padding-left: 22px; font-size: 17px; color: var(--on-dark-2); }
.trade-points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 900px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 400; line-height: 1; color: var(--red); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { max-width: 760px; padding: 0 0 22px; color: var(--muted); }

/* Problem */
.problem-title { max-width: 1040px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.col-item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.col-item h3 { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.3; font-weight: 500; }
.col-item p { color: var(--muted); }
@media (max-width: 860px) { .three-col { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; } }

/* Keyholder tiles */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 24px; min-height: 440px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--radius); }
.tile-lg { min-height: 520px; }
.tile-light { background: #FFFFFF; border: 1px solid var(--tile-line); }
.tile-dark { background: var(--navy); color: var(--on-dark); }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.push { margin-top: auto; }
.tile-copy { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.tile-copy h3 { font-size: clamp(24px, 2vw, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.span-4 .tile-copy h3 { font-size: 24px; }
.tile-copy p { color: var(--muted); }
.tile-dark .tile-copy h3 { color: #FFFFFF; }
.tile-dark .tile-copy p { color: var(--on-dark-2); }
@media (max-width: 1100px) { .span-7, .span-5, .span-4 { grid-column: span 12; } .tile, .tile-lg { min-height: 0; } }

.panel { border-radius: 18px; padding: 18px 22px; background: var(--navy); color: var(--on-dark); }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.replay { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-3); background: var(--panel); color: var(--on-dark); font-size: 12.5px; }
.spread-row { display: grid; grid-template-columns: 28px minmax(0, 1.6fr) minmax(0, 1fr) 64px 84px 60px; gap: 12px; align-items: center; min-height: 46px; border-bottom: 1px solid var(--panel-2); font-size: 14px; }
.spread-row:last-child { border-bottom: 0; }
.badge { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #FFFFFF; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.sr-name { color: #FFFFFF; }
.sr-name small { display: none; font-size: 12px; color: var(--dim); }
.sr-what { color: var(--on-dark-2); }
.sr-zone { color: var(--dim); }
.sr-time { font-family: var(--mono); font-size: 13px; color: var(--on-dark-2); }
.sr-since { font-family: var(--mono); font-size: 13px; color: var(--fire-text); text-align: right; }
@media (max-width: 640px) {
  .panel { padding: 12px 16px; }
  .spread-row { grid-template-columns: 24px minmax(0, 1fr) 56px; min-height: 58px; line-height: 1.35; }
  .sr-what, .sr-zone, .sr-time { display: none; }
  .sr-name small { display: block; }
}

.legend li { display: flex; align-items: center; gap: 16px; min-height: 50px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.swatch { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #FFFFFF; }
.sw-fire { background: var(--red); }
.sw-was { background: linear-gradient(135deg, var(--red) 50%, #6B7486 50%); }
.sw-fault { background: var(--amber); }
.sw-cleared { background: linear-gradient(135deg, var(--green) 50%, #6B7486 50%); }
.sw-ok { background: var(--green); }

.email { border-radius: 16px; border: 1px solid var(--tile-line); overflow: hidden; }
.email-bar { height: 8px; background: var(--red); }
.email-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; font-size: 13px; line-height: 1.45; }
.email-subject { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink); }
.email-text { color: var(--muted); }
.email-btn { align-self: flex-start; margin-top: 4px; padding: 9px 14px; border-radius: 8px; background: var(--red); color: #FFFFFF; font-weight: 500; }

.locate { display: flex; flex-direction: column; gap: 10px; }
.locate-plan { position: relative; height: 150px; border-radius: 16px; background: #FFFFFF; overflow: hidden; }
.locate-plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.locate .here { font-size: 13px; }

.log { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--navy); color: var(--on-dark); font-size: 13px; line-height: 1.45; }
.log-row { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
.log-row .mono { color: var(--dim); }
.log-fire { color: var(--fire-text); font-weight: 600; }
.log-link { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 12px; color: var(--on-dark-2); }
.log-link-label { font-weight: 600; letter-spacing: 0.08em; color: var(--on-dark); }

/* How it works */
.path { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.path::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 1px; background: var(--line-3); }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.node { display: block; width: 16px; height: 16px; border: 1.5px solid var(--red); background: var(--navy); transform: rotate(45deg); }
.node.is-us { background: var(--red); box-shadow: 0 0 14px rgba(218, 41, 28, 0.8); }
.step-n { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--on-dark-3); }
.step h3 { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; font-weight: 500; color: #FFFFFF; }
.step p { font-size: 16px; line-height: 1.5; color: var(--on-dark-2); }
.tag { align-self: flex-start; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; color: #9AA6B8; }
.path-note { margin-top: 40px; font-size: 15px; color: var(--on-dark-3); }
@media (max-width: 980px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } .path::before { display: none; } }
@media (max-width: 560px) {
  .path { grid-template-columns: 1fr; row-gap: 36px; }
  .path::before { display: block; left: 7.5px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .step { padding-left: 40px; }
  .node { position: absolute; left: 0; top: 4px; }
  .step-n { margin-top: 0; }
}

/* Installers */
/* Fire services */
.plan-ahead { display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin-top: 64px; padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--line-3); border-left: 4px solid var(--red); background: var(--panel); }
.plan-ahead h3 { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.3; font-weight: 500; color: #FFFFFF; }
.plan-ahead p { font-size: 16px; color: var(--on-dark-2); }
.plan-ahead + .facts { margin-top: 48px; }
.crew-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; margin-top: 64px; }
.sms { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.sms-from { font-size: 13px; font-weight: 500; color: var(--dim); }
.sms-bubble { display: flex; flex-direction: column; gap: 2px; max-width: 360px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--panel-2); font-size: 14.5px; line-height: 1.45; color: var(--on-dark); overflow-wrap: anywhere; }
.sms-bubble u { color: var(--blue); }
.details { display: flex; flex-direction: column; padding: 24px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--on-dark); }
.nav-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--red); color: #FFFFFF; font-size: 12.5px; font-weight: 500; }
.details .row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.details .row:last-child { border-bottom: 0; }
.details dt { color: var(--dim); }
.details dd { color: #FFFFFF; }
.w3w { font-family: var(--mono); }
.w3w span { color: var(--fire-text); }
.tel { display: block; margin-top: 2px; font-family: var(--mono); font-size: 14px; color: var(--blue); }
@media (max-width: 980px) { .crew-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .details { padding: 18px 20px; } .details .row { grid-template-columns: 1fr; gap: 4px; } .sms { padding: 20px; } }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 48px; }
.chips-label { margin-right: 6px; font-size: 15px; color: var(--muted); }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rule-2); font-size: 14px; }
.wizard { display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.8vw, 40px); border-radius: var(--radius); background: var(--navy); color: var(--on-dark); }
.wizard-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--dim); }
.wizard-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.wstep { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 3px solid var(--line); }
.wstep-top { display: flex; align-items: center; gap: 8px; }
.wnum { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel); color: var(--on-dark-3); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.wtitle { font-size: 15px; font-weight: 500; line-height: 1.25; color: #9AA6B8; }
.wstep p { font-size: 13.5px; line-height: 1.45; color: #9AA6B8; }
.wstep.is-done { border-top-color: #5B6B86; }
.wstep.is-done .wnum { background: var(--line); color: var(--on-dark); }
.wstep.is-done .wtitle { color: var(--on-dark); }
.wstep.is-now { border-top-color: var(--red); }
.wstep.is-now .wnum { background: var(--red); color: #FFFFFF; }
.wstep.is-now .wtitle { color: #FFFFFF; }
@media (max-width: 1100px) { .wizard-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 640px) { .wizard-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .wizard-steps { grid-template-columns: 1fr; } }

.install-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: 24px; }
@media (max-width: 980px) { .install-row { grid-template-columns: 1fr; } }
.settings { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.8vw, 40px); border-radius: var(--radius); background: var(--paper); }
.settings .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: center; min-height: 46px; padding-block: 8px; border-top: 1px solid var(--rule-2); font-size: 15px; }
.settings dt { color: var(--muted); }
.settings dd { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.hub { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); }
.hub-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--dim); }
.hub-status { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 500; line-height: 1.2; color: #FFFFFF; }
.hub-status .led { width: 14px; height: 14px; box-shadow: 0 0 12px rgba(34, 192, 138, 0.85); }
.hub p { font-size: 15px; color: var(--on-dark-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--on-dark-2); }
.warn { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; border-radius: var(--radius); background: #FFF6E5; border: 1px solid #F3D9A4; }
.warn-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #7A4F0A; }
.warn-label .led { width: 10px; height: 10px; }
.warn-msg { font-size: 17px; line-height: 1.5; color: var(--ink); }
.warn-note { font-size: 14px; line-height: 1.5; color: #5E4A26; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; margin-top: 48px; }
.perk { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--rule-2); }
.perk h3 { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.3; font-weight: 500; }
.perk p { font-size: 16px; color: var(--muted); }
@media (max-width: 980px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .perks { grid-template-columns: 1fr; row-gap: 28px; } }

/* Safety */
.safety-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 8%; }
.statement { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; color: var(--on-dark); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.fact { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid #243049; }
.fact h3 { font-size: 19px; line-height: 1.3; font-weight: 500; color: #FFFFFF; }
.fact p { font-size: 15.5px; color: #9AA6B8; }
.security { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 8%; margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line-2); }
.security h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; color: #FFFFFF; }
.security ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.security li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--on-dark-2); }
.bullet { flex-shrink: 0; width: 7px; height: 7px; margin-top: 9px; background: var(--red); transform: rotate(45deg); }
@media (max-width: 980px) { .safety-top, .security { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .facts, .security ul { grid-template-columns: 1fr; } }

/* Demo and form */
.demo { background: var(--navy-2); border-top: 1px solid var(--line-2); }
.demo .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 8%; align-items: center; }
@media (max-width: 980px) { .demo .wrap { grid-template-columns: 1fr; } }
.demo-copy { display: flex; flex-direction: column; gap: 32px; }
.demo-copy h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; color: #FFFFFF; }
.demo-copy p { max-width: 560px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--on-dark-2); }
.demo-copy .signin-line { font-size: 15px; color: var(--on-dark-3); }
.signin-line a { color: var(--on-dark); border-bottom: 1px solid #3A4A66; }
.demo-card { padding: clamp(24px, 2.8vw, 36px) clamp(20px, 2.8vw, 40px); border-radius: var(--radius); background: #FFFFFF; color: var(--ink); }
.form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.form-head h3, .demo-done h3 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.form-head p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; border: 1px solid var(--rule); border-radius: 12px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }
.field input { height: 48px; padding: 0 14px; }
.field textarea { min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .btn { width: 100%; }
.cf-turnstile:empty { display: none; }
.form-status { font-size: 14px; line-height: 1.5; color: #B3261E; }
.form-status:empty { display: none; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.demo-done { display: none; flex-direction: column; justify-content: center; gap: 14px; min-height: 420px; }
.demo-done p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.demo-done:focus { outline: none; }
.done-led { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(34, 192, 138, 0.7); }
.demo-card.is-sent .form { display: none; }
.demo-card.is-sent .demo-done { display: flex; }

/* Footer */
.site-footer { background: var(--navy-2); border-top: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.55; color: var(--on-dark-3); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 24px; padding-block: 40px 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand .logo { height: 24px; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Simple pages (thanks, not found, errors) */
.simple { min-height: calc(100vh - var(--header)); display: flex; align-items: center; }
.simple .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 96px; }
.simple h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; color: #FFFFFF; }
.simple p { max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--on-dark-2); }
