:root {
  --navy: #101828; --brand: #1d2939; --text: #101828; --muted: #667085; --line: #e4e7ec;
  --red: #d92d20; --red-soft: #fef3f2; --amber: #f79009; --green: #079455; --blue: #3e4fe0;
  --bg: #ffffff; --bg-alt: #f6f7f9; --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.small { font-size: 14px; } .muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 650; font-size: 15px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(217,45,32,.28); }
.btn-primary:hover { background: #c4271b; }
.btn-ghost { color: var(--brand); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 40px; width: auto; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: 15px; }
.links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #fde7e4 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, #fff 0%, #f8f9fb 100%); padding: 72px 0 80px; overflow: hidden; }
.hero-stack { text-align: center; }
.hero-stack > div:first-child { max-width: 860px; margin: 0 auto; }
.hero-stack .lead { margin-left: auto; margin-right: auto; }
.hero-stack .hero-cta { justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--red); margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; }
.hl { color: var(--red); }
.lead { font-size: 19px; color: #344054; max-width: 560px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

.hero-visual { position: relative; max-width: 1120px; margin: 56px auto 0; }
.browser { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(16,24,40,.16); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f2f4f7; border-bottom: 1px solid var(--line); }
.browser-bar .url { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 10px; }
.browser img { width: 100%; height: auto; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(16,24,40,.12); padding: 14px; width: 92%; }
.mock-head { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #e4e7ec; } .dot.red { background: #f97066; }
.mock-title { margin-left: 8px; font-weight: 700; font-size: 14px; }
.inc { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; border: 1px solid var(--line); margin-top: 8px; font-size: 14px; }
.inc.p1 { border-color: #fecdca; background: var(--red-soft); }
.inc b { display: block; font-weight: 650; } .inc small { color: var(--muted); }
.badge { font-weight: 800; font-size: 12px; padding: 4px 7px; border-radius: 6px; color: #fff; }
.p1b { background: var(--red); } .p2b { background: var(--amber); } .p3b { background: #fdb022; color: #422006; }
.state { font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; }
.state.trig { background: var(--red); color: #fff; } .state.ack { background: #fffaeb; color: #b54708; } .state.ok { background: #ecfdf3; color: var(--green); }

.phone { position: absolute; right: -16px; bottom: 0; width: 180px; height: 380px; border-radius: 34px; background: #0b1220; padding: 10px; box-shadow: 0 30px 70px rgba(16,24,40,.35); }
.phone-screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #b42318, #7a1810); }
.alarm { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 18px; position: relative; }
.alarm-ring { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: ring 1.6s infinite; margin-bottom: 18px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 100% { box-shadow: 0 0 0 26px rgba(255,255,255,0); } }
.alarm-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; opacity: .9; }
.alarm-title { font-weight: 750; font-size: 17px; line-height: 1.25; margin: 6px 0 4px; }
.alarm-sub { font-size: 12px; opacity: .8; }
.alarm-btn { margin-top: 26px; background: #fff; color: var(--red); font-weight: 800; padding: 10px 26px; border-radius: 999px; font-size: 14px; }

/* integrations strip */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; gap: 18px; padding: 18px 20px; flex-wrap: wrap; }
.strip-inner > span { color: var(--muted); font-size: 14px; font-weight: 600; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.strip li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: #344054; background: var(--bg-alt); }

/* sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat.plain { background: transparent; border: 0; padding: 0; }
.feat h3 { margin: 10px 0 8px; font-size: 18px; }
.feat p { margin: 0; color: #475467; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--red-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin: 14px 0 8px; font-size: 17px; }
.steps p { margin: 0; color: #475467; font-size: 15px; }

.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; font-size: 17px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #ecfdf3; color: var(--green); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.phone.big { position: relative; right: auto; bottom: auto; margin: 0 auto; width: 320px; height: 692px; border-radius: 44px; padding: 12px; }
.phone.big img { border-radius: 33px; }
.app-ui { background: #f6f7f9; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.app-top { background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 650; padding: 10px 12px; border-radius: 12px; }
.app-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13.5px; font-weight: 600; }
.app-item b { color: #fff; background: var(--amber); border-radius: 5px; padding: 1px 6px; margin-right: 6px; font-size: 11px; }
.app-item.crit { border-color: #fecdca; background: var(--red-soft); } .app-item.crit b { background: var(--red); }
.app-item small { display: block; color: var(--muted); font-weight: 500; margin-top: 4px; }
.app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-actions span { text-align: center; font-size: 13px; font-weight: 750; padding: 10px; border-radius: 10px; background: var(--red); color: #fff; }
.app-actions span + span { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.app-tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.app-tabs i { height: 18px; border-radius: 6px; background: #e4e7ec; } .app-tabs i:first-child { background: var(--brand); }

/* CTA + footer */
.cta { background: var(--navy); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 8px; } .cta p { margin: 0; color: #d0d5dd; font-size: 17px; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.foot-logo { height: 26px; width: auto; }
.footer a { color: var(--muted); }

/* responsive */
@media (max-width: 980px) {
  .two { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
}
@media (max-width: 620px) {
  .nav-inner { height: 60px; gap: 12px; }
  .brand img { height: 32px; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 44px 0 56px; }
  .lead { font-size: 17px; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .inc { grid-template-columns: auto 1fr; } .inc .state { display: none; }
  .hero-visual { margin-top: 36px; }
  .cta-inner .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .alarm-ring { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }
/* never let grid items or long buttons push the page wider than the screen */
.two > * { min-width: 0; }
@media (max-width: 640px) {
  .browser { max-width: 300px; margin: 0 auto; border-radius: 30px; border: 10px solid #0b1220; }
  .browser-bar { display: none; }
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } .phone.big { width: 280px; height: 606px; } }
