/* ============================================================
   Anonywise - strona glowna
   Hero z animowanym dokumentem, scrolly-demo, funkcje,
   bezpieczenstwo, cennik, FAQ, CTA koncowe.
   ============================================================ */

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 158px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 50% -12%, rgba(79, 70, 229, .10), transparent 62%),
    radial-gradient(720px 430px at 88% 18%, rgba(139, 92, 246, .06), transparent 60%);
}
.hero-inner { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #e8e8ed;
  box-shadow: 0 1px 2px rgba(10, 22, 40, .05);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a3c;
  margin: 0 0 26px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .16);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, .16); }
  50%      { box-shadow: 0 0 0 6px rgba(22, 163, 74, .07); }
}
.hero-title {
  font-size: clamp(2.7rem, 7vw, 4.9rem);
  font-weight: 740;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin: 0 0 24px;
}
.redact-flash {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: .14em;
  padding: 0 .07em;
  margin: 0 -.07em;
}
.redact-flash::after {
  content: "";
  position: absolute;
  inset: 6% 0;
  border-radius: .12em;
  background: var(--black);
  transform: translateX(-103%);
  animation: redactFlash 2.1s cubic-bezier(.77, 0, .18, 1) .9s 1 both;
}
@keyframes redactFlash {
  0%   { transform: translateX(-103%); }
  38%  { transform: translateX(0); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(103%); }
}
.hero-lede {
  font-size: clamp(1.06rem, 1.8vw, 1.26rem);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* wizual hero: dokument */
.hero-visual {
  position: relative;
  max-width: 680px;
  margin: 76px auto 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -18%;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .12), transparent 72%);
  z-index: 0;
}
.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 22, 40, .08);
  box-shadow: var(--shadow-1);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.float-chip svg { width: 15px; height: 15px; color: var(--accent); }
.fc-1 { top: 7%; left: -6%; animation: floatY 7s ease-in-out infinite; }
.fc-2 { bottom: 11%; right: -7%; animation: floatY 8s ease-in-out 1s infinite; }
.fc-2 svg { color: var(--green); }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- dokument (mock) ---------- */
.doc {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, .06);
  border-radius: 18px;
  padding: 36px 38px 30px;
  box-shadow: var(--shadow-2);
  font-size: 13.5px;
  line-height: 1.7;
  color: #3a3a3c;
  text-align: left;
}
.doc-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: .05em;
  font-size: .98em;
  color: var(--ink);
  margin: 0 0 4px;
}
.doc-meta {
  text-align: center;
  font-size: .86em;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.doc-text { margin: 0 0 9px; }
.doc-text--center { text-align: center; color: var(--ink-3); margin: 2px 0 9px; }
.doc-lines { margin-top: 14px; }
.doc-line {
  display: block;
  height: 9px;
  border-radius: 4px;
  background: #ececf1;
  margin-top: 9px;
}
.doc-offline {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(22, 163, 74, .07);
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: 999px;
  padding: 4px 9px;
}
.doc-offline svg { width: 11px; height: 11px; }
.scanline {
  position: absolute;
  left: 4%; right: 4%;
  top: 2%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, .9), transparent);
  box-shadow: 0 0 16px 3px rgba(79, 70, 229, .35);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.doc-stamp {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%) rotate(-8deg) scale(.6);
  border: 2.5px solid var(--green);
  color: var(--green);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: 10px;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}

/* encje w dokumencie */
.pii {
  position: relative;
  display: inline-block;
  border-radius: 5px;
  padding: 0 2px;
  margin: 0 -2px;
  background: transparent;
}
.orig { transition: opacity .35s; }
.anon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
  z-index: 2;
}
.anon--chip {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border: 1px solid rgba(67, 56, 202, .25);
  border-radius: 6px;
  font-weight: 650;
  font-size: .9em;
  letter-spacing: .01em;
}
.anon--bar {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: rgba(255, 255, 255, .85);
  border-radius: 4px;
  font-size: .6em;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- animacja hero (petla 9 s) ---------- */
.doc--hero .scanline { animation: heroScan 9s var(--ease) infinite; }
@keyframes heroScan {
  0%   { top: 3%;  opacity: 0; }
  3%   { opacity: 1; }
  20%  { top: 96%; opacity: 1; }
  24%  { opacity: 0; }
  100% { top: 96%; opacity: 0; }
}
.doc--hero .pii {
  animation: heroHl 9s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes heroHl {
  0%, 10%   { background: transparent; }
  17%, 56%  { background: var(--amber); }
  63%, 100% { background: transparent; }
}
.doc--hero .orig {
  animation: heroOrig 9s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes heroOrig {
  0%, 57%   { opacity: 1; }
  63%, 91%  { opacity: 0; }
  97%, 100% { opacity: 1; }
}
.doc--hero .anon {
  animation: heroAnon 9s ease-in-out infinite;
  animation-delay: calc(var(--i) * 90ms);
}
@keyframes heroAnon {
  0%, 57%   { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
  63%, 91%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  96%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
}
.doc--hero .doc-stamp { animation: heroStamp 9s var(--ease) infinite; }
@keyframes heroStamp {
  0%, 66%   { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(.6); }
  71%, 92%  { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
  97%, 100% { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(.6); }
}

/* ---------- pasek zaufania ---------- */
.trust-strip {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 38px;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.trust-strip svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- problem ---------- */
.problem-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- scrolly "jak dziala" ---------- */
.scrolly { background: #fff; }
.scrolly-track { height: 380vh; position: relative; }
.scrolly-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 40px;
}
.scrolly-head { margin-bottom: 44px; }
.scrolly-head .eyebrow, .scrolly-head .section-title { text-align: center; }
.scrolly-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: center;
}

/* kroki */
.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #e8e8ed;
  border-radius: 2px;
}
.steps::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent);
  height: calc(var(--sp, 0) * (100% - 20px));
}
.step { display: flex; gap: 18px; opacity: .38; transition: opacity .4s; }
.step.active { opacity: 1; }
.step.done { opacity: .68; }
.step-num {
  position: relative;
  z-index: 1;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #d2d2d7;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 650;
  transition: background .35s, border-color .35s, color .35s, box-shadow .35s;
}
.step.active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(79, 70, 229, .14);
}
.step.done .step-num {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.step-body h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.015em;
  margin: 6px 0 6px;
}
.step-body p {
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--ink-2);
  margin: 0;
  max-width: 36ch;
}

