/* Landing components ("Two doors" design), shared by the main landing (overrides/home.html +
   docs/index.md), the Meet landing (docs/meet/index.md) and the Platform landing
   (docs/docs/index.md); the `landingstyles` feature key loads this sheet. Sizes are the
   mockup's pixel values; grounds, ink and accents are the tokens in colors.css, so the slate
   scheme only swaps grounds. A page opts in by wrapping its content in `.ov-landing`; the
   resets below are scoped to the components, so ordinary prose between them keeps Material's
   spacing and link colour. */

.ov-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1288px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ov-landing,
.ov-hero {
  font-family: var(--md-text-font-family);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ov-text);
  -webkit-font-smoothing: antialiased;
}

/* Inside a component the text sits where the component puts it, and links take the
   component's own colour; the .md-typeset prefix outranks Material's rules (extra.css loads
   after this sheet, so order alone would not). */
.md-typeset .ov-landing :is(.ov-hero, .ov-door, .ov-pick, .ov-closing__panel, .ov-stat,
    .ov-shared__item, .ov-card, .ov-eyebrow, .ov-compare, .ov-deploy__head, .ov-arch, .ov-stack,
    .ov-topo, .ov-topo__card, .ov-plan, .ov-record__grid) :is(p, h1, h2, h3, pre, ul),
.md-typeset .ov-landing :is(.ov-h2, .ov-hero__title, .ov-hero__lead, .ov-door__title, .ov-closing__title),
.md-typeset .ov-hero :is(h1, p) {
  margin: 0;
}

.md-typeset .ov-landing :is(.ov-hero, .ov-door, .ov-pick, .ov-closing__panel, .ov-stat,
    .ov-card__media, .ov-plan) a,
.md-typeset .ov-hero a,
.md-typeset .ov-landing a.ov-btn,
.md-typeset .ov-landing a.ov-link {
  color: inherit;
  text-decoration: none;
}

.md-typeset .ov-landing :is(h2, h3),
.md-typeset .ov-hero h1 {
  font-family: var(--ov-display-font);
  font-optical-sizing: auto;
  color: inherit;
}

/* Section headings on the product landings: same scale as the main landing, without the
   Material anchor margins; a lead paragraph can follow */
.md-typeset .ov-landing .ov-section > .ov-h2,
.md-typeset .ov-landing .ov-section > h2.ov-h2 {
  margin: 0 0 28px;
}

.md-typeset .ov-landing .ov-lead {
  max-width: 640px;
  margin: -12px 0 32px;
  font-size: 18px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-center {
  text-align: center;
}

.md-typeset .ov-landing .ov-center .ov-lead {
  margin-left: auto;
  margin-right: auto;
}

.ov-section {
  padding-top: clamp(72px, 9vw, 120px);
}

.md-typeset .ov-landing .ov-h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ov-eyebrow {
  margin: 0 0 24px !important;
  font-size: 15px;
  font-weight: 600;
  color: var(--ov-muted);
}

/* Buttons: pills in the panel's own ink */
.ov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s, filter 0.2s;
}

.ov-btn:hover,
.ov-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

.ov-btn svg {
  flex: none;
}

.md-typeset .ov-landing a.ov-btn--ink {
  min-height: 48px;
  padding: 0 22px;
  background: var(--ov-ink);
  color: var(--ov-ink-fg);
}

.md-typeset .ov-landing a.ov-btn--meet-ink {
  background: #062a15;
  color: #ffffff;
}

.md-typeset .ov-landing a.ov-btn--white {
  background: #ffffff;
  color: #00384a;
}

.md-typeset .ov-landing a.ov-btn--yellow-ink {
  min-height: 48px;
  padding: 0 22px;
  background: #1f1800;
  color: #ffffff;
}

.ov-btn--lg {
  min-height: 54px;
  padding: 0 26px;
}

.md-typeset .ov-landing a.ov-btn--meet {
  background: var(--ov-meet-accent);
  color: var(--ov-meet-ink);
}

.md-typeset .ov-landing a.ov-btn--platform {
  background: var(--ov-platform-accent);
  color: var(--ov-platform-ink);
}

.ov-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* Hero: the stacked logo on the left, vertically centred, the title and lead on the right.
   Below 900px the logo goes above the copy and everything centres. */
.ov-hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* the same two columns as the doors below */
  align-items: center;
  gap: 20px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.ov-hero__brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* extra.css swaps the light and dark files */
.md-typeset .ov-hero__logo {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0;
}

.ov-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.md-typeset .ov-hero__title {
  margin: 0;
  font-family: var(--ov-display-font);
  font-optical-sizing: auto;
  font-weight: 800;
  font-size: clamp(42px, 5vw, 72px) !important;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
  text-wrap: balance;
  color: var(--ov-text);
}

