/* RingSpar public site. Same tokens as app.css (Instrument Sans, spruce accent, hairlines),
   with a larger type scale and more air. Self-contained: does not load app.css. */

:root {
  --paper: #FFFFFF;
  --tint: #F6F7F8;
  --line: #E3E6EA;
  --line-2: #D3D8DE;
  --ink: #1A1D21;
  --slate: #5E6672;
  --faint: #6B737E;
  --accent: #13705C;
  --accent-ink: #0E5546;
  --accent-wash: #E8F3EF;
  --accent-line: #B9DACE;
  --red: #B4302A;
  --red-wash: #FBEDEC;
  --red-line: #F0C7C4;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wrap: 1160px;
  --gut: 32px;
  --sec: 112px;
  --r: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.032em; font-weight: 600; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.024em; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.01em; }
h4 { font-size: 16px; line-height: 1.4; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.lede { font-size: 20px; line-height: 1.55; color: var(--slate); max-width: 34em; }
.muted { color: var(--slate); }
.small { font-size: 15px; }
.said { font-family: var(--serif); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 7px; border: 1px solid var(--line-2);
  background: var(--paper); color: var(--ink); font: 500 16px/1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--tint); }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.pri:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .55; cursor: default; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(10px); } }
.top .wrap { display: flex; align-items: center; height: 64px; gap: 36px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.015em; flex: none; }
.logo svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; gap: 28px; }
.nav a, .acts a.plain { color: var(--slate); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .acts a.plain:hover, .nav a[aria-current="page"] { color: var(--ink); }
.acts { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.acts a.plain { margin-right: 6px; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--paper); align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 1.7; fill: none; }
.menu-btn .x { display: none; }
.top.open .menu-btn .x { display: block; }
.top.open .menu-btn .bars { display: none; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.tint + .sec { border-top: 0; }
.sec.flush { padding-top: 0; border-top: 0; }
.sec-h { max-width: 680px; margin-bottom: 56px; }
.sec-h p { margin-top: 16px; font-size: 19px; color: var(--slate); }
.sec-h.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.sec-h.split p { margin: 0; }
.more { font-weight: 500; font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 104px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 9.5em; }
.hero .lede { margin: 24px 0 36px; }
.hero .fine { margin-top: 20px; font-size: 15px; color: var(--faint); }

/* the call panel (static fallback; the live widget sits in the same slot) */
.callpanel { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 1px 2px rgba(26,29,33,.04), 0 12px 32px -12px rgba(26,29,33,.12); overflow: hidden; }
.cp-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cp-av { width: 44px; height: 44px; border-radius: 50%; background: #DDE2E7; display: grid; place-items: center; font-weight: 600; color: #3B434D; flex: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }
.cp-head b { display: block; font-weight: 600; }
.cp-head > div > span { display: block; color: var(--slate); font-size: 15px; margin-top: 2px; }
.cp-head b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent-ink); background: var(--accent-wash); border: 1px solid var(--accent-line); border-radius: 12px; padding: 2px 10px; white-space: nowrap; }
.cp-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cp-lines { list-style: none; padding: 8px 24px; }
.cp-lines li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
.cp-lines li + li { border-top: 1px solid var(--line); }
.cp-lines .who { font-size: 14px; color: var(--slate); font-weight: 500; padding-top: 3px; }
.cp-lines .say { font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.cp-foot { padding: 20px 24px 24px; background: var(--tint); border-top: 1px solid var(--line); }
.cp-foot p { font-size: 15px; color: var(--slate); margin-bottom: 14px; }

/* ---------- product frames ---------- */
.frame { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 1px 2px rgba(26,29,33,.04), 0 24px 48px -24px rgba(26,29,33,.18); }
.frame-bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--tint); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame-bar span { margin-left: 10px; font-size: 12px; color: var(--faint); }
.frame img { width: 100%; }
figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* sample scorecard with callouts */
.sample { display: flex; flex-direction: column; gap: 48px; }
.callouts { list-style: none; counter-reset: c; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.callouts li { counter-increment: c; display: grid; align-content: start; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; }
.callouts li::before { content: counter(c); grid-row: 1 / 3; width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--accent-line); background: var(--accent-wash); color: var(--accent-ink); font-size: 13px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.callouts p { color: var(--slate); font-size: 16px; margin: 0; }

/* three-step loop */
.steps3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.steps3 li { padding: 28px 32px 0 0; }
.steps3 li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps3 .n { display: block; font-size: 15px; color: var(--accent); font-weight: 600; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps3 h3 { margin-bottom: 10px; font-size: 21px; }
.steps3 p { color: var(--slate); font-size: 16px; }

/* who it's for */
.teams4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.teams4 > div { padding: 28px 26px 30px; }
.teams4 > div + div { border-left: 1px solid var(--line); }
.teams4 h3 { font-size: 18px; margin-bottom: 10px; }
.teams4 p { font-size: 16px; color: var(--slate); }
.teams4 .goal { display: block; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.teams4 .goal b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }

/* two-column text rows */
.rows { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 80px; align-items: start; }
.rows h2 { max-width: 12em; }
.rows .body > p { font-size: 18px; color: var(--slate); }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; }
.facts li b { font-weight: 600; }
.facts li span { color: var(--slate); }

/* phone systems */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phones > div { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--paper); }
.phones .st { display: inline-block; font-size: 13px; font-weight: 500; padding: 1px 9px; border-radius: 11px; border: 1px solid var(--line); color: var(--slate); background: var(--tint); margin-bottom: 14px; }
.phones .st.ok { color: var(--accent-ink); background: var(--accent-wash); border-color: var(--accent-line); }
.phones h3 { font-size: 18px; margin-bottom: 6px; }
.phones p { font-size: 15px; color: var(--slate); }

/* setup steps */
.setup { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.setup li { counter-increment: s; border-top: 2px solid var(--accent); padding-top: 18px; }
.setup li::before { content: "Step " counter(s); display: block; font-size: 14px; color: var(--accent-ink); font-weight: 600; margin-bottom: 8px; }
.setup h3 { font-size: 18px; margin-bottom: 8px; }
.setup p { font-size: 15px; color: var(--slate); margin-bottom: 10px; }
.setup .time { font-size: 14px; color: var(--ink); font-weight: 500; }
.note { margin-top: 40px; padding: 18px 22px; border-left: 2px solid var(--accent); background: var(--tint); font-size: 16px; color: var(--slate); border-radius: 0 6px 6px 0; max-width: 760px; }
.note b { color: var(--ink); font-weight: 600; }

/* security summary */
.sec4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sec4 > div { padding: 24px 32px 24px 0; border-bottom: 1px solid var(--line); }
.sec4 > div:nth-child(even) { padding: 24px 0 24px 32px; border-left: 1px solid var(--line); }
.sec4 h3 { font-size: 17px; margin-bottom: 6px; }
.sec4 p { font-size: 16px; color: var(--slate); }

/* packages */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; padding: 30px 28px 28px; background: var(--paper); }
.pkg.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pkg .tag { position: absolute; top: -12px; left: 27px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; padding: 2px 10px; border-radius: 11px; }
.pkg h3 { font-size: 21px; }
.pkg .for { color: var(--slate); font-size: 16px; margin: 6px 0 22px; min-height: 3.2em; }
.pkg .unit { font-size: 24px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pkg .unit small { display: block; font-size: 14px; color: var(--slate); font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.pkg ul { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pkg li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; }
.pkg li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pkg .btn { width: 100%; }
.pkgs.compact .pkg { padding: 26px 24px 24px; }
.pkgs.compact .pkg .for { min-height: 0; margin-bottom: 18px; }
.pkg-pilot { margin-top: 28px; color: var(--slate); font-size: 16px; }
.pkgs.compact .pkg .unit { font-size: 20px; padding: 14px 0 0; border-bottom: 0; }

/* pilot band */
.pilot { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 30px 32px; background: var(--tint); }
.pilot h3 { font-size: 21px; margin-bottom: 6px; }
.pilot p { color: var(--slate); margin: 0; }
.pilot .lim { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; font-size: 15px; }
.pilot .lim span b { font-weight: 600; color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 9px; height: 9px; border-right: 1.8px solid var(--slate); border-bottom: 1.8px solid var(--slate); transform: rotate(45deg); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq summary:hover { color: var(--accent-ink); }
.faq .a { padding: 0 40px 24px 0; color: var(--slate); max-width: 720px; }

/* closing CTA */
.close { padding: 120px 0; text-align: center; border-top: 1px solid var(--line); background: var(--tint); }
.close h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.03em; }
.close p { color: var(--slate); font-size: 19px; margin: 18px auto 34px; max-width: 32em; }
.close .ctas { justify-content: center; }

/* ---------- inner pages ---------- */
.page-h { padding: 96px 0 64px; }
.page-h h1 { font-size: clamp(38px, 4.6vw, 56px); max-width: 14em; }
.page-h .lede { margin-top: 20px; }
.feature + .feature { margin-top: 120px; padding-top: 72px; border-top: 1px solid var(--line); }
.feature .txt { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 80px; margin-bottom: 44px; }
.feature .txt h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.feature .txt p { color: var(--slate); font-size: 18px; max-width: 34em; }
.feature .pts { list-style: none; border-top: 1px solid var(--line); align-self: end; }
.feature .pts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; letter-spacing: -.015em; margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3D444D; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.draft { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 12px; border-radius: 6px; background: #FDF4E6; border: 1px solid #F5D3A1; color: #8A4A06; font-size: 15px; font-weight: 500; }
.legal-meta { color: var(--faint); font-size: 15px; margin-top: 12px; }
.secpage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.toc { position: sticky; top: 104px; align-self: start; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--slate); text-decoration: none; font-size: 15px; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.dl { border-top: 1px solid var(--line); margin: 8px 0 24px; }
.dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 600; color: var(--ink); }
.dl dd { margin: 0; color: #3D444D; }
.buy { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: b; }
.buy li { counter-increment: b; border-top: 2px solid var(--accent); padding-top: 18px; }
.buy li::before { content: counter(b); display: block; font-size: 15px; font-weight: 600; color: var(--accent-ink); margin-bottom: 6px; }
.buy h3 { font-size: 18px; margin-bottom: 6px; }
.buy p { color: var(--slate); font-size: 16px; }
.affects { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.affects li { padding: 16px 24px 16px 0; border-bottom: 1px solid var(--line); }
.affects li b { display: block; font-weight: 600; }
.affects li span { color: var(--slate); font-size: 16px; }
.nf { padding: 140px 0 160px; }
.nf .lede { margin: 20px 0 32px; }

/* ---------- forms: sign-up, consult, log in, invite ---------- */
.formpage { padding: 72px 0 112px; background: linear-gradient(var(--tint), var(--paper) 420px); border-bottom: 1px solid var(--line); }
.formpage > .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; align-items: start; }
.formpage h1 { font-size: clamp(34px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.028em; }
.formpage .lede { font-size: 18px; margin: 14px 0 28px; text-wrap: pretty; }
.fp-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 32px; box-shadow: 0 1px 2px rgba(26,29,33,.04), 0 16px 40px -20px rgba(26,29,33,.16); }
.fp-alt { margin-top: 20px; font-size: 15px; color: var(--slate); }
.fp-fine { margin: 14px 0 0; font-size: 14px; color: var(--faint); }
.fp-fine a { color: inherit; }
.fp-sub { color: var(--slate); margin: 8px 0 24px; }

.fp-side { padding-top: 112px; }
.fp-side h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-bottom: 14px; }
.fp-side h2 ~ h2 { margin-top: 40px; }
.fp-list { list-style: none; border-top: 1px solid var(--line); }
.fp-list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.fp-list li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fp-list b { display: block; font-weight: 600; font-size: 16px; }
.fp-list span { display: block; color: var(--slate); font-size: 15px; margin-top: 2px; }
.fp-steps { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 14px; }
.fp-steps li { counter-increment: n; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--slate); }
.fp-steps li::before { content: counter(n); width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--accent-line); background: var(--accent-wash); color: var(--accent-ink); font-size: 13px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.fp-note { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.fp-list + .fp-note { margin-top: 20px; padding-top: 0; border-top: 0; }

/* single centred card: log in, invite, thanks */
.formpage.solo { padding: 96px 0 128px; }
.formpage.solo > .wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.solo .fp-alt { margin-top: 24px; }
.formpage.solo h1 { font-size: 30px; letter-spacing: -.02em; }
.fp-narrow { width: 100%; max-width: 420px; }
.fp-done { width: 100%; max-width: 560px; text-align: center; padding: 44px 40px; }
.fp-done .fp-sub { margin-bottom: 28px; }
.fp-done .ctas { justify-content: center; }
.fp-tick { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-wash); border: 1px solid var(--accent-line); margin-bottom: 20px; }
.fp-tick svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.site-form label { display: block; margin: 0 0 18px; font-size: 15px; font-weight: 500; color: var(--ink); }
.site-form .hint, .site-form .opt { font-weight: 400; color: var(--faint); font-size: 14px; }
.site-form .hint::before, .site-form .opt::before { content: "\00B7"; margin: 0 6px 0 2px; }
.site-form input, .site-form select, .site-form textarea {
  display: block; width: 100%; margin-top: 7px; height: 44px; padding: 0 13px;
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 7px; transition: border-color .12s, box-shadow .12s;
}
.site-form textarea { height: auto; min-height: 112px; padding: 11px 13px; resize: vertical; }
.site-form select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235E6672' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px;
}
.site-form input:hover, .site-form select:hover, .site-form textarea:hover { border-color: #BCC3CB; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.site-form input:user-invalid, .site-form select:user-invalid, .site-form textarea:user-invalid { border-color: var(--red); }
.site-form input:user-invalid:focus, .site-form select:user-invalid:focus { box-shadow: 0 0 0 3px var(--red-wash); }
.site-form .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.site-form .pair label { display: flex; flex-direction: column; justify-content: space-between; }
.site-form .btn { margin-top: 6px; height: 46px; }
.form-error { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 11px 14px; border-radius: 7px; background: var(--red-wash); border: 1px solid var(--red-line); color: var(--red); font-size: 15px; line-height: 1.45; }
.form-error::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- live demo call (hero) ---------- */
/* the widget grows after a call; keep the hero text still instead of re-centring it */
.hero .wrap:has(.demo-call) { align-items: start; }
.hero .wrap:has(.demo-call) > div:first-child { padding-top: 48px; }
.demo-call { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 1px 2px rgba(26,29,33,.04), 0 12px 32px -12px rgba(26,29,33,.12); padding: 22px; font-size: 15px; line-height: 1.5; }
.demo-call .dc-head { margin-bottom: 16px; }
.demo-call .dc-title { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.demo-call .dc-sub { margin: 3px 0 0; color: var(--slate); font-size: 14px; }
.demo-call .muted { color: var(--slate); }

.demo-call .demo-callers { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; display: grid; gap: 6px; }
.demo-call .demo-callers legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--slate); }
.demo-call .demo-caller { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: border-color .12s, background-color .12s; }
.demo-call .demo-caller:hover { border-color: var(--line-2); background: var(--tint); }
.demo-call .demo-caller input { position: absolute; opacity: 0; pointer-events: none; }
.demo-call .demo-caller::after { content: ""; grid-column: 3; grid-row: 1; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); box-sizing: border-box; }
.demo-call .demo-caller:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 0 1px var(--accent) inset; }
.demo-call .demo-caller:has(input:checked)::after { border: 5px solid var(--accent); }
.demo-call .demo-caller:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.demo-call .demo-caller:has(input:disabled) { cursor: default; }
.demo-call .demo-caller:has(input:disabled):hover { background: transparent; border-color: var(--line); }
.demo-call .dc-av { grid-column: 1; grid-row: 1; width: 34px; height: 34px; border-radius: 50%; background: #E4E8EC; color: #3B434D; font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.demo-call .demo-caller:has(input:checked) .dc-av { background: var(--paper); color: var(--accent-ink); }
.demo-call .dc-who { grid-column: 2; grid-row: 1; min-width: 0; display: block; }
.demo-call .demo-caller-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.demo-call .demo-caller-card { display: block; color: var(--slate); font-size: 13.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* during a call only the chosen caller stays in view */
.demo-call[data-state="connecting"] .demo-caller:not(:has(input:checked)),
.demo-call[data-state="live"] .demo-caller:not(:has(input:checked)) { display: none; }
.demo-call[data-state="connecting"] .demo-callers legend,
.demo-call[data-state="live"] .demo-callers legend { display: none; }
.demo-call[data-state="connecting"] .demo-caller::after,
.demo-call[data-state="live"] .demo-caller::after { display: none; }

.demo-call .console { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.demo-call[data-state="live"] .console { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-wash); }
.demo-call .console-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.demo-call .pc-timer { font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.demo-call[data-state="ready"] .pc-timer { color: #A3AAB3; }
.demo-call #demo-limit { flex: 1; min-width: 0; font-size: 13px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-call .pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 13px; font-weight: 500; color: var(--slate); background: var(--tint); border: 1px solid var(--line); white-space: nowrap; }
.demo-call .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #A3AAB3; }
.demo-call[data-state="connecting"] .pill { color: #8A4A06; background: #FDF4E6; border-color: #F5D3A1; }
.demo-call[data-state="connecting"] .pill::before { background: #D98A1C; }
.demo-call .pill.ok { color: var(--accent-ink); background: var(--accent-wash); border-color: var(--accent-line); }
.demo-call .pill.ok::before { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .demo-call[data-state="connecting"] .pill::before, .demo-call .pill.ok::before { animation: dc-pulse 1.4s ease-in-out infinite; }
  .demo-call .lane.metered .level span { transition: height 60ms linear; }
}
@keyframes dc-pulse { 50% { opacity: .3; } }

.demo-call .lanes { padding: 2px 16px; }
.demo-call .lane { display: grid; grid-template-columns: 112px minmax(0, 1fr) 68px; align-items: center; gap: 12px; padding: 9px 0; }
.demo-call .lane + .lane { border-top: 1px solid var(--line); }
.demo-call .lane .nm { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-call .lane .st { color: var(--faint); font-size: 12.5px; text-align: right; white-space: nowrap; }
.demo-call .lane.talk .nm, .demo-call .lane.talk .st { color: var(--accent-ink); }
.demo-call[data-state="live"] .lane:not(.talk) .st { color: var(--slate); }
.demo-call .level { display: flex; align-items: center; justify-content: flex-end; gap: 3px; height: 22px; overflow: hidden; }
.demo-call .level span { flex: none; width: 3px; height: 3px; border-radius: 2px; background: var(--line-2); }
.demo-call .lane.metered .level span { background: #C2C9D1; }
.demo-call .lane.talk .level span { background: var(--accent); }
.demo-call .lane.talk:not(.metered) .level span:nth-child(4n+1) { height: 8px; }
.demo-call .lane.talk:not(.metered) .level span:nth-child(4n+2) { height: 14px; }
.demo-call .lane.talk:not(.metered) .level span:nth-child(4n+3) { height: 18px; }
.demo-call .lane.talk:not(.metered) .level span:nth-child(4n) { height: 11px; }

.demo-call .pc-status { margin: 0; padding: 0 16px 10px; font-size: 14px; color: var(--slate); }
.demo-call .pc-status:empty { display: none; }
.demo-call .console-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--tint); }
.demo-call .btn.lg { height: 42px; padding: 0 20px; font-size: 15px; }
.demo-call .btn.end { color: var(--red); border-color: var(--red-line); background: var(--paper); }
.demo-call .btn.end:hover { background: var(--red-wash); }
.demo-call .btn[hidden] { display: none; }

.demo-call .error { margin: 12px 0 0; padding: 10px 13px; border-radius: 7px; background: var(--red-wash); border: 1px solid var(--red-line); color: var(--red); font-size: 14px; }
.demo-call .error[hidden], .demo-call .demo-after[hidden] { display: none; }
.demo-call .demo-after { margin-top: 12px; padding: 16px 18px; border-radius: 10px; border: 1px solid var(--accent-line); background: var(--accent-wash); }
.demo-call .demo-after h3 { font-size: 16px; margin-bottom: 4px; }
.demo-call .demo-after p { font-size: 14px; color: #3D444D; margin-bottom: 12px; }
.demo-call .demo-after .dc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.demo-call .demo-after .btn { height: 38px; padding: 0 16px; font-size: 15px; }
.demo-call[data-state="ended"] .pc-timer { color: var(--slate); }
@media (max-width: 960px) {
  .formpage { padding: 48px 0 80px; }
  .formpage > .wrap { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .fp-side { padding-top: 0; }
  .hero .wrap:has(.demo-call) > div:first-child { padding-top: 0; }
  .formpage.solo { padding: 64px 0 96px; }
}
@media (max-width: 720px) {
  .formpage { padding: 36px 0 64px; }
  .formpage .lede { font-size: 17px; margin-bottom: 22px; }
  .fp-card { padding: 22px 18px; border-radius: 10px; }
  .fp-done { padding: 32px 20px; }
  .fp-done .ctas .btn { flex: 1 1 100%; }
  .site-form .pair { grid-template-columns: minmax(0, 1fr); }
  .demo-call { padding: 16px; }
  .demo-call .console-top { padding: 10px 12px; gap: 10px; }
  .demo-call .pc-timer { font-size: 22px; }
  .demo-call .lanes { padding: 2px 12px; }
  .demo-call .lane { grid-template-columns: minmax(0, 1fr) 72px 72px; gap: 10px; }
  .demo-call .demo-caller-card { white-space: normal; }
  .demo-call .console-top { flex-wrap: wrap; row-gap: 2px; }
  .demo-call .pill { margin-left: auto; }
  .demo-call #demo-limit { order: 3; flex-basis: 100%; }
  .demo-call .pc-status { padding: 0 12px 10px; }
  .demo-call .console-foot { padding: 12px; }
  .demo-call .console-foot .btn { flex: 1 1 100%; }
}

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; line-height: 1.4; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--slate); text-decoration: none; }
.foot a.logo { color: var(--ink); }
.foot a:hover { color: var(--ink); }
.foot .about p { color: var(--slate); max-width: 22em; margin-top: 14px; }
.foot .base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .top .wrap { gap: 24px; }
  .teams4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams4 > div:nth-child(3) { border-left: 0; }
  .teams4 > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 960px) {
  :root { --sec: 88px; }
  .menu-btn { display: inline-flex; }
  .nav, .acts { display: none; }
  .top .wrap { flex-wrap: wrap; height: auto; min-height: 64px; gap: 0; }
  .top .logo { height: 64px; }
  .top.open .acts a.plain { color: var(--ink); }
  .top.open .wrap { padding-bottom: 20px; }
  .top.open .nav, .top.open .acts { display: flex; flex-direction: column; width: 100%; }
  .top.open .nav { gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
  .top.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--ink); }
  .top.open .acts { margin: 16px 0 0; gap: 10px; align-items: stretch; }
  .top.open .acts a.plain { padding: 8px 0 12px; margin: 0; font-size: 17px; }
  .top.open .acts .btn { height: 46px; }
  .hero { padding: 56px 0 80px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sample { gap: 36px; }
  .callouts { gap: 24px; }
  .rows, .secpage, .sec-h.split { grid-template-columns: minmax(0, 1fr); }
  .feature .txt { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc { display: none; }
  .pkgs { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pkg .for { min-height: 0; }
  .foot .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gut: 20px; --sec: 72px; }
  body { font-size: 16px; }
  .lede { font-size: 18px; }
  .sec-h { margin-bottom: 40px; }
  .sec-h p { font-size: 17px; }
  .page-h { padding: 64px 0 40px; }
  .steps3, .callouts, .phones, .buy { grid-template-columns: minmax(0, 1fr); }
  .callouts { gap: 24px; }
  .steps3 li, .steps3 li + li { padding: 24px 0 28px; border-left: 0; }
  .steps3 li + li { border-top: 1px solid var(--line); }
  .teams4 { grid-template-columns: minmax(0, 1fr); }
  .teams4 > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .setup { grid-template-columns: minmax(0, 1fr); }
  .sec4 { grid-template-columns: minmax(0, 1fr); }
  .sec4 > div, .sec4 > div:nth-child(even) { padding: 20px 0; border-left: 0; }
  .facts li, .dl > div { grid-template-columns: minmax(0, 1fr); }
  .affects { grid-template-columns: minmax(0, 1fr); }
  .pilot { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
  .pilot .btn { width: 100%; }
  .cp-head { padding: 16px 18px; }
  .cp-lines { padding: 4px 18px; }
  .cp-lines li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cp-foot { padding: 18px; }
  .cp-foot .btn { flex: 1 1 auto; }
  .ctas .btn { flex: 1 1 auto; }
  .close { padding: 88px 0; }
  .faq summary { font-size: 17px; }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame-bar span { display: none; }
}
