* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--scene), var(--bg); background-attachment: fixed;
  color: var(--text); font: 400 17px/1.6 var(--ui);
}
a { color: var(--primary); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { font-family: var(--brand, var(--ui)); display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.top nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.top nav a:not(.btn) { color: var(--text-2); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 20px; border-radius: 999px; font: 500 15px/1 var(--ui); text-decoration: none;
  border: 1px solid var(--border); color: var(--text); background: var(--glass); }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--primary); border-color: transparent; color: var(--on-primary); }
.btn.primary:hover { filter: brightness(1.06); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 56px 0 80px; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 18px; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; margin: 0 0 20px; text-wrap: balance; }
.lede { font-size: 19px; color: var(--text-2); margin: 0 0 32px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.demo { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 20px;
  box-shadow: var(--pop); }
.demo-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--primary-soft); color: var(--selected-text); font: 600 14px/1 var(--ui); }
.demo-head b { display: block; font-weight: 600; font-size: 15px; }
.demo-head span { font: 400 12px/1.3 var(--mono); color: var(--text-2); }
.bubbles { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.4; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; }
.bubble.in { align-self: flex-start; background: var(--bubble-in); color: var(--bubble-in-text); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 6px; }
.note { align-self: stretch; background: var(--note-bg); color: var(--note-text); border-radius: 12px; padding: 8px 12px; font-size: 13px; }
.meta { align-self: flex-end; font: 400 12px/1 var(--mono); color: var(--text-2); }

section { padding: 72px 0; border-top: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; margin: 0 0 12px; text-wrap: balance; }
.sub { color: var(--text-2); margin: 0 0 40px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.play-badge { display: inline-block; margin: 14px 0 0 -8px; line-height: 0; border-radius: 8px; }
.play-badge img { height: 64px; width: auto; display: block; }
.play-badge.small { margin-top: 14px; }
.play-badge.small img { height: 54px; }
.works-on { margin: 22px 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.board { display: grid; gap: 10px; }
.board-band { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-top: 6px; }
.board-rows { display: grid; gap: 8px; }
.board-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--glass); }
.board-row.ringing { background: var(--note-bg); }
.board-row .who { flex: 1; min-width: 0; font-size: 14px; }
.board-row .who b { display: block; font-weight: 600; }
.board-row .who span { font: 400 12px/1.3 var(--mono); color: var(--text-2); }
.board-row.ringing .who span { color: var(--note-text); }
.board-row .pill { font: 600 12px/1 var(--ui); padding: 8px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); }
.board-row .lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--missed); box-shadow: 0 0 0 4px color-mix(in srgb, var(--missed) 20%, transparent); }
.board-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { padding: 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--border); font-size: 14px; }
.tile b { display: block; font-weight: 600; }
.tile span { font: 400 12px/1.4 var(--mono); color: var(--text-2); }
.tile.on { background: var(--primary-soft); border-color: transparent; }
.tile.on span { color: var(--selected-text); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.card h3 { font-size: 18px; font-weight: 600; margin: 14px 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); }
.icon svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-2); font-size: 16px; }
.list li::before { content: ""; width: 8px; height: 8px; margin: 9px 0 0 6px; border-radius: 50%; background: var(--primary); }
.list b { color: var(--text); font-weight: 600; }
h3.minor { font-size: 22px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; margin: 0 0 10px; text-wrap: balance; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; justify-content: center; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 32px; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--pop); }
.plan h3 { font-size: 24px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.plan-for { margin: 4px 0 20px; color: var(--text-2); font-size: 15px; }
.price { margin: 0 0 24px; display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-size: 44px; font-weight: 600; letter-spacing: -.02em; }
.price .per { color: var(--text-2); font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.checks li b { color: var(--text); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 14px; height: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.badge-pill { position: absolute; top: -13px; left: 32px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font: 600 12px/1 var(--ui); }
.fineprint { margin: 24px auto 0; max-width: 46em; text-align: center; color: var(--text-2); font-size: 13px; }
.cta { text-align: center; padding: 88px 0; }
.cta .sub { margin-inline: auto; }
.cta .actions { justify-content: center; }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--text-2); }

.doc { max-width: 720px; padding: 32px 0 72px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .updated { font: 400 13px/1 var(--mono); color: var(--text-2); margin: 0 0 32px; }

/* Developer documentation (developers/): the privacy page's column, a
   little wider for tables and examples, with headings that can be linked
   to, code in the mono face that wraps rather than scroll, and tables
   that become cards in a narrow box rather than break the page. */
.doc.wide { max-width: 860px; }
.doc .lede { font-size: 18px; color: var(--text-2); margin: 0 0 28px; max-width: none; }
.doc h2 { scroll-margin-top: 24px; }
.doc h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; letter-spacing: -.01em; scroll-margin-top: 24px; }
.doc code, .doc pre { font-family: var(--mono); font-size: 14px; }
.doc code { padding: 1px 5px; border-radius: 6px; background: var(--glass); color: var(--text); overflow-wrap: anywhere; }
.doc pre { margin: 12px 0 20px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); line-height: 1.5; tab-size: 2;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.doc pre code { padding: 0; background: none; font-size: 13.5px; }
.doc .toc { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.doc .toc li { margin: 0; }
.doc .toc a { text-decoration: none; }
.doc .toc a:hover { text-decoration: underline; }
.doc .table { margin: 12px 0 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--card);
  container: doc-table / inline-size; overflow-x: auto; scrollbar-width: none; }
.doc .table::-webkit-scrollbar { display: none; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.45; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { font-weight: 600; color: var(--text); background: var(--glass); white-space: nowrap; }
.doc td { color: var(--text-2); }
.doc tr:last-child td { border-bottom: 0; }
.doc td code, .doc th code { white-space: nowrap; }
/* A table in a box too narrow for its columns becomes a list of cards,
   one a row: the row's first cell as its title, the rest under it, each
   with its column's name (data-label) above it. Decided by the box's own
   width, so nothing in the docs scrolls sideways. */
@container doc-table (max-width: 600px) {
  .doc .table table, .doc .table tbody, .doc .table tr, .doc .table th, .doc .table td { display: block; width: 100%; }
  .doc .table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .doc .table tr { padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .doc .table tr:last-child { border-bottom: 0; }
  .doc .table th, .doc .table td { padding: 0; border: 0; background: none; white-space: normal; }
  .doc .table tr > :first-child { color: var(--text); font-weight: 600; margin-bottom: 4px; }
  .doc .table tr > :not(:first-child) { margin-top: 6px; }
  .doc .table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block;
    font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 2px; }
  .doc .table td code, .doc .table th code { white-space: normal; }
}
.doc .callout { margin: 16px 0; padding: 12px 16px; border-radius: 14px; background: var(--note-bg); color: var(--note-text); font-size: 15px; }
.doc .callout p { margin: 0; color: inherit; }
.doc .callout strong { color: inherit; }
.doc dl { margin: 0 0 16px; }
.doc dt { font-weight: 600; color: var(--text); margin-top: 10px; }
.doc dd { margin: 2px 0 0; color: var(--text-2); }
.doc .steps { counter-reset: step; list-style: none; padding: 0; }
.doc .steps li { position: relative; padding-left: 40px; margin: 10px 0; }
.doc .steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--selected-text); font: 600 13px/1 var(--ui); }

