/**
 * ---
 * Project      : Coding Campus Platform
 * Module       : Static / Css
 * File         : platform.css
 *
 * Description  : Homepage PLATFORM section + /platform marketing page.
 *
 * Author       : Jihun Kang
 * Organization : Coding Campus / OrbiSync
 * Contact      : makers.dev.ci@gmail.com
 *
 * Copyright (c) 2026 Jihun Kang. All rights reserved.
 * ---
 */

.section_platform,
.platform-page {
  color: #111827;
}

.section_platform {
  padding: 88px 0 80px;
  background: #fff;
}

.platform-page {
  background: #fff;
  padding: 0;
}

.section_platform .container {
  max-width: 1220px;
  box-sizing: border-box;
}

.platform-page .platform-page-inner {
  width: min(calc(100% - 96px), 1200px);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.platform-eyebrow {
  margin: 0 0 10px;
  color: #2f67fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-home__header,
.platform-section__header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.platform-home__header h2,
.platform-section__header h2,
.platform-split__copy h2,
.platform-split__copy h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.platform-split__copy h3 {
  font-size: clamp(22px, 2.8vw, 28px);
}

.platform-home__lead,
.platform-section__header p,
.platform-split__copy > p:not(.platform-split__kicker):not(.platform-note):not(.platform-tags),
.platform-kiki__copy > p:not(.platform-kiki-sub),
.platform-duo article > p:not(.platform-kiki-sub) {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.85;
}

.platform-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 18px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.platform-card__eyebrow {
  margin: 14px 0 6px;
  color: #2f67fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.platform-card p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.platform-tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f6ff;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
}

.platform-home__cta,
.platform-section__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.platform-section__cta--start {
  justify-content: flex-start;
  margin-top: 20px;
}

.platform-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-sizing: border-box;
}

.platform-action--primary {
  background: #2f67fb;
  color: #fff;
}

.platform-action--primary:hover {
  color: #fff;
  background: #2456d6;
}

.platform-action--secondary {
  border: 1px solid #c5d4ff;
  background: #fff;
  color: #2f67fb;
}

.platform-action--secondary:hover {
  color: #2456d6;
  border-color: #2f67fb;
  background: #f5f8ff;
}

.platform-action--ghost {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.platform-action--ghost:hover {
  color: #111827;
  border-color: #9ca3af;
}

/* Mini mocks */
.pf-mock {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
}

.pf-mock__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #eef2f7;
  border-bottom: 1px solid #e5e7eb;
}

.pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pf-dot--r { background: #f5a3a3; }
.pf-dot--y { background: #f0d27a; }
.pf-dot--g { background: #8fd4a8; }

.pf-mock__filename {
  margin-left: 4px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.pf-mock__body {
  padding: 10px;
}

.pf-player-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.pf-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.pf-bar i {
  display: block;
  height: 100%;
  background: #2f67fb;
  border-radius: 999px;
}

.pf-code {
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #111827;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.55;
}

.pf-code__line {
  display: flex;
  gap: 8px;
}

.pf-code__line em {
  flex: 0 0 12px;
  color: #6b7280;
  font-style: normal;
}

.pf-code__line.is-active {
  background: rgba(47, 103, 251, 0.28);
  border-radius: 4px;
}

.pf-kw { color: #93c5fd; }

.pf-code__line.is-blank .pf-blank {
  display: inline-block;
  min-width: 72px;
  padding: 0 4px;
  border-bottom: 1px dashed #facc15;
  color: #fde68a;
}

.pf-mock__row {
  display: flex;
  gap: 6px;
}

.pf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.pf-chip--run {
  background: #2f67fb;
  color: #fff;
}

.pf-chip--ok {
  background: #ecfdf3;
  color: #15803d;
}

.pf-mock--pdf {
  padding: 10px;
  background: #f3f4f6;
}

.pf-mock--viewer .pf-pdf-page {
  min-height: 196px;
  padding: 20px 16px 36px;
}

.pf-pdf-page {
  position: relative;
  min-height: 132px;
  padding: 16px 14px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.pf-pdf-lock {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef4ff;
  color: #2f67fb;
}

.pf-pdf-line,
.pf-pdf-line--short,
.pf-pdf-line--mid {
  height: 7px;
  margin: 0 0 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

.pf-pdf-line--short { width: 62%; }
.pf-pdf-line--mid { width: 78%; }

.pf-pdf-hl {
  display: inline-block;
  margin: 0 0 8px;
  padding: 1px 4px;
  background: #fef08a;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.pf-pdf-stroke {
  display: block;
  width: 42%;
  height: 0;
  margin: -4px 0 12px 8px;
  border-bottom: 2px solid #2563eb;
  transform: rotate(-8deg);
  opacity: 0.7;
}

.pf-pdf-meta {
  position: absolute;
  right: 12px;
  bottom: 8px;
  display: flex;
  gap: 10px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
}

.pf-pdf-page-no {
  position: static;
}

.pf-mock--drm {
  padding: 12px;
  background: #eef2f7;
}

.pf-drm-page {
  position: relative;
  min-height: 148px;
  padding: 18px 14px 16px;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.pf-drm-lock {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ff;
  color: #2f67fb;
}

.pf-pdf-line--blur {
  filter: blur(1.4px);
  opacity: 0.7;
}

.pf-drm-label {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.pf-drm-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pf-drm-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.pf-drm-steps i {
  color: #9ca3af;
  font-style: normal;
  font-weight: 700;
}

.pf-mock--billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 14px 10px;
  gap: 4px;
}

.pf-flow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pf-flow__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
}

.pf-flow__node--accent {
  border-color: #c5d4ff;
  background: #f5f8ff;
  color: #2f67fb;
}

.pf-flow__node--content {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.pf-flow__plus,
.pf-flow__arrow {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

/* /platform page */
.platform-page {
  overflow-x: clip;
}

.platform-hero {
  padding: 120px 0 96px;
  background: #fff;
}

.platform-hero .platform-page-inner {
  display: block;
}

.platform-hero__copy {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.platform-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.22;
}

.platform-hero__lead {
  margin: 0 auto 28px;
  max-width: 640px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.platform-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform-chapter {
  padding: 120px 0;
}

.platform-overview-visual {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
}

.platform-overview-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.platform-chapter--kiki,
.platform-chapter--viewer,
.platform-chapter--billing,
.platform-chapter--close {
  background: #f3f6fb;
}

.platform-chapter--learn,
.platform-chapter--drm,
.platform-chapter--multi {
  background: #fff;
}

.platform-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 56px;
  align-items: center;
}

.platform-split--visual-first .platform-split__visual {
  order: -1;
}

.platform-split__copy > p + p {
  margin-top: 16px;
}

.platform-split__visual--wide {
  min-width: 0;
}

.platform-product {
  display: grid;
  gap: 36px;
  margin-top: 88px;
}

.platform-product:first-of-type {
  margin-top: 64px;
}

.platform-product__copy {
  max-width: 720px;
}

.platform-product__copy h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.platform-product__copy > p:not(.platform-tags):not(.platform-product__lead):not(.platform-note) {
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.platform-product__copy > p + p:not(.platform-tags):not(.platform-product__lead) {
  margin-top: 12px;
}

.platform-product__lead {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.platform-lab-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.platform-lab-visuals .pf-mock {
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.platform-lab-visuals .pf-mock__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.platform-lab-visuals .pf-code--lab {
  flex: 1;
  min-height: 220px;
  margin-bottom: 0;
  padding: 12px;
  font-size: 12px;
}

.pf-lab-type {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2f67fb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pf-lab-type--ide {
  background: #ecfdf3;
  color: #15803d;
}

.pf-lab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
}

.pf-lab-title {
  margin: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pf-slot {
  display: inline-block;
  min-width: 36px;
  padding: 0 6px;
  border-radius: 4px;
  border: 1px dashed #facc15;
  background: rgba(250, 204, 21, 0.16);
  color: #fde68a;
  font-weight: 800;
}

.pf-str {
  color: #86efac;
}

.pf-chip--hint {
  background: #fff7ed;
  color: #c2410c;
}

.pf-chip--submit {
  border: 1px solid #c5d4ff;
  background: #fff;
  color: #2f67fb;
}

.pf-lab-out {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.pf-lab-out__pass {
  color: #15803d;
  font-weight: 800;
}

.pf-lab-feedback {
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.pf-lab-wrong {
  color: #b91c1c;
  font-weight: 800;
}

.platform-product__visual .pf-mock {
  min-height: 320px;
}

.platform-product__visual .pf-mock--player-stage {
  min-height: 460px;
}

.pf-mock--player-stage .pf-code--player {
  min-height: 148px;
  padding: 12px;
  font-size: 13px;
}

.platform-product .platform-cap-grid {
  margin-top: 8px;
}

.platform-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.platform-cap-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.platform-cap-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef4ff;
  color: #2f67fb;
  font-size: 18px;
}

.platform-cap-grid strong {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.platform-cap-grid li > span:last-child {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.pf-mock--player-stage .pf-mock__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.pf-mock--player-stage .pf-player-progress,
.pf-mock--player-stage .pf-code {
  margin-bottom: 0;
}

.pf-player-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pf-player-tts,
.pf-player-auto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.pf-player-tts {
  background: #eef4ff;
  color: #2f67fb;
}

.pf-player-auto {
  background: #ecfdf3;
  color: #15803d;
}

.pf-player-caption {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.pf-player-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pf-player-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
}

.pf-player-steps span.is-on {
  background: #2f67fb;
  color: #fff;
}

.pf-player-steps i {
  color: #9ca3af;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.platform-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.platform-note {
  margin: 16px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
}

.platform-chapter--multi {
  padding: 96px 0;
  background: #f8fafc;
}

.platform-page .platform-os-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 24px 20px;
  justify-items: center;
  align-items: start;
  box-sizing: border-box;
}

.platform-page .platform-os-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  text-align: center;
  box-sizing: border-box;
}

.platform-page .platform-os-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: #2f67fb;
}

.platform-page .platform-os-icon img {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.platform-page .platform-os-icon img.is-apple {
  width: 30px;
  height: 36px;
  max-width: 30px;
  max-height: 36px;
}

.platform-page .platform-os-name {
  margin-top: 12px;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.platform-chapter--close {
  background: #eef3ff;
}

.platform-chapter__header {
  max-width: 760px;
  margin: 0 auto 48px;
}

.platform-chapter__header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.platform-chapter__label {
  margin: 0 0 12px;
  color: #2f67fb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.platform-chapter__header h2,
.platform-split__copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.28;
  color: #111827;
}

.platform-chapter__header p {
  max-width: 640px;
  margin: 16px auto 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.85;
}

.platform-chapter__header--center p {
  margin-left: auto;
  margin-right: auto;
}

.platform-kiki {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 48px 40px;
  align-items: center;
}

.kiki-flow-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.platform-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  align-items: start;
}

.platform-duo h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.platform-duo__mock {
  margin-top: 28px;
}

.platform-keys {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.platform-keys li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.platform-keys li:first-child {
  border-top: 1px solid #e5e7eb;
}

.platform-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.platform-title-row h2,
.platform-title-row h3 {
  margin: 0;
}

.platform-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px dashed #2f67fb;
  border-radius: 999px;
  background: #f5f8ff;
  color: #2f67fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.platform-home-kiki {
  max-width: 760px;
  margin: 0 auto 28px;
  padding: 18px 20px;
  border: 1px dashed #c5d4ff;
  border-radius: 20px;
  background: #f8faff;
  text-align: center;
}

.platform-home-kiki__label {
  margin: 0 0 6px;
  color: #2f67fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.platform-home-kiki__title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.platform-home-kiki__flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.platform-home-kiki__agent {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px dashed #2f67fb;
  border-radius: 999px;
  background: #fff;
  color: #2f67fb;
  font-size: 12px;
  font-weight: 800;
}

.platform-home-kiki__arrow {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1;
}

.platform-home-kiki__targets {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.platform-section__cta {
  margin-top: 48px;
}

.platform-journey {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform-chapter--close .platform-journey span {
  border-color: rgba(47, 103, 251, 0.22);
  background: #fff;
  color: #1e3a8a;
}

.platform-chapter--close .platform-action--ghost {
  background: rgba(255, 255, 255, 0.7);
}

.platform-journey span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.platform-journey span::after {
  content: "→";
  color: #9ca3af;
  font-weight: 700;
}

.platform-journey span:last-child::after {
  content: none;
}

.platform-kiki-sub {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 15px;
  font-weight: 700;
}

.platform-duo .platform-kiki-sub {
  margin-top: -6px;
}

.platform-duo article > p + .platform-kiki-sub,
.platform-duo article > .platform-kiki-sub + p {
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  .platform-home-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 1025px) {
  .platform-home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1100px) {
  .platform-kiki {
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: 32px;
  }
}

@media screen and (max-width: 960px) {
  .platform-hero {
    padding: 96px 0 72px;
  }

  .platform-hero__copy {
    margin-bottom: 48px;
  }

  .platform-chapter {
    padding: 88px 0;
  }

  .platform-chapter__header {
    margin-bottom: 36px;
  }

  .platform-kiki,
  .platform-duo,
  .platform-split {
    grid-template-columns: 1fr;
  }

  .platform-split--visual-first .platform-split__visual {
    order: 2;
  }

  .platform-product {
    margin-top: 64px;
  }

  .platform-product:first-of-type {
    margin-top: 40px;
  }

  .platform-product__visual .pf-mock {
    min-height: 240px;
  }

  .platform-product__visual .pf-mock--player-stage,
  .platform-lab-visuals .pf-mock {
    min-height: 360px;
  }

  .platform-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-lab-visuals {
    grid-template-columns: 1fr;
  }

  .platform-page .platform-os-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform-home__header,
  .platform-section__header,
  .platform-home-kiki {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .platform-home-kiki__flow {
    align-items: flex-start;
  }
}

@media screen and (max-width: 640px) {
  .platform-page .platform-page-inner {
    width: min(calc(100% - 40px), 1200px);
  }

  .section_platform {
    padding: 64px 0 56px;
  }

  .platform-hero {
    padding: 88px 0 64px;
  }

  .platform-chapter {
    padding: 72px 0;
  }

  .platform-page .platform-os-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-cap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }

  .platform-hero__actions,
  .platform-home__cta,
  .platform-section__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-page .platform-action {
    width: 100%;
  }
}
