body[data-helper-page] {
  background: #f4f5ef;
  color: #172018;
  font-family: "JetBrains Mono", monospace;
  line-height: 1.65;
}

body[data-helper-page] main {
  width: min(100% - 9vw, 1280px);
  margin: 0 auto;
  padding: 5.5rem 0 7rem;
  color: #172018;
}

body[data-helper-page] main * { box-sizing: border-box; }
body[data-helper-page] main h1,
body[data-helper-page] main h2,
body[data-helper-page] main h3,
body[data-helper-page] main p,
body[data-helper-page] main figure { margin-top: 0; }
body[data-helper-page] main h1,
body[data-helper-page] main h2,
body[data-helper-page] main h3 { color: #172018; line-height: 1.12; }
body[data-helper-page] main p { max-width: 67ch; }
body[data-helper-page] main a { color: #143d12; text-decoration-thickness: 1px; text-underline-offset: .22em; }
body[data-helper-page] main a:hover { text-decoration-thickness: 2px; }

body[data-helper-page] .contact-footer__cookie-reopen {
  border-color: #8ee27e;
  color: #111;
  background-color: #8ee27e;
}

.platforms-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, .55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  min-height: 390px;
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: 8px;
  background: #dbf6d4;
  background-image: radial-gradient(circle at 82% 20%, rgba(255,255,255,.82), transparent 30%);
}
.platforms-intro__copy { max-width: 760px; }
.platforms-kicker { margin-bottom: .85rem; color: #397c2d; font-size: .77rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.platforms-intro h1 { margin-bottom: 1.15rem; font-size: clamp(2.7rem, 6vw, 5.8rem); letter-spacing: -.075em; }
.platforms-lede { max-width: 58ch; margin-bottom: 1.7rem; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.platforms-button { display: inline-flex; align-items: center; gap: 1rem; min-height: 48px; padding: .7rem 1.1rem; border-radius: 3px; background-color: #183e17; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.platforms-button:hover { background-color: #245c20; }
.platforms-index { display: grid !important; gap: .45rem; padding: 1.2rem 1.35rem; border-left: 2px solid #71bc60; background-color: rgba(255,255,255,.56); }
.platforms-index p { margin: 0 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.platforms-index a { font-size: .88rem; }

.platforms-section { margin-top: clamp(4rem, 8vw, 7rem); }
.platforms-featured { padding-top: .2rem; }
.platforms-more { padding-top: .2rem; }
.platforms-limits { scroll-margin-top: 2rem; }
.platforms-reveal { position: relative; }
.platforms-reveal.is-pending { opacity: .001; transform: translateY(18px); }
.platforms-reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.platforms-section__head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(240px, .65fr); column-gap: 3rem; align-items: end; margin-bottom: 1.8rem; }
.platforms-section__head .platforms-kicker { grid-column: 1 / -1; }
.platforms-section__head h2,
.platforms-section h2 { margin-bottom: .7rem; font-size: clamp(1.8rem, 3.4vw, 3.2rem); letter-spacing: -.055em; }
.platforms-section__head p:last-child { margin-bottom: .7rem; color: #4f5a4e; font-size: .92rem; }
.platforms-gallery { display: grid; gap: 1.1rem; }
.platforms-gallery--feature { grid-template-columns: 1.35fr 1fr 1fr; align-items: stretch; }
.platforms-gallery--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platforms-art { min-width: 0; margin: 0; padding: .65rem; background: #fff; border: 1px solid #dfe4d9; }
.platforms-art img { display: block; width: 100%; height: clamp(190px, 25vw, 320px); object-fit: cover; background-color: #e7ebe2; }
.platforms-gallery--feature .platforms-art--wide img { height: clamp(250px, 32vw, 420px); }
.platforms-art figcaption { padding: .8rem .3rem .3rem; color: #52604f; font-size: .76rem; }

.platforms-reading { padding: clamp(1.5rem, 4vw, 3rem); background-color: #fff; border: 1px solid #e0e4db; }
.platforms-reading > .platforms-reveal > .platforms-kicker,
.platforms-reading h2 { text-align: center; }
.platforms-reading__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.platforms-reading__grid article { min-height: 195px; padding: 1.3rem; border-top: 3px solid #49c53a; background: #f3f6f0; }
.platforms-number { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 1.2rem; border-radius: 50%; background: #183e17; color: #fff; font-size: .76rem; font-weight: 700; }
.platforms-reading__grid h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.platforms-reading__grid p { margin-bottom: 0; color: #4f5a4e; font-size: .83rem; }

.platforms-device .platforms-reveal { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.platforms-device__text p:last-child { color: #4f5a4e; }
.platforms-device__image { margin: 0; padding: 1rem; background: #dff6da; }
.platforms-device__image img { display: block; width: 100%; max-height: 390px; object-fit: cover; }
.platforms-device__image figcaption { margin-top: .7rem; color: #52604f; font-size: .75rem; }

.platforms-compare { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 5px; background: #172018; color: #fff; }
.platforms-compare h2 { color: #fff !important; }
.platforms-compare .platforms-kicker { color: #8ee27e; }
.platforms-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2rem 0 1.5rem; padding: 0; list-style: none; border-block: 1px solid #52614f; }
.platforms-steps li { display: flex; align-items: flex-start; gap: 1rem; min-height: 100px; padding: 1.2rem; }
.platforms-steps li + li { border-left: 1px solid #52614f; }
.platforms-steps span { color: #89df79; font-weight: 700; }
.platforms-steps p { margin: 0; color: #f0f4ed; font-size: .88rem; }
.platforms-note { margin-bottom: 0; color: #d2dece; font-size: .86rem; }

.platforms-limits__panel { max-width: 900px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem); border-left: 5px solid #49c53a; background: #e8eee4; }
.platforms-limits__panel p:last-child { margin-bottom: 0; }
.platforms-next { padding: clamp(1.5rem, 4vw, 3rem); background: #dff6da; }
.platforms-next__links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.platforms-next__links a { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.7rem; min-width: 220px; min-height: 52px; padding: .8rem 1rem; border: 1px solid #183e17; background-color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; }
.platforms-next__links a:hover { color: #fff; background-color: #183e17; }

@media (max-width: 820px) {
  body[data-helper-page] main { width: min(100% - 2.5rem, 720px); padding-top: 3.5rem; }
  .platforms-intro { grid-template-columns: 1fr; gap: 2rem; min-height: auto; }
  .platforms-index { grid-template-columns: repeat(3, max-content); align-items: center; gap: .5rem 1rem; }
  .platforms-index p { grid-column: 1 / -1; }
  .platforms-section__head { grid-template-columns: 1fr; }
  .platforms-gallery--feature { grid-template-columns: repeat(2, 1fr); }
  .platforms-gallery--feature .platforms-art--wide { grid-column: 1 / -1; }
  .platforms-gallery--feature .platforms-art--wide img { height: clamp(250px, 48vw, 400px); }
  .platforms-device .platforms-reveal { gap: 2rem; }
}

@media (max-width: 560px) {
  body[data-helper-page] main { width: min(100% - 1.25rem, 480px); padding-top: 2rem; padding-bottom: 4rem; }
  .platforms-intro { gap: 1.5rem; padding: 1.4rem; }
  .platforms-intro h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .platforms-index { grid-template-columns: 1fr; }
  .platforms-section { margin-top: 3.5rem; }
  .platforms-gallery--feature,
  .platforms-gallery--row { grid-template-columns: 1fr; }
  .platforms-gallery--feature .platforms-art--wide { grid-column: auto; }
  .platforms-art img,
  .platforms-gallery--feature .platforms-art--wide img { height: auto; aspect-ratio: 1.35; }
  .platforms-reading__grid { grid-template-columns: 1fr; }
  .platforms-reading__grid article { min-height: 0; }
  .platforms-device .platforms-reveal { grid-template-columns: 1fr; }
  .platforms-steps { grid-template-columns: 1fr; }
  .platforms-steps li { min-height: 0; padding: .9rem .4rem; }
  .platforms-steps li + li { border-top: 1px solid #52614f; border-left: 0; }
  .platforms-next__links { display: grid; }
  .platforms-next__links a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .platforms-reveal.is-pending { opacity: 1; transform: none; }
  .platforms-reveal.is-visible { transition: none; }
  .platforms-button:focus-visible,
  .platforms-index a:focus-visible { animation: none; }
}
