/* SAR Responder - the public site. Plain files, no build step. */
:root {
  --bg: #ffffff; --surface: #ffffff; --surface2: #f1f4f8; --text: #14202f; --muted: #52627a; --border: #d9e0ea;
  --accent: #1f64c8; --accent-text: #ffffff; --accent-soft: #e8f0fb; --warm: #ff7a1a;
  --navy: #0a1424;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c1118; --surface: #131b26; --surface2: #1a2432; --text: #e8edf4; --muted: #9aa8bb; --border: #263243;
    --accent: #5b9bf0; --accent-text: #0a1220; --accent-soft: #172741;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 14px; }
.wrap { max-width: none; margin: 0; padding: 0 clamp(24px, 4.5vw, 96px); }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--border); }
.bar .wrap { display: flex; align-items: center; gap: 8px; min-height: 66px; }
.brand { display: flex; align-items: center; color: var(--text); text-decoration: none; margin-right: 16px; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav .dd > button { color: var(--muted); text-decoration: none; font: inherit; font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 6px; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav .dd > button:hover { color: var(--text); background: var(--surface2); }
.nav > a.on, .nav .dd.on > button { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.dd { position: relative; }
.dd > button::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd-pop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px; box-shadow: 0 12px 30px rgba(10, 20, 40, 0.16); display: none; }
.dd.open .dd-pop { display: block; }
.dd-pop a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); text-decoration: none; }
.dd-pop a:hover, .dd-pop a.on { background: var(--surface2); }
.dd-pop b { display: block; font-size: 0.96rem; }
.dd-pop small { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
.spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 6px; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface2); }
.btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.1); background: var(--accent); }
.btn.warm { background: var(--warm); border-color: var(--warm); color: #1b0c00; }
.btn.warm:hover { filter: brightness(1.06); background: var(--warm); }
.btn.sm { min-height: 38px; padding: 0 16px; }
.menu-btn { display: none; }

/* ---------- pages ---------- */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.hero .cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.hero .small { color: var(--muted); font-size: 0.92rem; margin-top: 18px; }
.page-head { padding: 56px 24px 16px; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 62ch; margin: 0; }
section.sec { padding: 56px 0; border-top: 1px solid var(--border); }
.two { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.two.rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.two.rev > :first-child { order: 2; }
.two.big { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.two.rev.big { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
.two.even { grid-template-columns: 1fr 1fr; align-items: start; }
.two p, .sec p { max-width: 70ch; }
.more { font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
ul.plain { margin: 0 0 14px; padding-left: 20px; max-width: 62ch; }
ul.plain li { margin-bottom: 7px; }
ol.plain { margin: 0 0 14px; padding-left: 22px; max-width: 62ch; }
ol.plain li { margin-bottom: 9px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 26px rgba(10, 20, 40, 0.14); }
.shot figcaption, .phx figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.shot.paper img { max-width: 720px; margin: 0 auto; }
.phone { background: #0b0e12; border: 8px solid #20262d; border-radius: 30px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 8, 24, 0.35); }
.phone img { display: block; width: 100%; height: auto; }
.phx { margin: 0; text-align: center; }
.phx .phone { max-width: 250px; margin: 0 auto; }
.phones-row { display: flex; gap: 22px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.phones-row .phx { width: 210px; }
.notice { background: var(--accent-soft); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; max-width: 70ch; }
.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); column-gap: 48px; gap: 0 48px; max-width: none; }
.rows > div { padding: 18px 0; border-top: 1px solid var(--border); }
.rows h3 { margin-bottom: 4px; }
.rows p { margin: 0; color: var(--muted); }

/* hosting and price */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; max-width: none; }
.plan { border: 1px solid var(--border); border-radius: 8px; padding: 26px; background: var(--surface); }
.plan h3 { font-size: 1.3rem; }
.plan .price { font-size: 1.05rem; font-weight: 700; margin: 6px 0 14px; color: var(--accent); }
.plan ul { padding-left: 20px; margin: 0 0 6px; }
.plan li { margin-bottom: 7px; }

.faq { max-width: none; }
.faq details { border-top: 1px solid var(--border); padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.faq details[open] summary::after { content: '\2013'; }
.faq p { margin: 0 0 16px; color: var(--muted); }

footer.foot { background: var(--navy); color: #9fb0c8; padding: 44px 0 26px; font-size: 0.93rem; margin-top: 30px; }
footer.foot .cols { display: grid; gap: 30px; grid-template-columns: 1.5fr 1fr 1fr; }
footer.foot h4 { color: #eef3fa; margin: 0 0 10px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
footer.foot a { display: block; color: #9fb0c8; text-decoration: none; padding: 3px 0; }
footer.foot a:hover { color: #fff; }
footer.foot .legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 28px; padding-top: 18px; font-size: 0.85rem; }
footer.foot .brand img { height: 40px; }

@media (max-width: 1020px) {
  .bar .wrap { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .menu-btn { display: inline-flex; min-height: 42px; padding: 0 14px; }
  .nav { display: none; order: 5; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { text-align: left; width: 100%; }
  .nav > a.on, .nav .dd.on > button { box-shadow: none; background: var(--accent-soft); }
  .dd-pop { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; }
}
@media (max-width: 860px) {
  .hero .wrap, .two, .two.even, .two.big, .two.rev, .two.rev.big, .plans { grid-template-columns: 1fr; gap: 28px; }
  .two.rev > :first-child { order: 0; }
  section.sec { padding: 42px 0; }
  .hero { padding: 40px 0 30px; }
  footer.foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) { .btn.sm { padding: 0 12px; } .phones-row .phx { width: 44%; } }

.plan.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); position: relative; }
.rec-tag { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); background: var(--accent); padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; }
/* numbered steps on the "How it works" page */
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 800; margin: 0 0 10px; }
