/*
 * The site's one hand-written stylesheet, on top of Tabler.
 *
 * Tabler (vendored in OpenChime.ControlPlane.Components, MIT) draws the
 * components; this file holds OpenChime's colours and the little Tabler has no
 * opinion about: the shells around each kind of page, the marketing surface,
 * signup's panel, the console's sidebar, the phone pages and the holding page.
 * No build step: it is written by hand and `dotnet publish` is the entire build.
 *
 * Colours come from Tabler's own custom properties, so the dark scheme follows.
 * Tabler reads the scheme from data-bs-theme, which wwwroot/js/theme.js sets
 * from the device's setting before the page draws; a dark variant here is
 * therefore a [data-bs-theme="dark"] selector, never a prefers-color-scheme query.
 *
 * Each page names its kind on <body> (oc-site with oc-public or oc-minimal,
 * oc-dashboard, oc-signup, oc-phone, oc-placeholder), and anything that styles
 * an element rather than a class of its own is scoped by it, so no section
 * reaches a page it was not written for.
 *
 * Sections: tokens, base, shells, organization, minimal, marketing, signup,
 * console, phone, placeholder.
 */

/* ==== Tokens ============================================================= */

/*
 * OpenChime blue in place of Tabler's, for every button, link, focus ring and
 * accent. It is the blue of the app mark (#3d8bff to #1a5cc4), one notch deeper
 * so text links pass 4.5:1 on white (the mid-blue itself is 4.49), and lighter
 * on dark.
 */
/*
 * The brand blues, by name: the mark's blue, its deep and light ends, and the
 * pale one dark mode hovers to. Tabler's variables below, and the rules that
 * draw the mark's colour directly, take them from here.
 */
:root {
  --oc-blue: #2b74e0;
  --oc-blue-light: #5a9dff;
  --oc-blue-deep: #1a5cc4;
  --oc-blue-pale: #8bb9ff;
}

:root,
[data-bs-theme="light"] {
  --tblr-primary: #2166d6;
  --tblr-primary-rgb: 33, 102, 214;
  --tblr-primary-text-emphasis: var(--oc-blue-deep);
  --tblr-link-color: #2166d6;
  --tblr-link-color-rgb: 33, 102, 214;
  --tblr-link-hover-color: var(--oc-blue-deep);
}

[data-bs-theme="dark"] {
  --tblr-primary: var(--oc-blue-light);
  --tblr-primary-rgb: 90, 157, 255;
  --tblr-primary-text-emphasis: var(--oc-blue-pale);
  --tblr-link-color: var(--oc-blue-light);
  --tblr-link-color-rgb: 90, 157, 255;
  --tblr-link-hover-color: var(--oc-blue-pale);
}

/*
 * Tabler is sized for a dense console (14px body, a 24px h1). The public pages
 * are reading pages, so they set type a size up; the console keeps Tabler's.
 */
.oc-site,
.oc-signup {
  --tblr-body-font-size: 1rem;
  --tblr-body-line-height: 1.5;
  --tblr-font-size-h1: 2rem;
  --tblr-line-height-h1: 2.5rem;
  --tblr-font-size-h2: 1.75rem;
  --tblr-line-height-h2: 2.25rem;
  --tblr-font-size-h3: 1.5rem;
  --tblr-line-height-h3: 2rem;
  --tblr-font-size-h4: 1.25rem;
  --tblr-line-height-h4: 1.75rem;
}

/* ==== Base =============================================================== */

/* Machine-generated values (enrollment codes, audience ids) want a mono face. */
/* On a wrapping <label> this hits only the control, not the label text. */
.mono textarea,
.mono input,
textarea.mono,
input.mono,
span.mono {
  font-family: var(--tblr-font-monospace);
}

/*
 * Server-rendered validation output. There is no client-side validation
 * library (the site keeps its script minimal): ASP.NET fills these on POST.
 */
.field-validation-error {
  display: block;
  margin-block: 0.4rem;
  color: var(--tblr-danger);
  font-size: 0.875rem;
}

/* Placeholders that ASP.NET / Stripe fill in later shouldn't reserve space. */
.field-validation-error:empty {
  display: none;
}

/* What went wrong with a submitted form, above it (Pages/Shared/_ErrorSummary). */
.error-summary {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--tblr-danger);
  border-radius: var(--tblr-border-radius);
}

.error-summary:focus {
  outline: 3px solid var(--tblr-danger);
  outline-offset: 2px;
}

.error-summary h2 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--tblr-danger);
}

.error-summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

.error-summary li,
.error-summary a {
  color: var(--tblr-danger);
}

/*
 * A field's own message, written after it by FieldErrorTagHelper. Tabler hides
 * .invalid-feedback unless it follows an .is-invalid control; the helper writes
 * both together, and this one is always shown because it only exists when the
 * field is wrong.
 */
.field-error {
  display: block;
  margin: 0.25rem 0 1rem;
  font-size: 0.875rem;
  color: var(--tblr-danger);
}

/* Stripe's Payment and Address Elements style themselves from Tabler's
   variables (wwwroot/js/payment.js); the mount points only need spacing. */
.card-element {
  min-height: 2.5rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

/* Non-production banner. Sticky rather than fixed: it must stay visible while
   scrolling without the page having to reserve a matching top offset, which
   fixed positioning would silently push under on every page that sets its own
   padding. Loud on purpose — this exists to stop someone mistaking staging for
   production, and a tasteful version would fail at that. */
.env-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: center;
  padding: 0.4rem 1rem;
  background: repeating-linear-gradient(
    45deg, #b45309, #b45309 12px, #92400e 12px, #92400e 24px
  );
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.env-banner strong {
  color: #fff;
  font-weight: 700;
}

.env-banner span {
  opacity: 0.9;
}

@media print {
  /* A printed page has no address bar, so the banner is the only thing that
     says which environment a screenshot or PDF came from. */
  .env-banner { position: static; }
}

/* ---- Ways in: the emailed code and the identity-provider buttons --------- */

/* The emailed code, first: the address and the one button, full width. */
.signin-email-form .form-control {
  margin-bottom: 0.75rem;
}

/* "or" between the emailed code and the providers: alternatives, not steps. */
.signin-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-block: 1.25rem;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

.signin-or::before,
.signin-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--tblr-border-color);
}

/* The providers' buttons: one button, twice. The same width as the column, one
   height, the page's own font, size, weight, text colour and outline, so
   neither stands out from the other; only the vendor's logo (its own file,
   unaltered: Google's G, Microsoft's symbol) and its wording differ. A white
   button with a grey outline, as both vendors draw theirs; dark on a dark page. */
.signin-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signin-google,
.signin-microsoft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 41px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #747775;
  border-radius: 4px;
  background: #ffffff;
  color: #1f1f1f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
}

.signin-google img,
.signin-microsoft img {
  flex: none;
}

.signin-google:hover,
.signin-microsoft:hover {
  background: #f5f5f5;
}

[data-bs-theme="dark"] .signin-google,
[data-bs-theme="dark"] .signin-microsoft {
  border-color: #8e918f;
  background: #131314;
  color: #e3e3e3;
}

[data-bs-theme="dark"] .signin-google:hover,
[data-bs-theme="dark"] .signin-microsoft:hover {
  background: #1f1f20;
}

/* The relay's emailed code reads as the site's quiet button, beside the providers. */
button.signin-email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.5rem 1rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.25rem;
  background: var(--tblr-bg-surface);
  color: var(--tblr-body-color);
  font-weight: 500;
  cursor: pointer;
}

button.signin-email:hover {
  background: var(--tblr-bg-surface-secondary);
}

/* The artwork carries no focus ring of its own; a keyboard user still has to
   see where they are. An outline, offset past the image, in the page's own
   primary colour, light or dark. */
.signin-button:focus-visible {
  outline: 3px solid var(--tblr-primary);
  outline-offset: 2px;
}

/* A page's lesser actions under its form: a quiet button and a link, side by side. */
.secondary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* ==== Shells ============================================================= */

/* The organization and marketing pages: header, main, footer, the footer pinned to
   the bottom on a short page. */
.oc-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.oc-site > main {
  flex: 1;
}

/*
 * One column, capped so lines stay scannable, with a gutter at every width:
 * Tabler's container steps its width at each breakpoint and would run a page to
 * the screen's edge between them. The cap counts the gutter, so the content
 * itself is still 64rem at most.
 */
.oc-site .container {
  max-width: 66rem;
  padding-inline: 1rem;
}

/* The brand lockup: the mark (or the wordmark) and the name, on one line. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand img {
  display: block;
}

/* ==== Organization ============================================================ */

/*
 * Sign-in and the other organization pages, drawn on the public layout, and the
 * OIDC relay's chooser on the minimal one: one card holding one form.
 */

/* Room above and below the card: the public layout's <main> has none of its own,
   since each marketing page brings its own sections' spacing. */
.oc-public > main > .container-tight {
  padding-block: 2rem;
}

/* The console's sign-in and the way to a workspace's own: one column, one card,
   and under it plain lines, centred, with nothing boxed but the card. The column
   is signup's (--oc-auth-column); the page's container gives the gutter. */
.signin-column {
  max-width: var(--oc-auth-column);
  padding-inline: 0;
}

.signin-column .card-body {
  padding: 2rem;
}

/* The same card as signup's panel, so the two read as one place. */
.signin-column .sign-in-card {
  border-radius: var(--tblr-border-radius-lg);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
}

.signin-column .sign-in-card h1 {
  margin-bottom: 0.5rem;
}

/* An explanation under a heading, before the form it explains. */
.signin-column .sign-in-card h1 + p {
  margin-bottom: 1.5rem;
}

/* On a phone the card is the screen, as signup's panel is: the wordmark and the
   page on one white sheet, at the same edges as signup's. */
