/* Self-hosted, latin subset, from Google Fonts (SIL Open Font License). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/newsreader-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/newsreader-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* sentracaptions.com, styled as part of the same family as civicca.com: Newsreader headings,
   Inter text, JetBrains Mono labels; navy, civic red, blue and gold. Shared by every page. */
:root {
  --navy: #0a1a33; --navy-2: #0f2346; --navy-3: #162d57; --panel: #1c2433;
  --ink: #0a1a33; --body: #26354f; --muted: #4a5a75; --line: #e2e6ee; --line-2: #cfd6e2;
  --soft: #f4f6fa; --blue: #1b47c2; --blue-2: #163a9f; --blue-50: #eef2fc;
  --red: #b22234; --gold: #f2b632; --gold-2: #e5a619; --green-bg: #e3f3ea; --green: #1d6b3f;
  --focus: #b45309; /* 3:1 or more on white, the soft grey and navy (WCAG 1.4.11) */ --ok: #15803d; --error: #b91c1c; --radius: 12px;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --shadow: 0 1px 2px rgb(10 26 51 / .05), 0 2px 6px rgb(10 26 51 / .04);
  --shadow-lg: 0 40px 80px -30px rgb(10 26 51 / .45), 0 20px 40px -24px rgb(10 26 51 / .3);
  font-family: var(--sans); color: var(--body); background: #fff;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; line-height: 1.6; font-size: 1rem; }
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -.02em; line-height: 1.06; }
h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 1.3rem; line-height: 1.25; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--blue); }
a { color: var(--blue); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .75rem; top: -4rem; background: var(--gold); color: var(--navy); padding: .7rem 1.1rem; border-radius: 6px; z-index: 50; font-weight: 600; }
.skip:focus { top: .75rem; }
.kicker { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; }

