@font-face {
  font-family: "Familjen Grotesk";
  src: url("/fonts/familjen-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --field: #f2f4f6;
  --bubble-in: #e7eaee;
  --ink: #14181d;
  --ink-2: #48525d;
  --ink-3: #5f6974;
  --line: #d9dee3;
  --green: #0a7a5a;
  --green-press: #08694d;
  --green-deep: #064a37;
  --green-ink: #d5f0e4;
  --green-tint: #e3f2eb;
  --focus: #0a7a5a;

  --display: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-bubble: 20px;
  --r-tail: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(72px, 10vw, 128px);

  color-scheme: light;
  accent-color: var(--green);
  caret-color: var(--green);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #b9c1c9 var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--ui);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--green-tint); color: var(--green-deep); }
img, svg { display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-press); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.tnum { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.skip:hover { color: #fff; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark b { font-weight: 600; color: var(--green); }
/* The logo: the North Coast Mobile IT monitor, now with a phone on screen and an amber tick
   badge (a missed call, handled). Colours are also set on the SVG itself. */
.wordmark-mark { width: 35px; height: 30px; }
.wordmark:hover { color: var(--ink); }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--ink); background: var(--field); }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .header-row > .btn { margin-left: auto; }
}

/* ---------- Buttons: the primary action is an outgoing message ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--r-bubble) var(--r-bubble) var(--r-tail) var(--r-bubble);
  font: 600 1.0625rem/1 var(--ui); text-decoration: none; cursor: pointer;
  border: 0; transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-send { background: var(--green); color: #fff; box-shadow: 0 1px 2px rgb(6 74 55 / 0.25), 0 6px 18px -8px rgb(6 74 55 / 0.55); }
.btn-send:hover { background: var(--green-press); color: #fff; }
.btn-send:active { transform: translateY(1px); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.link-quiet { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); }
.link-quiet:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Thread components ---------- */
.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.msg { display: flex; flex-direction: column; max-width: 86%; }
.msg p { padding: 10px 14px; border-radius: var(--r-bubble); font-size: 0.97rem; line-height: 1.42; overflow-wrap: anywhere; }
.msg time { font-size: 0.75rem; color: var(--ink-3); margin: 3px 8px 6px; }
.msg.in { align-self: flex-start; }
.msg.in p { background: var(--bubble-in); color: var(--ink); border-bottom-left-radius: var(--r-tail); }
.msg.out { align-self: flex-end; align-items: flex-end; }
.msg.out p { background: var(--green); color: #fff; border-bottom-right-radius: var(--r-tail); }
.sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; text-align: center; font-size: 0.78rem; color: var(--ink-3); padding: 6px 10px; margin: 4px 0; }
.sys .i { width: 14px; height: 14px; color: #c0392b; }
.key { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.3em; border-radius: 0.5em 0.5em 0.2em 0.5em; background: var(--green); color: #fff; font-weight: 700; font-size: 0.9em; font-variant-numeric: tabular-nums; vertical-align: 0.05em; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #cfd6dd; color: var(--ink); font: 700 0.8rem/1 var(--ui); flex: none; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.05rem; }
.note { margin-top: 28px; font-size: 0.85rem; color: var(--ink-3); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.1rem); letter-spacing: -0.035em; line-height: 0.98; font-weight: 700; max-width: 12ch; }
.lede { margin-top: 28px; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.fineprint { margin-top: 20px; font-size: 0.92rem; color: var(--ink-3); }

.phone { margin: 0; justify-self: end; width: min(100%, 400px); }
.phone-screen {
  background: var(--paper);
  border-radius: 44px;
  padding: 14px 16px 22px;
  box-shadow: 0 0 0 10px #15191e, 0 0 0 11px #2b3138, 0 30px 60px -20px rgb(20 24 29 / 0.45), 0 12px 24px -12px rgb(20 24 29 / 0.3);
  min-height: 560px;
  display: flex; flex-direction: column;
}
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 10px; font: 600 0.9rem/1 var(--ui); }
.phone-status-icons { display: flex; gap: 6px; align-items: center; }
.phone-status-icons svg { height: 11px; width: auto; fill: currentColor; }
.thread-head { display: flex; align-items: center; gap: 10px; padding: 8px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.thread-name { display: flex; flex-direction: column; font: 600 0.98rem/1.25 var(--ui); }
.thread-name small { font-weight: 400; font-size: 0.8rem; color: var(--ink-3); }
.phone .thread { flex: 1; justify-content: flex-end; }
.phone .msg { max-width: 92%; }
.phone .msg.in p { font-size: 0.93rem; }
.phone figcaption { margin-top: 26px; font-size: 0.85rem; color: var(--ink-3); text-align: center; padding-inline: 12px; }
.phone .sys:last-child { margin-top: 8px; max-width: 88%; }

/* ---------- Bands ---------- */
.band { padding: var(--band) 0; }
.band-field { background: var(--field); }
.section-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; max-width: 18ch; }
.section-sub { margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); max-width: 40em; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.prose h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; max-width: 16ch; margin-bottom: 28px; }
.prose p { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.prose p + p { margin-top: 18px; }
.prose strong { color: var(--ink); font-weight: 650; }
.cite { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; margin-left: 2px; border-radius: 50%; background: var(--paper); color: var(--green); font-size: 0.7em; font-weight: 700; text-decoration: none; vertical-align: 0.5em; box-shadow: inset 0 0 0 1px var(--line); }

/* Missed-call notifications */
.notifs { margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: 420px; justify-self: end; width: 100%; }
.notif { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 18px; background: var(--paper); border-radius: 18px; box-shadow: 0 1px 2px rgb(20 24 29 / 0.06), 0 8px 20px -14px rgb(20 24 29 / 0.25); font-size: 0.95rem; }
.notif-app { grid-column: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-3); }
.app-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #2fb158; color: #fff; }
.app-icon .i { width: 13px; height: 13px; stroke-width: 2.2; }
.app-icon-muted { background: #8a939c; }
.notif time { grid-column: 2; grid-row: 1; font-size: 0.8rem; color: var(--ink-3); }
.notif b { font-weight: 650; }
.notif span:not(.notif-app) { color: var(--ink-2); }
.notif-muted { opacity: 0.72; }
.notifs figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--ink-3); }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; padding: 12px 0 clamp(36px, 5vw, 56px); }
.service .thread.mini { padding: 22px 20px 16px; max-width: 480px; }
.service:nth-of-type(odd) .thread.mini { justify-self: end; width: 100%; }
.service.service-lead h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.service-lead .service-copy p:not(.service-plans) { font-size: 1.15rem; }
.service-lead .thread.mini { max-width: 520px; }
.service-lead .msg p { font-size: 1.02rem; }
#services .section-sub { margin-bottom: clamp(32px, 5vw, 56px); }
.service:nth-of-type(even) .service-copy { order: 2; }
.service h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.025em; }
.service-copy p { margin-top: 14px; color: var(--ink-2); max-width: 32em; }
.service-copy .service-plans { font-size: 0.92rem; color: var(--ink-3); margin-top: 12px; }
.thread.mini { background: var(--field); border-radius: 28px; padding: 22px 20px 16px; }
.band-field .thread.mini { background: var(--paper); }