@media (max-width: 575.98px) {
  .oc-minimal {
    background: var(--tblr-bg-surface);
  }

  .oc-minimal .minimal-main {
    padding-inline: 0;
  }

  .oc-minimal .minimal-brand {
    padding-inline: 1.25rem;
    padding-block: 1.5rem 1rem;
  }

  .signin-column .sign-in-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .signin-column .card-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
}

/* Who the page is for, a quiet line under its heading. */
.signin-intro {
  margin-bottom: 1.5rem;
  color: var(--tblr-secondary-color);
}

.signin-aside {
  margin: 1rem 0 0;
  text-align: center;
}

.signin-aside + .signin-aside {
  margin-top: 0.5rem;
}

/* Development only: smaller and quieter than the lines a visitor needs. */
.signin-dev {
  margin-top: 1.5rem;
  color: var(--tblr-secondary-color);
  font-size: 0.8125rem;
}

/* An organization page's card holds one form; its heading sits a size down. */
.sign-in-card h1 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
}

.sign-in-card form + form {
  margin-top: 1rem;
}

.readable {
  max-width: 42rem;
}

/* ==== Minimal ============================================================ */

/*
 * Pages with no site nav (Pages/Shared/_MinimalLayout). Signup, the caller
 * pages and the holding page bring their own sections below; what is here is
 * the frame the rest share: the brand, not a link, above the page.
 */

.minimal-main {
  padding-block: 0 2rem;
}

/* One column for every sign-in and signup page, so moving between them nothing
   jumps: the sign-in card and signup's panel are this wide, with a 1rem gutter
   either side on a narrow screen, and the wordmark sits at their left edge. */
:root {
  --oc-auth-column: 35rem;
}

/* The site header's wordmark at the site header's height, at the left edge of
   the column, with room above and below. */
.minimal-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: calc(var(--oc-auth-column) + 2rem);
  margin-inline: auto;
  padding-inline: 1rem;
  padding-block: 3rem 2.25rem;
}

.minimal-brand img {
  display: block;
  width: auto;
  height: 32px;
}

/* ==== Marketing ========================================================== */

/*
 * The public pages (Pages/Shared/_PublicLayout). The console is dense and
 * functional; these pages are wide, quiet, and mostly type.
 */

/* ---- Page rhythm ------------------------------------------------------- */

.section {
  padding-block: 2.5rem;
}

/* The last thing in a section carries no margin of its own, so every gap between sections is padding + rule only. */
.section > :last-child {
  margin-bottom: 0;
}

.section > h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.section > .lede {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--tblr-secondary-color);
}

/* A section that is only a heading and a lede has nothing after it to space from. */
.section > .lede:last-child {
  margin-bottom: 0;
}

/*
 * Centre a section's heading and the intro line under it, and nothing else: the
 * body of the section keeps its own alignment.
 */
.heading-centered > h2,
.heading-centered > .lede {
  margin-inline: auto;
  text-align: center;
}

.section-centered {
  text-align: center;
}

.section-centered > .lede {
  margin-inline: auto;
}

/*
 * The five core reasons: three across, then two centred beneath them, each a card
 * with a check, a bold title and a muted sentence. A six-track grid where every
 * card spans two, so the second row can sit between the first row's columns.
 * Two across on a tablet, one on a phone.
 */
.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

@media (min-width: 560px) {
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .reasons {
    grid-template-columns: repeat(6, 1fr);
  }

  .reason {
    grid-column: span 2;
  }

  .reason:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

/* The title is the link; its ::after stretches over the card so the whole card is the target. */
.reason {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 0.75rem;
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
  transition: border-color 120ms ease-out;
}

.reason:hover,
.reason:focus-within {
  border-color: var(--oc-blue);
}

.reason h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.reason h3 a {
  color: inherit;
  text-decoration: none;
}

.reason h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.reason p {
  margin: 0;
  color: var(--tblr-secondary-color);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.reason-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--oc-blue);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-bs-theme="dark"] .reason-icon {
  stroke: var(--oc-blue-light);
}

/*
 * The two deployment models: art above a card holding a bold title, a short
 * muted line and a Learn more link. Two columns from 900px, stacked below;
 * no rules between them, the column padding is the separation.
 */
.models {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .models {
    grid-template-columns: repeat(2, 1fr);
  }
}

.model {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem;
  text-align: center;
}

.model-art {
  display: grid;
  place-items: center;
  height: 256px;
  margin-bottom: 1rem;
}

.model-art img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

/* The write-up sits in a card; the link is pushed to the bottom so the three cards end on one line. */
.model-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
  text-align: left;
}

.model-more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.model-more:hover,
.model-more:focus-visible {
  text-decoration: underline;
}

.model h3 {
  margin: 0 0 0.5rem;
  color: var(--tblr-emphasis-color);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.model p {
  margin: 0;
  color: var(--tblr-secondary-color);
  font-size: 1rem;
  font-weight: 400;
}

/*
 * "Everything you actually use": five groups. Each group is one bordered row, three features on the left and a
 * shaded panel on the right holding the group's icon (at native pixel size) and its name. On a phone the panel
 * comes first, as the group's heading, and the features follow.
 */
.feature-groups {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.feature-group {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
}

@media (min-width: 768px) {
  .feature-group {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.feature-group-list {
  display: grid;
  gap: 1.25rem;
  align-content: center;
  margin: 0;
  padding: 1.75rem 2rem;
  list-style: none;
}

.feature-group-list li {
  margin: 0;
  padding: 0;
}

.feature-group-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.feature-group-list p {
  margin: 0;
  color: var(--tblr-secondary-color);
}

.feature-group-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgb(33 102 214 / 7%);
  text-align: center;
}

[data-bs-theme="dark"] .feature-group-side {
  background: rgb(90 157 255 / 9%);
}

@media (max-width: 767px) {
  .feature-group-side {
    order: -1;
  }
}

.feature-group-side img {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.feature-group-side h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.3;
}

/* ---- Hero -------------------------------------------------------------- */

.hero {
  padding-block: 3rem 2.5rem;
  text-align: center;
}

.hero h1 {
  margin-inline: auto;
  margin-bottom: 1.25rem;
  font-size: clamp(1.6rem, 2.9vw, 2rem);
  line-height: 1.1;
  text-wrap: balance;
}

/*
 * Two slots in the headline, the quality before "members-chat" and the name after
 * "alternative to", are typed out by hero-type.js. A word about to be replaced is
 * drawn as selected text: a solid block with white type and square corners, like
 * a Windows selection. When the last word is typed the slots settle in the
 * OpenChime blue of the app mark (lighter on dark). With no script they are just
 * the first pair, plain: "flexible" and "Slack".
 */
.slot-text.is-selected {
  background: var(--oc-blue);
  color: #fff;
}

.slot-text.is-done {
  color: var(--oc-blue);
}

[data-bs-theme="dark"] .slot-text.is-done {
  color: var(--oc-blue-light);
}

/* The comma belongs to the slot, but not to its selection, and only while there is a word. */
.slot.is-empty + .comma {
  display: none;
}

.caret {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.04em;
  background: var(--oc-blue);
  vertical-align: -0.1em;
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

/* Hyphenated compounds stay whole; the balancer would otherwise split "privacy-focused". */
.nb {
  white-space: nowrap;
}

.hero p {
  max-width: 46rem;
  margin-inline: auto;
  font-size: 1.125rem;
  color: var(--tblr-secondary-color);
  text-wrap: balance;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

/* ---- Product screenshots: rotating carousel ---------------------------- */

/* Not Tabler's .carousel: wwwroot/js/carousel.js drives this one. */
.oc-carousel {
  max-width: 68rem;
  margin: 0 auto 2.5rem;
}

.oc-carousel-frame {
  position: relative;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
  overflow: hidden;
  background: var(--tblr-bg-surface-secondary);
  box-shadow: 0 12px 32px rgb(0 0 0 / 12%);
}

.slide {
  display: none;
  margin: 0;
  cursor: pointer;
}

.slide.is-active {
  display: block;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
}

.slide figcaption {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--tblr-border-color);
  color: var(--tblr-secondary-color);
  font-size: 0.9375rem;
}

.slide figcaption strong {
  margin-right: 0.35rem;
  color: var(--tblr-emphasis-color);
}

/* The indicators sit on the screenshot itself, bottom centre, on a dark pill so they read on light and dark captures. */
.slide-shot {
  position: relative;
}

.oc-carousel-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  width: max-content;
  margin: 0;
  display: flex;
  gap: 0.55rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 45%);
  transform: translateX(-50%);
}

.oc-carousel-dots button {
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
}

.oc-carousel-dots button[aria-current="true"] {
  opacity: 1;
}

/* Without script there is one screenshot and nothing to indicate. */
.oc-carousel-dots:empty {
  display: none;
}

/* ---- Grids ------------------------------------------------------------- */

.cols {
  display: grid;
  gap: 2.5rem 3rem;
  /* A wide minimum track deliberately caps this at two per row on a normal
     viewport. Three or four across reads as a dense feature matrix; two reads
     as prose with headings, which is what these sections actually are. */
  grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr));
}

.cols-2 {
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
}

.cols h3,
.cols-2 h3,
.how-steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  line-height: 1.5;
}

.cols p,
.cols-2 p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--tblr-secondary-color);
}

/* Numbered steps — the how-it-works sequence. Not Tabler's .steps, which is a progress bar. */
.how-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.how-steps > li {
  counter-increment: step;
}

.how-steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--tblr-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.how-steps p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--tblr-secondary-color);
}

/* ---- Feature checklist ------------------------------------------------- */

.checks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem 3rem;
  /* Two per row, not three: a wide short list scans as a wall of ticks. */
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}

.checks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tblr-primary);
  font-weight: 700;
}

/*
 * The inverse list — things we deliberately do NOT hold. A checkmark here would
 * read as "included", which is the opposite of the point.
 */