.ov-hero__lead {
  max-width: 600px;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ov-muted);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .ov-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }

  .md-typeset .ov-hero__logo {
    max-width: 240px;
  }

  .ov-hero__copy {
    align-items: center;
  }
}

/* The two doors */
.ov-doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 20px;
}

.ov-door {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3.6vw, 44px) clamp(28px, 3.6vw, 44px) 0;
  border-radius: var(--ov-radius);
  overflow: hidden;
}

.ov-door--meet {
  background: var(--ov-meet-accent);
  color: var(--ov-meet-ink);
}

.ov-door--platform {
  background: #005f78;
  color: #ffffff;
}

.ov-door__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ov-door__name {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 22px;
}

.ov-door__badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 42, 21, 0.12);
  font-size: 14px;
  font-weight: 600;
}

.ov-door--platform .ov-door__badge {
  background: rgba(255, 255, 255, 0.14);
}

.md-typeset .ov-landing .ov-door__title {
  font-weight: 800;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.ov-door__text {
  max-width: 460px;
  font-size: 18px;
  text-wrap: pretty;
}

.ov-door__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.ov-door__visual {
  margin-top: auto;
  padding-top: 12px;
}

.ov-landing .ov-door__shot {
  display: block;
  width: 112%;
  max-width: none;
  height: auto;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 40px rgba(6, 42, 21, 0.25);
}

/* The Platform door shows the code above its actions, with the AI note between: the code
   window sits inside the card with its full radius, and the actions take the card's bottom air */
.ov-door--platform .ov-door__visual {
  margin-top: 0;
  padding-top: 0;
}

.ov-door--platform .ov-code {
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 20, 28, 0.4);
}

.ov-door--platform .ov-door__actions {
  margin-top: auto;
  padding-bottom: clamp(28px, 3.6vw, 44px);
}

.md-typeset .ov-landing .ov-door__ai {
  margin: -6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.md-typeset .ov-landing .ov-door__ai a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* The code window keeps its dark glass in both schemes */
.ov-code {
  border-radius: 14px 14px 0 0;
  background: var(--ov-code-window);
  box-shadow: 0 -10px 40px rgba(0, 20, 28, 0.4);
  overflow: hidden;
}

.ov-code__bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ov-code-window-border);
}

.ov-code__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c4c57;
}

.ov-landing .ov-code__pre {
  padding: 18px 20px 28px;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: transparent;
  font-family: var(--md-code-font-family);
  font-size: 14px;
  line-height: 1.75;
  color: #e6f4f8;
}

.ov-code__kw {
  color: #00c8f7;
}

.ov-code__str {
  color: #ffcc00;
}

.ov-landing .ov-compare {
  padding-top: 24px;
  text-align: center;
  font-size: 18px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-compare a {
  color: var(--ov-text);
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Same engine behind both doors */
.ov-shared__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  border-top: 2px solid var(--ov-text);
}

.ov-shared__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 24px 0;
}

.ov-shared__title {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 22px;
}

.ov-shared__text {
  color: var(--ov-muted);
}

/* Sovereignty, privacy and regulation are why a self-hosted engine gets picked, so they lead
   the section as cards. They wear the logo's yellow, the one brand colour that belongs to
   neither door. */
.ov-landing .ov-shared .ov-eyebrow {
  margin-bottom: 14px !important;
}

.ov-mark {
  display: inline-block;
  padding: 0.02em 0.14em 0.1em;
  border-radius: 0.16em;
  line-height: 1;
  background: var(--ov-yellow);
  color: var(--ov-yellow-ink);
}

.ov-card--key {
  gap: 14px;
  padding: 32px;
}

.ov-card--key .ov-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ov-yellow);
  color: var(--ov-yellow-ink);
}

.ov-card--key .ov-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
}

.md-typeset .ov-landing .ov-card--key h3 {
  font-size: 24px;
  line-height: 1.15;
}

.md-typeset .ov-landing .ov-card--key > p {
  font-size: 16px;
}

.md-typeset .ov-landing .ov-shared__proof {
  margin: 24px 0 0;
  font-size: 16px;
  color: var(--ov-muted);
}

.ov-shared__quote {
  color: var(--ov-text);
  font-weight: 600;
}