/* Header: a thin utility line, then the navy bar */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); }
.utility { border-bottom: 1px solid rgb(255 255 255 / .08); }
.utility .wrap { display: flex; justify-content: flex-end; gap: 1.6rem; padding-top: .35rem; padding-bottom: .35rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #aab6cc; }
.utility .wrap span { display: inline-flex; align-items: center; gap: .45rem; }
.utility .ok { width: .45rem; height: .45rem; border-radius: 50%; background: #34d399; }
.utility a { color: #aab6cc; text-decoration: none; }
.utility a:hover { color: #fff; }
.utility .st-link { display: inline-flex; align-items: center; gap: .45rem; }
.utility .st-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #8a96ab; }
.utility .st-dot[data-s=operational] { background: #34d399; }
.utility .st-dot[data-s=degraded] { background: #fbbf24; }
.utility .st-dot[data-s=outage] { background: #f87171; }
nav { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: .5rem 1rem; flex-wrap: wrap; padding-top: .35rem; padding-bottom: .35rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo img { display: block; }
.logo .name { display: grid; line-height: 1.05; }
.logo .name b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; }
.logo .name small { font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
nav .links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 2rem; align-items: center; }
nav .links a:not(.btn) { color: #e6ebf5; text-decoration: none; font-weight: 500; font-size: .93rem; }
nav .links a:not(.btn):hover { color: #fff; text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; white-space: nowrap; align-items: center; gap: .45rem; padding: .7rem 1.15rem; border-radius: 6px; background: var(--blue); color: #fff !important; border: 1px solid var(--blue); text-decoration: none; font: 600 .95rem var(--sans); cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--navy) !important; }
.btn.gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.outline { background: #fff; color: var(--ink) !important; border-color: var(--line-2); }
.btn.outline:hover { border-color: var(--ink); }
.btn.small { padding: .5rem .95rem; font-size: .88rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Hero */
.hero { padding: 4.5rem 0 0; background: #fff; }
.hero-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); margin: 0; letter-spacing: -.028em; }
.hero .sub { font-size: 1.08rem; color: var(--body); margin: 0 0 1.5rem; }
.ctas { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero .scope { margin: -.6rem 0 1.4rem; font-size: .95rem; color: var(--muted); }
.benefits { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.benefits li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border: 1px solid var(--line-2); border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--ink); background: #fff; }
.benefits li::before { content: ""; width: .9rem; height: .9rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231b47c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat; }

/* The product picture: a dark stage with the chamber TV and a phone */
.stage { position: relative; margin-top: 3.5rem; background: var(--panel); border-radius: 16px; padding: 2.5rem 2.5rem 3.8rem; box-shadow: var(--shadow-lg); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 85% 0%, rgb(27 71 194 / .35), transparent 60%); pointer-events: none; }
.tv { position: relative; background: #0b1426; border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; overflow: hidden; }
.tv { background: #0a1222; }
.tv-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.1rem 1.5rem .9rem; border-bottom: 1px solid #1d2a42; }
.tv-meeting > div { display: flex; align-items: center; gap: .55rem; }
.tv-meeting b { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; color: #4f8cff; letter-spacing: -.01em; }
.tv-badge { font: 700 .55rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #4f8cff; background: rgb(79 140 255 / .14); border: 1px solid rgb(79 140 255 / .45); padding: .15rem .45rem; border-radius: 3px; }
.tv-date { display: block; margin-top: .2rem; font-size: .78rem; color: #8d9ab3; }
.tv-right { display: flex; align-items: center; gap: .7rem; }
.tv-clock { font-weight: 700; font-size: 1.35rem; color: #f5f7fb; font-variant-numeric: tabular-nums; }
.tv-top .live { display: inline-flex; align-items: center; gap: .35rem; background: #e5322d; color: #fff; padding: .25rem .7rem; border-radius: 99px; font: 700 .64rem var(--sans); letter-spacing: .12em; }
.tv-top .live::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: #fff; }
.tv-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 14rem; }
.lane { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
.lane + .lane { border-left: 1px solid #1d2a42; }
.lane .tag { font: 700 .66rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #4f8cff; margin-bottom: .5rem; }
.lane p { margin: 0; color: #fff; font-size: 1.15rem; line-height: 1.4; }
.lane p.prev { color: #8f9bb3; font-size: 1.02rem; margin-bottom: .45rem; }
.lane .history { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); }
.lane p.old { color: #6f7c96; }
/* The example's Pause button also stops the cursor and the live dot (WCAG 2.2.2). */
.stage.paused .caret, .stage.paused .app-live i { animation: none; }
.caret { display: inline-block; width: .5rem; height: 1.05em; vertical-align: -.15em; background: #8ec5ff; margin-left: .15rem; border-radius: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tv-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: .8rem 1.5rem 1rem; border-top: 1px solid #1d2a42; font-size: .66rem; color: #8d9ab3; }
.tv-qr { display: flex; align-items: center; gap: .8rem; text-align: right; }
.tv-qr > div { display: grid; gap: .1rem; }
.tv-qr-label { font-weight: 700; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #8d9ab3; }
.tv-qr-es { font-size: .62rem; color: #8fd0ff; }
.tv-qr-link { font-weight: 700; font-size: .9rem; color: #f5f7fb; }
.tv-qr-img { width: 4.2rem; height: 4.2rem; background: #fff; padding: .25rem; border-radius: 4px; flex: none; }
/* An iPhone next to the TV, showing the phone caption page (/live) in Spanish. */
.stage-grid { display: grid; grid-template-columns: 1fr 16.5rem; gap: 2.5rem; align-items: stretch; }
/* The TV fills the iPhone's height; its caption lanes take the extra room. */
.stage-grid .tv { display: flex; flex-direction: column; }
.stage-grid .tv-body { flex: 1; }
.iphone { position: relative; width: 16.5rem; aspect-ratio: 9 / 19.5; border-radius: 2.9rem; padding: .55rem;
  background: linear-gradient(145deg, #4a4f58, #24272d 35%, #3b3f47 65%, #1c1e22);
  box-shadow: 0 0 0 1px #0008 inset, 0 0 0 2px #6b707a, 0 40px 70px -25px rgb(0 0 0 / .7), 0 18px 30px -18px rgb(0 0 0 / .5); }
.btn-side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a2d33, #5a5f68); }
.btn-action { left: -3px; top: 6.2rem; height: 1.6rem; }
.btn-vol-up { left: -3px; top: 8.6rem; height: 2.8rem; }
.btn-vol-down { left: -3px; top: 12rem; height: 2.8rem; }
.btn-power { right: -3px; left: auto; top: 9.6rem; height: 4.2rem; background: linear-gradient(270deg, #2a2d33, #5a5f68); }
.iphone-screen { position: relative; height: 100%; border-radius: 2.4rem; overflow: hidden; background: #07090c; color: #f7f8fa;
  display: grid; grid-template-rows: auto auto auto 1fr auto; font-family: var(--sans); }
.status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem; padding: .7rem 1.2rem .2rem; font-size: .78rem; font-weight: 600; }
.status .island { width: 4.8rem; height: 1.55rem; border-radius: 1rem; background: #000; }
.status .icons { display: flex; gap: .3rem; justify-content: flex-end; align-items: center; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem 1rem .4rem; }
.app-head b { display: block; font-size: .92rem; font-weight: 700; }
.app-head span { font-size: .7rem; color: #8a94a3; }
.app-live { display: inline-flex; align-items: center; gap: .3rem; background: #ff3b30; color: #fff !important; font-size: .6rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 99px; }
.app-live i { width: .38rem; height: .38rem; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
.app-langs { display: flex; gap: .3rem; padding: .25rem 1rem .6rem; border-bottom: 1px solid #1c232d; }
.app-langs span { font-size: .66rem; font-weight: 600; padding: .32rem .6rem; border-radius: 99px; border: 1px solid #1c232d; background: #0e1218; white-space: nowrap; }
.app-langs span.on { background: #f7f8fa; color: #07090c; border-color: #f7f8fa; }
.app-langs .size { margin-left: auto; }
.app-log { display: flex; flex-direction: column; justify-content: flex-end; padding: .8rem 1rem; overflow: hidden; }
.app-log p { margin: 0 0 .6rem; font-size: .95rem; line-height: 1.42; font-weight: 500; color: #f7f8fa; }
.app-log p.old { color: #8a94a3; }
.app-note { padding: .5rem 1rem 1.6rem; border-top: 1px solid #1c232d; font-size: .58rem; color: #8a94a3; }
.home-bar { position: absolute; bottom: .45rem; left: 50%; transform: translateX(-50%); width: 6.5rem; height: .26rem; border-radius: 99px; background: #f7f8fa; opacity: .85; }
.anim-toggle { position: absolute; left: 2.5rem; bottom: 1rem; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .2); color: #d9e0ee; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 4px; cursor: pointer; }
.anim-toggle:hover { border-color: rgb(255 255 255 / .5); color: #fff; }

/* Fact bar and integrations */
.factbar { margin-top: 3.5rem; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.factbar ul { margin: 0 auto !important; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 1rem 0; font-family: var(--mono); font-size: .8rem; color: var(--ink); }
.factbar li + li::before { content: "·"; margin-right: 1.4rem; color: var(--muted); }
.works { padding: 2.6rem 0 2.8rem; border-bottom: 1px solid var(--line); text-align: center; }
.works .label { font: 500 .7rem var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.works ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 3rem; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 1.15rem; color: #46546d; letter-spacing: -.01em; }
.note { max-width: 46rem; margin: 1.6rem auto 0; color: var(--muted); font-size: .95rem; }

/* Sections */
section { padding: 6rem 0; }
section.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 3rem; max-width: 44rem; }
.section-head { max-width: 48rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.steps li { padding: 1.8rem 1.8rem 0 0; }
.steps li + li { padding-left: 1.8rem; border-left: 1px solid var(--line); }
.steps .num { display: block; font: 500 .72rem var(--mono); letter-spacing: .16em; color: var(--red); margin-bottom: .8rem; }
.steps h3 { margin: 0 0 .5rem; }
.steps p { margin: 0; color: var(--muted); }

/* Feature rows, in two columns */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; margin: 0; padding: 0; list-style: none; }
.feature { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.feature .icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; color: var(--blue); }
.feature h3 { margin: 0 0 .35rem; }
.feature p { margin: 0; color: var(--muted); }
.feature p.aside { margin-top: .6rem; font-size: .92rem; }
.chip-tag { display: inline-block; margin-top: .8rem; padding: .2rem .55rem; border-radius: 4px; background: var(--green-bg); color: var(--green); font: 500 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* Languages */
.lang-panel { margin-top: 3.5rem; display: grid; grid-template-columns: 17rem 1fr; gap: 2.5rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.lang-panel h3 { margin: 0 0 .5rem; font-size: 1.5rem; }
.lang-panel p { margin: 0; color: var(--muted); font-size: .95rem; }
.langs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.langs li { border: 1px solid var(--line-2); background: #fff; border-radius: 4px; padding: .3rem .75rem; font-size: .95rem; color: var(--ink); }

/* CivicCA integration */
.civicca { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.civicca-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.civicca .lead { margin-bottom: 1.8rem; }
.civicca-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.civicca-points li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); }
.civicca-points .chip-tag { margin: 0 0 .5rem; }
.civicca-points p { margin: 0; color: var(--ink); }
.works ul a.works-civicca { color: var(--navy); text-decoration: none; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.works ul a.works-civicca:hover { text-decoration: underline; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.pricing .lead { margin-bottom: 1.8rem; }
ul.checks.price-points { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; gap: 1rem; }
ul.checks.price-points li::before { background-color: var(--blue-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231b47c2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E"); }
#pricing + #contact { border-top: 1px solid var(--line); }

/* Developers (dark) */
.dark { background: var(--navy); color: #c3cde0; }
.dark h2, .dark h3 { color: #fff; }
.dark h2 em { color: #8ec5ff; }
.dark .kicker { color: var(--gold); }
.dark .lead { color: #b3bfd6; }
.dark strong { color: #fff; }
.split { display: grid; grid-template-columns: .9fr 1.25fr; gap: 3.5rem; align-items: center; }
ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
ul.checks li { padding-left: 1.9rem; position: relative; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .25rem; width: 1.15rem; height: 1.15rem; border-radius: 4px; background: rgb(142 197 255 / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238ec5ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / .8rem no-repeat; }
.code { background: #060f22; border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.code-top { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8f9bb3; }
.code-top i { width: .6rem; height: .6rem; border-radius: 50%; background: #2a3658; display: inline-block; }
.code-top span { margin-left: .6rem; }
pre { margin: 0; padding: 1.3rem 1.4rem; overflow-x: auto; font: .8rem/1.7 var(--mono); color: #dbe4f5; }
pre .c { color: #8796b3; } pre .k { color: #a5b4fc; } pre .s { color: #86efac; } pre .m { color: var(--gold); }
.formats { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.formats li { font: 500 .72rem var(--mono); letter-spacing: .06em; padding: .3rem .6rem; border-radius: 4px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); color: #dbe4f5; }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.sec-grid li { grid-column: span 2; display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); color: var(--ink); font-weight: 500; }
.sec-grid li:nth-child(n+4) { grid-column: span 3; }
.sec-grid svg { flex: none; color: var(--blue); margin-top: .1rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about .lead { margin-bottom: 0; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.about-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .8rem 1.4rem; }
.about-card dt { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.about-card dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.25fr; gap: 3.5rem; align-items: start; }
.next-steps { list-style: none; margin: 2rem 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; align-items: start; }
.next-steps li::before { counter-increment: n; content: counter(n, decimal-leading-zero); font: 500 .75rem var(--mono); color: var(--red); letter-spacing: .1em; padding-top: .2rem; }
form.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2rem; box-shadow: 0 24px 48px -24px rgb(10 26 51 / .25); }
form.demo .full { grid-column: 1 / -1; }
form.demo label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
form.demo label span.opt { font-weight: 400; color: var(--muted); }
form.demo input, form.demo textarea { font: inherit; font-size: 1rem; font-weight: 400; padding: .7rem .85rem; border: 1px solid #7b8799; border-radius: 6px; color: var(--ink); background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
form.demo input:hover, form.demo textarea:hover { border-color: #5f6c84; }
form.demo input:focus, form.demo textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(27 71 194 / .15); outline: none; }
form.demo input:focus-visible, form.demo textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
form.demo textarea { min-height: 7.5rem; resize: vertical; }
form.demo input[aria-invalid="true"] { border-color: var(--error); }
form.demo .btn { width: 100%; justify-content: center; padding: .9rem 1.2rem; font-size: 1rem; }
form.demo .fine { margin: 0; font-size: .85rem; color: var(--muted); }
.field-error { color: var(--error); font-weight: 500; font-size: .88rem; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#formStatus { margin: 0; font-weight: 600; }
#formStatus:empty { display: none; }
#formStatus.ok { color: var(--ok); background: #ecfdf3; border: 1px solid #a7f3c8; padding: .8rem 1rem; border-radius: 6px; }
#formStatus.error { color: var(--error); background: #fef2f2; border: 1px solid #fecaca; padding: .8rem 1rem; border-radius: 6px; }

/* Footer: a demo band, the CSP family, link columns, then the company line */
.site-foot { background: var(--navy); color: #aab6cc; font-size: .93rem; }
.site-foot a { color: #e6ebf5; }
.site-foot a:hover { color: #fff; }
.foot-cta { background: var(--blue); }
.foot-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-top: 2.6rem; padding-bottom: 2.6rem; }
.foot-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 .4rem; }
.foot-cta p { margin: 0; color: #dbe5ff; max-width: 38rem; }
.btn.ghost { background: transparent; border-color: rgb(255 255 255 / .6); }
.btn.ghost:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.foot-main { padding-top: 3.2rem; padding-bottom: 2.4rem; }
.foot-brandrow { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.foot-about { margin: 1rem 0 0; color: #c3cde0; max-width: 24rem; }
.foot-label { margin: 0 0 .9rem; font: 500 .68rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.foot-suite { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.foot-suite a { display: grid; gap: .15rem; height: 100%; padding: .75rem .9rem; border: 1px solid rgb(255 255 255 / .12); border-radius: 8px; text-decoration: none; }
.foot-suite a:hover { border-color: rgb(255 255 255 / .4); background: rgb(255 255 255 / .04); }
.foot-suite strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: #fff; }
.foot-suite span { font-size: .8rem; color: #aab6cc; line-height: 1.35; }
.foot-suite a.is-here { border-color: var(--gold); background: rgb(242 182 50 / .08); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2.4rem 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
.foot-grid h2 { font: 500 .68rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8f9bb3; margin: 0 0 .9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-bottom { padding-top: 1.6rem; display: grid; gap: .35rem; }
.foot-bottom p, .foot-bottom address { margin: 0; font-style: normal; color: #c3cde0; }
.foot-bottom .fine { font-size: .85rem; color: #aab6cc; }

/* Mobile menu (the links collapse into it on small screens) */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: #fff; font-weight: 600; font-size: .9rem; padding: .45rem .8rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 12rem; list-style: none; margin: 0; padding: .5rem; background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); }
.menu ul a { display: block; padding: .55rem .8rem; border-radius: 6px; color: var(--ink) !important; text-decoration: none; font-weight: 500; }
.menu ul a:hover, .menu ul a[aria-current] { background: var(--blue-50); }
nav .links a[aria-current="page"]:not(.btn) { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .45em; }

/* Inner pages: a page hero, then sections */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 4.5rem 0 3.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 1rem; max-width: 50rem; }
.page-hero .lead { max-width: 44rem; margin: 0; font-size: 1.12rem; }
.page-hero .ctas { margin-top: 1.8rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 .5rem; }
.card p { margin: 0; }
.card p + p, .card ul { margin-top: .7rem; }
.card ul { padding-left: 1.1rem; }
.card .chip-tag { margin: 0 0 .7rem; }
a.card { display: block; text-decoration: none; color: var(--body); transition: border-color .15s; }
a.card:hover { border-color: var(--blue); }
a.card .more { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 600; }
.card.here { border-color: var(--gold); box-shadow: 0 0 0 2px rgb(242 182 50 / .35); }
.prose { max-width: 44rem; }
.prose p { margin: 0 0 1.1rem; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3.5rem; align-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .8rem 1.4rem; }
.facts dt { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.faq { max-width: 50rem; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.faq details p { margin: .7rem 0 0; }
.endpoints { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.endpoints li { display: grid; gap: .3rem; padding: .9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.endpoints code { font: 500 .8rem var(--mono); color: var(--ink); }
.endpoints code b { color: var(--red); font-weight: 500; }

/* Privacy, terms, accessibility */
.doc-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 3.5rem 0 2.8rem; }
.doc-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.2rem); margin: 0; }
.doc-hero p { color: var(--muted); margin: .6rem 0 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.doc { max-width: 46rem; padding: 2.5rem 1.5rem 5rem; }
.doc h2 { font-size: 1.7rem; margin: 2.4rem 0 .6rem; }
.doc p, .doc li { color: var(--body); }
.draft { display: block; background: #fffbeb; border: 1px solid #d97706; color: #78350f; border-radius: 6px; padding: .85rem 1rem; margin: 0 0 1.5rem; }
.draft strong { color: #78350f; }

@media (max-width: 960px) {
  .hero-top, .split, .contact-wrap, .about, .lang-panel, .features, .civicca-grid, .pricing, .two-col, .foot-brandrow { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav .links > a:not(.btn) { display: none; }
  .menu { display: block; }
  .hero-top { gap: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .sec-grid li, .sec-grid li:nth-child(n+4) { grid-column: auto; }
  .stage { padding: 1.5rem 1.5rem 3.8rem; }
  .stage-grid { grid-template-columns: 1fr; justify-items: center; align-items: start; }
  .stage-grid .tv { width: 100%; }
  section { padding: 4.5rem 0; }
  nav .links { gap: 1.2rem; }
}
@media (max-width: 720px) {
  .utility .wrap { justify-content: center; }
  .utility .hide-sm, .utility .wrap span.hide-sm { display: none; }
  .tv-body { grid-template-columns: 1fr; }
  .lane + .lane { border-left: 0; border-top: 1px solid rgb(255 255 255 / .08); }
  .lane p { font-size: 1.05rem; }
  .tv-foot { flex-direction: column; align-items: flex-end; }
  .tv-top { flex-direction: column; gap: .5rem; }
  .sec-grid, .cards, .cards.two, .foot-suite { grid-template-columns: 1fr; }
  form.demo { grid-template-columns: 1fr; padding: 1.4rem; }
  .works ul { gap: .6rem 1.8rem; font-size: 1rem; }
  .logo .name small { display: none; }
  .factbar ul { flex-direction: column; align-items: center; gap: .3rem; }
  .factbar li + li::before { content: none; }
  nav .btn.small svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .caret, .app-live i { animation: none; }
  .btn { transition: none; }
}
@media (max-width: 480px) {
  nav .links > .btn { display: none; }
}
.facts dd, .foot-bottom address { overflow-wrap: anywhere; }

/* Blog */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; padding: 0; font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-2); }
.crumbs a { color: var(--red); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-meta { display: block; margin-top: 1rem; font: 500 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-hero h1 { max-width: 46rem; }
.article { max-width: 46rem; padding-top: 2.8rem; padding-bottom: 4.5rem; font-size: 1.06rem; }
.article h2 { font-size: 1.75rem; margin: 2.6rem 0 .7rem; }
.article h3 { margin: 1.8rem 0 .5rem; }
.article p, .article li { color: var(--body); line-height: 1.7; }
.article li + li { margin-top: .4rem; }
.article blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.article blockquote p { color: var(--ink); }
.note-box { background: var(--blue-50); border: 1px solid #c9d5f5; border-radius: 8px; padding: .9rem 1.1rem; font-size: .95rem; }
.related-title { font-size: 1.9rem; margin: 0 0 1.5rem; }
.post-card { display: flex !important; flex-direction: column; height: 100%; }
.post-card h3 { font-size: 1.25rem; }
.post-card p { flex: 1; font-size: .95rem; }
.post-card .post-meta { margin-top: 1rem; font-size: .66rem; }
.cat-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; }
.cat-links a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line-2); border-radius: 99px; background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.cat-links a:hover { border-color: var(--blue); color: var(--blue); }
.post-card .chip-tag { align-self: flex-start; }
.prose code, .card code { overflow-wrap: anywhere; }

/* How it works diagram (home page) */
.diagram { margin: 3rem 0 0; }
.diagram-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.diagram-scroll img { display: block; width: 100%; min-width: 740px; height: auto; }
.diagram figcaption { margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.diagram-text { margin-top: .6rem; }
.diagram-text summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.diagram-text ol { margin: .8rem 0 0; padding-left: 1.3rem; color: var(--body); }
.diagram-text li + li { margin-top: .45rem; }

/* Enlarged text (WCAG 1.4.4): the top line wraps instead of running off the page. */
.utility .wrap { flex-wrap: wrap; row-gap: .2rem; }

/* Security page facts, and legal page contents */
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1rem; margin: 0; }
.facts-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.facts-grid dt { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .35rem; }
.facts-grid dd { margin: 0; color: var(--ink); }
.prose h3 { margin: 1.8rem 0 .5rem; }
.prose h3:first-child { margin-top: 0; }
.lead-in { font-size: 1.1rem; color: var(--ink); }
.doc-toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.3rem; margin: 1.5rem 0 1rem; }
.doc-toc p { margin: 0 0 .4rem; font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.doc-toc li { margin: .15rem 0; break-inside: avoid; }
.doc table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.doc th { background: var(--soft); font-weight: 600; color: var(--ink); }
.doc h2 { scroll-margin-top: 7rem; }
@media (max-width: 720px) { .doc-toc ol { columns: 1; } .doc table:not(.acr) { display: block; overflow-x: auto; } }

/* Accessibility Conformance Report */
.doc.doc-wide { max-width: 72rem; }
.acr-meta { display: grid; grid-template-columns: 14rem 1fr; gap: .7rem 1.5rem; margin: 0 0 1rem; }
.acr-meta dt { font-weight: 600; color: var(--ink); }
.acr-meta dd { margin: 0; color: var(--body); }
.table-wrap { overflow-x: auto; }
table.acr { width: 100%; border-collapse: collapse; font-size: .93rem; margin: .6rem 0 1.6rem; }
table.acr th, table.acr td { text-align: left; vertical-align: top; padding: .65rem .75rem; border: 1px solid var(--line); }
table.acr thead th { background: var(--soft); color: var(--ink); }
table.acr tbody th { font-weight: 600; color: var(--ink); width: 30%; }
table.acr td.lvl { white-space: nowrap; font-weight: 600; }
table.acr td.lvl.supports { color: var(--ok); }
.legal-note { font-size: .85rem; color: var(--muted); margin-top: 2rem; }
@media (max-width: 720px) { .acr-meta { grid-template-columns: 1fr; gap: .2rem; } .acr-meta dd { margin-bottom: .6rem; } table.acr td.lvl { white-space: normal; } }
@media print { .site-header, .site-foot, .skip { display: none !important; } .doc-hero { padding: 1rem 0; } a { color: inherit; } }

.acr-download { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; }

/* System status */
.status-page h2 { font-size: 1.35rem; }
.st-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; border: 1px solid var(--line-2); border-left: 6px solid var(--st, #8a96ab); background: var(--st-bg, var(--soft)); border-radius: 10px; padding: 1.1rem 1.3rem; }
.st-banner[data-s=operational], .st-pill[data-s=operational], .st-legend [data-s=operational] { --st: #15803d; --st-bg: #e3f3ea; }
.st-banner[data-s=degraded], .st-pill[data-s=degraded], .st-legend [data-s=degraded] { --st: #b45309; --st-bg: #fdf3e2; }
.st-banner[data-s=outage], .st-pill[data-s=outage], .st-legend [data-s=outage] { --st: #b91c1c; --st-bg: #fdecec; }
.st-legend [data-s=no_data] { --st: #8a96ab; }
.st-banner-title { margin: 0; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.st-checked { margin: 0; font: .78rem var(--mono); color: var(--muted); }
.st-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.st-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.1rem; margin: 0; border-top: 1px solid var(--line); }
.st-row:first-child { border-top: 0; }
.st-row h3 { font-size: 1rem; margin: 0 0 .15rem; }
.st-row p { margin: 0; font-size: .9rem; color: var(--muted); }
.st-pill { flex: none; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--st, var(--muted)); white-space: nowrap; }
.st-pill::before, .st-legend li::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: var(--st, #8a96ab); }
.st-pill[data-s=operational] { color: #166534; } .st-pill[data-s=degraded] { color: #92400e; } .st-pill[data-s=outage] { color: #991b1b; }
.st-summary { margin: 0 0 .8rem; }
.st-bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 2.4rem; }
.st-bars span { border-radius: 2px; background: #8a96ab; }
.st-bars [data-s=no_data] { background: #dfe4ec; }
.st-bars [data-s=operational] { background: #15803d; } .st-bars [data-s=degraded] { background: #d97706; } .st-bars [data-s=outage] { background: #b91c1c; }
.st-axis { display: flex; justify-content: space-between; font: .72rem var(--mono); color: var(--muted); margin-top: .35rem; }
.st-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }
.st-legend li { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.st-issues { margin-top: 1rem; } .st-issues summary { cursor: pointer; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .st-row { flex-direction: column; align-items: flex-start; } .st-bars { gap: 1px; height: 1.8rem; } }
