/* ProtectMov — movimento, reação, proteção */

:root {
  --film: #0E1321;
  --film-deep: #0A0E18;
  --film-lift: #121828;
  --film-edge: #1A2134;
  --white: #FFFFFF;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.56);
  --hair: rgba(255, 255, 255, 0.10);
  --accent: #00F5A0;
  --accent-ink: #0E1321;

  --pad: clamp(20px, 4.5vw, 56px);
  --max: 1280px;
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 14vw, 200px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 10px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--film);
  color: var(--white);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--film-edge) var(--film-deep); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--film-deep); }
::-webkit-scrollbar-thumb { background: var(--film-edge); border-radius: 10px; border: 2px solid var(--film-deep); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */

.display {
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 0.98;
  text-wrap: balance;
}
.display > span { display: block; }
.display--md { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; }
.display--xl { font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.04em; }
.accent { color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 34ch; line-height: 1.5; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn i { font-size: 1.05em; transition: transform .3s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:hover i { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 8px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.1rem; }

.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; font-weight: 600; text-decoration: none; color: var(--white);
}
.link-cta span, .link-cta { text-underline-offset: 6px; }
.link-cta:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--film);
  transition: background-color .3s;
}
.nav.is-scrolled { background: var(--film-deep); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__logo img { width: 136px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--white); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  min-height: min(calc(100svh - 72px), 880px);
}
.hero__copy {
  grid-column: 1 / span 6; grid-row: 1; align-self: center;
  padding-block: clamp(56px, 8vh, 112px) clamp(72px, 10vh, 128px);
  position: relative; z-index: 2;
}
.hero__title { font-size: clamp(2.8rem, 6.2vw, 6rem); margin-bottom: 32px; }
.hero__react { color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px; }
.hero__fine { margin-top: 18px; font-size: .85rem; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.hero__fine i { font-size: 1.15em; }

/* ---------- Demo: puxão e reação ---------- */

.demo {
  grid-column: 7 / -1; grid-row: 1; align-self: center; position: relative;
  aspect-ratio: 600 / 760; width: 100%; max-width: min(620px, calc((100svh - 140px) * 0.79)); justify-self: end;
  margin-block: clamp(24px, 4vh, 48px);
}
.demo__trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.demo__line {
  fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .38s cubic-bezier(.2, .8, .2, 1);
}
.demo__dot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease-out); }
.demo.is-pulled .demo__line { stroke-dashoffset: 0; }
.demo.is-detected .demo__dot { opacity: 1; transform: none; }