.md-typeset .ov-landing .ov-shared__proof a {
  color: var(--ov-text);
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.ov-shared__pillars ~ .ov-shared__grid {
  margin-top: 56px;
}

/* What are you building? */
.ov-cases {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ov-cases__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ov-case {
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--ov-text);
  border-radius: 999px;
  background: transparent;
  color: var(--ov-text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.ov-case:hover,
.ov-case:focus-visible {
  background: rgba(16, 22, 24, 0.06);
}

[data-md-color-scheme="slate"] .ov-case:hover,
[data-md-color-scheme="slate"] .ov-case:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.ov-case[aria-pressed="true"],
.ov-case[aria-pressed="true"]:hover {
  background: var(--ov-text);
  color: var(--ov-ground);
}

/* The answer panel: the pitch on the left, a screenshot with the features it uses on the right */
.ov-pick {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.ov-pick[hidden] {
  display: none;
}

.ov-pick__lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ov-pick__badge {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.ov-pick--meet .ov-pick__badge {
  background: var(--ov-meet-accent);
  color: var(--ov-meet-ink);
}

.ov-pick--platform .ov-pick__badge {
  background: var(--ov-platform-primary);
  color: #ffffff;
}

.ov-pick__line {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.ov-pick__why {
  color: var(--ov-muted);
}

.ov-pick__lead .ov-btn {
  margin-top: 6px;
}

.ov-pick__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.md-typeset .ov-landing .ov-pick__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--ov-radius-sm);
  border: 1px solid var(--ov-border);
  background: var(--ov-surface-2);
}

/* The feature pills under the screenshot */
.md-typeset .ov-landing .ov-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-typeset .ov-landing .ov-feats li {
  margin: 0;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--ov-surface-2);
  color: var(--ov-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.ov-pick--meet .ov-feats li {
  background: rgba(var(--ov-meet-accent-rgb), 0.18);
}

.ov-pick--platform .ov-feats li {
  background: rgba(var(--ov-platform-accent-rgb), 0.18);
}

/* Deploy where you already run: the provider cards, the stack diagram, the four deployments */
.ov-deploy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ov-deploy__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}

.md-typeset .ov-landing .ov-deploy__title {
  max-width: 14ch;
}

.ov-deploy__lead {
  max-width: 460px;
  color: var(--ov-muted);
}

.ov-where {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 12px;
}

.md-typeset .ov-landing a.ov-provider {
  color: var(--ov-text);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.md-typeset .ov-landing a.ov-provider:hover,
.md-typeset .ov-landing a.ov-provider:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ov-text);
}

.ov-provider__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* Six across on the main landing: the icon sits above the name */
.ov-where .ov-provider {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.ov-where .ov-provider__name {
  font-size: 17px;
}

.ov-where .ov-provider__text {
  font-size: 13px;
}

.ov-provider--aws .ov-provider__icon {
  background: var(--ov-aws-orange);
  color: #252f3e; /* the navy token turns orange in slate; the mark sits on orange here */
}

.ov-provider--azure .ov-provider__icon {
  background: #0072c6;
}

.ov-provider--gcp .ov-provider__icon {
  background: #34a853;
}

.ov-provider--do .ov-provider__icon {
  background: #0080ff;
}

.ov-provider--oracle .ov-provider__icon {
  background: #c74634;
}

.ov-provider--onprem .ov-provider__icon {
  background: var(--ov-community);
}

/* The stack diagram beside its explanation */
.ov-arch {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.ov-arch__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.md-typeset .ov-landing .ov-arch__title,
.md-typeset .ov-landing .ov-topo__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ov-arch__text {
  color: var(--ov-muted);
}

.ov-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
}

.ov-stack__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ov-stack__label {
  flex: none;
  width: 84px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ov-muted);
}

.ov-stack__app {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  min-height: 64px;
  padding: 12px 20px;
  border: 2px dashed var(--ov-text);
  border-radius: var(--ov-radius-md);
}

.ov-stack__name {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 18px;
}

.ov-stack__sub {
  font-size: 14px;
  opacity: 0.8;
}

.ov-stack__pick {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ov-stack__product {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: var(--ov-radius-md);
}

.ov-stack__product--meet {
  background: var(--ov-meet-accent);
  color: var(--ov-meet-ink);
}

.ov-stack__product--platform {
  background: var(--ov-platform-primary);
  color: #ffffff;
}

.ov-stack__engine {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 72px;
  padding: 14px 20px;
  border-radius: var(--ov-radius-md);
  background: var(--ov-ink);
  color: var(--ov-ink-fg);
}

.ov-stack__engine .ov-stack__name {
  font-size: 20px;
}

.ov-stack__chips {
  display: flex;
  gap: 6px;
}

.ov-stack__note {
  width: 100%;
  font-size: 13px;
  color: var(--ov-ink-muted);
}

.ov-stack__infra {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(88px, 100%), 1fr));
  gap: 6px;
}

.ov-stack__host {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 4px;
  border-radius: var(--ov-radius-sm);
  background: var(--ov-surface-2);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

/* Edition tags */
.ov-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ov-tag--community {
  background: var(--ov-community);
}

.ov-tag--pro {
  background: var(--ov-pro);
}

.ov-tag--dev {
  background: var(--ov-platform-primary);
}

/* The four deployments, each with its diagram */
.ov-topo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

.ov-topo__lead {
  max-width: 640px;
  margin: -8px 0 0;
  color: var(--ov-muted);
}

.ov-topo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 14px;
}

.md-typeset .ov-landing a.ov-topo__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
  color: var(--ov-text);
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.md-typeset .ov-landing a.ov-topo__card:hover,
.md-typeset .ov-landing a.ov-topo__card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ov-text);
}

