/* Layout: one 1120px column; each page opens with a short split hero (copy + a live "call card"), then grouped feature bands. */
:root {
  --paper: #f4f7f8;
  --surface: #ffffff;
  --ink: #14202b;
  --muted: #55636f;
  --line: #d8e0e5;
  --go: #0b7f62;        /* answer-button green: Communicator Go */
  --go-soft: #e1f2ec;
  --next: #2f57cc;      /* cobalt: Communicator Next */
  --next-soft: #e5ebfb;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4.5vw, 3.25rem);
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d141a; --surface: #151f28; --ink: #e5ecf1; --muted: #9aa8b4; --line: #26333e;
    --go: #3cc79c; --go-soft: #12302a; --next: #86a2ff; --next-soft: #1a2647;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d141a; --surface: #151f28; --ink: #e5ecf1; --muted: #9aa8b4; --line: #26333e;
  --go: #3cc79c; --go-soft: #12302a; --next: #86a2ff; --next-soft: #1a2647;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--surface);
}
img { max-width: 100%; }
a { color: var(--next); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--next); outline-offset: 3px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: var(--step--1);
  padding: 6px 10px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 64px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: var(--step-1); color: var(--muted); max-width: 58ch; line-height: 1.5; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700;
  padding: 11px 18px; border-radius: 8px; font-size: var(--step--1); border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.go-text { color: var(--go); }
.next-text { color: var(--next); }

/* The call card: the one illustrated element, a live-call screen in plain HTML */
.callcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px; display: grid; gap: 16px; max-width: 360px; width: 100%; justify-self: center;
  box-shadow: 0 24px 48px -28px rgba(20, 32, 43, 0.35);
}
.callcard-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--go); font-weight: 600; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--go); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.callee { display: grid; gap: 2px; }
.callee strong { font-family: var(--font-display); font-size: 1.35rem; }
.callee span { color: var(--muted); font-size: var(--step--1); }
.timer { font-family: var(--font-mono); font-size: 2rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.call-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.call-actions span {
  display: grid; place-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px;
  background: var(--paper); font-size: 0.72rem; font-weight: 600; color: var(--muted); text-align: center;
}
.call-actions svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.metrics { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line); padding-top: 12px; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); flex-wrap: wrap; }
.metrics b { color: var(--ink); font-weight: 600; }
.devices { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-mono); font-size: 0.72rem; padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface); white-space: nowrap;
}
.chip.on { border-color: var(--go); color: var(--go); }

/* Sections */
.band { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 64ch; }
.section-head p { color: var(--muted); }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product {
  display: grid; gap: 16px; align-content: start; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); min-width: 0;
}
.product.go { border-top: 4px solid var(--go); }
.product.next { border-top: 4px solid var(--next); }
.product .tag { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.product.go .tag { color: var(--go); }
.product.next .tag { color: var(--next); }
.product ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.product p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.feature { display: grid; gap: 8px; align-content: start; min-width: 0; }
.feature p { color: var(--muted); }
.feature .k { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.group { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px 48px; padding-block: 28px; border-top: 1px solid var(--line); }
.group:first-of-type { border-top: 0; padding-top: 0; }
.group h3 { position: relative; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.group li { display: grid; gap: 2px; min-width: 0; }
.group li strong { font-weight: 700; }
.group li span { color: var(--muted); font-size: 0.97rem; }

.editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.edition { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: grid; gap: 8px; align-content: start; min-width: 0; }
.edition p { color: var(--muted); font-size: 0.97rem; }

.spec { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-family: var(--font-display); font-size: 1rem; border-bottom: 2px solid var(--ink); }
.spec tbody th { font-weight: 600; width: 34%; }
.spec td { color: var(--muted); }
.spec .yes { color: var(--ink); font-weight: 600; }
.spec .cat th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 24px; font-weight: 500; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-scroll .spec { min-width: 560px; }

.log { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.log-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 0 0 20px 20px; position: relative; }
.log-item::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--go); }
.log-item .ver { font-family: var(--font-mono); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.log-item p { color: var(--muted); }

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); display: grid; gap: 10px; max-width: 68ch; }
.faq-cat { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 36px 0 4px; }
.faq-cat:first-child { margin-top: 0; }

.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 32px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.cta p { color: var(--paper); opacity: 0.8; }
.cta .btn-primary { background: var(--paper); color: var(--ink); }
.cta .btn-ghost { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 35%, transparent); }

.note { font-size: var(--step--1); color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 40px; background: var(--surface); }
.site-footer .wrap { display: grid; gap: 14px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--step--1); }
.foot-links a { color: var(--muted); }
.site-footer p { font-size: 0.82rem; color: var(--muted); max-width: 90ch; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .products, .grid-3, .grid-2, .editions, .group ul { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 24px; }
  .product { padding: 22px; }
  .log-item { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .live::before { animation: none; }
}
.hero.solo .wrap { grid-template-columns: 1fr; }
.table-note { margin-top: 16px; }
.contact-form { max-width: 760px; min-width: 0; }
.form-placeholder { border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); background: var(--paper); }