/* dokument demo + panel */
.demo-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
}
.demo-doc { flex: 1; max-width: 490px; font-size: 13px; }
.demo-doc .pii {
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
  box-shadow: inset 0 0 0 0 rgba(79, 70, 229, 0);
}
.scrolly[data-stage="1"] .demo-doc .pii { background: var(--amber); }
.scrolly[data-stage="2"] .demo-doc .pii {
  background: rgba(79, 70, 229, .13);
  box-shadow: inset 0 0 0 1.5px rgba(79, 70, 229, .45);
}
.demo-doc .orig { transition: opacity .4s; transition-delay: calc(var(--i) * 60ms); }
.demo-doc .anon {
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
  transform: translate(-50%, -50%) scale(.85);
}
.scrolly[data-stage="3"] .demo-doc .orig { opacity: 0; }
.scrolly[data-stage="3"] .demo-doc .anon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.scrolly[data-stage="1"] .demo-doc .scanline { animation: demoScan 1.5s var(--ease) both; }
@keyframes demoScan {
  0%   { top: 3%;  opacity: 0; }
  8%   { opacity: 1; }
  86%  { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}
.demo-doc .doc-stamp { transition: opacity .45s var(--ease) .25s, transform .45s var(--ease) .25s; }
.scrolly[data-stage="3"] .demo-doc .doc-stamp {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1);
}