.ov-topo__tags {
  display: flex;
  gap: 6px;
}

.ov-topo__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 12px;
  border-radius: var(--ov-radius-sm);
  background: var(--ov-ground);
}

.md-typeset .ov-landing .ov-topo__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ov-topo__name {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

.ov-topo__text {
  color: var(--ov-muted);
  font-size: 15px;
}

/* Start free. Scale when you need to: the two editions */
.ov-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 20px;
}

.ov-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.ov-plan--pro {
  background: var(--ov-ink);
  border-color: var(--ov-ink);
  color: var(--ov-ink-fg);
}

.ov-plan__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.ov-plan__amount {
  font-family: var(--ov-display-font);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.ov-plan__unit {
  color: var(--ov-muted);
}

.ov-plan--pro .ov-plan__unit {
  color: var(--ov-ink-muted);
}

.md-typeset .ov-landing .ov-plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-typeset .ov-landing .ov-plan__list li {
  position: relative;
  margin: 0;
  padding-left: 28px;
}

.md-typeset .ov-landing .ov-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ov-meet-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23062a15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.md-typeset .ov-landing .ov-plan--pro .ov-plan__list li::before {
  background-color: var(--ov-yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%231f1800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ov-plan .ov-btn {
  margin-top: auto;
  width: 100%;
}

.md-typeset .ov-landing a.ov-btn--yellow {
  background: var(--ov-yellow);
  color: var(--ov-yellow-ink);
}

.md-typeset .ov-landing .ov-plans__note {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-plans__note a {
  color: var(--ov-text);
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Track record: four figures, each a link */
.ov-record__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--ov-radius);
  background: var(--ov-border);
  border: 1px solid var(--ov-border);
}

.md-typeset .ov-landing a.ov-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: var(--ov-surface);
  color: var(--ov-text);
  text-decoration: none;
  transition: background-color 0.2s;
}

.md-typeset .ov-landing a.ov-stat:hover,
.md-typeset .ov-landing a.ov-stat:focus-visible {
  background: var(--ov-surface-2);
}

.ov-stat__value {
  font-family: var(--ov-display-font);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ov-stat__label {
  color: var(--ov-muted);
  font-size: 15px;
}

/* Success stories: three testimonial cards, each with the customer's logo, quote, attribution
   and a link to its blog post. The Meet and Platform landings reuse the card and the logo row
   (their customer content is still placeholder, see the comment in those pages). */
.ov-stories {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.md-typeset .ov-landing .ov-stories__title {
  margin: 0;
  max-width: 16ch;
}


.md-typeset .ov-landing figure.ov-story {
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  margin: 0;
  text-align: left;
}


.md-typeset .ov-landing .ov-story__text {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ov-text);
}

.md-typeset .ov-landing .ov-story__text p {
  margin: 0;
}


.md-typeset .ov-landing .ov-story__by {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 0;
  color: var(--ov-muted);
  font-size: 16px;
  font-style: normal;
  text-align: left;
}

.ov-story__who strong {
  color: var(--ov-text);
  font-weight: 600;
}

.ov-stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 20px;
}

.ov-stories__grid--three {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* The stories ride a Splide carousel (carousel.css styles the arrows and the dots; its slide
   rules are written for the Meet landing's wide use-case panels, so here each slide is just its
   card, fully visible, stretched to the row's height). The list and the slides are divs, not
   ul/li: Material's typesetting sets display: flow-root on every ul and would undo Splide's
   flex row. If every story ever fits at once Splide leaves out .is-overflow: the row centres,
   with no arrows or dots. */
.ov-stories .splide {
  margin: 0 0 40px; /* room for the dots, which sit below the track */
}

.ov-stories .splide__slide {
  width: auto;
  opacity: 1;
}

.ov-stories .splide__slide figure.ov-story {
  height: 100%;
  box-sizing: border-box;
}

.ov-stories .splide:not(.is-overflow) .splide__list {
  justify-content: center;
}

.ov-stories .splide:not(.is-overflow) .splide__arrows,
.ov-stories .splide:not(.is-overflow) .splide__pagination {
  display: none;
}

.ov-story {
  gap: 20px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.ov-story__tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.md-typeset .ov-landing .ov-story__text {
  font-size: 19px;
  line-height: 1.5;
  text-wrap: pretty;
}

.md-typeset .ov-landing .ov-story__by {
  margin-top: auto;
}

.ov-story__who {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

/* The customer logo sits on a white chip, so the logos (opaque PNGs and an SVG with its own white
   ground) look the same in both schemes; in the light scheme the chip blends into the card. */
.ov-story__logo {
  display: inline-flex;
  align-self: center;
  align-items: center;
  min-height: 72px;
  padding: 8px 16px;
  border-radius: var(--ov-radius-sm);
  background: #ffffff;
}

/* A fixed height, not max-height: an SVG with only a viewBox has no intrinsic size and
   collapses to zero width when a flex item is sized by max-height alone. */
.md-typeset .ov-landing .ov-story__logo img {
  display: block;
  flex: none;
  width: auto;
  height: 48px;
  max-width: 220px;
  margin: 0;
  object-fit: contain;
}

/* Wordmarks with a squarer aspect (DynDevice) or inner padding of their own (Dicode) need
   more height to read as large as the wide Novakid one. */
.md-typeset .ov-landing .ov-story__logo--tall img {
  height: 64px;
}

.ov-story__tag--neutral {
  background: var(--ov-surface-2);
  color: var(--ov-text);
}

.md-typeset .ov-landing .ov-story__by {
  flex-wrap: wrap;
  gap: 12px 20px;
}

.md-typeset .ov-landing a.ov-story__link {
  margin-left: auto;
  color: var(--ov-text);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.md-typeset .ov-landing a.ov-story__link:hover {
  text-decoration: underline;
}

/* The story grid's title keeps to the flex gap of .ov-stories, with no section-heading margin */
.md-typeset .ov-landing .ov-section > h2.ov-stories__title {
  margin-bottom: 0;
}

/* The toc extension appends its permalink "#" to every h2 with an id, raw HTML included. On a
   landing title with a tight measure the hidden anchor can wrap onto a line of its own, which
   leaves an empty line of air under the title: these titles carry no permalink, nor does the
   hero title, which is the page itself and needs no anchor. */
.md-typeset .ov-landing :is(.ov-h2, .ov-hero__title) > .headerlink {
  display: none;
}

/* Pick your door */
.ov-closing {
  padding-bottom: clamp(72px, 9vw, 120px);
}

.ov-closing__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: clamp(44px, 7vw, 88px) 24px;
  border-radius: var(--ov-radius);
  background: var(--ov-ink);
  color: var(--ov-ink-fg);
}

.md-typeset .ov-landing .ov-closing__title {
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 12ch;
}

.ov-closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.md-typeset .ov-landing a.ov-closing__link {
  color: var(--ov-ink-muted);
  font-size: 15px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.md-typeset .ov-landing a.ov-closing__link:hover {
  color: var(--ov-ink-fg);
}

/* The two-column panels stack before the phone widths */
@media (max-width: 900px) {
  .ov-pick,
  .ov-arch {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reveal-on-scroll: the sections slide in like the rest of the site */
.ov-landing [data-sal] {
  --sal-duration: 0.5s;
}

@media (max-width: 600px) {
  .ov-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ov-hero {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .ov-door {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ov-btn {
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }

  .ov-pick {
    gap: 20px;
  }

  .ov-stat__value {
    font-size: 36px;
  }

  .ov-stack__row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .ov-stack__label {
    width: auto;
  }

  .ov-stack__pick {
    grid-template-columns: minmax(0, 1fr);
  }

  .ov-plan__amount {
    font-size: 40px;
  }

  
}

/* ==========================================================================
   Product-landing components (Meet and Platform landings)
   ========================================================================== */

/* A generic surface card: icon, title, text, optional media */
.ov-grid {
  display: grid;
  gap: 14px;
}

/* Grids of showcases or figures take the wider gap of the section rhythm */
.ov-grid:has(> .ov-showcase, > .ov-figure) {
  gap: 20px;
}

.ov-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
}

.ov-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.ov-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.ov-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
  color: var(--ov-text);
}

.ov-card--accent {
  background: var(--ov-accent);
  border-color: var(--ov-accent);
  color: var(--ov-btn-primary-fg);
}

.ov-card--ink {
  background: var(--ov-ink);
  border-color: var(--ov-ink);
  color: var(--ov-ink-fg);
}

.ov-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--ov-accent-rgb), 0.12);
  color: var(--ov-accent);
  font-size: 26px;
}

.ov-card__icon .twemoji,
.ov-card__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.ov-card__title {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.ov-card__text {
  color: var(--ov-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ov-card--accent .ov-card__text,
.ov-card--ink .ov-card__text {
  color: inherit;
  opacity: 0.85;
}

.ov-card__media {
  margin-top: auto;
  padding-top: 8px;
}

.md-typeset .ov-landing .ov-card__media :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ov-radius-sm);
}

.md-typeset .ov-landing .ov-card__media p {
  margin: 0;
}

.md-typeset .ov-landing .ov-card__media pre {
  margin: 0;
}

.md-typeset .ov-landing .ov-card__media .highlight {
  margin: 0;
}

/* Consecutive cards in a section (showcases, card grids, figures) keep the same air between
   them as the grids keep between their cells; without this they stack border to border. */
.md-typeset .ov-landing .ov-section > :is(.ov-showcase, .ov-grid, .ov-figure) + :is(.ov-showcase, .ov-grid, .ov-figure) {
  margin-top: 20px;
}

/* A lead paragraph that follows a card grid, introducing the next block */
.md-typeset .ov-landing .ov-section > .ov-lead--after {
  margin-top: 28px;
}

/* A showcase: a big media card with its title and text beside or above it */
.ov-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.ov-showcase--stack {
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Material's grid cards inside a landing: the icon + name header of the old feature cards */
.md-typeset .ov-landing .ov-cards > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 14px;
  margin: 0;
}

.md-typeset .ov-landing .ov-cards > ul > li {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
  box-shadow: none;
  font-size: 15px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-cards > ul > li:hover,
.md-typeset .ov-landing .ov-cards > ul > li:focus-within {
  border-color: var(--ov-accent);
  box-shadow: 0 10px 30px rgba(16, 22, 24, 0.08);
}

.md-typeset .ov-landing .ov-cards > ul > li > p:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--ov-text);
}

.md-typeset .ov-landing .ov-cards > ul > li > hr {
  display: none;
}

.md-typeset .ov-landing .ov-cards > ul > li > p {
  margin: 0;
}

.md-typeset .ov-landing .ov-cards .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--ov-accent-rgb), 0.12);
  color: var(--ov-accent);
  font-size: 26px;
  padding: 0;
}

.md-typeset .ov-landing .ov-cards .feature-icon svg {
  width: 26px;
  height: 26px;
}

.md-typeset .ov-landing .ov-cards .feature-name {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Provider row: the deploy-on bar as cards (Meet landing) */
.ov-provider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--ov-radius-md);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
  color: var(--ov-text);
}

.ov-provider__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
}

.ov-provider__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ov-provider__name {
  font-family: var(--ov-display-font);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}

.ov-provider__text {
  font-size: 14px;
  color: var(--ov-muted);
}

/* Full-width product panel: the door, used as the hero visual and for the code sample */
.ov-panel {
  padding: clamp(24px, 3.6vw, 40px);
  border-radius: var(--ov-radius);
}

.ov-panel--meet {
  background: var(--ov-meet-accent);
  color: var(--ov-meet-ink);
}

.ov-panel--platform {
  background: #005f78;
  color: #ffffff;
}

.md-typeset .ov-landing .ov-panel > :last-child {
  margin-bottom: 0;
}

/* A dark code window around a Material code block or content tabs */
.md-typeset .ov-landing .ov-codewin {
  --md-accent-fg-color: #ffffff; /* Material colours the active tab label with it */
  border-radius: var(--ov-radius-sm);
  background: var(--ov-code-window);
  box-shadow: 0 20px 50px rgba(0, 20, 28, 0.35);
  overflow: hidden;
}

.md-typeset .ov-landing .ov-codewin .tabbed-set {
  margin: 0;
}

.md-typeset .ov-landing .ov-codewin .tabbed-labels {
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--ov-code-window-border);
  box-shadow: none;
}