.demo__ghost {
  position: absolute; left: 5%; top: 15.8%; width: 44%; aspect-ratio: 467 / 1000; height: auto;
  border-radius: 13.5% / 6.4%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.demo.is-pulled .demo__ghost { opacity: 1; }
.demo__phone {
  position: absolute; left: 5%; top: 15.8%; width: 44%; z-index: 1;
  transition: transform .26s cubic-bezier(.3, .9, .25, 1);
}
.demo.is-pulled .demo__phone { transform: translate(30%, -16%) rotate(-8deg); }
.demo.is-reset .demo__phone { transition-duration: .7s; transition-timing-function: var(--ease-out); }
.demo.is-alarm .demo__phone .phone { animation: buzz .09s linear 6; }
@keyframes buzz { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }

.phone__screen { container-type: inline-size; }
.lock {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 26% 0 18%;
  background: #05070C; opacity: 0; transition: opacity .18s linear;
}
.demo.is-locked .lock { opacity: 1; }
.lock__time { font-size: 19cqw; font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.lock__icon { margin-top: auto; font-size: 11cqw; color: var(--white); }

.demo__steps { position: absolute; left: 72%; right: 0; top: 67%; }
.demo__replay[hidden] { display: none; }
.demo__alarm {
  position: absolute; left: 66%; top: 2%; z-index: 2;
  font-size: clamp(22px, 2.4vw, 30px); color: var(--accent);
  opacity: 0; transform: scale(.6); transition: opacity .2s, transform .4s var(--ease-out);
}
.demo.is-alarm .demo__alarm { opacity: 1; transform: none; }
.demo__steps ol { display: grid; gap: 12px; }
.demo__steps li {
  position: relative; padding-left: 18px;
  font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--ink-3);
  transition: color .3s var(--ease-out);
}
.demo__steps li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; opacity: .7; transition: background-color .3s, box-shadow .3s;
}
.demo__steps li i { font-size: 1em; vertical-align: -1px; margin-left: 2px; }
.demo__steps li.is-done { color: var(--ink-2); }
.demo__steps li.is-now { color: var(--white); }
.demo__steps li.is-now::before { background: var(--accent); opacity: 1; }
.demo__steps li.is-now i { color: var(--accent); }
.demo__replay {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.demo__replay:hover { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fecha o ponto final no desenho da letra */
.display > .p, .display .p { display: inline; margin-left: -0.07em; }
.plan__price .c { margin: 0 -0.06em 0 -0.1em; }

.footer__links .is-pending { color: var(--ink-3); font-size: .95rem; }
.footer__links .is-pending small { font-size: .82em; color: var(--ink-3); }

/* ---------- Phone ---------- */

.phone {
  background: #05070C;
  border-radius: 13.5% / 6.4%;
  padding: 3.4%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 40px 60px -48px rgba(0, 0, 0, 0.9);
}
.phone__screen {
  position: relative; overflow: hidden;
  border-radius: 10.5% / 4.9%;
  background: #0B0F16;
  aspect-ratio: 720 / 1600;
}
.phone__bar {
  height: 5.25%; display: flex; align-items: center; justify-content: space-between;
  padding: 0 8%; padding-top: 1.5%;
  font-size: clamp(9px, 0.9vw, 12px); font-weight: 600; color: rgba(255, 255, 255, 0.9);
}
.phone__bar span:last-child { display: inline-flex; gap: 4px; }
.phone__screen img { width: 100%; height: auto; }

/* ---------- Problem ---------- */

.problem { background: var(--film-deep); padding-block: var(--section); }
.problem__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  row-gap: clamp(40px, 6vw, 80px);
}
.problem__title { grid-column: 1 / span 9; grid-row: 1; font-size: clamp(2.6rem, 6vw, 5.25rem); }
.problem__text { grid-column: 1 / span 5; grid-row: 2; align-self: end; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink-2); max-width: 38ch; line-height: 1.55; }
.problem__photo { grid-column: 7 / -1; grid-row: 2; }
.problem__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; filter: saturate(0.85); }

/* ---------- Product ---------- */

.product { padding-block: var(--section); }
.product__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  margin-bottom: clamp(56px, 8vw, 112px);
}
.product__head h2 { grid-column: 1 / span 7; }
.product__head h2 .br { display: block; color: var(--ink-3); }
.product__intro { grid-column: 9 / span 4; color: var(--ink-2); max-width: 32ch; }

/* Três telas reais, iguais e estáticas */
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.screen .phone { width: min(100%, 290px); margin-inline: auto; }
.screen figcaption { margin-top: 24px; text-align: center; }
.screen__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }


/* ---------- How ---------- */

.how { background: var(--film-lift); padding-block: var(--section); }
.how__title { margin-bottom: clamp(64px, 9vw, 120px); }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap);
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: calc((100% - 3 * var(--gap)) / 4); top: 0; height: 1px;
  background: var(--hair);
}
.steps::after {
  background: rgba(255, 255, 255, 0.55); transform-origin: left; transform: scaleX(1);
  transition: transform 1.6s var(--ease-out);
}
.js .steps:not(.is-in)::after { transform: scaleX(0); }
.step { padding-top: 40px; padding-right: 8%; position: relative; }
.step::before {
  content: ""; position: absolute; top: -4px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--film-lift);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.step__n { display: block; font-size: .9rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 20px; letter-spacing: .04em; }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-bottom: 16px; }
.step p { color: var(--ink-2); max-width: 28ch; }
.step:last-child::before { background: var(--accent); box-shadow: none; width: 11px; height: 11px; top: -5px; }
.how__note { margin-top: clamp(56px, 7vw, 88px); max-width: 52ch; color: var(--ink-3); font-size: .95rem; }

/* ---------- Contextos ---------- */

.contexts { padding-block: var(--section) clamp(56px, 7vw, 112px); }
.contexts__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  margin-bottom: clamp(56px, 8vw, 104px);
}
.contexts__head h2 { grid-column: 1 / span 7; }
.contexts__head h2 .br { display: block; color: var(--ink-3); }
.contexts__intro { grid-column: 9 / span 4; color: var(--ink-2); max-width: 32ch; }
.mosaic {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) var(--gap);
}
.tile img { width: 100%; object-fit: cover; border-radius: 4px; filter: saturate(0.85); }
.tile figcaption { margin-top: 14px; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }
.tile figcaption b { display: block; font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.tile figcaption b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; position: relative; top: -2px; }
.tile img { aspect-ratio: 4 / 5; }