/* ---------- Demo ---------- */
.band-green { background: var(--green-deep); color: #fff; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.demo-copy h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); letter-spacing: -0.035em; font-weight: 700; }
.demo-copy p { margin-top: 24px; font-size: 1.15rem; color: var(--green-ink); max-width: 34em; }
.demo-tips { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--green-ink); font-size: 0.98rem; }
.demo-tips li { display: flex; gap: 10px; }
.demo-tips li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: #8fd4b6; }
.demo-tips a { color: #fff; }
.band-green :focus-visible { outline-color: #fff; }
.band-green ::selection { background: #fff; color: var(--green-deep); }

.call { background: #0b3a2c; border-radius: 36px; padding: 32px 28px 28px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.6); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.call-who { display: flex; align-items: center; gap: 14px; align-self: stretch; text-align: left; }
.call .avatar { background: #145c46; color: #fff; }
.call-name { font: 650 1.15rem/1.2 var(--display); }
.call-status { margin-top: 4px; font-size: 0.92rem; color: #a8dcc5; }
.meter { display: flex; align-items: center; justify-content: center; gap: 6px; height: 72px; }
.meter span { width: 8px; height: 72px; border-radius: 99px; background: #2f7a62; transform: scaleY(0.14); transition: transform 0.08s linear, background-color 0.2s; }
.call[data-state="live"] .meter span { background: #8fd4b6; }
.call[data-state="live"].speaking .meter span { background: #fff; }
.call-timer { font: 500 2rem/1 var(--ui); letter-spacing: -0.01em; color: #fff; opacity: 0.35; }
.call[data-state="live"] .call-timer { opacity: 1; }
.call-controls { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.call-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px; font: 650 1.05rem/1 var(--ui); cursor: pointer; transition: background-color 0.15s, transform 0.15s; }
.call-btn .i { width: 22px; height: 22px; }
.call-start { background: #fff; color: var(--green-deep); }
.call-start:hover { background: var(--green-ink); }
.call-start[disabled] { opacity: 0.6; cursor: progress; }
.call-mute { background: rgb(255 255 255 / 0.12); color: #fff; }
.call-mute[aria-pressed="true"] { background: #fff; color: var(--green-deep); }
.call-end { background: #d93b30; color: #fff; }
.call-end:hover { background: #c1342a; }
.call-end .i { transform: rotate(0deg); }
.call-error { color: #ffd9d4; font-size: 0.95rem; max-width: 30em; }
.turnstile:empty { display: none; }

/* ---------- Setup steps ---------- */
.steps { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 15px; left: 8px; right: 8px; height: 2px; background: var(--line); }
.steps li { position: relative; padding: 44px 24px 0 0; }
.steps li::before { content: ""; position: absolute; top: 8px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--green); }
.step-day { display: inline; margin-right: 0.35em; color: var(--green); }
.steps h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; }
.report { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.report h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; max-width: 14ch; }
.report .stamp { margin-top: 0; }
.report .thread.mini { background: none; padding: 0; }
.report .msg { max-width: 100%; }
.report .msg p { font-size: 1.02rem; padding: 14px 18px; }
.report .note { margin-top: 14px; }

/* ---------- Pricing ---------- */
.plan-switch { display: none; }
.table-wrap { margin-top: clamp(32px, 5vw, 56px); background: var(--paper); border-radius: 28px; padding: 8px clamp(8px, 2vw, 24px); box-shadow: 0 1px 2px rgb(20 24 29 / 0.05), 0 18px 40px -28px rgb(20 24 29 / 0.3); }
.plans { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.plans tbody tr:last-child > * { border-bottom: 0; }
.plans tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.plans tbody td { color: var(--ink-2); }
.plans thead th { padding-top: 24px; padding-bottom: 22px; }
.plans thead th:first-child { width: 24%; }
.plan-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 650 1.2rem/1.2 var(--display); }
.plan-name em { font: 600 0.72rem/1 var(--ui); font-style: normal; letter-spacing: 0.02em; color: var(--green-deep); background: var(--green-tint); padding: 5px 8px; border-radius: 99px; }
.plan-price { display: block; margin-top: 12px; font: 700 2.4rem/1 var(--display); letter-spacing: -0.03em; }
.plan-price small { font: 500 0.95rem/1 var(--ui); letter-spacing: 0; color: var(--ink-3); margin-left: 2px; }
.plan-setup { display: block; margin-top: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-3); }
.plans [data-col="complete"] { background: var(--green-tint); }
.plans thead [data-col="complete"] { border-radius: 18px 18px 0 0; }
.plans tbody tr:last-child [data-col="complete"] { border-radius: 0 0 18px 18px; }
.plans [data-col="complete"] { border-bottom-color: #c6e3d5; }
.terms { margin-top: clamp(32px, 4vw, 44px); }
.founding { max-width: 40em; margin-top: 20px; align-items: stretch; }
.founding p { font-size: 1.08rem; padding: 18px 22px; line-height: 1.5; }
.terms-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(24px, 5vw, 64px); color: var(--ink-2); }
.terms-list strong { color: var(--ink); font-weight: 650; }

/* ---------- About ---------- */
.thread.mini.about-thread { background: none; padding: 0; gap: 8px; }
.about-thread .msg { max-width: 34em; }
.about-thread .msg p { font-size: 1.08rem; padding: 14px 18px; }
.contact-card { justify-self: end; width: min(100%, 380px); background: var(--paper); border-radius: 28px; padding: 32px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -30px rgb(20 24 29 / 0.35); display: flex; flex-direction: column; align-items: center; text-align: center; }
.card-name { margin-top: 16px; font: 650 1.4rem/1.2 var(--display); }
.card-role { margin-top: 4px; color: var(--ink-3); font-size: 0.92rem; }
.contact-card dl { margin: 24px 0; width: 100%; display: grid; gap: 0; text-align: left; }
.contact-card dl div { display: grid; grid-template-columns: 84px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-card dt { color: var(--ink-3); font-size: 0.9rem; }
.contact-card dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq > details { max-width: 860px; }
.faq .section-title { margin-bottom: clamp(28px, 4vw, 44px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 1.15rem/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 0.35em; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }

/* ---------- Contact + footer ---------- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 0.9rem; color: var(--ink-3); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-row a { color: var(--ink-2); }
.footer-area { margin-top: 12px; }
.footer-area p { margin: 0; max-width: 70em; }
.sources { margin-top: 28px; }
.sources p { font-weight: 600; color: var(--ink-2); }
.sources ol { margin: 8px 0 0; padding-left: 1.3em; display: grid; gap: 6px; max-width: 70em; }
.sources li:target { color: var(--ink); background: var(--green-tint); border-radius: 6px; }

/* ---------- Motion: messages arrive ---------- */
.js .arrive { opacity: 0; transform: translateY(10px) scale(0.98); }
.js .arrive.in-view { opacity: 1; transform: none; transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: var(--r-bubble) var(--r-bubble) var(--r-bubble) var(--r-tail); background: var(--bubble-in); }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #8a939c; animation: dot 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .arrive { opacity: 1; transform: none; }
  .typing span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .demo-grid, .report, .terms-list { grid-template-columns: minmax(0, 1fr); }
  .service:nth-of-type(odd) .thread.mini { justify-self: start; }
  .phone, .notifs, .contact-card { justify-self: start; }
  .phone { width: min(100%, 380px); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 36px; }
  .steps::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; }
  .steps li { padding: 0; }
  .steps li::before { left: -36px; top: 2px; }
  .service { grid-template-columns: minmax(0, 1fr); }
  .service:nth-of-type(even) .service-copy { order: 0; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .plan-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 28px; padding: 4px; background: #e2e6ea; border-radius: 14px; }
  .plan-switch button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font: 600 0.95rem/1 var(--ui); color: var(--ink-2); cursor: pointer; }
  .plan-switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgb(20 24 29 / 0.15); }
  .table-wrap { margin-top: 16px; }
  .plans thead th:first-child, .plans tbody th { width: 40%; }
  .plans[data-show="essentials"] [data-col]:not([data-col="essentials"]),
  .plans[data-show="complete"] [data-col]:not([data-col="complete"]),
  .plans[data-show="pro"] [data-col]:not([data-col="pro"]) { display: none; }
  .plans [data-col="complete"] { background: none; }
  .plans th, .plans td { padding: 14px 8px; }
  .phone { width: calc(100% - 22px); margin-inline: 11px; }
  .phone-screen { min-height: 0; border-radius: 36px; }
  .call { padding: 28px 20px 24px; border-radius: 28px; }
  .contact-actions .btn { flex: 1 1 auto; }
}

/* ---------- Policy page ---------- */
.policy { max-width: 46em; }
.policy h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.03em; margin-bottom: 24px; }
.policy h2 { font-size: 1.5rem; letter-spacing: -0.02em; max-width: none; margin: 44px 0 14px; }

/* ---------- Thread separators, quick replies, call log ---------- */
.stamp { text-align: center; margin: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 28px); font: 600 0.8rem/1 var(--ui); color: var(--ink-3); }
.stamp span { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--field); }
.band-field .stamp span { background: var(--paper); }
.chips { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; }
.chip { font: 600 0.8rem/1 var(--ui); padding: 8px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px #c7d0d8; color: var(--ink-2); }
.chip-on { background: var(--green-tint); box-shadow: inset 0 0 0 1.5px var(--green); color: var(--green-deep); }
.call-log { align-self: stretch; gap: 2px; max-height: 120px; overflow: hidden; }
.call-log:empty { display: none; }
.call-log .sys { color: #a8dcc5; font-size: 0.82rem; margin: 0; padding: 3px 8px; }
.call:not([data-state="live"]) .meter { display: none; }

/* ---------- Research figures: big editorial numbers ---------- */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 88px); }
.figure { border-top: 1px solid var(--line); padding-top: 20px; min-width: 0; }
.figure p { color: var(--ink-2); font-size: 1.02rem; max-width: 26em; }
.figure .figure-n { font: 700 clamp(3rem, 2.2rem + 3vw, 4.6rem)/0.9 var(--display); letter-spacing: -0.04em; color: var(--ink); margin-bottom: 16px; white-space: nowrap; }
.figure .figure-n small { font: 600 1rem/1 var(--ui); letter-spacing: 0; color: var(--ink-3); margin-left: 8px; }
.figure .figure-src { margin-top: 10px; font-size: 0.8rem; color: var(--ink-3); }
.figures-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
/* without JS the sliders can't update anything, so only the worked example shows */
html:not(.js) .calc-form { display: none; }
.js .calc-nojs { display: none; }

/* ---------- Calculator: the report text rewrites itself ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.calc h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -0.03em; max-width: 15ch; }
.calc-form { margin-top: clamp(28px, 4vw, 40px); display: grid; gap: 26px; max-width: 34em; }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 16px; }
.calc-field label { font-weight: 600; color: var(--ink); }
.calc-field output { font: 700 1.25rem/1 var(--ui); font-variant-numeric: tabular-nums; color: var(--ink); min-width: 4.5ch; text-align: right; }
.calc-field input { grid-column: 1 / -1; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--green) var(--fill, 50%), var(--bubble-in) var(--fill, 50%)); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--bubble-in); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--green); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--green), 0 2px 6px -2px rgb(6 74 55 / 0.45); transition: transform 0.15s; }
.calc input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--green), 0 2px 6px -2px rgb(6 74 55 / 0.45); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
.calc input[type="range"]:focus-visible { outline-offset: 4px; }
.calc-result { margin: 0; background: var(--field); border-radius: 28px; padding: 22px 20px 20px; justify-self: end; width: min(100%, 460px); }
.calc-result .stamp { margin: 0 0 14px; }
.calc-result .stamp span { background: var(--paper); }
.calc-result .msg { max-width: 92%; }
.calc-msg p { font-size: 1.06rem; line-height: 1.5; padding: 14px 18px; font-variant-numeric: tabular-nums; }
.calc-msg strong { font-weight: 700; }
.calc-result figcaption { margin-top: 16px; font-size: 0.82rem; color: var(--ink-3); }
.calc-msg.flash p { animation: flash 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes flash { from { transform: scale(0.985); filter: brightness(0.97); } to { transform: none; filter: none; } }

/* ---------- Services: two featured, three in a row ---------- */
.service-points { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 32em; color: var(--ink-2); }
.service-points li { display: flex; gap: 12px; }
.service-points li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.6em; border-radius: 50% 50% 2px 50%; background: var(--green); }
.minor-title { margin-top: clamp(56px, 8vw, 96px); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.025em; max-width: 20ch; }
.minor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); margin-top: clamp(28px, 4vw, 40px); align-items: start; }
.minor-service { min-width: 0; display: flex; flex-direction: column; }
.minor-service h4 { font: 650 1.3rem/1.15 var(--display); letter-spacing: -0.02em; margin: 0; }
.minor-service > p:not(.service-plans):not(.minor-figure) { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; }
.minor-service .thread.mini { margin-top: 18px; padding: 18px 16px 14px; }
.minor-service .msg { max-width: 90%; }
.minor-service .msg p { font-size: 0.9rem; }
.minor-service .service-plans { margin-top: 12px; font-size: 0.85rem; color: var(--ink-3); }
.minor-figure { margin-top: 14px; font-size: 0.92rem; color: var(--ink-2); }
.minor-figure b { font: 700 1em var(--ui); font-variant-numeric: tabular-nums; color: var(--ink); }
.minor-figure span { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--ink-3); }

@media (max-width: 960px) {
  .calc, .minor, .figures, .figures-inline { grid-template-columns: minmax(0, 1fr); }
  .calc-result { justify-self: start; }
  .figures { gap: 28px; }
}
@media (max-width: 1080px) { .site-nav a { padding: 8px 9px; font-size: 0.9rem; } }
