:root {
  --brand: #0078ab;
  --brand-dark: #045578;
  --ink: #16232e;
  --muted: #55697a;
  --line: #e1e8ed;
  --bg: #ffffff;
  --bg-alt: #f4f8fa;
  --amber: #b5670a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap--wide { max-width: 980px; }

header.site {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

header.site .wrap--wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand:hover { text-decoration: none; }

.brand .dot { color: var(--brand); }

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

nav.site-nav a { color: var(--muted); }
nav.site-nav a.lang { color: var(--brand); font-weight: 600; }

main { padding: 0 0 64px; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg) 75%);
  padding: 72px 0 52px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(0, 120, 171, 0.16), transparent);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(0, 120, 171, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  position: relative;
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero p.lead {
  position: relative;
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
}

.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

section.features {
  padding: 48px 0;
}

section.features h2, section.how h2, section.trust h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(22, 35, 46, 0.08);
  transform: translateY(-2px);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 120, 171, 0.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-badge svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Alerts spotlight - the primary selling section */
section.spotlight {
  padding: 60px 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 800px) {
  .spotlight-grid { grid-template-columns: 1fr; }
}

.spotlight-text h2 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 16px;
}

.spotlight-text p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 16px;
}

.spotlight-text .fine {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 20px;
}

.alert-mockup {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alert-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(22, 35, 46, 0.08);
}

.alert-card .icon-badge {
  flex: none;
  margin-bottom: 0;
  width: 36px;
  height: 36px;
}

.alert-card .icon-badge svg { width: 18px; height: 18px; }

.alert-card .alert-app {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  margin: 0 0 2px;
}

.alert-card .alert-text {
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0;
}

.alert-card .alert-time {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.alert-card.alert-secondary {
  margin-left: 28px;
  opacity: 0.85;
}

section.how {
  background: var(--bg-alt);
  padding: 56px 0;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

@media (min-width: 641px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 18px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: var(--line);
    z-index: 0;
  }
}

.step { position: relative; }

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  text-align: center;
}

.step .num {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
}

.step h3 { font-size: 1rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

section.trust {
  padding: 56px 0 24px;
  text-align: center;
}

.disclaimer {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: left;
}

.disclaimer strong { color: var(--ink); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

footer.site nav {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Legal / support pages */
.legal main { padding-top: 40px; }
.legal h1 { font-size: 1.9rem; margin-bottom: 4px; }
.legal .eff-date { color: var(--muted); font-size: 0.92rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.2rem; margin-top: 36px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; }

.todo {
  background: #fff6e9;
  border: 1px solid #f0d9ad;
  color: var(--amber);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.faq dt { font-weight: 600; margin-top: 20px; }
.faq dd { margin: 6px 0 0; color: var(--muted); }
