/* ============================================================
   site.css — стили компонентов для статической версии.
   Логика 1:1 с scoped-стилями Hero.vue / AppHeader.vue из Nuxt-версии,
   вынесена сюда, т.к. в статике нет scoped CSS.
   ============================================================ */

/* ---- Navigation is visible at the top, then slides away on scroll. ---- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  display: flex;
  justify-content: center;
  padding: 24px 16px 0;
  pointer-events: none;
  transition: opacity 280ms ease, transform 400ms var(--ease-out), visibility 400ms;
}
.header.is-hidden { opacity: 0; transform: translateY(-100%); visibility: hidden; }
.header-pill {
  pointer-events: auto;
  max-width: 100%;
  border-radius: var(--r-full);
  background: rgba(20,20,22,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
}
.header.is-hidden .header-pill { pointer-events: none; }
.header-inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 56px; padding: 0 28px; }
.header-wordmark { flex-shrink: 0; }
.header-divider { width: 1px; height: 22px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.util-links { display: flex; align-items: center; gap: 26px; }
.header .nav-link { color: rgba(243,239,233,.76); font: 500 14px/1.5 var(--f-body); white-space: nowrap; }
.header .nav-link:hover { color: var(--c-text-primary); }
.nav-link { font-family: var(--f-mono); font-size: var(--fs-body-s); color: var(--c-text-tertiary); transition: color 200ms ease; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--c-accent-light); transition: right 250ms ease; }
.nav-link:hover { color: var(--c-text-primary); }
.nav-link.is-active { color: var(--c-text-primary); }
.nav-link.is-active::after { right: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; color: var(--c-text-primary); }
.logo-mark { width: 26px; height: 26px; flex-shrink: 0; border-radius: 22%; }
.footer-logo .logo-mark { width: 32px; height: 32px; background: #030303; border: 1px solid #303033; }
.logo-text .letter { display: inline-block; }
@media (max-width: 680px) {
  .header { padding-top: 16px; }
  .header-inner { gap: 18px; min-height: 52px; padding: 0 18px; }
  .header-wordmark { font-size: 1rem; }
  .header-divider { display: none; }
  .util-links { gap: 18px; }
  .header .nav-link { font-size: 13px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 12px; padding-inline: 12px; }
  .header-wordmark { font-size: 14px; letter-spacing: -.02em; }
  .util-links { gap: 12px; }
  .header .nav-link { font-size: 11.5px; }
}

/* ---- Hero ---- */
.hero.section {
  --c-bg: #000;
  background: #000;
  padding-block: clamp(64px, 9vh, 80px);
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 1520px;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-copy h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.hero-sub { margin-top: var(--sp-4); font-size: var(--fs-body-l); max-width: 40ch; }
.hero-showcase { position: relative; min-width: 0; }
.screen-stack {
  --fan: 0;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.18;
  padding: 0;
  perspective: 1600px;
  perspective-origin: 50% 45%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.screen-stack.is-expanded { --fan: 1; }
.screen-stack-scene {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transform: translateX(-6%) rotateX(9deg) rotateY(-28deg) rotateZ(-3deg);
  transition: transform 850ms var(--ease-out);
}
.screen-layer {
  --card-x: 0%;
  --card-y: 0%;
  --card-z: 0px;
  --card-r: 0deg;
  position: absolute;
  left: 3%;
  top: 18%;
  display: block;
  width: 94%;
  overflow: hidden;
  border: 1px solid rgba(200,182,255,0.28);
  border-radius: 12px;
  background: #080709;
  box-shadow: 0 2px 0 rgba(200,182,255,0.1), 0 24px 52px -20px rgba(0,0,0,0.8);
  backface-visibility: hidden;
  transform: translate3d(
    calc(var(--card-x) + (var(--card-x) * 0.3 - 3%) * var(--fan)),
    calc(var(--card-y) + (var(--card-y) * 4.3 + 35%) * var(--fan)),
    calc(var(--card-z) + (var(--card-z) * 0.6 + 50px) * var(--fan))
  ) rotateZ(var(--card-r));
  transition: transform 850ms var(--ease-out), border-color 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
}
.screen-layer img { width: 100%; height: auto; user-select: none; }
.screen-layer--back { --card-x: 8%; --card-y: -14%; --card-z: -140px; }
.screen-layer--middle { --card-x: 4%; --card-y: -7%; --card-z: -70px; }
.screen-stack.has-stack-motion .screen-layer { transition: border-color 600ms var(--ease-out), box-shadow 600ms var(--ease-out); }
.screen-stack.is-expanded .screen-stack-scene { transform: translateX(-6%) rotateX(6deg) rotateY(-22deg) rotateZ(-3deg); }
.screen-stack.is-expanded .screen-layer {
  border-color: rgba(200,182,255,0.5);
  box-shadow: 0 2px 0 rgba(200,182,255,0.14), 0 32px 64px -22px rgba(0,0,0,0.9);
}
@media (min-width: 1400px) {
  .screen-stack-scene { transform: translateX(-1%) rotateX(9deg) rotateY(-28deg) rotateZ(-3deg); }
  .screen-stack.is-expanded .screen-stack-scene { transform: translateX(-1%) rotateX(6deg) rotateY(-22deg) rotateZ(-3deg); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy h1 { font-size: clamp(2.4rem,6.5vw,3.6rem); }
  .hero-showcase { width: min(100%,720px); justify-self: center; }
  .screen-stack-scene { transform: translateX(-8%) rotateX(9deg) rotateY(-28deg) rotateZ(-3deg); }
  .screen-stack.is-expanded .screen-stack-scene { transform: translateX(-8%) rotateX(6deg) rotateY(-22deg) rotateZ(-3deg); }
  .screen-stack { aspect-ratio: 1.3; }
}
@media (max-width: 540px) {
  .hero.section { padding-block: 80px 48px; }
  .hero-copy h1 { font-size: clamp(1.9rem,7.6vw,2.5rem); }
  .screen-stack { aspect-ratio: 1.05; perspective: 1000px; }
  .screen-stack-scene { transform: translateX(-8%) rotateX(7deg) rotateY(-24deg) rotateZ(-3deg); }
  .screen-stack.is-expanded .screen-stack-scene { transform: translateX(-8%) rotateX(6deg) rotateY(-22deg) rotateZ(-3deg); }
  .screen-layer { left: 8%; width: 86%; border-radius: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .screen-stack { aspect-ratio: auto; perspective: none; }
  .screen-stack-scene { position: relative; display: grid; gap: 16px; transform: none !important; }
  .screen-layer { position: relative; left: auto; top: auto; width: 100%; transform: none; transition: none; }
}

.placeholder {
  position: relative;
  border-top: 1px dashed var(--c-line-strong);
}
main { position: relative; }

/* ---- Разделитель "cut here": пунктирная линия над каждой секцией ---- */
/* ---- Секции: pin делает GSAP ScrollTrigger (см. animations.js) — sticky
   официально не работает корректно внутри ScrollSmoother ---- */
.hero,
.reveal-section,
.outro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-bg);
}
.reveal-section .container { width: 100%; }

/* ---- FAQ-аккордеон ---- */
.faq-container { max-width: 760px; }
.faq-list {
  margin-top: var(--sp-6);
  border-top: 1px solid var(--c-line);
}
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  padding-inline-start: 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--fs-body-l);
  font-weight: 600;
  color: var(--c-text-primary);
  transition: padding-inline-start 0.25s var(--ease-out), color 0.2s;
}
.faq-question:hover { color: var(--c-accent-light); padding-inline-start: var(--sp-3); }