.checks-not li::before {
  content: "✕";
  color: var(--tblr-danger);
}

/* ---- Pricing ----------------------------------------------------------- */

/* Two cards, self-hosted then managed; the managed one carries the brand colour. */
.pricing-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
  margin-top: 2rem;
  text-align: left;
}

/*
 * The band where auto-fit lands on exactly two columns (three 17rem cards
 * plus gaps don't fit until roughly 900px of content width). Managed spans
 * both rather than sitting alone with empty space beside it.
 */
@media (min-width: 600px) and (max-width: 899px) {
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card-featured {
    grid-column: 1 / -1;
  }
}

/*
 * Each card is a subgrid over nine shared rows: heading, price, users, five
 * feature slots and the button. A feature that wraps in one card grows that row
 * in all three, so every check mark and every button sits on the same line.
 */
.price-card {
  display: grid;
  grid-row: span 9;
  grid-template-rows: subgrid;
  row-gap: 0;
  --tblr-card-border-radius: 0.875rem;
  margin: 0;
  padding: 1.5rem;
}

.price-card-featured {
  border: 2px solid var(--tblr-primary);
  padding: calc(1.5rem - 1px);
}

.price-card h3 {
  margin: 0;
  color: var(--tblr-emphasis-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.price-card .price {
  margin: 0.75rem 0 0.25rem;
  color: var(--tblr-emphasis-color);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.price-card .price small {
  color: var(--tblr-secondary-color);
  font-size: 1rem;
  font-weight: 400;
}

.price-card .users {
  margin: 0 0 1rem;
  color: var(--tblr-secondary-color);
  font-weight: 600;
}

.price-card .fn {
  text-decoration: none;
}

.price-card .checks {
  display: contents;
}

.price-card .checks li {
  margin: 0;
  padding-bottom: 0.6rem;
}

/* Same height and box for the outlined and the blue button, always on the last row. */
.price-card a[role="button"] {
  grid-row: 9;
  align-self: end;
  width: 100%;
  height: 3rem;
  margin: 1rem 0 0;
  padding: 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.pricing-note {
  margin: 1.25rem 0 0;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

/* The pricing questions run the full width of the three cards above them. */
#pricing .faq {
  max-width: none;
  margin-inline: 0;
}

#pricing .faq-heading {
  margin: 2.5rem 0 0;
  color: var(--tblr-emphasis-color);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
}

#pricing .faq-heading + .faq {
  margin-top: 0.75rem;
}

/* The community rate: one card as wide as the three plans above it, text on the left and the price on the right. */
.price-wide {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  --tblr-card-border-radius: 0.875rem;
  margin: 1.5rem 0 0;
  padding: 1.5rem;
  background: rgb(33 102 214 / 7%);
  text-align: left;
}

[data-bs-theme="dark"] .price-wide {
  background: rgb(90 157 255 / 9%);
}

.price-wide h3 {
  margin: 0 0 0.5rem;
  color: var(--tblr-emphasis-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.price-wide p {
  margin: 0;
  color: var(--tblr-secondary-color);
}

.price-wide .price-wide-price {
  text-align: right;
}

.price-wide .price {
  color: var(--tblr-emphasis-color);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.price-wide .price small {
  color: var(--tblr-secondary-color);
  font-size: 1rem;
  font-weight: 400;
}

.price-wide .users {
  margin-top: 0.4rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .price-wide {
    grid-template-columns: 1fr;
  }

  .price-wide .price-wide-price {
    text-align: left;
  }
}

/* ---- Legal documents --------------------------------------------------- */

/*
 * The terms and the privacy policy under /about: one narrow reading column, a
 * small header (the way back to About Us, the title, the date), then a <section>
 * per numbered heading.
 */
.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.legal-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tblr-border-color);
}

.legal-crumb {
  font-size: 0.875rem;
  text-decoration: none;
}

.legal-crumb::before {
  content: "← ";
}

.legal-head h1 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.legal-head p {
  margin: 0;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

.legal section {
  margin: 0;
  padding-top: 1.75rem;
}

/* The header's rule and margin already separate it from the first section. */
.legal-head + section {
  padding-top: 0;
}

.legal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.3;
}

.legal p,
.legal li,
.legal dt,
.legal dd {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.legal section > :last-child {
  margin-bottom: 0;
}

.legal p,
.legal ul {
  margin-bottom: 0.75rem;
}

.legal li {
  margin-bottom: 0.25rem;
}

.legal dl {
  margin: 0 0 0.75rem;
}

.legal dt {
  margin-top: 0.75rem;
  font-weight: 600;
}

.legal dd {
  margin: 0;
  color: var(--tblr-secondary-color);
}

.legal .checks {
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 0;
}

/* ---- Definition list (reference content) ------------------------------- */

.deflist {
  margin-block: 1.5rem 0;
}

.deflist dt {
  margin-top: 1.25rem;
  font-weight: 600;
}

.deflist dd {
  margin-inline-start: 0;
  font-size: 0.9375rem;
  color: var(--tblr-secondary-color);
}

/* ---- Disclosures: the nav's menus and the FAQ ---------------------------- */

/*
 * Native <details>, so they open with no script and stay keyboard- and
 * screen-reader-navigable. The browser's triangle gives way to one chevron,
 * after the label, that turns over when the panel is open.
 */
.site-menu summary,
.faq summary {
  list-style: none;
}

.site-menu summary::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}

.site-menu summary::after,
.faq summary::after {
  content: "";
  flex: none;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 150ms ease-out;
}

.site-menu details[open] > summary::after,
.faq details[open] > summary::after {
  transform: translateY(25%) rotate(225deg);
}

/* ---- FAQ accordion ------------------------------------------------------ */

/* A traditional one-question-per-row accordion. */
.faq {
  max-width: 46rem;
  margin-inline: auto;
  margin-top: 2rem;
  text-align: left;
}

.faq details {
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--tblr-border-color);
}

.faq details:first-of-type {
  border-top: 1px solid var(--tblr-border-color);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.faq summary:hover {
  color: var(--tblr-primary);
}

.faq details > *:not(summary) {
  margin-bottom: 1rem;
  color: var(--tblr-secondary-color);
  font-size: 0.9375rem;
}

/* ---- Callout ----------------------------------------------------------- */

/* A quiet panel, not Tabler's .callout, which is a tinted note with a border. */
.oc-callout {
  margin-block: 2rem;
  padding: 1.5rem;
  border-radius: var(--tblr-border-radius);
  background: var(--tblr-bg-surface-secondary);
}

.oc-callout > :last-child {
  margin-bottom: 0;
}

/* ---- Closing CTA ------------------------------------------------------- */

.cta {
  padding-block: 2.5rem;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--tblr-secondary-color);
}

/* ---- Call-to-action band ------------------------------------------------ */

/*
 * The full-width band above the footer, after Plausible's: a light gray field, a two-line heading on the left
 * (the second line in OpenChime blue) and two buttons on the right. Stacked and left-aligned below 768px.
 */
.cta-band {
  padding-block: 4rem;
  background: #f3f4f6;
}

[data-bs-theme="dark"] .cta-band {
  background: #171d27;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}

/* Heading and buttons share one row whenever there is room for both. */
@media (min-width: 992px) {
  .cta-band-inner {
    flex-wrap: nowrap;
  }
}

.cta-band h2 {
  margin: 0;
  color: var(--tblr-emphasis-color);
  font-size: clamp(1.6rem, 2.7vw, 2.125rem);
  font-weight: 700; /* the same weight as every other heading on the page */
  line-height: 1.15;
}

.cta-band h2 span {
  display: block;
  color: var(--tblr-primary);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* a[role] beats .btn-brand's own sizing further down the file, so both buttons match. */
.cta-band a[role="button"] {
  flex: none;
  padding: 0.75rem 1.5rem;
  border: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* The second button: white on the gray field, blue type, a hairline shadow instead of a border. */
.cta-band .btn-plain {
  --tblr-btn-bg: #fff;
  --tblr-btn-color: var(--tblr-primary);
  --tblr-btn-hover-bg: #fff;
  --tblr-btn-hover-color: var(--tblr-link-hover-color);
  --tblr-btn-active-bg: #fff;
  --tblr-btn-active-color: var(--tblr-link-hover-color);
  --tblr-btn-box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
}

[data-bs-theme="dark"] .cta-band .btn-plain {
  --tblr-btn-bg: #232b38;
  --tblr-btn-hover-bg: #2a3343;
  --tblr-btn-active-bg: #2a3343;
  --tblr-btn-box-shadow: 0 0 0 transparent; /* not none: the focus ring is added to it */
}

/* ---- Footer ------------------------------------------------------------ */

/*
 * Dark and full width, in the manner of Plausible's: a slate block with no rules, the brand and two lines of
 * small print at the left, three columns of links at the right. Headings are small caps-style labels in a
 * dimmer tone than the links. The colours are fixed rather than themed: the footer is dark in light mode and
 * dark in dark mode, so it always reads as the foot of the page.
 */
.site-footer {
  --footer-bg: #0f1a30;
  --footer-text: #cbd5e6;
  --footer-dim: #94a3bd;
  margin-top: 2.5rem;
  padding-block: 2rem;
  background: var(--footer-bg);
  font-size: 0.9375rem;
  color: var(--footer-text);
}

[data-bs-theme="dark"] .site-footer {
  --footer-bg: #0a1424;
}

/* The footer follows the band with no gap. */
.cta-band + .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    gap: 1.5rem 4rem;
  }
}

.footer-brand a {
  display: inline-block;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 32px;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  color: var(--footer-text);
}

/* The copyright sits last, one blank line below the download link. */
.footer-brand .footer-fine {
  margin-top: 1.4em;
  color: var(--footer-dim);
  font-size: 0.875rem;
}

.footer-brand .footer-download-line {
  margin-top: 0.75rem;
}

.footer-links {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Three content-sized columns spread across the space, so the longer link titles don't wrap. */
@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
  }
}

.site-footer h2 {
  margin: 0 0 0.5rem;
  color: var(--footer-dim);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* A second heading inside one footer column — Company's "Legal" under its own links — matches h2, smaller gap above it. */
.site-footer h3 {
  margin: 1rem 0 0.5rem;
  color: var(--footer-dim);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* In the footer the lists are plain stacked links. */
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* "Try a live demo" in the footer is a one-button form (_DemoLaunch): it reads as the
   links beside it. */
.demo-launch {
  display: inline;
  margin: 0;
}

.site-footer .demo-launch-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--footer-text);
  cursor: pointer;
}

.site-footer .demo-launch-link:hover,
.site-footer .demo-launch-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* ---- Public nav -------------------------------------------------------- */

/*
 * Three boxes: brand left, menu centred, organization right. The outer columns are
 * equal (1fr) so the menu sits on the page's centre line whatever the widths of
 * the brand and the organization buttons. Below 920px they stack, because a phone
 * cannot fit them in a row without scrolling the page sideways. Checked at 375px.
 */
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  row-gap: 0.25rem;
  padding-block: 0.5rem;
}

/* display:none removes it from grid flow entirely, so it consumes no column above 919px. */
.nav-toggle-btn {
  display: none;
}

.site-nav > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav > ul > li {
  padding: 0.5rem 0.25rem;
}

/* The logo and the trial button sit exactly on the content column. */
.site-nav > .site-brand > li {
  padding-left: 0;
}

.site-nav > .site-entry > li:last-child {
  padding-right: 0;
}

.site-nav > .site-entry {
  justify-self: end;
  gap: 0.25rem;
}

.site-nav .brand img {
  height: 32px;
  width: auto;
}

.site-nav a {
  text-decoration: none;
}

/* The body's colour, read once, wherever a link's label must stay body-coloured. */
.site-menu,
.site-entry {
  --menu-ink: var(--tblr-body-color);
}

.site-menu details {
  position: relative;
}

/* The menus' labels read as siblings of the plain links: the same padding, and a ring only for keyboard focus. */
.site-menu details > summary,
.site-nav .menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.5rem;
  color: var(--tblr-secondary-color);
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
}

