:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #1d2430;
  --muted: #667085;
  --line: #dfe3e8;
  --accent: #1f5fa8;
  --on-accent: #ffffff;
  --accent-soft: #eef4fb;
  --bad: #a32424;
  --bad-soft: #fdecec;
  --night: #071526;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f141b;
    --panel: #171d26;
    --ink: #e3e8ef;
    --muted: #93a0b2;
    --line: #2b3442;
    --accent: #6aa6ea;
    --on-accent: #0f141b;
    --accent-soft: #1a2738;
    --bad: #f08080;
    --bad-soft: #3a1d1d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button.big { padding: 14px 28px; font-size: 18px; }
.button.light { background: #ffffff; border-color: #ffffff; color: var(--night); }
.button.ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #ffffff; }

/* The top of the page: the app's own picture of calls in motion. */
.hero {
  background: var(--night) url("background.svg") center / cover no-repeat;
  color: #ffffff;
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #ffffff; font-weight: 700; font-size: 21px; text-decoration: none; }
.masthead nav { display: flex; align-items: center; gap: 22px; }
.masthead nav a:not(.button) { color: #dbe9fa; text-decoration: none; font-weight: 500; }
.masthead nav a:not(.button):hover { color: #ffffff; }
.hero-body { padding: 96px 0 120px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.12; margin: 0 0 22px; max-width: 16ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero p { font-size: 20px; color: #dbe9fa; max-width: 50ch; margin: 0 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.section { padding: 80px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 19px; max-width: 62ch; margin: 0 0 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; color: var(--muted); }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 19px;
}
.steps strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 4px; }

.pricing { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; align-items: start; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.price-card h3 { margin: 0 0 16px; font-size: 20px; }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card th, .price-card td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-card tr:first-child th, .price-card tr:first-child td { border-top: 0; }
.price-card th { font-weight: 500; }
.price-card td { text-align: right; color: var(--muted); white-space: nowrap; padding-left: 16px; }
.price-card td b { color: var(--ink); font-size: 22px; }
.price-card.included { background: var(--accent-soft); border-color: transparent; }
.price-card ul { margin: 0; padding: 0; list-style: none; }
.price-card li { padding: 8px 0 8px 30px; position: relative; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fine { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

.contact { display: grid; gap: 18px; }
.contact .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.optional { color: var(--muted); font-weight: 400; }
.contact input, .contact select, .contact textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact button { justify-self: start; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.problem { display: none; background: var(--bad-soft); color: var(--bad); border-radius: 8px; padding: 12px 16px; margin: 0 0 20px; }
.problem:target { display: block; }

footer { padding: 28px 0; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .masthead nav a:not(.button):not(.keep) { display: none; }
  .masthead nav { gap: 14px; }
  .hero-body { padding: 56px 0 80px; }
  .section { padding: 56px 0; }
  .pricing, .contact .pair { grid-template-columns: 1fr; }
  .price-card { padding: 20px; }
  .price-card th, .price-card td { display: block; text-align: left; padding: 0; border: 0; white-space: normal; }
  .price-card tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .price-card tr:first-child { border-top: 0; }
}