/* ---------- Pricing ---------- */

.pricing { background: var(--film-deep); padding-block: var(--section); }
.pricing__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.pricing__title { grid-column: 1 / span 5; }
.price { grid-column: 7 / -1; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { padding-right: clamp(20px, 3vw, 40px); }
.plan + .plan { padding-left: clamp(20px, 3vw, 40px); padding-right: 0; border-left: 1px solid var(--hair); }
.plan__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 1.05rem; font-weight: 700; color: var(--white); }
.plan__save { font-size: .85rem; font-weight: 700; color: var(--accent); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; white-space: nowrap; }
.plan__price b { font-size: clamp(2.5rem, 3.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: .95; color: var(--accent); }
.plan__per { font-size: 1.1rem; font-weight: 600; color: var(--ink-2); }
.plan__note { margin-top: 14px; color: var(--ink-2); max-width: 30ch; line-height: 1.5; }
.price .btn { margin-top: 40px; }
.price__fine { margin-top: 18px; font-size: .85rem; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }

/* ---------- FAQ ---------- */

.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.faq__grid h2 { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / -1; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; letter-spacing: -0.015em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary i { font-size: 1.25rem; flex: none; color: var(--ink-3); transition: transform .35s var(--ease-out), color .2s; }
.faq details[open] summary i { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 0 28px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Final ---------- */

.final { padding-block: clamp(120px, 18vw, 260px); }
.final h2 span { display: block; }
.final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(48px, 6vw, 80px); }
.final__actions p { color: var(--ink-3); font-weight: 500; }

/* ---------- Footer ---------- */

.footer { background: var(--film-deep); padding-block: 72px 48px; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.footer__grid > div { grid-column: 1 / span 5; }
.footer__grid > div p { margin-top: 16px; color: var(--ink-2); }
.footer__links { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 32px; justify-content: start; }
.footer__links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.footer__credits { grid-column: 1 / -1; font-size: .78rem; color: var(--ink-3); padding-top: 32px; border-top: 1px solid var(--hair); }

/* ---------- Páginas legais ---------- */

.legal { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.legal__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
  font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.legal__back:hover { color: var(--white); }
.legal__date { margin-top: 18px; color: var(--ink-3); font-size: .95rem; }

.legal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.legal__toc { grid-column: 1 / span 3; position: sticky; top: 104px; }
.legal__toc summary { list-style: none; font-size: .85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 14px; }
.legal__toc summary::-webkit-details-marker { display: none; }
.legal__toc ol { display: grid; gap: 2px; border-left: 1px solid var(--hair); }
.legal__toc a {
  display: flex; gap: 10px; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent;
  font-size: .9rem; line-height: 1.35; color: var(--ink-3); text-decoration: none;
  transition: color .2s, border-color .2s;
}
.legal__toc a span { min-width: 1.4em; font-variant-numeric: tabular-nums; }
.legal__toc a:hover { color: var(--white); }
.legal__toc a.is-current { color: var(--white); border-left-color: var(--accent); }

.legal__body { grid-column: 5 / span 7; max-width: 68ch; }
.legal__intro { padding-bottom: 40px; border-bottom: 1px solid var(--hair); }
.legal__body p { color: var(--ink-2); line-height: 1.7; }
.legal__body p + p { margin-top: 14px; }
.legal__sec { padding-block: 40px; border-bottom: 1px solid var(--hair); scroll-margin-top: 96px; }
.legal__sec h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 18px; }
.legal__n { color: var(--accent); font-variant-numeric: tabular-nums; }
.legal__sec h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin: 28px 0 10px; color: var(--white); }
.legal__sec h3 .legal__n { color: var(--ink-3); }
.legal__body ul { margin: 14px 0; display: grid; gap: 8px; }
.legal__body ul + p { margin-top: 14px; }
.legal__body li { position: relative; padding-left: 20px; color: var(--ink-2); line-height: 1.6; }
.legal__body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.legal__body a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal__body a:hover { text-decoration-thickness: 2px; }
.legal__contact { display: grid; gap: 10px; margin-top: 14px; }
.legal__contact div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.legal__contact dt { min-width: 6.5em; color: var(--ink-3); }
.legal__sign { margin-top: 40px; }
.legal__sign strong { color: var(--white); }
.footer__links a[aria-current="page"] { color: var(--white); }

/* ---------- Mobile dock ---------- */

.dock { display: none; }

/* ---------- Motion ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .hero__title > span, .js .lede, .js .hero__actions, .js .hero__fine {
  opacity: 0; transform: translateY(14px);
  animation: rise .9s var(--ease-out) forwards;
}
.js .hero__title > span:nth-child(1) { animation-delay: .1s; }
.js .hero__title > span:nth-child(2) { animation-delay: .22s; }
.js .lede { animation-delay: .36s; }
.js .hero__actions { animation-delay: .44s; }
.js .hero__fine { animation-delay: .5s; }
.js .demo { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease-out) .2s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero__title > span, .js .lede, .js .hero__actions, .js .hero__fine, .js .demo { opacity: 1; transform: none; }
  .js .steps:not(.is-in)::after { transform: scaleX(1); }
}

/* ---------- Responsive ---------- */

@media (min-width: 960px) and (max-width: 1240px) {
  .pricing__title { grid-column: 1 / span 8; }
  .price { grid-column: 1 / span 9; grid-row: 2; }
}

@media (max-width: 1100px) {
  .demo__steps li { font-size: .82rem; }
}

@media (max-width: 959px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; gap: 16px; }
  .nav__logo img { width: 118px; }
  .nav__links { display: none; }
  .nav .btn--sm { margin-left: auto; }
  html { scroll-padding-top: 72px; }

  .hero__grid { display: block; min-height: 0; }
  .hero__copy { padding-block: 40px 40px; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 4.2rem); margin-bottom: 20px; }
  .hero__actions { margin-top: 28px; gap: 4px 24px; }
  .demo { max-width: 520px; margin: 8px 0 76px; }
  .demo__steps { left: 68%; }
  .demo__steps ol { gap: 9px; }
  .demo__steps li { font-size: .78rem; padding-left: 14px; }
  .demo__steps li::before { width: 6px; height: 6px; }

  .problem__grid, .product__head, .contexts__head, .mosaic, .pricing__grid, .faq__grid, .footer__grid { display: block; }
  .problem__title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .problem__text { margin-top: 28px; }
  .problem__photo { margin: 40px 0 0; }

  .product__intro, .contexts__intro { margin-top: 20px; }
  .screens {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  }
  .screens::-webkit-scrollbar { display: none; }
  .screen { flex: 0 0 72%; scroll-snap-align: start; }
  .screen .phone { width: 100%; }

  .steps { grid-template-columns: 1fr; row-gap: 48px; padding-left: 28px; }
  .steps::before, .steps::after { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { transform-origin: top; }
  .js .steps:not(.is-in)::after { transform: scaleY(0); }
  .step { padding-top: 0; }
  .step::before { left: -28px; top: 6px; }
  .step:last-child::after { content: ""; position: absolute; left: -25px; top: 18px; bottom: -2px; width: 3px; background: var(--film-lift); z-index: 2; }

  .mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .tile figcaption { font-size: .9rem; }

  .price { margin-top: 48px; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 0; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--hair); margin-top: 28px; padding-top: 28px; }
  .legal__grid { display: block; }
  .legal__toc { position: static; margin-bottom: 32px; padding: 16px 0; border-block: 1px solid var(--hair); }
  .legal__toc summary { margin: 0; cursor: pointer; display: flex; justify-content: space-between; color: var(--ink-2); font-size: .95rem; }
  .legal__toc summary::after { content: "+"; color: var(--ink-3); }
  .legal__toc details[open] summary { margin-bottom: 14px; }
  .legal__toc details[open] summary::after { content: "–"; }
  .legal__body { max-width: none; }
  .legal__contact div { display: block; }
  .legal__contact dt { font-size: .85rem; margin-bottom: 2px; }
  .faq__list { margin-top: 32px; }
  .final { padding-block: 120px 140px; }
  .footer__links { grid-template-columns: repeat(2, auto); margin-top: 40px; }
  .footer__credits { margin-top: 40px; }

  .dock {
    display: flex; align-items: center; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
    background: rgba(10, 14, 24, 0.97);
    transform: translateY(110%); transition: transform .45s var(--ease-out);
  }
  .dock.is-on { transform: none; }
  .has-dock .nav .btn--sm { opacity: 0; pointer-events: none; }
  .nav .btn--sm { transition: opacity .3s var(--ease-out); }
  .dock .btn { min-height: 48px; flex: none; }
  .dock span { font-size: .8rem; color: var(--ink-2); line-height: 1.3; }
  .footer { padding-bottom: 120px; }
}