@media (max-width: 1040px) and (min-width: 861px) {
  .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 24px; }
  .grid, .grid.four, .plans { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .top nav a.hide-sm { display: none; }
  .actions .btn { flex: 1 1 auto; }
}
.doc img.shot { display: block; max-width: 100%; height: auto; margin: 12px 0 8px;
  border-radius: 12px; border: 1px solid var(--line, rgba(127,127,127,.3)); }
.doc blockquote { margin: 12px 0; padding: 12px 16px; border-left: 3px solid var(--accent, #1f8a5b);
  background: rgba(127,127,127,.08); border-radius: 8px; }

/* Code blocks on the developer pages: a Copy button in the corner
   (copy.js adds it; without script the code is plain text to select),
   and a small label naming the language above a block that has one. */
.doc pre { position: relative; }
.doc pre.has-copy { padding-right: 56px; }
.doc .copy { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 12px; cursor: pointer;
  background: transparent; color: var(--text-2); transition: background-color .15s, color .15s; }
.doc .copy:hover { background: var(--hover); color: var(--text); }
.doc .copy:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.doc .copy.done { color: var(--primary); }
.doc .copy svg { width: 20px; height: 20px; fill: currentColor; }
.doc .code-label { margin: 16px 0 -6px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-2); }
.doc .eyebrow a { color: inherit; text-decoration: none; }
.doc .eyebrow a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The developers index: one card a guide. */
.doc .guides { list-style: none; padding: 0; margin: 16px 0 8px; display: grid; gap: 12px; }
.doc .guides li { margin: 0; }
.doc .guides a { display: block; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--card); text-decoration: none; color: var(--text); transition: border-color .15s; }
.doc .guides a:hover { border-color: var(--primary); }
.doc .guides b { display: block; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.doc .guides span { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; }
/* The Messaging API page's tables hold long URLs and paths: their code
   wraps rather than run past the box. */
.doc .table.urls td code { white-space: normal; }
.doc .table.urls td:first-child code { white-space: nowrap; overflow-wrap: normal; }

/* The opt-in form at the top of /sms: a code texted, entered here (optin.js). */
.doc .optin-form { margin: 0 0 32px; padding: 20px; border: 1px solid var(--border); border-radius: 18px;
  background: var(--card); min-width: 0; }
.doc .optin-form h2 { margin: 0 0 14px; }
.doc .optin-form .field { display: grid; gap: 6px; margin: 0 0 6px; }
.doc .optin-form .field span { font-weight: 500; font-size: 14px; color: var(--text); }
.doc .optin-form input[type=tel] { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: 400 16px var(--ui); width: 100%; }
.doc .optin-form .check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0;
  cursor: pointer; color: var(--text); font-size: 15px; line-height: 1.45; }
