/* Alarm1Pro coming soon v2 — matches the full marketing site, 2026 */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #0a1429;
  --navy-900: #0d1a35;
  --navy-800: #111f3f;
  --navy-700: #172a54;
  --navy-600: #1f3569;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);

  --blue: #2563eb;
  --blue-bright: #4d86ff;
  --blue-text: #9cc0ff;
  --red: #d9202b;
  --red-hover: #bd1822;
  --flame: #ff8a1f;
  --flame-soft: #ffb15c;

  --text: #f1f5fd;
  --text-muted: #b9c6e2;
  --text-dim: #93a3c8;

  --font: "Outfit", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(3, 9, 25, 0.45);
  --shadow-sm: 0 8px 24px rgba(3, 9, 25, 0.28);
  --wrap: 1180px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-800);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: #0f1b36; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.2;
  padding: 15px 28px; border-radius: 12px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, #ec2f3a 0%, var(--red) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(217, 32, 43, 0.38), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #d9232e, var(--red-hover));
  color: #fff; transform: translateY(-1px);
}
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 26, 53, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.coming-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 99px;
  background: rgba(255, 138, 31, 0.14);
  border: 1px solid rgba(255, 177, 92, 0.45);
  color: var(--flame-soft); font-weight: 700; font-size: .88rem;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.coming-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--flame); box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.25);
  flex: none;
}
.header-cta { padding: 10px 18px; font-size: .98rem; border-radius: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(37,99,235,.45), transparent 60%),
    radial-gradient(640px 420px at -5% 70%, rgba(255,138,31,.12), transparent 65%),
    linear-gradient(180deg, #13244a 0%, var(--navy-800) 100%);
  padding: 84px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; max-width: 960px; text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--flame-soft); margin-bottom: 20px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--flame);
}
.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-inline: auto;
  text-wrap: balance;
}
.grad-text {
  background: linear-gradient(90deg, #ffb15c, #ff8a1f 55%, #ff5a2b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  margin: 24px auto 0; max-width: 640px;
  font-size: 1.25rem; color: var(--text-muted); line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.pill-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
  font-size: .95rem; font-weight: 500; color: var(--text);
}
.pill svg { width: 17px; height: 17px; color: var(--flame); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; position: relative; }
.band { background: var(--navy-700); }
.band-deep { background: var(--navy-900); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.section-head p { margin-top: 18px; font-size: 1.2rem; color: var(--text-muted); }
.section-head .eyebrow { justify-content: center; margin-bottom: 16px; }

/* ---------- Feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px;
  color: var(--text);
}
.feature-card h3 { font-size: 1.35rem; margin-top: 4px; }
.feature-card p { color: var(--text-muted); font-size: 1.02rem; }

.ico {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: linear-gradient(145deg, rgba(77,134,255,.28), rgba(37,99,235,.12));
  border: 1px solid rgba(124,166,255,.35); color: #bcd4ff;
}
.ico svg { width: 26px; height: 26px; }
.ico-flame {
  background: linear-gradient(145deg, rgba(255,138,31,.3), rgba(255,138,31,.1));
  border-color: rgba(255,177,92,.4); color: #ffc684;
}
.ico-red {
  background: linear-gradient(145deg, rgba(235,60,70,.3), rgba(217,32,43,.1));
  border-color: rgba(255,120,128,.4); color: #ffb4b8;
}

/* ---------- Trial + signup ---------- */
.notify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.notify-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
.notify-copy .lead { margin-top: 18px; font-size: 1.2rem; color: var(--text-muted); }
.badge-free {
  display: inline-block;
  background: var(--flame); color: #2a1300;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  font-size: .85rem; padding: 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.06rem; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--flame); }

.form-card {
  background: #f5f8fe; color: #0f1b36; border-radius: 22px;
  padding: 38px 36px; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.2);
}
.form-card h2 { font-size: 1.7rem; font-weight: 800; }
.form-intro { color: #3b4d73; margin-top: 6px; margin-bottom: 22px; }
.fld label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: #1b2c55; }
.fld .req { color: #c4121c; }
.fld input {
  width: 100%; font-family: inherit; font-size: 1.02rem; color: #0f1b36; background: #fff;
  border: 1.5px solid #b7c6e4; border-radius: 10px; padding: 13px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.fld input:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.2);
}
.fld input[aria-invalid="true"] { border-color: #c4121c; }
.fld .err { display: none; color: #b3141d; font-size: .88rem; margin-top: 5px; font-weight: 500; }
.fld.invalid .err { display: block; }
.signup-row { display: flex; gap: 12px; align-items: flex-start; }
.signup-row .fld { flex: 1; min-width: 0; }
.signup-row .btn { margin-top: 29px; flex: none; min-height: 50px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: .88rem; color: #4a5c84; margin-top: 14px; }
.form-status {
  margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #dcf5e9; color: #0b5a37; border: 1px solid #9bdcbc; }
.form-status.error { background: #fde0e1; color: #8e0f17; border: 1px solid #f0a6aa; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); border-top: 1px solid var(--line);
  padding: 48px 0 28px; color: var(--text-muted); font-size: 1rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start;
}
.footer-brand img { height: 62px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 420px; font-size: .98rem; }
.site-footer h2 {
  font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px; font-weight: 700;
}
.contact-lines { display: grid; gap: 12px; }
.contact-lines a, .contact-lines span.line {
  display: flex; gap: 12px; align-items: center;
  color: var(--text); text-decoration: none; font-size: 1.05rem; font-weight: 500;
}
.contact-lines a:hover { color: var(--flame-soft); }
.contact-lines svg { width: 20px; height: 20px; color: var(--flame); flex: none; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: .9rem; color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .notify-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .card-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .brand img { height: 40px; }
  .hero h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); }
  .eyebrow::before, .eyebrow::after { display: none; }
  .hero .lead { font-size: 1.12rem; }
  .hero-actions .btn { width: 100%; }
  .signup-row { flex-direction: column; gap: 0; }
  .signup-row .btn { margin-top: 16px; width: 100%; }
  .form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { margin-bottom: 36px; }
  .coming-pill { font-size: .75rem; padding: 5px 10px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.nowrap { white-space: nowrap; }