.site-menu details > summary:hover,
.site-nav .menu-link:hover,
.site-menu details[open] > summary {
  color: var(--menu-ink);
}

.site-menu summary:focus-visible {
  outline: 2px solid rgba(var(--tblr-primary-rgb), 0.25);
  outline-offset: 0;
  border-radius: var(--tblr-border-radius);
}

/*
 * Trial button in the OpenChime blue of the app mark, a gradient over Tabler's
 * flat primary. Only the image is ours, so its focus ring and pressed state are
 * still Tabler's.
 */
.btn-brand {
  --tblr-btn-color: #fff;
  --tblr-btn-hover-color: #fff;
  --tblr-btn-box-shadow: 0 1px 2px rgb(26 92 196 / 35%);
  padding: 0.5rem 1.1rem;
  background-image: linear-gradient(#3d8bff, var(--oc-blue-deep));
  font-size: 0.9375rem;
  font-weight: 600;
}

.btn-brand:hover {
  background-image: linear-gradient(var(--oc-blue-light), #2368d4);
}

/*
 * The hero's three buttons share one size. The first is the filled OpenChime blue
 * above; the other two are outlines in the same blue.
 */
.hero-cta {
  --btn-blue: var(--oc-blue);
  --btn-blue-hover: var(--oc-blue-deep);
}

[data-bs-theme="dark"] .hero-cta {
  --btn-blue: var(--oc-blue-light);
  --btn-blue-hover: var(--oc-blue-pale);
}

.hero-cta [role="button"] {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

/* A tint on hover, not Tabler's fill, so the filled button stays the only solid one. */
.hero-cta .btn-outline-primary {
  --tblr-btn-color: var(--btn-blue);
  --tblr-btn-border-color: var(--btn-blue);
  --tblr-btn-hover-color: var(--btn-blue-hover);
  --tblr-btn-hover-bg: rgb(43 116 224 / 8%);
  --tblr-btn-hover-border-color: var(--btn-blue-hover);
}

/* ---- Menu panel -------------------------------------------------------- */

.menu-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  left: 50%;
  translate: -50% 0;
  width: min(28rem, calc(100vw - 2rem));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
  background: var(--tblr-bg-surface);
  box-shadow: 0 12px 32px rgb(0 0 0 / 14%);
  animation: menu-in 200ms ease-out;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(0.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-panel {
    animation: none;
  }
}

.site-nav .menu-cards {
  display: grid;
  margin: 0;
  padding: 0.75rem;
  list-style: none;
}

.menu-cards > li {
  margin: 0;
  padding: 0;
}

.site-nav .menu-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  color: var(--menu-ink);
  transition: background-color 120ms ease-out;
}

.site-nav .menu-card:hover,
.site-nav .menu-card:focus-visible {
  background: rgb(43 116 224 / 8%);
}

.site-nav a.menu-card:focus-visible {
  outline: 2px solid rgba(var(--tblr-primary-rgb), 0.25);
  outline-offset: -2px;
}

.site-nav .menu-card strong {
  display: block;
  color: var(--menu-ink);
  font-weight: 600;
}

.menu-card p {
  margin: 0.15rem 0 0;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
  line-height: 1.4;
}

/*
 * The second zone of the Why OpenChime panel: a gray band under the cards, split
 * into short columns of plain items, like the footer of Plausible's menu.
 */
.menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  padding: 1rem 1.5rem 1.25rem;
  background: rgb(0 0 0 / 4%);
}

[data-bs-theme="dark"] .menu-foot {
  background: rgb(255 255 255 / 5%);
}

.site-nav .menu-foot h3 {
  margin: 0 0 0.5rem;
  color: var(--tblr-secondary-color);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav .menu-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .menu-foot li {
  margin: 0;
  padding: 0.2rem 0;
  color: var(--menu-ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav .menu-foot li a {
  display: block;
  color: var(--menu-ink);
}

.site-nav .menu-foot li a:hover,
.site-nav .menu-foot li a:focus-visible {
  color: var(--tblr-primary);
  text-decoration: underline;
}

.menu-icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--oc-blue);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Stacked: brand, then menu, then organization, each full width. The panel opens in the flow. */
@media (max-width: 919px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  /* Brand and the toggle button share row one; menu and organization each take their own full-width row below. */
  .site-nav > .site-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle-btn {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: none;
  }

  /* Same blue as the dropdown cards' own icons (.menu-icon), not currentColor: the header text colour turned out to be white here, which made the icon invisible. */
  .nav-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: var(--oc-blue);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* The toggle sits on the page background, which does change; the dropdown's .menu-icon does not need this. */
  [data-bs-theme="dark"] .nav-toggle-icon {
    stroke: var(--oc-blue-light);
  }

  .site-nav > .site-menu,
  .site-nav > .site-entry {
    grid-column: 1 / -1;
  }

  /*
   * nav.js adds .has-nav-toggle once it can run the toggle, then hides the
   * panel until .is-nav-open is added. Without script neither class is ever
   * added, so the panel stays in normal flow — same fallback the rest of the
   * site's menus use.
   */
  .site-nav.has-nav-toggle:not(.is-nav-open) > .site-menu,
  .site-nav.has-nav-toggle:not(.is-nav-open) > .site-entry {
    display: none;
  }

  .site-nav > .site-entry {
    justify-self: start;
  }

  /* One row per item, so an open panel spans the full width instead of starting mid-row. */
  .site-nav > .site-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .site-menu details {
    position: static;
  }

  .site-nav > .site-menu > li {
    padding-block: 0.125rem;
    padding-inline: 0;
  }

  /* Labels line up with the plain links beneath them. */
  .site-menu details > summary,
  .site-nav > .site-menu .menu-link {
    padding-inline: 0;
  }

  .menu-panel {
    position: static;
    translate: none;
    width: auto;
    margin-top: 0.5rem;
    box-shadow: none;
  }
}

/* ---- Downloads -------------------------------------------------------- */

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.downloads h3 {
  margin-bottom: 0.25rem;
}

/* A message carried to the next page, e.g. from signup to the home page. */
.site-notice {
  margin-block: 1rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--tblr-primary);
  background: var(--tblr-bg-surface-secondary);
  border-radius: var(--tblr-border-radius);
}

/* Integration catalog: one card per integration, three across on a wide page. */
.integrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integrations li {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
}

.integrations h3 {
  margin: 0 0 0.5rem;
  color: var(--tblr-emphasis-color);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.integrations p {
  margin: 0 0 0.75rem;
  color: var(--tblr-secondary-color);
  font-size: 0.9375rem;
}

.integrations .model-more {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ==== Signup ============================================================= */

/*
 * Signup (Pages/Signup/_ViewStart, on _MinimalLayout). A centred panel under the
 * OpenChime wordmark, on the page's plain background, that reads like a modal
 * without being one: the panel is the page's <main>, the page scrolls rather
 * than the panel, and a phone gets the panel full screen.
 *
 * Every colour is one of Tabler's custom properties (or mixed from one), so the
 * dark scheme follows with nothing here for it.
 */

/* ---- Page and panel ---------------------------------------------------- */

.wizard-body {
  min-height: 100dvh;
}

.wizard {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 2.5rem;
}

.wizard-panel {
  width: 100%;
  max-width: var(--oc-auth-column);
  margin: auto;
  padding: 1.75rem 2rem 1.5rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius-lg);
  background: var(--tblr-bg-surface);
  color: var(--tblr-body-color);
  box-shadow: 0 8px 24px rgb(0 0 0 / 6%);
  view-transition-name: wizard-panel;
}

@media (max-width: 575.98px) {
  /* Tabler keeps a scrollbar's width free on every page; here it would be a
     strip down the side of a panel that is meant to be the screen. */
  html:has(> .wizard-body) {
    scrollbar-gutter: auto;
  }

  .wizard {
    padding: 0;
  }

  .wizard-body {
    background: var(--tblr-bg-surface);
  }

  .oc-signup .minimal-brand {
    padding-inline: 1.25rem;
    padding-block: 1.5rem 1rem;
  }

  .wizard-panel {
    max-width: none;
    min-height: 100dvh;
    margin: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ---- Header ------------------------------------------------------------ */

.wizard-header {
  position: relative;
  margin: 0 0 1.5rem;
}

.wizard-header h1 {
  margin: 0 2.75rem 1.25rem 0;
  font-size: 1.5rem;
  line-height: 1.25;
}

.wizard-counter {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--tblr-secondary-color);
}

.wizard-exit {
  position: absolute;
  top: -0.5rem;
  right: -0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--tblr-secondary-color);
  text-decoration: none;
}

/* A plain icon: on hover only darker, never underlined or circled; a keyboard
   still sees where it is. */
.wizard-exit:hover,
.wizard-exit:focus-visible {
  color: var(--tblr-body-color);
  text-decoration: none;
}

.wizard-exit:focus-visible {
  outline: 2px solid var(--tblr-primary);
  outline-offset: 2px;
}

/* ---- Progress ---------------------------------------------------------- */

/* The full width, numbers joined by a line drawn behind them. */
nav .wizard-phases {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav .wizard-phases li {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--tblr-secondary-color);
  text-align: center;
}

/* The line between two phases, drawn behind the numbers. */
nav .wizard-phases li + li::before {
  content: "";
  position: absolute;
  top: 0.875rem;
  right: 50%;
  left: -50%;
  height: 2px;
  background-color: var(--tblr-border-color);
}

nav .wizard-phases li.done + li::before {
  background-color: var(--tblr-primary);
}

.wizard-phase-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--tblr-border-color);
  border-radius: 50%;
  background-color: var(--tblr-bg-surface);
  font-size: 0.8125rem;
  font-weight: 600;
}

nav .wizard-phases li.done .wizard-phase-number {
  border-color: var(--tblr-primary);
  background-color: var(--tblr-primary);
  color: #fff;
}

nav .wizard-phases li.here {
  color: var(--tblr-body-color);
  font-weight: 600;
}

nav .wizard-phases li.here .wizard-phase-number {
  border-color: var(--tblr-primary);
  color: var(--tblr-primary);
}

nav .wizard-phases a {
  color: inherit;
}

/* ---- Body -------------------------------------------------------------- */

.wizard-lede {
  margin-bottom: 1.25rem;
}

.wizard-note,
.wizard-panel small {
  display: block;
  font-size: 0.875rem;
  color: var(--tblr-secondary-color);
}

/* Each field sits in Tabler's .mb-3, which spaces it from the next; its hint and
   its error only sit close under it. */
.wizard-panel small,
.wizard-panel .form-hint {
  margin: 0.25rem 0 0;
}

.wizard-panel .field-error {
  margin-bottom: 0;
}

.wizard-alert:not(:empty),
.wizard-reason {
  color: var(--tblr-danger);
}

.wizard-alert:empty {
  display: none;
}

/* A checkbox beside its words, the words wrapping beside it rather than under it. */
.wizard-check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.wizard-check > input[type="checkbox"] {
  flex: none;
  margin: 0.125rem 0 0;
}

.wizard-check > .wizard-check-text {
  flex: 1 1 0;
  min-width: 0;
}

/* FieldErrorTagHelper writes the message straight after the box; it reads under
   the words, not between the box and them. */
.wizard-check > .field-error {
  flex-basis: 100%;
  order: 1;
}

.wizard-check .field-error {
  margin: 0.25rem 0 0;
}

.wizard-choices {
  margin-bottom: 1.25rem;
}

.wizard-choices legend {
  margin-bottom: 0.5rem;
  font-size: inherit;
  font-weight: 600;
}

.wizard-choices label {
  margin-bottom: 0.35rem;
}

.wizard-question {
  margin-bottom: 0.5rem;
}

/* Focused so it is read on arrival; it is not a control, so no ring. */
.wizard-question:focus {
  outline: none;
}

.wizard-question h2 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.wizard-next {
  padding-left: 1.25rem;
}

.wizard-next li {
  margin-bottom: 0.75rem;
}

.wizard-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.wizard-copy code {
  word-break: break-all;
}

.wizard-copy-button {
  padding: 0.2rem 0.6rem;
  font-size: 0.8125rem;
}

/*
 * The workspace name and the address it makes, on one line: the box holds the
 * name only, the zone reads on after it. The zone wraps below on a screen too
 * narrow for both.
 */
/* The name and the zone it lives in, joined as one field (as Find your
   workspace draws it): the box takes the row, the zone a grey cell on its
   right, never wrapped under it. */
.wizard-address {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.wizard-address input {
  flex: 1 1 0;
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* The name's error, like the box's own, reads under the whole line. */
.wizard-address > .field-error {
  flex-basis: 100%;
  order: 1;
}

.wizard-address-zone {
  display: flex;
  flex: none;
  align-items: center;
  padding: 0 0.75rem;
  border: var(--tblr-border-width) solid var(--tblr-border-color);
  border-left: 0;
  border-radius: 0 var(--tblr-border-radius) var(--tblr-border-radius) 0;
  background: var(--tblr-bg-surface-secondary);
  color: var(--tblr-secondary-color);
  white-space: nowrap;
}

/* ---- Footer ------------------------------------------------------------ */

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--tblr-border-color);
}

.wizard-actions .wizard-back {
  margin-right: auto;
}

.wizard-secondary,
.wizard-skip,
.wizard-back {
  color: var(--tblr-secondary-color);
  text-decoration: none;
}

.wizard-back:hover,
.wizard-back:focus-visible {
  color: var(--tblr-body-color);
  text-decoration: none;
}

button.wizard-skip {
  padding: 0;
  border: none;
  background: none;
  color: var(--tblr-secondary-color);
  text-decoration: underline;
  box-shadow: none;
}

button.wizard-skip:hover,
button.wizard-skip:focus-visible {
  color: var(--tblr-body-color);
}

/* The primary action points forward. Generated, so the scripts that relabel a
   button (payment.js) keep the arrow; the empty alternative keeps it out of
   what a screen reader announces. */
.wizard-actions button[type="submit"]:not(.wizard-skip)::after,
.wizard-actions a.btn-primary::after {
  content: "\2192";
  content: "\2192" / "";
  margin-left: 0.5em;
}

/* ---- Build checklist --------------------------------------------------- */

.build-steps {
  margin: 0 0 1.25rem;
  padding: 0;
}

.build-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.4rem;
  list-style: none;
  color: var(--tblr-secondary-color);
}