.doc .optin-form .check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--primary); cursor: pointer; }
.doc .optin-form .check span { min-width: 0; overflow-wrap: anywhere; }
.doc .optin-form input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.doc .optin-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.doc .optin-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.doc .optin-note { font-size: 14px; margin: 4px 0 14px; }
.doc .optin-note a { display: inline-flex; align-items: center; min-height: 44px; }
.doc .optin-form .btn { width: 100%; }
.doc .optin-form > .optin-note:last-child { margin-bottom: 0; }
/* Its code step and its answers (optin.js). */
.doc .optin-form input[type=text] { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: 500 18px var(--mono); letter-spacing: .2em; width: 100%; }
.doc .optin-form #sms-optin-code .btn + .btn { margin-top: 10px; }
.doc .optin-form .btn:disabled { opacity: .6; cursor: default; }
.doc .optin-done, .doc .optin-error { margin: 4px 0 14px; padding: 12px 16px; border-radius: 12px; font-size: 15px; color: var(--text); }
.doc .optin-done { background: var(--primary-soft); color: var(--selected-text); }
.doc .optin-error { background: rgba(127,127,127,.08); border-left: 3px solid var(--missed, #d64545); }
.doc .optin-form [hidden] { display: none; }

/* ---------- The homepage (body.home) ----------
   Everything below is scoped to .home, so the document pages that share
   this stylesheet (privacy, terms, /sms, developers) are untouched. */
.home { --home-wide: 1160px; }
.home .wrap { width: min(var(--home-wide), 100% - 32px); }
.home .wrap.narrow { width: min(760px, 100% - 32px); }
.home main { overflow-x: clip; }
.home section { padding: 96px 0; scroll-margin-top: 72px; }

/* The header stays in reach, frosted over the page. */
.home .masthead { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--border); background: var(--bg); }
.home .masthead .top { padding: 14px 0; }
.home .top nav { gap: 22px; }
.home .top nav .btn { min-height: 40px; padding: 0 18px; }
.home .link-signin { color: var(--text) !important; font-weight: 500; }

.home .btn.big { min-height: 50px; padding: 0 26px; font-size: 16px; }

/* Hero: copy on the left, the product on the right. */
.home .hero { grid-template-columns: 1fr 1.05fr; gap: 64px; padding: 64px 0 56px; }
.home h1 { font-size: clamp(40px, 6vw, 66px); }
.home .hero .lede { font-size: 20px; max-width: 30em; }
.home .stores { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 22px; }
.home .stores .play-badge { margin: 0 0 0 -8px; }
.home .stores .play-badge img { height: 60px; }
.home .store-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px;
  border-radius: 8px; border: 1px solid #a6a6a6; background: #000; color: #fff; text-decoration: none; }
.home .store-btn svg { width: 22px; height: 22px; flex: none; }
.home .store-btn span { display: grid; font: 600 16px/1.05 var(--ui); }
.home .store-btn small { font: 500 10px/1.2 var(--ui); letter-spacing: .02em; opacity: .85; }
.home .store-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.home .stage { position: relative; padding: 0 0 48px 0; }
.home .window { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: var(--pop); }
.home .window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: var(--glass); }
.home .window-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.home .window-bar b { margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: var(--glass);
  font: 500 12px/1.4 var(--mono); color: var(--text-2); }
.home .window-body { display: grid; grid-template-columns: 200px 1fr; min-height: 360px; }
.home .threads { border-right: 1px solid var(--border); padding: 12px 10px; display: grid; align-content: start; gap: 4px; }
.home .chips { display: flex; gap: 6px; margin: 0 4px 8px; }
.home .chip { font: 500 11px/1 var(--ui); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); }
.home .chip.on { background: var(--primary-soft); border-color: transparent; color: var(--selected-text); }
.home .thread { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-size: 13px; min-width: 0; }
.home .thread.on { background: var(--glass); }
.home .thread .avatar { width: 30px; height: 30px; font-size: 11px; }
.home .thread > span:nth-child(2) { min-width: 0; flex: 1; }
.home .thread b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .thread i { display: block; font-style: normal; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .thread em { font: 600 11px/1 var(--ui); font-style: normal; min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.home .convo { padding: 16px 18px 84px; }

/* The ringing call, laid over the window's corner. */
.home .callcard { position: absolute; left: -28px; bottom: 0; width: min(330px, 86%); display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--pop); }
.home .callcard > div { flex: 1; min-width: 0; display: grid; font-size: 14px; }
.home .callcard small { font: 500 11px/1.4 var(--mono); color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.home .callcard b { font-weight: 600; }
.home .callcard span:not(.avatar):not(.ring):not(.round) { font: 400 12px/1.3 var(--mono); color: var(--text-2); }
.home .ring { position: relative; display: grid; }
.home .ring::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--primary); }
.home .round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.home .round svg { width: 20px; height: 20px; }
.home .round.answer { background: #22a06b; }
.home .round.decline { background: #e5484d; }

/* Four short promises under the hero. */
.home .pillars { list-style: none; margin: 0 0 8px; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; border-top: 1px solid var(--border); }
.home .pillars li { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--border); }
.home .pillars b { font-weight: 600; font-size: 16px; }
.home .pillars span { color: var(--text-2); font-size: 14px; line-height: 1.45; }

.home .section-head { margin-bottom: 40px; }
.home .section-head .sub { margin-bottom: 0; }
.home .section-head.center { text-align: center; }
.home .section-head.center .sub { margin-inline: auto; }
.home .split { gap: 64px; align-items: center; }
.home .split .sub { margin-bottom: 28px; }
.home .split .actions { margin-top: 4px; }

/* Cards lift a little under the pointer. */
.home .card { transition: border-color .2s; }
.home .card:hover { border-color: var(--text-2); }
.home .grid.three-up { margin-top: 56px; }

/* The call screen, drawn as a phone. */
.home .phone { justify-self: center; width: min(320px, 100%); padding: 12px; border-radius: 44px;
  background: #1c2026; box-shadow: var(--pop); }
.home .phone-screen { position: relative; border-radius: 34px; padding: 18px 18px 26px; min-height: 560px;
  background: #0b0d10; color: #eef3f8; display: grid; align-content: start; gap: 18px; }
.home .waiting { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; font-size: 13px;
  background: rgba(255,255,255,.08); }
.home .waiting .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fd39a; flex: none; }
.home .waiting > span:nth-child(2) { flex: 1; min-width: 0; color: rgba(238,243,248,.75); }
.home .waiting b { color: #eef3f8; font-weight: 600; margin-right: 4px; }
.home .mini { font: 600 12px/1 var(--ui); padding: 7px 11px; border-radius: 999px; background: #3fd39a; color: #06231a; }
.home .incall { display: grid; justify-items: center; gap: 6px; margin: 28px 0 18px; text-align: center; }
.home .avatar.xl { width: 84px; height: 84px; font-size: 28px; margin-bottom: 8px; background: rgba(63,211,154,.18); color: #bff0dd; }
.home .incall b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.home .incall .timer { font: 500 14px/1.3 var(--mono); color: #3fd39a; }
.home .incall .line { font-size: 13px; color: rgba(238,243,248,.6); }
.home .pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; }
.home .pad > span { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: rgba(238,243,248,.75); }
.home .pad i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #eef3f8; }
.home .pad i svg { width: 22px; height: 22px; }
.home .hangup { justify-self: center; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #e5484d; color: #fff; margin-top: 8px; }
.home .hangup svg { width: 28px; height: 28px; }

/* Apps: five across, wrapping as the page narrows. */
.home .apps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.home .app { display: flex; flex-direction: column; }
.home .app p { flex: 1; }
.home .app-link { margin-top: 16px; white-space: nowrap; font-weight: 600; font-size: 15px; text-decoration: none; }
.home .app-link:hover { text-decoration: underline; }

/* Phone system and security, side by side in two panels. */
.home .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home .panel { padding: 36px; border-radius: 24px; background: var(--card); border: 1px solid var(--border); }
.home .panel h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 24px; }

/* Developers: a code sample in a card. */
.home pre.code { margin: 0; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--border); background: #0a0c0f;
  color: #d7e2ee; font: 400 13.5px/1.65 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: var(--pop); }
.home pre.code .c { color: #8b97a5; }

/* Questions, as native disclosure rows. */
.home .faq { display: grid; gap: 10px; }
.home .faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.home .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 18px 22px; min-height: 44px; font-weight: 600; font-size: 17px; }
.home .faq summary::-webkit-details-marker { display: none; }
.home .faq .chev { width: 24px; height: 24px; flex: none; color: var(--primary); transition: transform .2s; }
.home .faq details[open] .chev { transform: rotate(180deg); }
.home .faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 16px; }
.home .faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* The closing call to action, in a lit box. */
.home .cta { padding: 48px 0 96px; border-top: 0; }
.home .cta-box { padding: 64px 32px; border-radius: 32px; border: 1px solid var(--border); background: var(--card); }

@media (max-width: 1100px) {
  .home .apps { grid-template-columns: repeat(3, 1fr); }
  .home .top nav a.hide-md { display: none; }
}
@media (max-width: 860px) {
  .home section { padding: 64px 0; }
  .home .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 28px; }
  .home .split { gap: 48px; }
  .home .pillars { grid-template-columns: 1fr 1fr; }
  .home .duo { grid-template-columns: 1fr; }
  .home .apps { grid-template-columns: 1fr 1fr; }
  .home .callcard { left: 8px; }
  .home #board .demo { order: 2; }
}
@media (max-width: 560px) {
  .home .top nav { gap: 14px; }
  .home .stage { padding-bottom: 40px; }
  .home .callcard { left: 0; right: 0; margin-inline: auto; width: calc(100% - 8px); }
  .home .window-body { grid-template-columns: 1fr; }
  .home .threads { display: none; }
  .home .apps, .home .pillars { grid-template-columns: 1fr; }
  .home .panel { padding: 24px; }
  .home .cta-box { padding: 44px 20px; }
  .home .phone-screen { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home .faq .chev { transition: none; }
  .home .card { transition: none; }
}

/* The accent is for the primary action and links alone (ui-review):
   section labels, bullets and checks are quiet here. A card's title
   leads it, with no icon tile. The checks are the Material "check"
   glyph, drawn as a mask. */
.home .eyebrow { color: var(--text-2); }
.home .card h3 { margin-top: 0; }
.home .list li::before { background: var(--text-2); }
.home .checks li::before { content: ""; left: 0; top: 2px; width: 18px; height: 18px; border: 0; transform: none;
  background: var(--text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat; }
.home .faq .chev { color: var(--text-2); }

.notes-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0 0 28px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--glass); max-width: 100%; }
.notes-tabs [role=tab] { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: none; color: var(--text-2); font: 500 15px/1 var(--ui); transition: background-color .15s, color .15s; }
.notes-tabs [role=tab]:hover { color: var(--text); background: var(--hover); }
.notes-tabs [role=tab][aria-selected=true] { background: var(--primary); color: var(--on-primary); }
.notes-tabs [role=tab]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.notes-tabs [hidden] { display: none; }
.rel { padding: 20px 22px; margin: 0 0 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.rel-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.rel-icon { flex: none; display: grid; place-items: center; color: var(--text-2); }
.rel-icon svg { width: 22px; height: 22px; }
.doc .rel-head h2 { font-size: 18px; margin: 0; letter-spacing: -.01em; }
.rel-head time { margin-left: auto; font: 400 13px/1.3 var(--mono); color: var(--text-2); text-align: right; }
.doc .rel ul { margin: 0; padding-left: 20px; }
.doc .rel li { margin: 5px 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.notes-state { color: var(--text-2); margin: 8px 0 16px; }
.notes-foot { margin: 20px 0 0; }
.notes-foot [hidden] { display: none; }
@media (max-width: 520px) {
  .notes-tabs { display: flex; }
  .notes-tabs [role=tab] { flex: 1 1 auto; padding: 0 12px; }
  .rel { padding: 16px; }
  .rel-head { flex-wrap: wrap; }
  .rel-head time { flex-basis: 100%; margin-left: 32px; text-align: left; margin-top: -8px; }
}
