.page-platform {
  background: var(--c-beige);
}

.platform-hero,
.platform-section,
.platform-stats {
  background: var(--c-beige);
}

.platform-stats {
  background: var(--c-white);
}

.platform-section--white {
  background: var(--c-white);
}

.platform-blog-section {
  background: var(--c-white);
}

.platform-kicker {
  font-family: "GT Flexa", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f5e59;
}

.platform-title {
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(2rem, 4vw + 1rem, 4.2rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--c-black);
  margin: 0;
}

.platform-title span,
.platform-h2 span {
  display: block;
  color: var(--c-hoshi);
}

.platform-lead,
.platform-copy {
  font-size: 1rem;
  color: #3d3d3d;
}

.platform-hero__figure {
  display: flex;
  justify-content: center;
}

.platform-hero__image {
  width: min(100%, 680px);
  height: auto;
  display: block;
}

.platform-console {
  border: 3px solid #0f0f0f;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.platform-console__top {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: #1d1d1d;
}

.platform-console__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #404040;
}

.platform-console__body {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.platform-console__tile {
  height: 28px;
  border-radius: 4px;
  border: 1px solid #3a3722;
  background: linear-gradient(180deg, #2f2c18 0%, #1c1a12 100%);
}

.platform-stat {
  border: none;
  padding: 0.65rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.platform-stat__value {
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #232323;
  margin-bottom: 0 !important;
}

.platform-stat__label {
  font-size: 0.86rem;
  color: #575757;
}

.platform-h2 {
  margin: 0;
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(1.7rem, 2.2vw + 1rem, 3.5rem);
  line-height: 1.03;
  text-transform: uppercase;
  color: var(--c-black);
}

.platform-code {
  max-width: 900px;
  background: #232428;
  color: #ececec;
  border: none;
  padding: 40px 48px 50px 48px;
}

.platform-code__title {
  color: #f7ef3a;
  font-family: "GT Flexa", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  margin-bottom: 2rem !important;
}

.platform-code__list {
  list-style: none;
  padding: 0;
}

.platform-code__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  column-gap: 1.6rem;
  margin-bottom: 3.15rem;
}

.platform-code__item:last-child {
  margin-bottom: 0;
}

.platform-code__badge {
  width: 42px;
  height: 42px;
  border: 2px solid #666;
  color: #d6d6d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "GT Flexa", sans-serif;
  font-size: 1.15rem;
  line-height: 1;
  margin-top: 2px;
}

.platform-code__badge--red {
  border-color: #ff1f1f;
  color: #ff1f1f;
}

.platform-code__badge--green {
  border-color: #20ff49;
  color: #20ff49;
}

.platform-code__text {
  color: #ececec;
  font-size: 1rem;
  line-height: 1.35;
}

.platform-code__highlight {
  color: #20ff49;
}

@media (max-width: 767.98px) {
  .platform-code {
    padding: 24px 18px;
  }

  .platform-code__item {
    grid-template-columns: 42px 1fr;
    column-gap: 0.9rem;
    margin-bottom: 1.4rem;
  }

  .platform-code__badge {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .platform-icons-row .row {
    flex-wrap: nowrap;
  }

  .platform-icons-row .row > [class*="col-"] {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.platform-dark {
  background: linear-gradient(90deg, #191b20 0%, #16181c 100%);
}

.platform-kicker--dark {
  color: var(--c-jizo);
  font-size: 1rem;
}

.platform-copy--dark {
  color: #ebebeb;
  max-width: 70ch;
}

.platform-arch__title {
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(2rem, 2.5vw + 1rem, 4rem);
  text-transform: uppercase;
  color: #f2f2f2;
  line-height: 1;
  margin: 0;
}

.platform-arch__title span {
  color: var(--c-jizo);
  display: inline;
}

.platform-arch__sources {
  display: grid;
  grid-template-columns: repeat(5, 96px);
  justify-content: center;
  gap: 4.45rem;
  margin-bottom: 1.2rem;
}

.platform-arch__source {
  width: 96px;
  height: 96px;
  border: 1px solid #676767;
  background: #383a40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #d4d4d4;
}

.platform-arch__source i {
  font-size: 2.3rem;
  color: #fff;
}

.platform-arch__source img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.platform-arch__source span {
  font-family: "GT Flexa", sans-serif;
  font-size: 0.92rem;
}

.platform-arch__arrow {
  text-align: center;
  color: #f0f0f0;
  font-size: 2.2rem;
  line-height: 1;
  margin: 0.3rem 0;
}

.platform-arch__label {
  text-align: center;
  font-family: "GT Flexa", sans-serif;
  color: var(--c-hoshi);
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.platform-core {
  background: #3a3c42;
  border: 1px solid #666a70;
  padding: 0 1.2rem 1.6rem;
  max-width: 860px;
  margin: 0 auto 1.4rem;
}

.platform-core__tag {
  color: #141414;
  background: var(--c-jizo);
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.94rem;
  font-family: "GT Flexa", sans-serif;
  margin-top: -14px;
  border-radius: 3px;
}

.platform-core__title {
  color: #fff;
  font-family: "GT Flexa", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  line-height: 1;
}

.platform-core__title span {
  font-size: 0.72em;
  color: #ededed;
}

.platform-core__text {
  color: #d8d8d8;
  max-width: 66ch;
  margin-inline: auto;
}

.platform-core__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.platform-core__chips span {
  border: 1px solid #7e7e7e;
  background: #4a4c52;
  color: #ededed;
  font-family: "inter", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}

.platform-arch__caps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.platform-arch__caps :is(div, a) {
  min-height: 62px;
  border: 1px solid #666;
  background: #3a3c42;
  color: #efefef;
  font-family: "GT Flexa", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.6rem 1rem;
  position: relative;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.platform-arch__caps :is(div, a)::after {
  content: "Explorer ->";
  position: absolute;
  right: 8px;
  bottom: 6px;
  font-family: "GT Flexa", sans-serif;
  font-size: 0.72rem;
  color: var(--c-jizo);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.platform-arch__caps :is(div, a):hover,
.platform-arch__caps :is(div, a):focus-visible {
  border-color: #fff;
}

.platform-arch__caps :is(div, a):hover::after,
.platform-arch__caps :is(div, a):focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.platform-module {
  border: 1px solid #cdcbc2;
  background: #fff;
  padding: 22px 22px 46px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 -1px 0 #cdcbc2;
  transition:
    background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.platform-module__title {
  font-family: "GT Flexa", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #1d1d1d;
  margin-bottom: 1.35rem;
  padding-right: 2rem;
}

.platform-module__icon {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #222;
  line-height: 1;
}

.platform-module__icon i {
  font-size: 1.6rem;
}

.platform-module__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.platform-module__list {
  margin: 0;
  padding-left: 1rem;
}

.platform-module__list li {
  color: #4f4f4f;
  margin-bottom: 0.45rem;
  line-height: 1.35;
  padding-bottom: 0.25rem;
}

.platform-module__list li:last-child {
  margin-bottom: 0;
}

.platform-module__explore {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: "inter", sans-serif;
  color: var(--c-hoshi);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.platform-module:hover {
  background: #fff;
  border-color: #cdcbc2;
  transform: translateY(-3px);
  box-shadow: inset 0 -6px 0 var(--c-hoshi), 0 14px 28px rgba(0, 0, 0, 0.08);
}

.platform-module:hover .platform-module__explore {
  opacity: 1;
  transform: translateY(0);
}

.platform-deploy-list {
  margin: 0;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.platform-deploy-item {
  position: relative;
  padding: 0.15rem 0;
}

.platform-deploy-head {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.platform-deploy-head::before {
  content: "";
  width: 7px;
  height: 28px;
  background: #7a7a7a;
  flex: 0 0 auto;
  transform: rotate(18deg);
  transform-origin: center;
  transition: background-color .25s ease, transform .25s ease;
}

.platform-deploy-title {
  font-family: "GT Flexa", sans-serif;
  font-size: 1.35rem;
  color: #7a7a7a;
  line-height: 1.1;
  transition: color .25s ease;
}

.platform-deploy-detail {
  margin-left: calc(18px + 0.55rem);
  color: var(--c-black);
  font-size: 0.95rem;
  line-height: 1.35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .3s ease, opacity .25s ease, transform .25s ease, margin-top .25s ease;
}

.platform-deploy-detail p {
  margin-bottom: 0;
}

.platform-deploy-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.platform-deploy-meta dt {
  margin-bottom: 0.15rem;
  color: #6a6a6a;
  font-family: "GT Flexa", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.platform-deploy-meta dd {
  margin: 0;
  color: var(--c-black);
  font-size: 0.92rem;
  line-height: 1.4;
}

.platform-deploy-item:hover .platform-deploy-detail,
.platform-deploy-item:focus-within .platform-deploy-detail {
  margin-top: 0.4rem;
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

.platform-deploy-item:hover .platform-deploy-title,
.platform-deploy-item:focus-within .platform-deploy-title {
  color: var(--c-black);
}

.platform-deploy-item:hover .platform-deploy-head::before,
.platform-deploy-item:focus-within .platform-deploy-head::before {
  background: var(--c-black);
  transform: rotate(18deg);
}

.platform-cta {
  background: var(--c-jizo);
  padding-block: 1rem;
}

.platform-icons-row {
  background: var(--c-beige);
}

.platform-icons-row__item {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icons-row__item img {
  max-width: 120px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.platform-cta__title {
  font-family: "GT Flexa", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem);
}

.platform-cta__btn {
  border: none !important;
  background: var(--c-white) !important;
  color: var(--c-black) !important;
  font-family: "GT Flexa", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.platform-cta__btn:hover {
  background: var(--c-black) !important;
  color: var(--c-white) !important;
  border: none !important;
}

.platform-h2--small {
  font-size: clamp(1.4rem, 2.4vw + 0.7rem, 2.4rem);
}

.platform-illustration {
  min-height: 260px;
  border: 1px solid #5f5f5f;
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 247, 63, 0.35), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(146, 66, 245, 0.3), transparent 45%),
    linear-gradient(120deg, #1f2e3d 0%, #273f4a 40%, #354f5d 100%);
}

.platform-usage-image {
  width: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border: 1px solid #5f5f5f;
}

.page-platform .page-blog .post-card {
  background: #f5f4ee;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-platform .page-blog .post-card-link:hover .post-card,
.page-platform .page-blog .post-card-link:focus-visible .post-card {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991.98px) {
  .platform-arch__sources {
    grid-template-columns: repeat(5, 76px);
    justify-content: center;
    gap: 0.55rem;
  }

  .platform-arch__source {
    width: 76px;
    height: 76px;
    gap: 0.45rem;
  }

  .platform-arch__source img {
    width: 30px;
    height: 30px;
  }

  .platform-arch__source i {
    font-size: 1.75rem;
  }

  .platform-arch__source span {
    font-size: 0.72rem;
  }

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

  .platform-stat {
    border: none;
  }
}
