/* Starpeer 10DLC guide, form, and worksheet. Tokens mirror
   vanbelkum-help/site/help.css: Figtree, one accent, flat surfaces. */

:root{
  --ink:#0B1A26; --ink-2:#12283A;
  --fg:#0B1A26; --muted:#5B6B78; --muted-2:#6E7D8A;
  --bg:#FFFFFF; --bg-2:#EEF2F5; --card:#F3F6F9; --line:#DDE3E8;
  --accent:#1A6FD1; --accent-dark:#12529E; --accent-soft:#E8F1FB;
  --ok:#1E7B4A; --ok-soft:#E7F4EC; --warn:#8A5A00; --warn-soft:#FFF4DB; --bad:#B42318; --bad-soft:#FDECEA;
  --sans:'Figtree',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,'SF Mono',Menlo,monospace;
  --r:6px; --container:1120px; --gutter:24px;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--fg); font-family:var(--sans); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; }
img,svg{ max-width:100%; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ color:var(--accent-dark); text-decoration:underline; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.wrap{ width:min(var(--container),calc(100% - 2*var(--gutter))); margin-inline:auto; }
.narrow{ width:min(760px,calc(100% - 2*var(--gutter))); margin-inline:auto; }
code{ font-family:var(--mono); font-size:.88em; background:var(--bg-2); border:1px solid var(--line); padding:.08em .4em; border-radius:4px; }

/* Header: the portal top bar */
.top{ position:sticky; top:0; z-index:50; background:#fff; border-bottom:1px solid var(--line); }
.top__row{ display:grid; grid-template-columns:auto auto 1fr auto; align-items:center; gap:24px; height:72px; }
.top__brand{ display:flex; align-items:center; gap:12px; color:var(--fg); }
.top__brand:hover{ text-decoration:none; }
.top__brand img{ height:22px; width:auto; }
.top__brand span{ font-size:15px; font-weight:500; color:var(--muted); padding-left:12px; border-left:1px solid var(--line); line-height:1; }
.top__crumb{ margin:0; font-size:14px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.top__crumb a{ color:var(--muted); }
.top__crumb span{ color:var(--muted-2); margin:0 8px; }
.top__crumb b{ font-weight:500; color:var(--fg); }
.top__tools{ display:flex; align-items:center; gap:20px; justify-self:end; grid-column:4; }
.top__phone{ font-size:14px; font-weight:500; color:var(--fg); white-space:nowrap; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 24px; border-radius:999px; font:600 14px/1 var(--sans); white-space:nowrap; border:1px solid var(--ink); background:var(--ink); color:#fff; cursor:pointer; }
.btn:hover{ color:#fff; opacity:.85; text-decoration:none; }
.btn--light{ background:#fff; border-color:#fff; color:var(--ink); }
.btn--light:hover{ color:var(--ink); }
.btn--line{ background:#fff; color:var(--ink); border-color:var(--line); }
.btn--line:hover{ color:var(--ink); border-color:var(--ink); opacity:1; }
.btn[disabled]{ opacity:.5; cursor:default; }

/* Hero */
.hero{ background:var(--ink); color:#fff; padding:72px 0 64px; overflow:hidden; }
.kicker{ font-size:14px; color:#9FB3C3; margin:0 0 20px; }
h1{ font-size:clamp(2.2rem,5vw,3.6rem); line-height:1.05; letter-spacing:-.02em; font-weight:600; margin:0 0 20px; max-width:20ch; }
.hero h1 em{ font-style:normal; color:#8FC0F5; }
.hero__sub{ font-size:clamp(1.05rem,1.6vw,1.2rem); color:#D5E0E8; max-width:60ch; margin:0 0 32px; }
.hero__paths{ display:flex; gap:12px; flex-wrap:wrap; }
.hero__paths .btn--line{ background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
.hero__paths .btn--line:hover{ background:#fff; color:var(--ink); }
.hero__meta{ display:flex; gap:40px; margin-top:48px; flex-wrap:wrap; }
.hero__meta b{ display:block; font-size:28px; font-weight:600; }
.hero__meta span{ font-size:14px; color:#9FB3C3; }

/* Sections */
.band{ padding:72px 0; }
.band--gray{ background:var(--bg-2); }
.eyebrow{ font-size:14px; font-weight:500; color:var(--muted); margin:0 0 12px; }
h2{ font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.1; font-weight:600; margin:0 0 20px; max-width:28ch; }
h3{ font-size:1.15rem; font-weight:600; margin:0 0 8px; }
.lead{ font-size:1.1rem; color:var(--muted); max-width:62ch; margin:0 0 32px; }
p{ margin:0 0 16px; }
.grid3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid2{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px; }
.band--gray .card{ background:#fff; }
.card p:last-child{ margin:0; }
.card .num{ display:inline-flex; width:28px; height:28px; border-radius:50%; background:var(--accent-soft); color:var(--accent); font-weight:600; font-size:14px; align-items:center; justify-content:center; margin-bottom:12px; }
ul.checks{ list-style:none; padding:0; margin:0; }
ul.checks li{ padding:10px 0 10px 30px; border-bottom:1px solid var(--line); position:relative; }
ul.checks li::before{ content:""; position:absolute; left:4px; top:17px; width:12px; height:7px; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg); }

/* Good vs rejected examples */
.pair{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0 8px; }
.ex{ border-radius:var(--r); padding:16px 18px; font-size:15px; border:1px solid; }
.ex b{ display:block; font-size:12px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:6px; }
.ex--bad{ background:var(--bad-soft); border-color:#F5C2BD; }
.ex--bad b{ color:var(--bad); }
.ex--good{ background:var(--ok-soft); border-color:#B9DEC8; }
.ex--good b{ color:var(--ok); }
.topic{ padding:40px 0; border-top:1px solid var(--line); }
.topic:first-of-type{ border-top:0; padding-top:0; }
.topic h3{ font-size:1.35rem; }
.note{ background:var(--accent-soft); border-left:3px solid var(--accent); padding:16px 20px; border-radius:0 var(--r) var(--r) 0; margin:24px 0; }
.note p:last-child{ margin:0; }
.cta{ background:var(--ink); color:#fff; border-radius:var(--r); padding:40px; display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; }
.cta h2{ color:#fff; margin:0 0 8px; }
.cta p{ color:#D5E0E8; margin:0; }
.cta__btns{ display:flex; gap:12px; flex-wrap:wrap; }
.cta .btn--line{ background:transparent; color:#fff; border-color:rgba(255,255,255,.6); }
.cta .btn--line:hover{ background:#fff; color:var(--ink); }

/* Form */
.formhead{ padding:40px 0 8px; }
.formhead h1{ font-size:clamp(1.8rem,3.6vw,2.6rem); max-width:none; }
.formhead p{ color:var(--muted); max-width:64ch; }
.steps{ display:flex; gap:6px; list-style:none; padding:0; margin:24px 0 32px; counter-reset:s; flex-wrap:wrap; }
.steps li{ flex:1 1 0; min-width:90px; font-size:13px; color:var(--muted); border-top:3px solid var(--line); padding-top:8px; counter-increment:s; }
.steps li::before{ content:counter(s) ". "; }
.steps li.is-done{ border-color:var(--ok); color:var(--fg); }
.steps li.is-current{ border-color:var(--accent); color:var(--fg); font-weight:600; }
.step h2{ font-size:1.6rem; margin-bottom:8px; }
.step__intro{ color:var(--muted); margin-bottom:28px; }
.fields{ display:grid; grid-template-columns:1fr 1fr; gap:4px 20px; }
.field{ grid-column:1 / -1; margin-bottom:22px; }
.field.half{ grid-column:auto; }
.field > label, .field legend{ display:block; font-weight:600; margin-bottom:6px; padding:0; }
.field fieldset{ border:0; margin:0; padding:0; min-width:0; }
.field .help{ font-size:14px; color:var(--muted); margin:0 0 8px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea{
  width:100%; font:inherit; font-size:16px; color:var(--fg); background:#fff; border:1px solid #C7D0D8; border-radius:var(--r); padding:10px 12px; }
.field textarea{ min-height:96px; resize:vertical; line-height:1.5; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--accent); outline:2px solid var(--accent-soft); }
.field .opt{ display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border:1px solid var(--line); border-radius:var(--r); margin-bottom:8px; cursor:pointer; background:#fff; }
.field .opt:hover{ border-color:#B5C1CB; }
.field .opt input{ margin-top:5px; flex:none; width:18px; height:18px; accent-color:var(--accent); }
.field .opt small{ display:block; color:var(--muted); font-size:14px; }
.field .opt:has(input:checked){ border-color:var(--accent); background:var(--accent-soft); }
.field .yesno{ display:flex; gap:8px; }
.field .yesno .opt{ flex:0 0 auto; min-width:96px; margin:0; }
.field.ack .opt{ font-weight:500; }
.field .err{ color:var(--bad); font-size:14px; margin:6px 0 0; }
.field .warn{ color:var(--warn); background:var(--warn-soft); font-size:14px; margin:8px 0 0; padding:8px 12px; border-radius:var(--r); }
.field.has-err input, .field.has-err textarea, .field.has-err select{ border-color:var(--bad); }
.field .count{ font-size:13px; color:var(--muted-2); text-align:right; margin-top:4px; }
.field .example{ font-size:14px; color:var(--muted); margin-top:8px; }
.field .example button{ font:inherit; font-size:14px; color:var(--accent); background:none; border:0; padding:0; cursor:pointer; }
.nav{ display:flex; justify-content:space-between; gap:12px; padding:24px 0 72px; border-top:1px solid var(--line); margin-top:8px; }
.review dl{ display:grid; grid-template-columns:minmax(160px,34%) 1fr; gap:0; margin:0 0 28px; border-top:1px solid var(--line); }
.review dt, .review dd{ padding:10px 0; border-bottom:1px solid var(--line); margin:0; }
.review dt{ color:var(--muted); font-size:14px; padding-right:16px; }
.review dd{ white-space:pre-wrap; word-break:break-word; }
.review h3{ display:flex; justify-content:space-between; align-items:baseline; }
.review h3 button{ font:inherit; font-size:14px; color:var(--accent); background:none; border:0; cursor:pointer; }
.done{ text-align:center; padding:64px 0 96px; }
.done .ref{ font-family:var(--mono); font-size:1.4rem; background:var(--bg-2); padding:8px 16px; border-radius:var(--r); display:inline-block; margin:8px 0 24px; }
.banner{ padding:12px 16px; border-radius:var(--r); margin:0 0 20px; font-size:15px; }
.banner--bad{ background:var(--bad-soft); color:var(--bad); }
.banner--info{ background:var(--accent-soft); }

/* Worksheet */
.ws h2{ font-size:1.4rem; margin:40px 0 6px; padding-top:20px; border-top:2px solid var(--ink); max-width:none; }
.ws .q{ margin:0 0 18px; break-inside:avoid; }
.ws .q b{ display:block; }
.ws .q .help{ font-size:14px; color:var(--muted); margin:2px 0 6px; }
.ws .q .eg{ font-size:13px; color:var(--muted-2); font-style:italic; margin:0 0 6px; }
.ws .line{ border-bottom:1px solid #9AA7B2; height:30px; }
.ws .box{ border:1px solid #9AA7B2; border-radius:4px; min-height:90px; }
.ws .tick{ display:inline-block; width:14px; height:14px; border:1.5px solid #5B6B78; border-radius:3px; vertical-align:-2px; margin-right:6px; }
.ws .tick.round{ border-radius:50%; }
.ws .opts span{ display:block; padding:2px 0; font-size:15px; }
.printbar{ display:flex; gap:12px; flex-wrap:wrap; margin:20px 0 0; }

/* Footer */
.foot{ border-top:1px solid var(--line); padding:28px 0; font-size:14px; color:var(--muted); }
.foot .wrap{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.foot a{ color:var(--muted); }
.foot__tm{ flex-basis:100%; font-size:12px; color:var(--muted-2); }

@media (max-width:880px){
  .grid3,.grid2,.pair{ grid-template-columns:1fr; }
  .cta{ grid-template-columns:1fr; padding:28px; }
  .top__row{ grid-template-columns:auto 1fr auto; gap:12px; height:64px; }
  .top__crumb{ display:none; }
  .top__tools{ grid-column:3; }
  .top__tools .btn{ display:none; }
  .fields{ grid-template-columns:1fr; }
  .field.half{ grid-column:1 / -1; }
  .review dl{ grid-template-columns:1fr; }
  .review dt{ border-bottom:0; padding-bottom:0; }
  .hero{ padding:48px 0; }
  .band{ padding:48px 0; }
  .steps li{ min-width:0; font-size:0; }
  .steps li.is-current{ font-size:13px; flex-grow:3; }
}
@media print{
  .top,.foot,.printbar,.noprint{ display:none !important; }
  body{ font-size:12pt; }
  .ws h2{ margin-top:20px; }
  a{ color:inherit; }
}

/* Hero phone: a registered text thread, drawn in HTML so it stays sharp. */
.hero__grid{ display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:56px; align-items:center; }
.phone{ margin:0; justify-self:end; width:100%; max-width:340px; }
.phone__frame{ background:#F7F9FB; border-radius:40px; padding:14px 14px 22px; box-shadow:0 0 0 10px #1B3448, 0 30px 70px rgba(0,0,0,.45); color:var(--fg); }
.phone__bar{ display:grid; justify-items:center; gap:2px; padding:10px 0 12px; border-bottom:1px solid var(--line); margin-bottom:12px; }
.phone__avatar{ width:40px; height:40px; border-radius:50%; background:linear-gradient(160deg,#8D9AA6,#5B6B78); color:#fff; font-size:14px; font-weight:600; display:grid; place-items:center; }
.phone__bar b{ font-size:14px; font-weight:600; }
.phone__bar small{ font-size:11px; color:var(--muted); }
.phone__thread{ display:flex; flex-direction:column; gap:6px; padding:0 4px; }
.msg{ margin:0; max-width:84%; padding:8px 12px; border-radius:18px; font-size:13px; line-height:1.4; }
.msg--in{ align-self:flex-start; background:#E3E8ED; border-bottom-left-radius:6px; }
.msg--out{ align-self:flex-end; background:var(--accent); color:#fff; border-bottom-right-radius:6px; font-weight:600; margin:4px 0; }
.tag{ align-self:flex-start; font-size:11px; font-weight:600; color:var(--ok); background:var(--ok-soft); border:1px solid #B9DEC8; border-radius:999px; padding:2px 10px 2px 22px; margin:0 0 6px 6px; position:relative; }
.tag::before{ content:""; position:absolute; left:9px; top:6px; width:7px; height:4px; border-left:2px solid var(--ok); border-bottom:2px solid var(--ok); transform:rotate(-45deg); }
@media (max-width:880px){
  .hero__grid{ grid-template-columns:1fr; gap:40px; }
  .phone{ justify-self:center; max-width:320px; }
}

/* Caller ID guide: incoming-call cards, vendor table, draft ribbon. */
.call{ background:#fff; border:1px solid var(--line); border-radius:22px; padding:18px 16px 16px; display:grid; justify-items:center; gap:4px; text-align:center; }
.call + .call{ margin-top:12px; }
.call__when{ font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.call__label{ font-size:20px; font-weight:600; }
.call__label--bad{ color:var(--bad); }
.call small{ font-size:12px; color:var(--muted); }
.call__btns{ display:flex; gap:28px; margin-top:10px; }
.call__btns i{ width:36px; height:36px; border-radius:50%; display:block; }
.call__btns i:first-child{ background:#E5484D; }
.call__btns i:last-child{ background:#2FA55A; }
.tbl{ width:100%; border-collapse:collapse; font-size:15px; margin:8px 0 24px; }
.tbl th,.tbl td{ text-align:left; padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:top; }
.tbl th{ font-size:13px; font-weight:600; color:var(--muted); }
@media (max-width:640px){ .tbl thead{ display:none; } .tbl tr{ display:block; padding:10px 0; border-bottom:1px solid var(--line); } .tbl td{ display:block; border:0; padding:2px 0; } .tbl td:first-child{ font-weight:600; } }
ol.steps-list{ padding-left:22px; margin:0 0 16px; }
ol.steps-list li{ margin-bottom:12px; }
.draft{ background:var(--warn-soft); color:var(--warn); text-align:center; font-size:14px; padding:8px 16px; border-bottom:1px solid #F0D9A0; }
.photo{ margin:24px 0; }
.photo img{ display:block; width:100%; height:auto; aspect-ratio:1200/805; object-fit:cover; border-radius:var(--r); background:var(--bg-2); }
.photo-row{ align-items:center; margin-top:28px; }
.photo-row .photo,.photo-row .note{ margin:0; }

/* Branded Calling ID explainer: three mini incoming-call screens. */
.bcid{ display:grid; grid-template-columns:minmax(0,1fr) 420px; gap:56px; align-items:start; }
ol.bcid__steps{ counter-reset:b; list-style:none; padding:0; margin:0 0 24px; }
ol.bcid__steps li{ counter-increment:b; position:relative; padding:0 0 14px 40px; }
ol.bcid__steps li::before{ content:counter(b); position:absolute; left:0; top:1px; width:28px; height:28px; border-radius:50%; background:var(--accent-soft); color:var(--accent); font-weight:600; font-size:14px; display:grid; place-items:center; }
.bcid__fig{ margin:0; position:sticky; top:96px; }
.bcid__phones{ display:grid; gap:12px; background:var(--ink); border-radius:var(--r); padding:20px; }
.mini{ background:#F7F9FB; border-radius:18px; padding:14px 16px; display:grid; grid-template-columns:44px 1fr; grid-template-rows:auto auto auto; column-gap:14px; align-items:center; }
.mini__cap{ grid-column:1 / -1; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.mini__logo{ grid-row:2 / 4; width:44px; height:44px; border-radius:50%; display:grid; place-items:center; font-weight:600; color:#fff; }
.mini__logo--blank{ background:linear-gradient(160deg,#8D9AA6,#5B6B78); }
.mini__logo--warn{ background:var(--bad); font-size:22px; }
.mini__logo--brand{ background:linear-gradient(160deg,#1A6FD1,#12529E); border-radius:12px; font-size:15px; }
.mini b{ font-size:16px; font-weight:600; display:flex; align-items:center; gap:6px; }
.mini b.bad{ color:var(--bad); }
.mini small{ font-size:13px; color:var(--muted); }
.mini--brand{ box-shadow:0 0 0 2px #8FC0F5; }
.mini__check{ width:16px; height:16px; border-radius:50%; background:var(--ok); position:relative; flex:none; }
.mini__check::after{ content:""; position:absolute; left:4px; top:4px; width:7px; height:4px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); }
.bcid__fig figcaption{ font-size:13px; color:var(--muted); margin-top:10px; }
@media (max-width:880px){ .bcid{ grid-template-columns:1fr; gap:32px; } .bcid__fig{ position:static; max-width:420px; } }
.phone .call{ padding:12px 14px; gap:2px; }
.phone .call + .call{ margin-top:8px; }
.phone .call__label{ font-size:17px; }
ol.steps-list ul{ margin:8px 0 0; padding-left:20px; }

/* Portal screens */
.screen{ margin:24px 0; }
.screen img{ display:block; width:100%; height:auto; border:1px solid var(--line, #d9dde3); border-radius:var(--r); box-shadow:0 6px 20px rgba(0,0,0,.08); background:#fff; }
.screen figcaption{ font-size:13px; color:var(--muted); margin-top:10px; }
.screen--narrow{ max-width:620px; }