/* ---- Микроанимации сцен секции "Как работает" ---- */
.how-playhead-dot {
  animation: playheadBlink 1.4s ease-in-out infinite;
}
@keyframes playheadBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .how-playhead-dot { animation: none; }
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--c-accent);
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-answer { height: 0; overflow: hidden; }
.faq-answer-inner { padding-bottom: var(--sp-5); }

/* ---- Строка статистики со счётчиками ---- */
.stat-row {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-7);
}
.stat-item { display: flex; flex-direction: column; gap: var(--sp-1); }
.stat-number {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--c-accent-light);
  line-height: 1;
}
.stat-label { max-width: 16ch; }

/* ---- "Как это работает": три горизонтальные pin-сцены ---- */
.how-pin {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
}
.how-track {
  display: flex;
  width: 300%;
  height: 100%;
}
.how-panel {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.how-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px,5vw,72px);
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .how-panel-inner { grid-template-columns: 1fr; }
}

/* Mobile panels form a vertical sequence, matching the GSAP layout at 900px. */
@media (max-width: 900px) {
  .how-pin {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .how-track {
    flex-direction: column;
    width: 100%;
    height: auto;
    transform: none !important; /* на случай, если GSAP успел что-то применить до гейта */
  }
  .how-panel {
    width: 100%;
    height: auto;
    min-height: 90vh;
    padding-block: var(--sp-8);
  }
}
.how-copy h2 { margin-bottom: var(--sp-4); }
.services-merge { width: 100%; max-width: 560px; justify-self: center; }
.service-links { fill: none; stroke: rgba(255,255,255,0.13); stroke-width: 1; }
.service-node-disc { fill: #181619; stroke: rgba(255,255,255,0.17); stroke-width: 1; }
.service-icon { clip-path: inset(0 round 11px); }
.service-label { text-anchor: middle; fill: var(--c-text-secondary); font: 12px var(--f-body); }
.service-ring { fill: none; stroke: rgba(200,182,255,0.65); stroke-width: 1.2; transform: rotate(-90deg); transform-origin: 240px 245px; }
.service-name { text-anchor: middle; fill: var(--c-text-primary); font: 700 28px var(--f-display); letter-spacing: -1px; }
.js-anim-ready .service-unified { opacity: 0; }
@media (max-width: 900px) {
  .how-panel-inner { gap: 24px; }
  .services-merge { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  .how-pin { height: auto; overflow: visible; }
  .how-track { width: 100%; height: auto; flex-direction: column; }
  .how-panel { width: 100%; min-height: 100vh; padding-block: 64px; }
}
.how-visual svg { width: 100%; height: auto; }
.how-visual-label {
  font-family: var(--f-mono);
  font-size: 11px;
  fill: var(--c-text-tertiary);
}
.how-visual-lines {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.how-line {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-s);
  color: var(--c-text-tertiary);
}
.how-line.is-active {
  color: var(--c-text-primary);
  background: var(--c-surface);
}

/* Порядок наложения строго по DOM (поздние секции — выше, "накрывают" прежние) */
main > section:nth-of-type(1) { z-index: 1; }
main > section:nth-of-type(2) { z-index: 2; }
main > section:nth-of-type(3) { z-index: 3; }
main > section:nth-of-type(4) { z-index: 4; }
main > section:nth-of-type(5) { z-index: 5; }
main > section:nth-of-type(6) { z-index: 6; }
main > section:nth-of-type(7) { z-index: 7; }
main > section:nth-of-type(8) { z-index: 8; }
main > section:nth-of-type(9) { z-index: 9; }

.placeholder::before {
  content: "cut here";
  position: absolute;
  top: -9px;
  left: var(--content-pad);
  font-family: var(--f-mono);
  font-size: var(--fs-mono-s);
  color: var(--c-text-tertiary);
  background: var(--c-bg);
  padding-inline: var(--sp-2);
  letter-spacing: 0.05em;
  z-index: 1;
}

/* ---- Скролл-прогресс: волна-таймлайн вместо стандартного бара (модуль 3) ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  z-index: calc(var(--z-header) + 1);
  background: var(--c-accent);
  opacity: 0.55;

}
.scroll-progress::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent-light);
  transform: translate(50%, -50%);
}

/* ---- Начальные состояния для GSAP (без JS элементы остаются видимыми — прогрессивное улучшение) ---- */
.hero-line,
.hero-reveal,
.reveal-section .container > * {
  opacity: 1;
}
.js-anim-ready .hero-line { opacity: 0; }
.js-anim-ready .hero-reveal { opacity: 0; }
.js-anim-ready .reveal-section .container > * { opacity: 0; }

/* ---- Footer: product, documents and support. ---- */
.outro {
  position: relative;
  min-height: 0;
  padding-top: clamp(48px,6vw,80px);
  padding-bottom: 0;
  border-top: 1px solid rgba(243,239,233,.12);
  display: flex;
  align-items: flex-end; /* слово должно касаться нижнего края */
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a0c;
}
.outro-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,.9fr) minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(24px,3vw,48px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(243,239,233,.12);
}

.footer-logo {
  font-size: 1.5rem;
  display: inline-flex;
}
.footer-tagline {
  margin-top: 18px;
  max-width: 29ch;
  color: var(--c-text-secondary);
  font-size: 14px;
  line-height: 1.65;
}
.footer-about { display: inline-block; margin-top: 18px; }

/* ---- Focus внутри хедера: header-pill имеет overflow:hidden (нужен для
   схлопнутого состояния-линии), обычный outline-offset наружу там обрезался бы
   у крайних кнопок — здесь фокус рисуется ВНУТРЬ через box-shadow ---- */
.header-pill :focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--c-accent-light);
  border-radius: var(--r-s);
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-width: 0; }
.footer-col-title {
  color: var(--c-text-tertiary);
  font: 600 14px/1.5 var(--f-body);
  letter-spacing: 0;
  text-transform: none;
  margin: 4px 0 9px;
}
.outro .nav-link { font: 400 14px/1.5 var(--f-body); }
.footer-col .nav-link { color: var(--c-text-secondary); width: fit-content; }
.footer-col .nav-link:hover, .footer-about:hover { color: var(--c-text-primary); }
.footer-external { margin-left: 3px; font-size: 12px; color: var(--c-text-tertiary); }
.footer-email { color: var(--c-text-primary); font: 600 clamp(16px,1.5vw,20px)/1.4 var(--f-body); overflow-wrap: anywhere; }
.footer-email:hover { color: var(--c-accent-light); }
.footer-support-note { max-width: 28ch; color: var(--c-text-tertiary); font-size: 13px; line-height: 1.65; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-block: 24px 36px;
}
.footer-copyright { color: var(--c-text-tertiary); font-size: 12px; }
.footer-bottom .nav-link { font-size: 12px; }
.footer-back-top span { display: inline-block; margin-left: 6px; }
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .footer-tagline { max-width: 36ch; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-tagline { max-width: 33ch; }
  .footer-col { gap: 12px; }
  .footer-col-title { margin-top: 0; margin-bottom: 4px; }
  .footer-email { font-size: 20px; }
  .footer-support-note { max-width: 36ch; }
  .footer-bottom { gap: 16px 24px; padding-bottom: 32px; }
  .footer-back-top { flex-basis: 100%; }
}
.outro-word {
  align-self: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.75; /* урезаем нижний внутренний отступ шрифта — ближе к краю */
  letter-spacing: -0.02em;
  color: var(--c-text-primary);
  opacity: 0.9;
  position: relative;
}