.build-steps li[data-status="done"],
.build-steps li[data-status="current"] {
  color: var(--tblr-body-color);
}

.build-steps li[data-status="current"] {
  font-weight: 600;
}

.build-steps li[data-status="failed"] {
  color: var(--tblr-danger);
}

.build-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--tblr-border-color);
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}

li[data-status="done"] .build-mark {
  border-color: var(--tblr-success);
  background-color: var(--tblr-success);
  color: var(--tblr-body-bg);
}

li[data-status="done"] .build-mark::after {
  content: "✓";
}

li[data-status="current"] .build-mark {
  border-color: var(--tblr-primary);
  border-right-color: transparent;
}

li[data-status="failed"] .build-mark {
  border-color: var(--tblr-danger);
  color: var(--tblr-danger);
}

li[data-status="failed"] .build-mark::after {
  content: "✕";
}

@media (prefers-reduced-motion: no-preference) {
  li[data-status="current"] .build-mark {
    animation: build-spin 0.9s linear infinite;
  }
}

@keyframes build-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Moving between steps ---------------------------------------------
   Cross-document view transitions, only for somebody who has not asked for
   less motion; a browser without them just loads the next page. The panel
   slides the way the customer is going — wizard.js marks a step back — and
   the backdrop stays still. The opt-in reaches every page that loads this
   file, but the root does not animate, so only signup's panel ever moves. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  ::view-transition-old(wizard-panel) {
    animation: 180ms ease-in both wizard-out-left;
  }

  ::view-transition-new(wizard-panel) {
    animation: 220ms ease-out both wizard-in-right;
  }

  html[data-wizard-direction="back"]::view-transition-old(wizard-panel) {
    animation-name: wizard-out-right;
  }

  html[data-wizard-direction="back"]::view-transition-new(wizard-panel) {
    animation-name: wizard-in-left;
  }
}

@keyframes wizard-out-left {
  to { opacity: 0; transform: translateX(-2.5rem); }
}

@keyframes wizard-out-right {
  to { opacity: 0; transform: translateX(2.5rem); }
}

@keyframes wizard-in-right {
  from { opacity: 0; transform: translateX(2.5rem); }
}

@keyframes wizard-in-left {
  from { opacity: 0; transform: translateX(-2.5rem); }
}

/* ==== Console ============================================================ */

/*
 * The signed-in console: the sidebar light rather than Tabler's dark, and the
 * little Tabler does not already do.
 */

/* ---- Sidebar ------------------------------------------------------------ */

.console-side {
  border-right: 1px solid var(--tblr-border-color);
}

.console-brand img {
  display: block;
  width: auto;
  height: 26px;
}

.console-organization {
  padding: 0.25rem 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: var(--tblr-font-weight-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-side .nav-link.active {
  font-weight: 600;
  color: var(--tblr-primary);
  background: rgba(var(--tblr-primary-rgb), 0.08);
  border-radius: var(--tblr-border-radius);
}

/* The person signed in, at the foot: a menu item like the ones above, set off by a rule. */
/* Pinned to the foot of the side panel: a .navbar-nav grows to fill the panel,
   which left the person half-way down with empty space under it. Not growing,
   its auto top margin (mt-lg-auto in the layout) takes the space instead.
   As specific as Tabler's `.navbar-vertical.navbar-expand-lg .navbar-nav`, and later. */
.console-user {
  margin-top: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--tblr-border-color);
}

.navbar-vertical.navbar-expand-lg .console-user {
  flex-grow: 0;
}

.console-me {
  width: 100%;
  min-width: 0;
  text-align: start;
}

@media (min-width: 992px) {
  .console-side .navbar-collapse {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    min-height: calc(100vh - 5rem);
  }
}

/* The deployment's name as a short pill by the logo, taking no space: no header
   strip. On the side panel it sits under the wordmark, inside the panel whatever
   the name; on a phone, left of the logo in the top bar. */
.console-env-pill {
  position: absolute;
  padding: 0.12rem 0.4rem;
  font-size: 0.5625rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transform: translateY(-50%);
}

@media (min-width: 992px) {
  /* In the gap between the logo and the menu, under the wordmark's right end. */
  .console-env-pill {
    top: 47px;
    left: 180px; /* the wordmark's right edge: 16px in, 164px wide */
    transform: translate(-100%, -50%);
  }
}

/* On a phone the logo sits at the right of the top bar: the pill goes on its left. */
@media (max-width: 991.98px) {
  .console-brand-wrap {
    position: relative;
    display: inline-block;
    width: max-content;
  }

  .console-env-pill {
    top: 50%;
    right: calc(100% + 0.35rem);
  }
}

/* ---- Page --------------------------------------------------------------- */

/* Hidden means hidden, over the display utilities a script hides things beside. */
.oc-dashboard [hidden] { display: none !important; }

.min-w-0 { min-width: 0; }

.workspace-card { color: inherit; }

.status-badge { white-space: nowrap; }

.card-narrow { max-width: 40rem; }

/* The authenticator app's QR code: a fixed size, on white whatever the theme. */
.totp-qr svg {
  display: block;
  width: 11rem;
  height: 11rem;
  background: #fff;
  border-radius: var(--tblr-border-radius);
}

.recovery-codes {
  columns: 2;
  margin-bottom: 1rem;
}

/* On a phone the tabs scroll within themselves rather than widening the page. */
#workspace-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

#workspace-tabs .nav-link { white-space: nowrap; }

/* An address is one long word; it breaks rather than pushing the page wide. */
.page-body code { word-break: break-all; }

/* ---- Dialogs without script --------------------------------------------- */

/* A dialog opened by its link (#id), or drawn open with a refusal in it, shows in
   place when Bootstrap's script is not there to open it (wwwroot/js/modal.js). */
.oc-dashboard .modal:target,
.oc-dashboard .modal[data-open-modal] {
  display: block;
  opacity: 1;
}

.oc-dashboard .modal.fade:target .modal-dialog,
.oc-dashboard .modal.fade[data-open-modal] .modal-dialog {
  transform: none;
}

/* The disconnected list, likewise, and its toggle says which way it goes. */
.oc-dashboard #disconnected:target { display: block; }

#toggle-disconnected[aria-expanded="true"] .when-collapsed,
#toggle-disconnected:not([aria-expanded="true"]) .when-expanded {
  display: none;
}

/* ==== Phone ============================================================== */

/*
 * The pages a caller is sent to by SMS or email (Pages/Phone/_ViewStart, on _MinimalLayout):
 * booking, their meeting, a support case. Every visitor is on a phone, possibly
 * held to an ear, possibly on a poor connection: one column, large type, and
 * full-width targets a thumb can hit.
 */
.oc-phone {
  --tblr-body-font-size: 1.0625rem;
  --tblr-body-line-height: 1.5;
}

.phone {
  max-width: 34rem;
  margin-inline: auto;
  padding: 1.25rem;
}

/* The wordmark over the phone column, at its left edge; close above the page,
   since every visitor is on a handset. */
.oc-phone .minimal-brand {
  max-width: 34rem;
  padding-inline: 1.25rem;
  padding-block: 1.5rem 0;
}

.phone h1 {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
  line-height: 1.3;
}

.phone h2 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.phone p.sub {
  margin: 0 0 1.25rem;
  opacity: 0.7;
}

.phone p.when {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.phone label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

/* The first field of a form needs no gap above it. */
.phone-form > label:first-of-type {
  margin-top: 0;
}

.phone input,
.phone textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  font: inherit;
}

.phone textarea {
  min-height: 9rem;
}

.phone fieldset {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

/* Choices are full-width targets: a thumb on a phone, possibly held to
   an ear, cannot hit a 20px control. */
.phone a.choice,
.phone a.join,
.phone .slot span {
  display: block;
  margin-bottom: 0.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.phone .slot {
  display: block;
}

.phone .slot input {
  position: absolute;
  opacity: 0;
}

.phone .slot input:checked + span {
  border-color: #1c6fd6;
  background: #1c6fd6;
  color: #fff;
}

.phone .crumb {
  margin: 0 0 1rem;
}

.phone .crumb a {
  color: inherit;
}

/* The way back, under a form rather than above it. */
.phone .crumb-after {
  margin-top: 1rem;
}

/* 48px minimum: a thumb on a phone held to an ear. */
.phone button {
  width: 100%;
  min-height: 3rem;
  margin-top: 1.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: #1c6fd6;
  color: #fff;
  font: inherit;
  font-weight: 600;
}

/* Cancelling is the one irreversible thing on the meeting page, so its button
   does not look like the one people press to get on with it. */
.phone button.danger {
  background: #b3261e;
}

.phone .err {
  margin-top: 0.5rem;
  color: #b3261e;
}

[data-bs-theme="dark"] .phone .err {
  color: #f2b8b5;
}

/* A support case's reference, read back on the call. */
.phone .ref {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ==== Placeholder ======================================================== */

/*
 * The holding page (Pages/Placeholder.cshtml), standing alone: no nav and no
 * footer of links, because under that mode every other page is hidden. It is a
 * copy of the sibling marketing site's shape — mark, name, one card — because
 * it is the same company saying the same thing.
 */
.oc-placeholder {
  --oc-ink: #1F2328;
  --oc-bg: #ffffff;
  /* Neutral, not the sibling site's warm beige: that one is chosen to sit
     under bronze, and it fights this mark's blue. */
  --oc-card-bg: #F3F4F6;
  --oc-card-label: #55585E;
  /* Taken from the mark's own gradient (#1A5CC4 -> #3D8BFF) rather than
     chosen, so the stripe and the link belong to the same logo the page
     shows. The darker stop is the one that holds contrast on the card. */
  --oc-accent: var(--oc-blue-deep);
  --oc-accent-hover: #12408b;
  --oc-footer-bg: #f4f4f5;
  --oc-footer-ink: #52525b;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--oc-bg);
  color: var(--oc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 1rem;
  line-height: 1.6;
}

[data-bs-theme="dark"] .oc-placeholder {
  --oc-ink: #e8e8ea;
  --oc-bg: #111113;
  --oc-card-bg: #1c1c1f;
  --oc-card-label: #a1a1aa;
  --oc-accent: #3D8BFF;
  --oc-accent-hover: #6faaff;
  --oc-footer-bg: #17171a;
  --oc-footer-ink: #a1a1aa;
}

.oc-home {
  flex: 1 0 auto;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 2rem;
  text-align: center;
}

.oc-mark {
  display: block;
  width: min(120px, 40vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.oc-home h1 {
  margin: 0 0 2.5rem;
  color: inherit;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* One row today. The grid is here so an address or a phone can be added later
   without the card changing shape. */
.oc-card {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 2.25rem 2rem 2.5rem;
  text-align: left;
  background: var(--oc-card-bg);
  border-left: 6px solid var(--oc-accent);
  border-radius: 10px;
}

.oc-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.15rem 2rem;
  align-items: baseline;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.oc-card dt {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oc-card-label);
}

.oc-card dd {
  margin: 0;
}

.oc-card a {
  color: var(--oc-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oc-card a:hover {
  color: var(--oc-accent-hover);
}

@media (max-width: 34rem) {
  .oc-card {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  }

  .oc-card dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.oc-footer {
  flex-shrink: 0;
  background: var(--oc-footer-bg);
  color: var(--oc-footer-ink);
  padding: 3rem 1.5rem;
  font-size: 0.8125rem;
}

.oc-footer p {
  margin: 0;
  text-align: left;
}

/* ---- Comparison pages (OpenChime vs. another product) ------------------- */

/* Four reasons read as two by two, not three and one. */
@media (min-width: 992px) {
  .reasons-even {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-even .reason,
  .reasons-even .reason:nth-child(4) {
    grid-column: auto;
  }
}

/* The cost chart: one series, bars from a shared baseline, values labelled at the end. */
:root,
[data-bs-theme="light"] {
  --oc-cost-other: #c5ccd8;
}

[data-bs-theme="dark"] {
  --oc-cost-other: #4b5566;
}

.cost-chart {
  max-width: 56rem;
  margin: 2.5rem auto 0;
  text-align: left;
}

.cost-chart figcaption {
  margin-bottom: 1rem;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cost-row {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-bottom: 0.9rem;
}

.cost-label {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.cost-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cost-bar {
  /* The longest bar takes three quarters of the track, leaving room for its value. */
  width: calc(var(--w) * 0.75%);
  min-width: 4px;
  height: 2rem;
  border-radius: 0 4px 4px 0;
  background: var(--oc-cost-other);
}

.cost-row-ours .cost-bar {
  background: var(--oc-blue);
}

[data-bs-theme="dark"] .cost-row-ours .cost-bar {
  background: var(--oc-blue-light);
}

.cost-value {
  font-size: 1.0625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cost-value small {
  color: var(--tblr-secondary-color);
  font-size: 0.8125rem;
  font-weight: 400;
}

@media (max-width: 575px) {
  .cost-row {
    grid-template-columns: 1fr;
  }
}

.cost-table-wrap {
  max-width: 56rem;
  margin: 2.5rem auto 0;
}

.cost-table {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.cost-table caption {
  caption-side: top;
  padding-top: 0;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

.cost-table .cost-ours,
.cost-table .cost-save {
  font-weight: 700;
}

.cost-table .cost-ours {
  color: var(--tblr-primary);
}

.cmp-source {
  max-width: 56rem;
  margin: 0.75rem auto 2.5rem;
  color: var(--tblr-secondary-color);
  font-size: 0.8125rem;
  text-align: left;
}

/* The decision table: what you need, then each product, ticks and crosses with words beside them. */
/* The grid: a column per edition, Slack's then ours, our columns tinted and set off by a rule. */
.cmp-scroll {
  max-width: 64rem;
  margin: 2rem auto 0;
  overflow-x: auto;
}

.cmp-table {
  min-width: 52rem;
  margin: 0;
  font-size: 0.875rem;
  text-align: center;
}

.cmp-table th[scope="row"] {
  width: 20%;
  min-width: 10.5rem;
  font-weight: 600;
  text-align: left;
}

.cmp-table > :not(caption) > * > * {
  padding: 0.7rem 0.6rem;
  vertical-align: middle;
}

.cmp-products th {
  padding-bottom: 0.35rem !important;
  border-bottom: 2px solid var(--tblr-border-color);
  color: var(--tblr-body-color);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.cmp-products td {
  border-bottom: 0;
}

.cmp-editions th {
  color: var(--tblr-secondary-color);
  font-size: 0.8125rem;
  font-weight: 600;
}

.cmp-table .cmp-ours {
  background: rgba(var(--tblr-primary-rgb), 0.06);
}

.cmp-products .cmp-ours {
  color: var(--tblr-primary);
  border-bottom-color: var(--tblr-primary);
}

.cmp-table .cmp-first-ours {
  border-left: 2px solid rgba(var(--tblr-primary-rgb), 0.35);
}

.cmp-icon-yes {
  stroke: var(--tblr-primary);
}

.cmp-icon-no {
  stroke: var(--tblr-secondary-color);
  opacity: 0.7;
}

/* On a narrow screen the grid scrolls sideways; the feature names stay put. */
@media (max-width: 991.98px) {
  .cmp-table th[scope="row"],
  .cmp-table .cmp-products td,
  .cmp-table .cmp-editions th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 9.5rem;
    background: var(--tblr-body-bg);
  }
}

.cmp-yes,
.cmp-no {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cmp-no {
  color: var(--tblr-secondary-color);
}

.cmp-icon {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: middle;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmp-yes .cmp-icon {
  stroke: var(--tblr-primary);
}

.cmp-no .cmp-icon {
  stroke: var(--tblr-secondary-color);
}

.cmp-plan {
  display: inline-block;
  margin-inline: 0.1rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(var(--tblr-primary-rgb), 0.1);
  color: var(--tblr-primary-text-emphasis);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
}

.move-steps {
  max-width: 62rem;
  margin: 2.5rem auto 0;
  text-align: left;
}

.cmp-shot {
  max-width: 62rem;
  margin: 3rem auto 0;
}

.cmp-shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(15, 23, 42, 0.25);
}

/* Where the other product wins: a plain, bordered list, no ticks, so nothing reads as ours. */
.cmp-slack {
  max-width: 44rem;
  margin: 2rem auto 0;
  padding: 0.5rem 1.75rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.875rem;
  background: var(--tblr-bg-surface);
  text-align: left;
}

.cmp-slack ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmp-slack li {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--tblr-border-color);
  font-size: 0.9375rem;
}

.cmp-slack li:last-child {
  border-bottom: 0;
}

.cost-table th[scope="row"] {
  white-space: nowrap;
}

/* On a phone, each table row becomes a card: the row's heading, then each value under its column's name. */
@media (max-width: 767.98px) {
  .cost-table {
    border-top: 1px solid var(--tblr-border-color);
  }

  .cost-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .cost-table tbody,
  .cost-table tr,
  .cost-table th,
  .cost-table td {
    display: block;
    width: auto;
  }

  .cost-table tr {
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--tblr-border-color);
  }

  .cost-table > :not(caption) > * > * {
    padding: 0.2rem 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .cost-table th[scope="row"] {
    width: auto;
    padding-bottom: 0.4rem;
    font-size: 1rem;
  }

  .cost-table td {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.75rem;
  }

  .cost-table td::before {
    content: attr(data-label);
    color: var(--tblr-secondary-color);
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .table-responsive:has(> .cost-table) {
    overflow: visible;
  }
}

.cmp-table thead th,
.cmp-table thead td {
  background: transparent;
}

.cmp-table thead .cmp-ours {
  background: rgba(var(--tblr-primary-rgb), 0.06);
}

.cmp-table td {
  white-space: normal;
}

.cmp-hint {
  display: none;
}

.cmp-prod {
  display: none;
}

@media (max-width: 991.98px) {
  .cmp-hint {
    display: block;
    margin: 1.25rem 0 0;
    color: var(--tblr-secondary-color);
    font-size: 0.8125rem;
    text-align: left;
  }

  .cmp-table th[scope="row"],
  .cmp-table .cmp-products td,
  .cmp-table .cmp-editions th:first-child {
    min-width: 8.5rem;
    max-width: 8.5rem;
  }
}

/* ---- The community rate box (comparison pages) ---------------------------
   The offer and who qualifies on the left, the price and its action on the right,
   a fair comparison with the other product's programme underneath. */
.np-box {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  max-width: 64rem;
  margin: 1rem auto 0;
  overflow: hidden;
  border: 1px solid rgba(var(--tblr-primary-rgb), 0.25);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(var(--tblr-primary-rgb), 0.07), rgba(var(--tblr-primary-rgb), 0.02));
  text-align: left;
}

.np-main {
  padding: 2rem;
}

.np-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgba(var(--tblr-primary-rgb), 0.12);
  color: var(--tblr-primary-text-emphasis);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.np-main h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.np-lede {
  margin-bottom: 1.5rem;
  color: var(--tblr-secondary-color);
  font-size: 1rem;
}

.np-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.np-cols h4,
.np-compare h4 {
  margin-bottom: 0.6rem;
  line-height: 1.4;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tblr-secondary-color);
}

.np-list,
.np-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.np-list li,
.np-steps li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.75rem;
}

.np-list li::before {
  content: "✓";
  position: absolute;
  left: 0.15rem;
  color: var(--tblr-primary);
  font-weight: 700;
}

.np-steps {
  counter-reset: np-step;
}

.np-steps li {
  counter-increment: np-step;
}

.np-steps li::before {
  content: counter(np-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--tblr-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.np-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-left: 1px solid rgba(var(--tblr-primary-rgb), 0.15);
  background: var(--tblr-bg-surface);
  text-align: center;
}

.np-was {
  margin: 0;
  color: var(--tblr-secondary-color);
  font-size: 0.9375rem;
}

.np-was s {
  font-weight: 600;
}

.np-price .price {
  margin: 0.15rem 0 0.25rem;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.np-price .price small {
  color: var(--tblr-secondary-color);
  font-size: 1rem;
  font-weight: 400;
}

.np-off {
  margin-bottom: 0.25rem;
  color: var(--tblr-primary-text-emphasis);
  font-size: 0.9375rem;
  font-weight: 700;
}

.np-note {
  margin-bottom: 1.25rem;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

.np-price .btn {
  width: 100%;
  max-width: 16rem;
}

.np-fine {
  margin: 1rem 0 0;
  color: var(--tblr-secondary-color);
  font-size: 0.75rem;
  line-height: 1.45;
}

.np-compare {
  grid-column: 1 / -1;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(var(--tblr-primary-rgb), 0.15);
}

.np-compare-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.np-compare-col {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  background: var(--tblr-bg-surface);
}

.np-compare-col p {
  margin: 0;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

.np-compare-col .np-compare-name {
  color: var(--tblr-body-color);
  font-size: 0.8125rem;
  font-weight: 700;
}

.np-compare-col .np-compare-price {
  margin: 0.25rem 0 0.6rem;
  color: var(--tblr-body-color);
  font-size: 1.5rem;
  font-weight: 800;
}

.np-compare-price small {
  color: var(--tblr-secondary-color);
  font-size: 0.8125rem;
  font-weight: 400;
}

.np-compare-ours {
  border: 2px solid var(--tblr-primary);
}

@media (max-width: 991.98px) {
  .np-box {
    grid-template-columns: 1fr;
  }

  .np-price {
    border-left: 0;
    border-top: 1px solid rgba(var(--tblr-primary-rgb), 0.15);
  }

  .np-compare-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .np-cols {
    grid-template-columns: 1fr;
  }

  .np-main,
  .np-price,
  .np-compare {
    padding: 1.5rem;
  }
}

.cost-note {
  margin: 0.75rem 0 0;
  color: var(--tblr-secondary-color);
  font-size: 0.875rem;
}

.np-compare-lede {
  max-width: 48rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

/* On a phone the grid keeps the plans most buyers compare: Slack Pro and Business+, and OpenChime Managed. */
@media (max-width: 575.98px) {
  .cmp-table tbody tr > :nth-child(2),
  .cmp-table tbody tr > :nth-child(5),
  .cmp-table tbody tr > :nth-child(6),
  .cmp-table .cmp-editions > :nth-child(2),
  .cmp-table .cmp-editions > :nth-child(5),
  .cmp-table .cmp-editions > :nth-child(6),
  .cmp-table .cmp-products {
    display: none;
  }

  .cmp-table tbody tr > :nth-child(7),
  .cmp-table .cmp-editions > :nth-child(7) {
    border-left: 2px solid rgba(var(--tblr-primary-rgb), 0.35);
  }

  .cmp-table .cmp-prod {
    display: block;
    font-size: 0.6875rem;
  }

  .cmp-table {
    min-width: 0;
  }

  .cmp-table th[scope="row"],
  .cmp-table .cmp-editions th:first-child {
    position: static;
    min-width: 0;
    max-width: none;
    width: 34%;
  }

  .cmp-table td {
    white-space: normal;
  }

  .cmp-table > :not(caption) > * > * {
    padding: 0.6rem 0.3rem;
    font-size: 0.8125rem;
  }

  .cmp-table th[scope="row"] {
    width: 30%;
    padding-left: 0;
  }

  .cmp-shot {
    display: none;
  }
}

.cmp-hint-phone {
  display: none;
}

@media (max-width: 575.98px) {
  .cmp-hint-scroll {
    display: none;
  }

  .cmp-hint-phone {
    display: block;
    margin: 1.25rem 0 0;
    color: var(--tblr-secondary-color);
    font-size: 0.8125rem;
    text-align: left;
  }
}

.cost-table thead th {
  white-space: normal;
  vertical-align: bottom;
}

@media (max-width: 575.98px) {
  .cmp-table .cmp-row-wide {
    display: none;
  }
}

@media (max-width: 379.98px) {
  .cmp-table > :not(caption) > * > * {
    padding: 0.55rem 0.2rem;
    font-size: 0.75rem;
  }
}

/* ---- The console's page header ---------------------------------------------
   Each page's first .page-header is a band across the top of the content area:
   the surface colour and a rule under it, edge to edge, as the side panel is.
   The page's markup stays its own (a workspace's page builds its header inside a
   branch); the band is drawn here: a pseudo-element behind the header reaches past
   the container, and the wrapper clips it at the sides. */
.console-side ~ .page-wrapper {
  overflow-x: clip;
}

.page-body > .container-xl > .page-header:first-child {
  position: relative;
  margin-top: -1.5rem !important; /* up to the top: the page body's own margin */
  margin-bottom: 1.75rem !important;
  padding: 1.5rem 0 1.25rem;
  /* A soft wash of the brand blue from the top right, on the surface colour,
     which a shadow carries to both edges of the content area. */
  background: radial-gradient(28% 150% at 72% 0%, rgba(var(--tblr-primary-rgb), 0.12), transparent 100%);
}

/* The page's icon, in a tile of the brand's button gradient, beside the title. */
.page-body > .container-xl > .page-header[data-icon]:first-child {
  padding-left: 4.25rem;
}

.page-body > .container-xl > .page-header[data-icon]:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem, cover;
  box-shadow: 0 0.5rem 1.25rem -0.5rem rgba(var(--tblr-primary-rgb), 0.6);
  transform: translateY(-50%);
}

.page-body > .container-xl > .page-header[data-icon="workspaces"]:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z%22/%3E%3C/svg%3E"), linear-gradient(135deg, #3d8bff, var(--oc-blue-deep));
}

.page-body > .container-xl > .page-header[data-icon="members"]:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 7a4 4 0 1 0 8 0a4 4 0 1 0 -8 0M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2M16 3.13a4 4 0 0 1 0 7.75M21 21v-2a4 4 0 0 0 -3 -3.85%22/%3E%3C/svg%3E"), linear-gradient(135deg, #3d8bff, var(--oc-blue-deep));
}

.page-body > .container-xl > .page-header[data-icon="billing"]:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3zM3 10h18M7 15h.01M11 15h2%22/%3E%3C/svg%3E"), linear-gradient(135deg, #3d8bff, var(--oc-blue-deep));
}

.page-body > .container-xl > .page-header[data-icon="profile"]:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2%22/%3E%3C/svg%3E"), linear-gradient(135deg, #3d8bff, var(--oc-blue-deep));
}

.page-body > .container-xl > .page-header[data-icon="organization"]:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 21h18M5 21V7l7-4 7 4v14M9 21v-4h6v4M9 10h.01M15 10h.01M9 14h.01M15 14h.01%22/%3E%3C/svg%3E"), linear-gradient(135deg, #3d8bff, var(--oc-blue-deep));
}

.page-body > .container-xl > .page-header[data-icon="workspace"]:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 20l1.3 -3.9a9 8 0 1 1 3.4 2.9l-4.7 1%22/%3E%3C/svg%3E"), linear-gradient(135deg, #3d8bff, var(--oc-blue-deep));
}


/* The band itself, edge to edge behind the header, with its rule: drawn here, not
   with a shadow and clip-path, which would clip a menu that opens out of the header. */
.page-body > .container-xl > .page-header:first-child::after {
  content: "";
  position: absolute;
  inset: 0 -100vmax;
  z-index: -1;
  border-bottom: 1px solid var(--tblr-border-color);
  background: var(--tblr-bg-surface);
}

.page-body > .container-xl > .page-header:first-child .page-pretitle {
  margin-bottom: 0.2rem;
  color: var(--tblr-primary);
}

.page-body > .container-xl > .page-header:first-child .page-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* When the actions wrap under the title on a narrow screen, a gap between them. */
.page-body > .container-xl > .page-header:first-child > .row {
  row-gap: 0.85rem;
}

/* On a narrow screen the header keeps its text and actions: no icon tile, a smaller title. */
@media (max-width: 767.98px) {
  .page-body > .container-xl > .page-header[data-icon]:first-child {
    padding-left: 0;
  }

  .page-body > .container-xl > .page-header[data-icon]:first-child::before {
    content: none;
  }

  .page-body > .container-xl > .page-header:first-child .page-title {
    font-size: 1.4rem;
  }
}

/* ---- Wizard modal (modal-wizard.js) ----------------------------------------------
   The steps as numbered marks under the title: the current one in the brand
   blue, the ones behind it ticked. */
.wizard-steps {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--tblr-border-color);
  list-style: none;
  counter-reset: wizard-step;
}

.wizard-steps > li {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  color: var(--tblr-secondary-color);
  counter-increment: wizard-step;
}

.wizard-steps > li::before {
  content: counter(wizard-step);
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 50%;
  background: var(--tblr-bg-surface);
  font-size: 0.75rem;
  font-weight: 700;
}

.wizard-steps > li.active {
  color: var(--tblr-body-color);
  font-weight: 600;
}

.wizard-steps > li.active::before {
  border-color: var(--tblr-primary);
  background: var(--tblr-primary);
  color: #fff;
}

.wizard-steps > li.done::before {
  content: "✓";
  border-color: rgba(var(--tblr-primary-rgb), 0.35);
  background: rgba(var(--tblr-primary-rgb), 0.1);
  color: var(--tblr-primary);
}

.wizard-review dt {
  color: var(--tblr-secondary-color);
  font-weight: 400;
}

.wizard-review dd {
  font-weight: 400;
}

.wizard-footer {
  justify-content: space-between;
}

/* ---- Breadcrumbs (Shared/_Breadcrumbs), under each page's header band ---- */
.console-crumbs {
  margin: -0.85rem 0 1.25rem;
}

.console-crumbs .breadcrumb {
  margin: 0;
}

.console-crumbs .breadcrumb-item a {
  color: var(--tblr-secondary-color);
  text-decoration: none;
}

.console-crumbs .breadcrumb-item a:hover {
  color: var(--tblr-primary);
}

.console-crumbs .breadcrumb-item.active {
  color: var(--tblr-body-color);
  font-weight: 600;
}

/* Every section's one action, in its card header: one size, one style, one width. */
.card-actions .section-action {
  min-width: 6.5rem;
}

/* Page titles in the wordmark's face: Liberation Sans Bold (img/openchime-wordmark.svg),
   or Arial, its metric twin, where it is not installed; the wordmark's ink in light mode. */
.page-body > .container-xl > .page-header:first-child .page-title {
  font-family: "Liberation Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #10203f;
}

/* The wordmark switches to its light ink by the colour scheme (its <picture>); so does the title. */
@media (prefers-color-scheme: dark) {
  .page-body > .container-xl > .page-header:first-child .page-title {
    color: #f1f5f9;
  }
}

/* A state as a word with a coloured dot before it: green for on, grey otherwise. */
.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--tblr-secondary-color);
  vertical-align: 0.1em;
}

.status-dot-on {
  background: var(--tblr-success);
}

/* ---- The console's one modal (Pages/Shared/ModalTagHelper.cs, class oc-modal) ----
   One width, a body of one height that scrolls inside itself so a wizard never
   jumps between steps, a title with a line under it, and one footer row: Cancel
   on the left, Back and the one primary action on the right. On a phone, a sheet. */
.oc-modal .modal-dialog {
  max-width: 640px;
}

.oc-modal .modal-header {
  align-items: flex-start;
  padding: 1.25rem 1.5rem 1rem;
}

/* The title reads as a card's title does: one size and weight for every heading of a box. */
.oc-modal .modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--tblr-font-weight-medium);
  line-height: 1.5rem;
}

.oc-modal-description {
  margin: 0.25rem 0 0;
  color: var(--tblr-secondary-color);
}

.oc-modal .modal-body {
  height: 360px;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

.oc-modal .modal-footer {
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.oc-modal .modal-footer > * {
  margin: 0;
}

.oc-modal-actions {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 575.98px) {
  .oc-modal .modal-dialog {
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .oc-modal .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .oc-modal .modal-body {
    flex: 1;
    height: auto;
  }
}

/* One pattern for a choice in the dashboard: its name in .form-check-label, a
   line under it in .form-check-description, never <strong> or a weight utility. */
.oc-dashboard .form-check-label {
  font-weight: var(--tblr-font-weight-medium);
}

/* One pattern for a list of facts in the dashboard (Profile, Organization, a
   workspace's overview, a dialog's review): the label plain and secondary, the value plain. */
.oc-dashboard dl.row > dt {
  color: var(--tblr-secondary-color);
  font-weight: 400;
}