.md-typeset .ov-landing .ov-codewin .tabbed-labels > label {
  color: #a3b1b6;
  font-size: 0.7rem;
}

.md-typeset .ov-landing .ov-codewin .tabbed-labels > label:hover {
  color: #ffffff;
}

.md-typeset .ov-landing .ov-codewin .tabbed-labels::before {
  background: #00c8f7;
}

.md-typeset .ov-landing .ov-codewin .tabbed-content {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.md-typeset .ov-landing .ov-codewin .tabbed-block > .highlight,
.md-typeset .ov-landing .ov-codewin > .highlight {
  margin: 0;
}

.md-typeset .ov-landing .ov-codewin pre > code,
.md-typeset .ov-landing .ov-codewin .highlight > pre > code {
  border: none;
  border-radius: 0;
  background: transparent;
  color: #e6f4f8;
  font-size: 0.72rem;
  line-height: 1.75;
  padding: 1em 1.2em;
}

.md-typeset .ov-landing .ov-codewin .highlight :is(.k, .kd, .kr, .nx.k) {
  color: #00c8f7;
}

.md-typeset .ov-landing .ov-codewin .highlight :is(.s, .s1, .s2, .sb) {
  color: #ffcc00;
}

.md-typeset .ov-landing .ov-codewin .highlight :is(.nb, .nf, .nn, .nt) {
  color: #e6f4f8;
}

.md-typeset .ov-landing .ov-codewin .highlight :is(.o, .p, .c, .c1, .cm) {
  color: #8fb3bd;
}

/* Hero of a product landing: the two-line wordmark (the product name under "openVidu") on the
   left, as wide as its column allows but never into the title's column. Meet's is wider than
   the lettering alone would need: its hero is taller, so the logo sits lower on the page and
   reads smaller than Platform's at the same size. */
.ov-hero__logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto 4px;
}

.md-typeset .ov-landing .ov-hero__logo {
  margin-bottom: 4px;
}

.md-typeset .ov-landing--product .ov-hero__logo--meet {
  width: min(100%, 490px);
  max-width: 490px;
}

.md-typeset .ov-landing--product .ov-hero__logo--platform {
  width: min(100%, 570px);
  max-width: 570px;
}

@media (max-width: 900px) {
  .md-typeset .ov-landing--product .ov-hero__logo--meet {
    max-width: 250px;
  }

  .md-typeset .ov-landing--product .ov-hero__logo--platform {
    max-width: 300px;
  }
}

.ov-hero__visual {
  width: min(100%, 980px);
  margin-top: 18px;
}

/* The Meet hero's video spans both columns, centred and wider than one column; the hero and
   the section after it give back the height the video gained, so the cards keep their place */
.ov-landing--product .ov-hero__visual {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 720px);
  margin-top: 0;
}

.ov-landing--product .ov-hero:has(.ov-hero__visual) {
  padding-bottom: 0;
}

.ov-landing--product .ov-hero:has(.ov-hero__visual) + .ov-section {
  padding-top: clamp(16px, 1.8vw, 26px);
}

.md-typeset .ov-landing .ov-hero__visual :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ov-radius-sm);
  box-shadow: 0 20px 60px rgba(16, 22, 24, 0.18);
}

.md-typeset .ov-landing .ov-hero__visual p {
  margin: 0;
}

/* Use-case rows (Platform): illustration beside the text, alternating sides */
.ov-usecase {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.ov-usecase--flip {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.ov-usecase--flip > .ov-usecase__media {
  order: 2;
}

.md-typeset .ov-landing .ov-usecase__media :is(img, svg) {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.md-typeset .ov-landing .ov-usecase__media p {
  margin: 0;
}

.md-typeset .ov-landing .ov-usecase h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.md-typeset .ov-landing .ov-usecase p,
.md-typeset .ov-landing .ov-usecase ul {
  font-size: 15px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-usecase ul {
  margin-bottom: 0;
}

.md-typeset .ov-landing .ov-usecase strong {
  color: var(--ov-text);
}

/* Figures (diagrams) on a surface */
.md-typeset .ov-landing .ov-figure {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--ov-radius);
  background: var(--ov-surface);
  border: 1px solid var(--ov-border);
}

.md-typeset .ov-landing .ov-figure :is(img, svg) {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.md-typeset .ov-landing .ov-figure > p {
  margin: 0;
}

.md-typeset .ov-landing .ov-figure figcaption,
.md-typeset .ov-landing .ov-figure .ov-figure__caption {
  max-width: none;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ov-muted);
  text-align: left;
}

.md-typeset .ov-landing .ov-figure figure {
  margin: 0;
}

/* Prose that sits between components keeps the measure comfortable */
.md-typeset .ov-landing .ov-prose {
  max-width: 760px;
}

.md-typeset .ov-landing .ov-prose p {
  font-size: 17px;
}

/* The use-cases carousel on the Meet landing (carousel.css draws the controls) */
.md-typeset .ov-landing .splide {
  margin-top: 0;
}

@media (max-width: 760px) {
  .ov-usecase,
  .ov-usecase--flip {
    grid-template-columns: 1fr;
  }

  .ov-usecase--flip > .ov-usecase__media {
    order: 0;
  }
}

/* Product landings: a little less air between sections than the main landing */
.ov-landing--product .ov-section {
  padding-top: clamp(56px, 7vw, 96px);
}

.ov-landing--product .ov-hero {
  padding-top: 24px;
  padding-bottom: 8px;
}

/* Showcase titles and text */
.md-typeset .ov-landing .ov-showcase h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.md-typeset .ov-landing .ov-showcase p {
  margin: 0;
  font-size: 16px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-showcase .ov-card__media p {
  margin: 0;
}

/* Provider icons keep their brand colour inside the card grid */
.md-typeset .ov-landing .ov-cards .feature-icon.bare-metal-icon,
.md-typeset .ov-landing .ov-cards .feature-icon.aws-icon,
.md-typeset .ov-landing .ov-cards .feature-icon.azure-icon,
.md-typeset .ov-landing .ov-cards .feature-icon.gcp-icon,
.md-typeset .ov-landing .ov-cards .feature-icon.digitalocean-icon,
.md-typeset .ov-landing .ov-cards .feature-icon.oracle-icon {
  color: #ffffff;
  border-radius: 50%;
}

.md-typeset .ov-landing .ov-cards .feature-icon.bare-metal-icon {
  background: var(--ov-community);
}

.md-typeset .ov-landing .ov-cards .feature-icon.aws-icon {
  background: var(--ov-aws-orange);
  color: #252f3e;
}

.md-typeset .ov-landing .ov-cards .feature-icon.azure-icon {
  background: #0072c6;
}

.md-typeset .ov-landing .ov-cards .feature-icon.gcp-icon {
  background: #34a853;
}

.md-typeset .ov-landing .ov-cards .feature-icon.digitalocean-icon {
  background: #0080ff;
}

.md-typeset .ov-landing .ov-cards .feature-icon.oracle-icon {
  background: #c74634;
}

/* Body text inside cards is justified; quotes, titles, tags and the short shared-engine cards are not */
.md-typeset .ov-landing :is(.ov-card, .ov-door, .ov-showcase, .ov-provider, .ov-topo__card, .ov-usecase, .ov-pick, .ov-plan, .ov-arch) :is(p, li, .ov-provider__text, .ov-topo__text, .ov-arch__text) {
  text-align: justify;
  hyphens: auto;
}

/* Edition cards: the tag sits above the heading */
.md-typeset .ov-landing .ov-card h3 {
  margin: 0;
  font-size: 22px;
}

.md-typeset .ov-landing .ov-card > p {
  margin: 0;
  font-size: 15px;
  color: var(--ov-muted);
}

.md-typeset .ov-landing .ov-card > p strong {
  color: var(--ov-text);
}

.md-typeset .ov-landing .ov-card .ov-tag {
  margin-bottom: 2px;
}

/* Centred CTA rows between sections. Markdown wraps the links of a row in one <p>, which
   would make them a single flex item with no gap between them: the paragraph steps out of the
   layout so each link is an item of its own. */
.md-typeset .ov-landing .ov-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin: 40px 0 0;
}

.md-typeset .ov-landing .ov-actions--left {
  justify-content: flex-start;
}

.md-typeset .ov-landing .ov-actions p {
  display: contents;
  margin: 0;
}

/* The hero row of a product landing starts at the title's left edge, with more air between
   the button and the links */
.md-typeset .ov-landing--product .ov-hero .ov-actions {
  justify-content: flex-start;
  gap: 14px 32px;
}

@media (max-width: 900px) {
  .md-typeset .ov-landing--product .ov-hero .ov-actions {
    justify-content: center;
  }
}

/* Admonitions and tables inside a landing keep their width in check */
.md-typeset .ov-landing .admonition {
  margin: 24px 0 0;
}

/* The media rules above set display: block with more specificity than Material's theme-pair
   rule, so the pair is re-asserted here */
[data-md-color-scheme="default"] .md-typeset .ov-landing :is(img, video)[src$="#only-dark"],
[data-md-color-scheme="slate"] .md-typeset .ov-landing :is(img, video)[src$="#only-light"] {
  display: none !important;
}

/* Outlined pill on the closing panel (Platform's secondary action) */
.md-typeset .ov-landing a.ov-btn--outline {
  border: 2px solid currentColor;
  color: inherit;
}

/* A wide table on a surface scrolls sideways inside the card at phone widths */
.md-typeset .ov-landing .ov-figure--table {
  overflow-x: auto;
}

.md-typeset .ov-landing .ov-figure--table .md-typeset__table,
.md-typeset .ov-landing .ov-figure--table table {
  margin: 0;
}
