:root {
  --ink: #0d1424;
  --ink-2: #3b4660;
  --muted: #6b7690;
  --line: #e4e8f0;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --navy: #0b1224;
  --navy-2: #111b33;
  --red: #e5383b;
  --red-2: #c9262a;
  --teal: #12b5a5;
  --blue: #3c7bff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 20, 36, .08), 0 2px 6px rgba(13, 20, 36, .05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; font-size: 20px; }
.logo svg { width: 34px; height: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(229, 56, 59, .3); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 36, .86); backdrop-filter: saturate(160%) blur(12px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 15px; color: #c9d2e6; }
.nav-links a:hover { color: #fff; }
.nav .btn { padding: 9px 16px; }
@media (max-width: 820px) { .nav-links .hide-sm { display: none; } }

/* hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, rgba(60, 123, 255, .25), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(229, 56, 59, .18), transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 88px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: #9fb4ff; background: rgba(60, 123, 255, .12); border: 1px solid rgba(60, 123, 255, .3); padding: 6px 12px; border-radius: 99px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229, 56, 59, .25); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.035em; margin: 20px 0 18px; }
.hero h1 span { color: #ff6b6e; }
.hero p.lead { font-size: 19px; color: #c3cde3; max-width: 560px; margin: 0 0 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; padding: 64px 0 72px; } }

/* hero visual: phone + console card */
.visual { position: relative; height: 470px; }
.phone { position: absolute; right: 6%; top: 0; width: 230px; height: 460px; border-radius: 38px; background: #0f1830; border: 8px solid #1d2a48; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; }
.phone .bar { width: 70px; height: 6px; border-radius: 6px; background: #1d2a48; margin-bottom: 26px; }
.phone .sos { width: 150px; height: 150px; border-radius: 50%; margin-top: 40px; display: grid; place-items: center; font-weight: 850; font-size: 38px; letter-spacing: 2px; background: radial-gradient(circle at 35% 30%, #ff7a7c, var(--red) 60%, #a51c22); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(229, 56, 59, .18), 0 0 0 24px rgba(229, 56, 59, .08); } 50% { box-shadow: 0 0 0 18px rgba(229, 56, 59, .25), 0 0 0 38px rgba(229, 56, 59, .06); } }
.phone .msg { margin-top: 34px; text-align: center; font-size: 14px; color: #c3cde3; }
.phone .msg b { display: block; color: #fff; font-size: 15px; }
.console { position: absolute; left: 0; bottom: 10px; width: 300px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.console .top { background: var(--navy-2); color: #fff; font-size: 12px; padding: 10px 14px; display: flex; justify-content: space-between; }
.console .live { color: #ff8a8c; font-weight: 700; }
.console .vid { height: 120px; background: linear-gradient(135deg, #22324f, #0f1830); position: relative; }
.console .vid::after { content: "LIVE"; position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 800; background: var(--red); color: #fff; padding: 2px 7px; border-radius: 4px; }
.console .rows { padding: 12px 14px; font-size: 13px; display: grid; grid-template-columns: 82px 1fr; gap: 4px 8px; }
.console .rows b { color: var(--muted); font-weight: 500; }
.console .timing { margin: 0 14px 14px; font-size: 12px; background: #e9faf6; color: #0b7d71; padding: 7px 10px; border-radius: 8px; font-weight: 600; }
@media (max-width: 920px) { .visual { height: 480px; } .phone { right: 0; } }

/* stats strip */
.strip { background: var(--soft); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.stat b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } }

/* sections */
section { padding: 96px 0; }
.kicker { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 14px; }
.sub { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 0; }
.grid { display: grid; gap: 20px; margin-top: 44px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff1f1; color: var(--red); }
.icon.t { background: #e7f8f6; color: var(--teal); }
.icon.b { background: #edf3ff; color: var(--blue); }
.icon svg { width: 22px; height: 22px; }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-left: 0; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* audience */
.dark { background: var(--navy); color: #fff; }
.dark .sub { color: #c3cde3; }
.dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.dark .card p { color: #b5c0d8; }
.dark .card h3 { color: #fff; }

/* cta band */
.band { background: linear-gradient(120deg, var(--red), #ff6b4a); color: #fff; border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; }
.band p { margin: 0; opacity: .92; font-size: 18px; }
.band .btn { background: #fff; color: var(--red-2); }

footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .side { background: radial-gradient(800px 500px at 90% 0%, rgba(60, 123, 255, .25), transparent 60%), var(--navy); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth .side h2 { font-size: 36px; }
.auth .side p { color: #c3cde3; max-width: 420px; }
.auth .main { display: grid; place-items: center; padding: 40px 24px; background: var(--soft); }
.panel { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.panel h1 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 6px; }
.panel .hint { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.roles button { font: inherit; font-size: 13px; font-weight: 600; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.roles button.on { border-color: var(--navy); background: var(--navy); color: #fff; }
label.f { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
input.f, select.f { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #cfd6e4; font: inherit; background: #fff; color: var(--ink); }
input.f:focus, select.f:focus { outline: 3px solid rgba(60, 123, 255, .2); border-color: var(--blue); }
.err { color: var(--red-2); font-size: 14px; min-height: 20px; margin-top: 12px; }
.ok { color: #0b7d71; font-size: 14px; min-height: 20px; margin-top: 12px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth .side { display: none; } }

/* portal */
.portal-top { background: var(--navy); color: #fff; }
.portal-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.who { font-size: 14px; color: #c3cde3; display: flex; gap: 14px; align-items: center; }
.pill { font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: #fff; }
.portal { padding: 40px 0 80px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 36px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: transform .15s ease; }
a.tile:hover { transform: translateY(-2px); }
.tile h3 { margin: 12px 0 4px; font-size: 18px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 14px; }
.tile.soon { opacity: .6; }
.tile .tag { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
table.t { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.t th { background: var(--soft); color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.form-row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1.2fr auto; gap: 10px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 14px 0; }
.form-row label.f { margin-top: 0; }
@media (max-width: 900px) { .form-row { grid-template-columns: 1fr; } }

