/* /platform, v3 design, 30 Oct 2026. Loaded after v3.css; replaces the
   core-styles.css the page used to inline. Classes are prefixed platform-. */

.platform-page [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* v3.css gives the tracked legacy button classes a lime hover on the <a>;
   on a v3 button that fills the 1px gap between label and arrow. */
.platform-page .v3-btn:hover { background: none !important; }

/* ── Page head: copy, and beside it the hands-and-phone card (HandsPhone,
   2 Nov 2026; it replaced the dashboard screengrab), sized to the copy ── */
.platform-head { row-gap: 24px; }
.platform-head .v3-display { margin-bottom: 16px; }
.platform-head-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.platform-head-copy { max-width: 640px; }
.platform-head-copy > * + * { margin-top: 28px; }
.platform-head-copy .v3-pagehead-note { margin-top: 16px; }
/* One geometry at every width: a wide card with the hands along its bottom
   edge, not the component's tall tablet (885px) and phone (420px) cards, which
   dominated the page (Alan, 2 Nov). Smaller corners to suit the smaller card. */
.platform-head .platform-head-phone { --hp-radius: 24px; --hp-height: auto; --hp-aspect: 1820 / 960; }
.platform-head .platform-head-phone .hp-stage { align-items: flex-end; }
.platform-head .platform-head-phone .hp-frame { scale: 1; translate: 0 max(0px, calc((100cqw - 100cqh * 2.4694) * 0.04)); }
.platform-head .platform-head-phone .hp-label { font-size: clamp(8px, 1.1cqw, 12px); padding: 0.28em 0.7em; }
@media (min-width: 960px) {
  .platform-head-foot {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: stretch;
  }
  /* Beside the copy: as tall as the copy, from the paragraph to the note... */
  .platform-head .platform-head-phone { --hp-height: 100%; --hp-aspect: auto; min-height: 240px; }
  /* ...but never taller than a wide card (its column x 0.62): where the copy
     wraps long (about 960-1250px) it keeps a wide shape, level with the paragraph. */
  .platform-head .platform-head-phone .hp-card { max-height: calc((100vw - 2 * var(--gutter) - 64px) * 6 / 11 * 0.62); }
}

/* ── Demo video: site.css "VIDEO" markup, flattened ── */
.platform-demo.ob-platform-demo { padding: clamp(24px, 3vw, 48px) var(--gutter) 0; }
.platform-demo .ob-platform-demo__inner { max-width: none; gap: clamp(32px, 4vw, 56px); }
.platform-demo .ob-platform-demo__title { margin: 0 0 24px; }
.platform-demo .ob-platform-demo__lede { margin: 0; }
.platform-demo-stage {
  padding: clamp(12px, 4vw, 64px);
  background: var(--sky-pale);
  border-radius: 2px;
}
.platform-demo .ob-platform-demo__player-frame {
  /* The whole app window, as recorded (3 Nov 2026). It used to be cropped to
     16:9, which cut off the sidebar and the right-hand edge. */
  aspect-ratio: 1920 / 972;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 28px 56px -30px rgba(15, 19, 25, 0.5);
  background: var(--ink);
}
/* Softer on the pale panel (Alan, 3 Nov): the blacks lifted a little and the
   colours calmed. Nothing is blurred, so the text stays sharp. */
.platform-demo .ob-platform-demo__player { filter: saturate(0.88) contrast(0.92) brightness(1.05); }

/* ── Tiers: three tinted columns ── */
.platform-tiers { border-top: 0; padding-top: 0; }
.platform-tier {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px);
  background: #e0f2ff;
  border-radius: 2px;
}
.platform-tier--sage { background: #e4eedb; }
.platform-tier--lime { background: #e5f8cf; }
.platform-tier .v3-chip { margin-bottom: 20px; }
.platform-tier .v3-h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 20px; }
.platform-tier-list { list-style: none; border-top: 1px dashed var(--hairline); }
.platform-tier-list li {
  padding: 11px 0;
  border-bottom: 1px dashed var(--hairline);
  font-size: 15px;
  line-height: 1.5;
  color: var(--grey-600);
}
.platform-tier-list a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.platform-tier-list a:hover { color: var(--ink); }
.platform-tier-bridge {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.platform-tier-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 32px;
}
.platform-tier-price {
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--green);
}
.platform-tier-price span {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--grey-600);
}
/* v3.css drops three cards to two at 1100px, which strands Enterprise; keep
   the tiers (and Read next) in three columns, then one. */
@media (max-width: 1100px) {
  .platform-tiers, .platform-next .v3-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .platform-tiers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .platform-next .v3-cards { grid-template-columns: minmax(0, 1fr); } }

.platform-links { margin-top: 32px; color: var(--grey-500); font-family: var(--font-label); }
.platform-scores-intro {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--grey-600);
}

/* ── The four scores, in the figures' style ── */
.platform-scores {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 32px;
  margin-top: 40px;
}
.platform-scores li { display: flex; flex-direction: column; }
.platform-score-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green);
}
.platform-score-label { margin-top: 12px; color: var(--ink); }
.platform-score-text {
  margin-top: 8px;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--grey-600);
}
@media (max-width: 960px) { .platform-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .platform-scores { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ── Manufacturer logos ── */
.platform-logos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(40px, 5vw, 64px);
}
.platform-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.6;
  padding: 12px;
  background: var(--sky-pale);
  border-radius: 2px;
}
.platform-logos img {
  display: block;
  max-width: 78%;
  height: auto;
  max-height: 36px;
  filter: grayscale(1) brightness(0);
  opacity: 0.6;
}
@media (max-width: 760px) { .platform-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.platform-fine {
  margin-top: 24px;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey-500);
}

/* ── Powered by Orbis ── */
.platform-perx-wrap { padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.platform-perx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  padding: clamp(28px, 3.4vw, 48px);
  background: #f1fbe5;
  border-radius: 2px;
}
.platform-perx-body .v3-lead { margin-bottom: 20px; }
@media (max-width: 767px) { .platform-perx { grid-template-columns: minmax(0, 1fr); } }

/* ── Closing: a longer headline than Home's, so a wider measure ── */
.platform-closing .v3-closing-title {
  max-width: 12em;
  font-size: clamp(38px, 5.6vw, 84px);
}
.platform-closing-text {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.platform-closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) {
  .platform-closing-actions .v3-btn { height: auto; min-height: 44px; }
  .platform-closing-actions .v3-btn-text { white-space: normal; padding: 10px 16px; line-height: 1.3; }
}

/* ── FAQ ── */
.platform-verified { margin-top: 20px; }
.platform-faq-q { font: inherit; letter-spacing: inherit; color: inherit; }

/* ── Read next ── */
.platform-next { border-top: 1px solid var(--hairline); }
.platform-next > .v3-label { margin-bottom: 20px; }
.platform-next .v3-cards { border-top: 0; padding-top: 0; }
.platform-next-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--sky-pale);
  border-radius: 2px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s;
}
.platform-next-item:hover { background: var(--sky); }
.platform-next-item .v3-h3 { color: var(--ink); }
.platform-next-item .v3-body { font-size: 15px; }
.platform-next-arr {
  margin-top: auto;
  padding-top: 8px;
  font: 500 14px/1.4 var(--font-label);
  color: var(--green);
}