.entity-panel {
  position: relative;
  z-index: 6;
  width: 292px;
  flex-shrink: 0;
  margin-left: -64px;
  margin-top: 52px;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, .07);
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.ep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.ep-title { font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.ep-state { display: none; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.ep-state[data-s="2"] { color: var(--accent); }
.ep-state[data-s="3"] { color: var(--green); }
.scrolly[data-stage="0"] .ep-state[data-s="0"],
.scrolly[data-stage="1"] .ep-state[data-s="1"],
.scrolly[data-stage="2"] .ep-state[data-s="2"],
.scrolly[data-stage="3"] .ep-state[data-s="3"] { display: inline; }
.ep-list { list-style: none; margin: 0; padding: 6px 0; }
.ep-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  font-size: 12.5px;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}
.scrolly:not([data-stage="0"]) .ep-row { opacity: 1; transform: none; }
.ep-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ep-dot--person { background: var(--accent); }
.ep-dot--id     { background: var(--black); }
.ep-dot--addr   { background: #f59e0b; }
.ep-dot--org    { background: #8b5cf6; }
.ep-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 550;
}
.ep-type {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}
.ep-check {
  width: 17px; height: 17px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #d2d2d7;
  color: transparent;
  display: grid;
  place-items: center;
  transition: background .35s, border-color .35s, color .35s;
  transition-delay: calc(var(--i) * 60ms);
}
.ep-check svg { width: 9px; height: 9px; }
.scrolly[data-stage="2"] .ep-check,
.scrolly[data-stage="3"] .ep-check {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.ep-export {
  display: block;
  width: calc(100% - 24px);
  margin: 8px 12px 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  background: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-3);
  pointer-events: none;
  transition: background .4s, color .4s, border-color .4s;
}
.scrolly[data-stage="2"] .ep-export { color: var(--ink); border-color: var(--ink-3); }
.scrolly[data-stage="3"] .ep-export {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

/* ---------- funkcje ---------- */
.features-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.features-more {
  margin: 44px 0 0;
  text-align: center;
}
.features-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 650;
  font-size: 15.5px;
  text-decoration: none;
}
.features-more a svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.features-more a:hover svg { transform: translateX(4px); }

/* ---------- bezpieczenstwo ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 72px;
  align-items: center;
}
.sec-left .eyebrow, .sec-left .section-title, .sec-left .section-lede {
  text-align: left;
  margin-left: 0;
}
.sec-left em { font-style: italic; color: #cfe0ff; }
.sec-stat {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 46px;
}
.sec-zero {
  font-size: clamp(96px, 11vw, 148px);
  font-weight: 760;
  line-height: .9;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #ffffff 20%, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-zero-label {
  color: #9fb0cc;
  font-size: 15.5px;
  font-weight: 550;
  line-height: 1.45;
}
.sec-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.s-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  padding: 26px 24px;
  text-align: left;
  transition: background .3s, transform .3s var(--ease);
}
.s-card:hover { background: rgba(255, 255, 255, .085); transform: translateY(-3px); }
.s-card svg { width: 24px; height: 24px; color: var(--accent-light); margin-bottom: 14px; }
.s-card h3 { font-size: 16.5px; font-weight: 650; margin: 0 0 8px; color: #fff; }
.s-card p { font-size: 13.8px; line-height: 1.6; color: #9fb0cc; margin: 0; }

/* ---------- cennik ---------- */
.price-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, .06);
  border-radius: 24px;
  padding: 40px 40px 30px;
  box-shadow: var(--shadow-2);
  margin-top: 52px;
  text-align: left;
}
.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.price-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.price-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 5px 11px;
}
.price-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.5;
  color: #3a3a3c;
}
.price-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.price-line {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-main { font-size: 26px; font-weight: 720; letter-spacing: -.02em; }
.price-sub { font-size: 14px; color: var(--ink-2); }
.price-note { text-align: center; font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.012em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  background: var(--ink-3);
  border-radius: 2px;
}
.faq-x::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-x::after  { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 40px 22px 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- CTA koncowe ---------- */
.final-cta {
  background:
    radial-gradient(820px 420px at 50% -20%, #1b2c4f 0%, transparent 60%),
    var(--black);
  color: #fff;
  padding: clamp(96px, 12vw, 150px) 0;
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.final-cta p {
  color: #9fb0cc;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}
.cta-sig {
  margin-top: 32px !important;
  color: #6b7a94 !important;
  font-size: 14.5px !important;
  font-style: italic;
}

/* ---------- responsywnosc strony glownej ---------- */
@media (max-width: 1080px) {
  .scrolly-grid { grid-template-columns: 360px 1fr; gap: 40px; }
  .entity-panel { margin-left: -84px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .sec-grid { grid-template-columns: 1fr; gap: 52px; }
  .sec-stat { margin-top: 34px; }
}

@media (max-width: 880px) {
  .scrolly-track { height: 340vh; }
  .scrolly-sticky { padding: 84px 0 24px; justify-content: flex-start; }
  .scrolly-head { margin-bottom: 18px; }
  .scrolly-head .section-title { font-size: clamp(1.35rem, 5.5vw, 1.9rem); }
  .scrolly-grid { grid-template-columns: 1fr; gap: 0; }
  .steps {
    flex-direction: row;
    gap: 8px;
    margin-bottom: 24px;
  }
  .steps::before, .steps::after { display: none; }
  .step { flex: 1; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .step-num { width: 28px; height: 28px; font-size: 12px; }
  .step-body h3 { font-size: 11.5px; font-weight: 600; line-height: 1.25; margin: 0; letter-spacing: 0; }
  .step-body p { display: none; }
  .demo-wrap { flex-direction: column; align-items: stretch; max-width: 560px; margin: 0 auto; }
  .demo-doc { max-width: none; font-size: 11.5px; padding: 24px 22px 20px; }
  .doc-stamp { font-size: 12px; padding: 6px 13px; }
  .entity-panel {
    width: min(320px, 88%);
    margin: -36px 6px 0 auto;
  }
  .ep-row { padding: 6px 14px; }
}

@media (max-width: 640px) {
  .hero { padding: 124px 0 72px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .float-chip, .doc-offline { display: none; }
  .hero-visual { margin-top: 52px; }
  .doc { padding: 22px 18px 18px; }
  .doc--hero { font-size: 11px; }
  .trust-strip { margin-top: 48px; gap: 12px 22px; }
  .trust-strip li { font-size: 12.5px; }
  .features-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px 22px; }
  .faq-item summary { font-size: 15px; }
}

@media (max-width: 480px) {
  .step-body h3 { font-size: 10.5px; line-height: 1.2; }
  .steps { gap: 6px; }
  .demo-doc { font-size: 10.5px; padding: 20px 16px 16px; }
  .entity-panel { width: min(300px, 92%); }
  .sec-zero { font-size: 84px; }
  .sec-stat { gap: 18px; }
  .price-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.35rem; }
  .hero-badge { font-size: 12px; padding: 7px 12px; }
}

@media (min-width: 881px) and (max-height: 820px) {
  .scrolly-head { margin-bottom: 22px; }
  .scrolly-head .section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
  .demo-doc { font-size: 12px; padding: 26px 28px 22px; }
  .scrolly-sticky { padding: 64px 0 32px; }
  .step-body p { font-size: 13.5px; }
  .steps { gap: 24px; }
}