.outro-word-wrap {
  position: relative;
  display: inline-block;
  align-self: center;
}

/* ---- Reveal-эффект убран по запросу (не получился как нужно) — оставлена
   только аберрация на обёртке ниже. Можно будет попробовать сделать заново. ---- */

/* ---- Хроматическая аберрация на "steeny": реальный SVG-фильтр (feColorMatrix +
   feBlend, без дублирования DOM — см. index.html #chromaAberrationFooter).
   X+Y, зеркально движению курсора, см. animations.js. ---- */
.outro-word-wrap {
  filter: none;
  text-shadow: -1px 0 rgba(167,139,250,.28), 1px 0 rgba(200,182,255,.18);
}

@media (prefers-reduced-motion: reduce) {
  .outro-word-wrap { filter: none; }
}

/* ---- Тактильность: чуть более выразительные hover/press поверх базовых .btn ---- */



/* ---- Desktop app and browser: black stage with two real product views. ---- */
.platforms { --c-bg: #000; position: relative; min-height: 100vh; display: flex; align-items: center; background: #000; padding-block: 64px; overflow: hidden; }
.platforms-grid { display: grid; grid-template-columns: minmax(0,0.78fr) minmax(0,1.22fr); align-items: center; gap: clamp(32px,4vw,64px); width: 100%; max-width: 1440px; }
.platforms-copy h2 { font-size: clamp(2rem,3.6vw,3.2rem); line-height: 1.12; }
.platforms-sub { margin-top: 24px; max-width: 34ch; font-size: 17px; }
.platforms-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; row-gap: 28px; margin-top: 36px; }
.platform-option { display: flex; align-items: center; gap: 16px; width: fit-content; }
.platform-option > svg { width: 25px; height: 25px; fill: none; stroke: rgba(243,239,233,.7); stroke-width: 1.4; flex-shrink: 0; }
.platform-option strong { display: block; font-size: 16px; font-weight: 500; color: var(--c-text-primary); }
.platform-option-action { display: block; font-size: 13px; margin-top: 3px; color: var(--c-text-tertiary); transition: color 200ms ease; }
.platform-option-action > span { display: inline-block; margin-left: 5px; transition: transform 200ms ease; }
.platform-option:hover .platform-option-action { color: var(--c-accent-light); }
.platform-option:hover .platform-option-action > span { transform: translate(2px,-2px); }
.platform-option-action > .platform-soon-label { display: inline-block; margin-left: 0; padding: 3px 7px; border: 1px solid rgba(243,239,233,.18); border-radius: 5px; color: var(--c-text-tertiary); font-size: 10px; font-weight: 400; vertical-align: middle; }
.platform-option--soon .platform-option-action { color: var(--c-text-tertiary); }
.platform-option:focus-visible { outline: 1px solid var(--c-accent-light); outline-offset: 8px; border-radius: 3px; }
.platforms-devices { position: relative; width: 100%; max-width: 740px; aspect-ratio: 1.22; justify-self: center; }
.platforms-devices figure { margin: 0; position: absolute; }
.desktop-preview { top: 8%; left: 0; width: 92%; transform: rotate(-3deg); }
.browser-preview .macbook { position: relative; padding-bottom: 15px; }
.macbook-display { padding: 10px 10px 0; position: relative; border: 1px solid #48484b; border-radius: 18px 18px 7px 7px; background: #121214; box-shadow: inset 0 0 0 2px #202023; }
.macbook-camera { position: absolute; width: 3px; height: 3px; background: #30333c; border-radius: 50%; left: calc(50% - 1.5px); top: 4px; }
.macbook-screen { border: 1px solid #27272a; border-radius: 7px 7px 2px 2px; overflow: hidden; background: #000; }
.macbook-screen img, .browser-window img { width: 100%; height: auto; }
.macbook-chin { height: 17px; display: flex; align-items: center; justify-content: center; color: #88888e; font: 6px var(--f-body); letter-spacing: .02em; }
.macbook-base { position: absolute; top: calc(100% - 16px); left: -5%; width: 110%; height: 15px; border-radius: 2px 2px 45% 45% / 2px 2px 100% 100%; background: linear-gradient(#96969b 0%,#d3d3d6 18%,#77777d 45%,#414145 80%,#2b2b2e 100%); box-shadow: 0 1px 0 #202024; }
.macbook-base::before { content: ''; position: absolute; top: 0; left: 43%; width: 14%; height: 4px; border-radius: 0 0 5px 5px; background: #606066; box-shadow: inset 0 -1px 1px #a2a2a6; }
.browser-preview { width: 73%; top: 49%; right: -1%; transform: rotate(2deg); z-index: 2; }
.browser-window { border: 1px solid #48484b; border-radius: 10px; overflow: hidden; background: #141416; box-shadow: 0 18px 48px rgba(0,0,0,.65); }
@media (max-width: 1000px) and (min-width: 901px) { .platforms-grid { gap: 24px; grid-template-columns: .88fr 1.12fr; } .platforms-copy h2 { font-size: 32px; } .platforms-sub { font-size: 15px; } }
@media (max-width: 900px) {
  .platforms { padding-block: 80px; }
  .platforms-grid { grid-template-columns: 1fr; gap: 60px; max-width: 760px; }
  .platforms-copy { text-align: center; }
  .platforms-copy h2 { font-size: clamp(2rem,5vw,3rem); }
  .platforms-sub { margin-inline: auto; }
  .platforms-options { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 480px; margin-inline: auto; text-align: left; }
  .platform-option { gap: 12px; }
}
@media (max-width: 540px) {
  .hero.section { padding-top: 108px; }
  .platforms { padding-block: 64px; }
  .platforms-grid { gap: 64px; }
  .platforms-copy { text-align: left; }
  .platforms-sub { font-size: 16px; margin-inline: 0; }
  .platforms-options { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .platforms-devices { display: flex; flex-direction: column; gap: 54px; aspect-ratio: auto; }
  .platforms-devices figure { position: relative; top: auto; left: auto; right: auto; transform: none; }
  .desktop-preview { width: 93%; align-self: center; }
  .browser-preview { width: 100%; }
  .macbook-display { padding: 7px 7px 0; border-radius: 12px 12px 5px 5px; }
  .macbook-chin { height: 13px; }
  .browser-window { border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }
