:root {
  color-scheme: dark;
  --bg: #07101d;
  --bg-deep: #040a12;
  --surface: #0d1929;
  --surface-2: #122238;
  --surface-soft: rgba(17, 34, 56, 0.72);
  --text: #f7f9fc;
  --muted: #9caec5;
  --muted-2: #6f829b;
  --line: rgba(153, 181, 216, 0.15);
  --line-strong: rgba(153, 181, 216, 0.28);
  --accent: #ff8a00;
  --accent-2: #ffb100;
  --accent-red: #ff4b19;
  --blue: #3a9ef4;
  --green: #45d59b;
  --danger: #ff667d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1220px;
  font-family: Inter, ui-sans-serif, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 126, 0, 0.11), transparent 30rem),
    radial-gradient(circle at 8% 28%, rgba(33, 133, 238, 0.08), transparent 30rem),
    linear-gradient(180deg, #081321 0%, var(--bg) 50%, var(--bg-deep) 100%);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #07101d;
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(255, 166, 42, 0.75);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  width: min(calc(100% - 32px), var(--container));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 0 13px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(7, 16, 29, 0.72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 16, 29, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 179, 54, 0.28);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 184, 52, 0.16), rgba(255, 74, 0, 0.07));
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.17), inset 0 1px rgba(255, 255, 255, 0.2);
}

.brand-mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(255, 82, 0, 0.24));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto;
}

.desktop-nav a {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 13px;
  background: #fff;
  color: #101722;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  width: min(calc(100% - 40px), var(--container));
  min-height: calc(100svh - 86px);
  margin: 0 auto;
  padding: 70px 0 64px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #ffc161;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-2));
  box-shadow: 0 0 12px rgba(255, 137, 0, 0.8);
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 em {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, #fff 12%, #ffc66f 50%, #ff681f 100%);
  background-clip: text;
  font-style: normal;
}

.hero-lead {
  max-width: 580px;
  margin: 26px 0 0;
  color: #bdcada;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 820;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  border-color: rgba(255, 187, 70, 0.28);
  background: linear-gradient(135deg, #ffb014, #ff690b 55%, #f0440a);
  color: #1b0d03;
  box-shadow: 0 18px 45px rgba(255, 91, 0, 0.23), inset 0 1px rgba(255, 255, 255, 0.48);
}

.button-primary:hover {
  box-shadow: 0 24px 54px rgba(255, 91, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.48);
}

.button-primary svg {
  fill: currentColor;
  stroke: none;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

.showcase {
  position: relative;
  min-width: 0;
}

.showcase-glow {
  position: absolute;
  inset: 7% 4% 1%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 117, 0, 0.25), transparent 67%);
  filter: blur(22px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(173, 198, 228, 0.2);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(18, 35, 56, 0.97), rgba(8, 19, 33, 0.98));
  box-shadow: 0 50px 110px rgba(0, 0, 0, 0.46), inset 0 1px rgba(255, 255, 255, 0.08);
}

.app-window::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.055), transparent 24%, transparent 76%, rgba(255, 145, 0, 0.04));
}

.app-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 12, 23, 0.48);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #344860;
}

.window-dot:nth-child(1) { background: #ff6e62; }
.window-dot:nth-child(2) { background: #ffc154; }
.window-dot:nth-child(3) { background: #50cf8c; }

.app-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  color: #dfe9f6;
  font-size: 13px;
  font-weight: 760;
}

.app-name img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.demo-count {
  margin-left: auto;
  color: var(--muted-2);
  font: 700 11px/1 ui-monospace, "Cascadia Code", monospace;
  letter-spacing: 0.08em;
}

.demo-count b {
  color: #ffb554;
}

.demo-stage {
  position: relative;
  min-height: 520px;
}

.demo-card {
  position: absolute;
  visibility: hidden;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 26px;
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0s linear, transform 0s linear, visibility 0s linear;
}

.demo-card.is-active {
  visibility: visible;
  z-index: 2;
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear;
}

.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.demo-kicker {
  color: #d5e1ef;
  font-size: 13px;
  font-weight: 780;
}

.state-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid rgba(153, 181, 216, 0.16);
  border-radius: 99px;
  background: rgba(153, 181, 216, 0.07);
  color: #aabbd0;
  font-size: 10px;
  font-weight: 760;
}

.state-pill.state-on {
  border-color: rgba(69, 213, 155, 0.2);
  background: rgba(69, 213, 155, 0.1);
  color: #78e4b8;
}

.demo-card h2 {
  margin: auto 0 5px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.demo-card > p {
  max-width: 500px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.chat-preview,
.deleted-demo,
.export-demo,
.encrypt-demo,
.accounts-demo,
.repost-demo,
.filter-demo,
.labels-demo,
.spoiler-demo {
  position: relative;
  flex: 0 0 258px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(circle at 80% 20%, rgba(54, 152, 247, 0.09), transparent 50%), rgba(4, 13, 24, 0.6);
}

.chat-preview {
  padding: 43px 26px;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.avatar-purple { background: linear-gradient(135deg, #845ef7, #5c3bc8); }
.avatar-blue { background: linear-gradient(135deg, #48a8ff, #1b64bd); }
.avatar-orange { background: linear-gradient(135deg, #ffae34, #ed5210); }

.bubble {
  max-width: 79%;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 13px;
}

.bubble.incoming {
  margin: -32px 0 0 49px;
  border-bottom-left-radius: 5px;
  background: #172943;
}

.bubble.outgoing {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  background: linear-gradient(135deg, #167bcb, #195caa);
}

.privacy-signals {
  position: absolute;
  right: 24px;
  bottom: 35px;
  display: flex;
  gap: 12px;
}

.privacy-signals span,
.crossed-words span {
  position: relative;
  padding: 9px 11px;
  border: 1px solid rgba(255, 102, 125, 0.22);
  border-radius: 10px;
  background: rgba(255, 102, 125, 0.08);
  color: #ff899a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.privacy-signals span::after,
.crossed-words span::after {
  position: absolute;
  top: 50%;
  left: 7px;
  width: calc(100% - 14px);
  height: 2px;
  content: "";
  background: currentColor;
  transform: rotate(-8deg) scaleX(0);
  transform-origin: left;
}

.is-active .privacy-signals span::after,
.feature:hover .crossed-words span::after {
  animation: strike 420ms 500ms ease forwards;
}

@keyframes strike {
  to { transform: rotate(-8deg) scaleX(1); }
}

.deleted-demo {
  padding: 34px 25px;
}

.bubble-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bubble-row .bubble {
  margin: 0;
}

.delete-event {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 29px auto 14px;
  color: #ff8899;
  font-size: 11px;
}

.delete-event span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(255, 102, 125, 0.1);
}

.archive-copy {
  padding: 13px 15px;
  border: 1px solid rgba(69, 213, 155, 0.2);
  border-radius: 13px;
  background: rgba(69, 213, 155, 0.08);
  color: #cdeade;
  font-size: 12px;
  opacity: 0;
  transform: translateY(14px);
}

.is-active .archive-copy {
  animation: reveal-up 440ms 780ms ease forwards;
}

@keyframes reveal-up {
  to { opacity: 1; transform: none; }
}

.export-demo {
  display: grid;
  grid-template-columns: 0.8fr 72px 1.4fr;
  align-items: center;
  gap: 8px;
  padding: 28px 22px;
}

.source-members {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  justify-content: center;
  gap: 8px;
}

.mini-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: linear-gradient(145deg, #264e78, #142941);
  color: #cfe4f7;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.75);
}

.is-active .mini-avatar {
  animation: pop-in 350ms ease forwards;
}

.is-active .mini-avatar:nth-child(2) { animation-delay: 90ms; }
.is-active .mini-avatar:nth-child(3) { animation-delay: 180ms; }
.is-active .mini-avatar:nth-child(4) { animation-delay: 270ms; }

@keyframes pop-in {
  to { opacity: 1; transform: scale(1); }
}

.export-arrow {
  width: 100%;
  color: #ff9d31;
}

.export-arrow path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
}

.is-active .export-arrow path {
  animation: draw-line 680ms 400ms ease forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

.csv-sheet {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  overflow: hidden;
  border: 1px solid rgba(69, 213, 155, 0.22);
  border-radius: 13px;
  background: #102238;
  opacity: 0;
  transform: translateX(18px);
}

.csv-sheet span,
.csv-sheet b {
  overflow: hidden;
  padding: 9px 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #d8e6f5;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csv-sheet span {
  background: rgba(69, 213, 155, 0.08);
  color: #74dcae;
  font-weight: 800;
}

.csv-sheet b {
  font-weight: 600;
}

.is-active .csv-sheet {
  animation: reveal-up 430ms 820ms ease forwards;
}

.encrypt-demo {
  display: block;
  padding: 18px;
}

.encrypt-flow small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7894af;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.encrypt-flow small > span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 174, 57, .38);
  border-radius: 50%;
  color: #ffb64f;
  font-size: 9px;
}

.encrypt-source,
.encrypt-telegram,
.encrypt-receivers,
.encrypt-lock-stage {
  position: absolute;
}

.encrypt-source {
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
}

.encrypt-source p,
.receiver p {
  margin: 7px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #18314f;
  color: #e3edf6;
  font-size: 13px;
}

.encrypt-lock-stage {
  top: 55px;
  left: 50%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #ffb64f;
  opacity: 0;
  transform: translateX(-50%) scale(.7);
}

.encrypt-lock-stage b { font-size: 10px; }

.encrypt-lock-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 178, 54, .45);
  border-radius: 50%;
  background: rgba(255, 142, 16, .13);
  box-shadow: 0 0 32px rgba(255, 110, 0, .25);
}

.encrypt-lock-icon svg { width: 24px; height: 24px; }

.encrypt-telegram {
  top: 72px;
  left: 50%;
  width: min(310px, calc(100% - 40px));
  padding: 10px 13px;
  border: 1px solid rgba(72, 164, 244, .32);
  border-radius: 12px;
  background: rgba(16, 36, 60, .96);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

.encrypt-telegram b {
  display: block;
  margin: 5px 0 4px;
  color: #76bdff;
  font-size: 12px;
}

.encrypt-telegram code {
  color: #d9efff;
  font: 750 12px/1.35 ui-monospace, "Cascadia Code", monospace;
  letter-spacing: .05em;
}

.encrypt-telegram em {
  display: block;
  margin-top: 3px;
  color: #7894af;
  font-size: 9px;
  font-style: normal;
}

.encrypt-receivers {
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
}

.encrypt-receivers > small { grid-column: 1 / -1; }
.receiver { min-width: 0; }
.receiver b { color: #9bb0c5; font-size: 10px; }
.receiver p { overflow: hidden; padding: 8px 9px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.receiver-key p { border-color: rgba(69, 213, 155, .3); background: rgba(35, 114, 84, .15); color: #85e4bd; }
.receiver-locked p { border-color: rgba(255, 129, 148, .25); color: #ff9baa; }

.css-lock {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 8px;
  margin-right: 4px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  vertical-align: -1px;
}

.css-lock::before {
  position: absolute;
  bottom: 6px;
  left: 1px;
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  content: "";
}

.accounts-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 10px;
  padding: 22px;
}

.account-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(24, 44, 70, 0.68);
  opacity: 0;
  transform: translateY(10px);
}

.account-card .avatar {
  grid-row: 1 / 3;
}

.account-card b { font-size: 12px; }
.account-card small { color: var(--muted); font-size: 9px; }

.is-active .account-card { animation: reveal-up 360ms ease forwards; }
.is-active .account-card:nth-child(2) { animation-delay: 100ms; }
.is-active .account-card:nth-child(3) { animation-delay: 200ms; }

.account-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: #ffb24c;
}

.account-total strong {
  font-size: 31px;
  letter-spacing: -0.05em;
}

.account-total span {
  color: var(--muted);
  font-size: 11px;
}

.repost-demo {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 26px;
}

.post-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #102139;
  color: #dbe6f3;
}

.post-card small { color: var(--muted); font-size: 9px; }
.post-card p { margin: 9px 0 0; font-size: 11px; }
.post-card del { color: #ff8194; text-decoration-thickness: 2px; }
.post-card ins { color: #6ee1b1; text-decoration: none; font-weight: 760; }

.post-card.result {
  opacity: 0;
  transform: translateX(12px);
}

.replace-track {
  display: grid;
  place-items: center;
  height: 2px;
  background: linear-gradient(90deg, #ff6d15, #ffb832);
  transform: scaleX(0);
}

.replace-track span {
  padding: 3px 5px;
  border-radius: 5px;
  background: #12243a;
  color: #ffb44c;
  font-size: 7px;
  text-transform: uppercase;
}

.is-active .replace-track { animation: scale-line 440ms 450ms ease forwards; }
.is-active .post-card.result { animation: reveal-up 420ms 790ms ease forwards; }
@keyframes scale-line { to { transform: scaleX(1); } }

.filter-demo {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(25, 47, 75, 0.7);
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

.filter-row span {
  min-width: 48px;
  color: #ffb44f;
  font-size: 9px;
  font-weight: 800;
}

.filter-row p {
  overflow: hidden;
  margin: 0;
  color: #cbd9e8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 0 auto;
  color: var(--muted);
  font-size: 9px;
}

.filter-switch i {
  position: relative;
  width: 31px;
  height: 17px;
  border-radius: 99px;
  background: #2a3c54;
}

.filter-switch i::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.is-active .filter-row.noise {
  animation: filter-away 440ms 650ms ease forwards;
}

.is-active .filter-switch i {
  animation: switch-on 300ms 520ms ease forwards;
}

.is-active .filter-switch i::after {
  animation: switch-dot 300ms 520ms ease forwards;
}

@keyframes filter-away { to { opacity: 0.2; filter: blur(2px); transform: scale(0.97); } }
@keyframes switch-on { to { background: #23966c; } }
@keyframes switch-dot { to { transform: translateX(14px); } }

.labels-demo { padding: 22px; }

.template-menu-stage,
.template-editor-stage {
  position: absolute;
  inset: 22px;
}

.template-menu-stage small,
.template-editor-stage small {
  color: #7894af;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.template-menu-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.template-choice {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(25, 48, 78, .72);
  color: #d5e2ef;
  font-size: 12px;
  font-weight: 700;
}

.template-choice::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4da8f5;
  content: "";
}

.template-choice:nth-child(2)::before { background: #ffae45; }
.template-choice:nth-child(3)::before { background: #6eddb2; }

.template-editor-stage {
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(10px);
}

.template-input {
  position: relative;
  min-height: 112px;
  margin-top: 11px;
  padding: 15px 16px;
  border: 1px solid rgba(75, 164, 240, .3);
  border-radius: 12px;
  background: #10243d;
}

.template-input p {
  position: absolute;
  inset: 15px 16px auto;
  margin: 0;
  color: #dce8f4;
  font-size: 13px;
  line-height: 1.55;
}

.template-variable {
  padding: 1px 3px;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.variable-contact,
.resolved-contact { color: #ffad43; }
.variable-owner,
.resolved-owner { color: #60b8ff; }
.template-resolved { opacity: 0; }

.spoiler-demo {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px;
}

.spoiler-demo p {
  margin: 0;
  color: #d5e2ef;
  font-size: 13px;
}

.spoiler-cover {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  min-width: 150px;
  padding: 3px 6px;
  border-radius: 6px;
  color: transparent;
  vertical-align: middle;
}

.spoiler-cover::before {
  position: absolute;
  inset: 0;
  content: "";
  background: #445469;
}

.spoiler-cover i {
  position: absolute;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8796a9;
  animation: dust 1.4s infinite ease-in-out alternate;
}

.spoiler-cover i:nth-child(1) { top: 5px; left: 12px; }
.spoiler-cover i:nth-child(2) { top: 15px; left: 42px; animation-delay: 180ms; }
.spoiler-cover i:nth-child(3) { top: 7px; right: 20px; animation-delay: 360ms; }
.spoiler-cover i:nth-child(4) { bottom: 4px; right: 56px; animation-delay: 540ms; }

@keyframes dust { to { transform: translate(12px, -4px); opacity: 0.3; } }

.spoiler-cover b { font-weight: 650; }

.spoiler-auto {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 25px;
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #172943;
  color: #cfe0f1;
  font-size: 10px;
}

.spoiler-auto span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58d6a3;
  box-shadow: 0 0 0 5px rgba(88, 214, 163, 0.1);
}

.is-active .spoiler-cover::before {
  animation: spoiler-open 480ms 700ms ease forwards;
}

.is-active .spoiler-cover {
  animation: spoiler-text 1ms 1180ms forwards;
}

@keyframes spoiler-open { to { transform: translateX(104%); } }
@keyframes spoiler-text { to { color: #ffd094; } }

.demo-controls {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 92px;
  border-top: 1px solid var(--line);
}

.demo-autoplay {
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.demo-autoplay span {
  position: relative;
  display: block;
  width: 14px;
  height: 16px;
}

.demo-autoplay span::before,
.demo-autoplay span::after {
  position: absolute;
  top: 0;
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.demo-autoplay span::before { left: 1px; }
.demo-autoplay span::after { right: 1px; }

.demo-autoplay[aria-pressed="true"] span::before {
  left: 3px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.demo-autoplay[aria-pressed="true"] span::after { display: none; }

.demo-autoplay:hover,
.demo-autoplay[aria-pressed="true"] {
  border-color: rgba(255, 153, 41, 0.45);
  background: rgba(255, 137, 23, 0.08);
  color: #fff;
}

.demo-navigation {
  display: grid;
  flex: 0 1 390px;
  gap: 3px;
}

.demo-scrubber {
  display: grid;
  gap: 5px;
}

.demo-scrubber span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: center;
}

.demo-scrubber input {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: grab;
  --slider-progress: 0%;
}

.demo-scrubber input:active { cursor: grabbing; }

.demo-scrubber input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-red) 0, var(--accent-2) var(--slider-progress), #32475e var(--slider-progress), #32475e 100%);
}

.demo-scrubber input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 3px solid #fff3e5;
  border-radius: 50%;
  appearance: none;
  background: #ff8617;
  box-shadow: 0 3px 14px rgba(255, 107, 0, 0.45);
}

.demo-scrubber input::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: #32475e;
}

.demo-scrubber input::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-2));
}

.demo-scrubber input::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 3px solid #fff3e5;
  border-radius: 50%;
  background: #ff8617;
  box-shadow: 0 3px 14px rgba(255, 107, 0, 0.45);
}

.demo-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.demo-arrow:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.demo-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.demo-dot {
  min-width: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.demo-dot::before {
  display: block;
  width: 6px;
  height: 6px;
  margin: auto;
  border-radius: 50%;
  background: #496078;
  content: "";
  transition: width 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.demo-dot[aria-selected="true"]::before {
  width: 20px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-2));
}

.section {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: clamp(90px, 12vw, 150px) 0 0;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 43px;
}

.section-heading.compact { max-width: 720px; }

.section-heading h2,
.final-cta h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.02;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(35px, 5vw, 72px);
  min-height: 340px;
  overflow: hidden;
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(18, 35, 57, 0.86), rgba(9, 21, 37, 0.9));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature:hover {
  border-color: rgba(255, 153, 38, 0.28);
  background: linear-gradient(145deg, rgba(22, 42, 68, 0.95), rgba(10, 23, 39, 0.95));
  transform: translateY(-5px);
}

.feature:focus-visible,
.feature.is-previewing {
  outline: 2px solid rgba(255, 164, 56, 0.72);
  outline-offset: 3px;
  border-color: rgba(255, 153, 38, 0.34);
  background: linear-gradient(145deg, rgba(22, 42, 68, 0.95), rgba(10, 23, 39, 0.95));
  transform: translateY(-5px);
}

.feature-large,
.feature-wide { grid-column: 1 / -1; min-height: 340px; }

.feature:not(.export-feature) > .feature-icon { grid-column: 1; grid-row: 1; }
.feature:not(.export-feature) > h3 { grid-column: 1; grid-row: 2; }
.feature:not(.export-feature) > p { grid-column: 1; grid-row: 3; max-width: 650px; }
.feature:not(.export-feature) > .feature-scene { grid-column: 2; grid-row: 1 / 4; align-self: center; width: 100%; margin: 0; }

.feature-number {
  position: absolute;
  top: 20px;
  right: 21px;
  color: #50647c;
  font: 750 11px/1 ui-monospace, monospace;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 162, 46, 0.18);
  border-radius: 14px;
  background: rgba(255, 138, 0, 0.08);
  color: #ffae44;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature h3 {
  margin: 24px 0 9px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.crossed-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 33px;
}

.message-echo {
  display: grid;
  gap: 7px;
  width: min(320px, 92%);
  margin-top: 31px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 14, 25, 0.5);
  font-size: 11px;
}

.message-echo del { color: var(--danger); }
.message-echo b { color: #7cddba; }

.feature-scene {
  position: relative;
  min-height: 160px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 14, 25, 0.52);
}

.mini-invisible { padding: 22px; }
.mini-bubble {
  width: 74%;
  padding: 13px 15px;
  border-radius: 10px 10px 10px 3px;
  background: #1a304e;
  color: #d7e4f1;
  font-size: 15px;
}
.mini-invisible .crossed-words { position: absolute; right: 18px; bottom: 16px; margin: 0; }
.mini-invisible .crossed-words span { padding: 8px 10px; font-size: 12px; }

.mini-deleted { display: grid; align-content: center; gap: 9px; padding: 18px; font-size: 14px; }
.mini-deleted span, .mini-deleted del, .mini-deleted b { padding: 10px 12px; border-radius: 9px; }
.mini-deleted span { width: 78%; background: #19304e; color: #dce8f4; }
.mini-deleted del { width: max-content; color: #ff8799; }
.mini-deleted b { border: 1px solid rgba(69,213,155,.2); background: rgba(69,213,155,.08); color: #7cddba; }

.export-people { display: grid; grid-template-columns: repeat(2, 46px); gap: 8px; padding: 0 !important; border: 0 !important; }
.export-people i { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #172c48; color: #bfd5ea; font-size: 12px; font-style: normal; }

.mini-encrypt { min-height: 160px; padding: 16px; text-align: left; }
.mini-encrypt > div { position: absolute; }
.mini-encrypt small { display: block; margin-bottom: 4px; color: #7894af; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.mini-encrypt span { color: #dce8f4; font-size: 13px; }
.mini-encrypt-source { top: 24px; left: 18px; right: 18px; padding: 10px 12px; border-radius: 9px; background: #18314f; }
.mini-encrypt-lock { top: 61px; left: 50%; z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,174,57,.45); border-radius: 50%; background: #17263a; color: #ffb64f; opacity: 0; transform: translateX(-50%) scale(.65); }
.mini-encrypt-telegram { top: 43px; left: 50%; width: min(230px, calc(100% - 36px)); padding: 10px 12px; border: 1px solid rgba(72,164,244,.3); border-radius: 9px; background: #10243d; opacity: 0; transform: translateX(-50%) translateY(8px); }
.mini-encrypt-telegram code { color: #8fd1ff; font: 750 12px/1.3 ui-monospace, monospace; }
.mini-encrypt-result,
.mini-encrypt-closed { right: 18px; bottom: 18px; left: 18px; padding: 9px 11px; border: 1px solid rgba(69,213,155,.26); border-radius: 9px; background: rgba(35,114,84,.13); opacity: 0; transform: translateY(8px); }
.mini-encrypt-result span { color: #85e4bd; }
.mini-encrypt-closed { left: auto; width: 104px; border-color: rgba(255,129,148,.25); background: #10243d; }
.mini-encrypt-closed span { color: #ff9baa; }

.mini-accounts { display: flex; align-items: center; gap: 9px; min-height: 160px; padding: 20px; }
.mini-accounts span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg,#2f68a2,#203957); color: #e7f3ff; font-size: 13px; font-weight: 800; }
.mini-accounts span:nth-child(2) { background: linear-gradient(145deg,#7f51d6,#453273); }
.mini-accounts span:nth-child(3) { background: linear-gradient(145deg,#dd7d32,#75441e); }
.mini-accounts span:nth-child(4) { background: linear-gradient(145deg,#18865f,#174936); }
.mini-accounts b { position: absolute; right: 15px; bottom: 13px; color: var(--muted); font-size: 12px; opacity: 0; }

.mini-repost { display: grid; align-content: center; gap: 9px; min-height: 160px; padding: 20px; font-size: 15px; }
.mini-repost del { color: #ff8497; }
.mini-repost i { color: #ffad43; font-size: 11px; font-style: normal; text-transform: uppercase; }
.mini-repost ins { color: #6ee1b1; font-weight: 800; opacity: 0; text-decoration: none; }

.mini-filter { display: grid; align-content: center; gap: 8px; min-height: 160px; padding: 17px; }
.mini-filter > span { padding: 9px 11px; border-radius: 8px; background: #172c48; color: #c7d7e7; font-size: 14px; }
.mini-filter b { display: flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 11px; }
.mini-filter b i { width: 31px; height: 16px; border-radius: 99px; background: #2d4159; }

.mini-templates { min-height: 160px; padding: 17px; }
.mini-template-menu,
.mini-template-editor { position: absolute; inset: 16px; }
.mini-template-menu { display: flex; flex-wrap: wrap; align-content: center; gap: 8px; }
.mini-template-menu small { flex-basis: 100%; color: #7894af; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.mini-template-menu span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(61,158,244,.1); color: #d5e2ef; font-size: 12px; font-weight: 700; }
.mini-template-menu .mini-template-picked { border-color: rgba(255,174,69,.5); background: rgba(255,145,35,.13); color: #ffb459; }
.mini-template-editor { display: grid; align-content: center; opacity: 0; transform: translateY(8px); }
.mini-template-editor > small { margin-bottom: 7px; color: #7894af; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.mini-template-editor p { grid-area: 2 / 1; margin: 0; padding: 11px 12px; border: 1px solid rgba(75,164,240,.3); border-radius: 9px; background: #10243d; color: #dce8f4; font-size: 12px; line-height: 1.45; }
.mini-template-resolved { opacity: 0; }

.mini-spoiler { display: grid; align-content: center; gap: 15px; min-height: 160px; padding: 20px; }
.mini-spoiler span { color: #cfdeec; font-size: 15px; }
.mini-spoiler span b { padding: 5px 8px; border-radius: 6px; background: #435268; color: transparent; }
.mini-spoiler i { color: var(--muted); font-size: 12px; font-style: normal; }

.export-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 50px;
}

.export-feature h3 {
  max-width: 600px;
  font-size: clamp(25px, 3vw, 39px);
}

.export-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.export-visual > span:first-child {
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  font-size: 12px;
}

.export-visual > b { color: #ffab42; font-size: 24px; }

.file-card {
  display: grid;
  place-items: center;
  width: 110px;
  height: 130px;
  border: 1px solid rgba(69, 213, 155, 0.25);
  border-radius: 16px 30px 16px 16px;
  background: rgba(69, 213, 155, 0.09);
  color: #6ee0b1;
  font: 850 24px/1 ui-monospace, monospace;
  transform: rotate(4deg);
}

.file-card small {
  color: #9ccdb9;
  font: 650 9px/1.2 Inter, sans-serif;
}

.workflow {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 70px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(14, 28, 47, 0.65);
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 158, 43, 0.2);
  border-radius: 13px;
  background: rgba(255, 138, 0, 0.08);
  color: #ffaf48;
  font-weight: 850;
}

.steps h3 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  padding-top: clamp(90px, 12vw, 150px);
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(14, 28, 47, 0.68);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 15px 54px 15px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  right: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffb34f;
  content: "+";
  font-size: 19px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  margin: 0;
  padding: 0 54px 18px 18px;
  color: var(--muted);
  font-size: 13px;
}

.faq-list a { color: #ffb052; }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: min(calc(100% - 40px), var(--container));
  margin: clamp(90px, 12vw, 150px) auto;
  padding: clamp(30px, 6vw, 65px);
  border: 1px solid rgba(255, 167, 49, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 112, 0, 0.18), transparent 35%),
    linear-gradient(145deg, #13243a, #0a1728);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06);
}

.final-cta > div { max-width: 740px; }
.final-cta h2 { font-size: clamp(34px, 5vw, 58px); }
.final-cta .button { flex: 0 0 auto; }

.site-footer {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 60px;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 55px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-main p {
  max-width: 360px;
  margin: 9px 0 5px;
  color: var(--muted);
  font-size: 13px;
}

.footer-main > a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffb052;
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links b {
  margin-bottom: 5px;
  color: #d9e4ef;
  font-size: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover { color: var(--text); }

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}

.footer-legal p { margin: 0; }
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 80px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .showcase {
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .feature-grid { grid-template-columns: 1fr; }
  .feature { display: block; min-height: 360px; }
  .feature-wide { grid-column: 1 / -1; }
  .feature:not(.export-feature) > .feature-scene { width: 100%; margin-top: 28px; }
  .export-feature { grid-template-columns: 1fr; gap: 28px; }
  .export-visual { justify-content: flex-start; }
  .workflow, .faq { grid-template-columns: 1fr; gap: 30px; }
  .section-heading { margin-bottom: 30px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 20px);
    min-height: 62px;
    margin-top: 9px;
    padding-left: 12px;
    border-radius: 17px;
  }

  .brand { font-size: 16px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark img { width: 27px; height: 27px; }
  .desktop-nav { display: none; }
  .brand { min-height: 44px; }
  .header-cta { margin-left: auto; min-height: 44px; padding-inline: 14px; }

  .hero,
  .section,
  .final-cta,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero {
    gap: 48px;
    padding: 66px 0 35px;
  }

  .hero h1 { font-size: clamp(42px, 13.5vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .button { min-height: 56px; }

  .app-window { border-radius: 23px; }
  .app-bar { min-height: 53px; padding-inline: 14px; }
  .demo-stage { min-height: 510px; }
  .demo-card { padding: 22px 18px; }
  .demo-card h2 { font-size: 27px; }
  .demo-card > p { font-size: 12px; }

  .chat-preview,
  .deleted-demo,
  .export-demo,
  .encrypt-demo,
  .accounts-demo,
  .repost-demo,
  .filter-demo,
  .labels-demo,
  .spoiler-demo {
    flex-basis: 255px;
    margin-top: 18px;
  }

  .export-demo {
    grid-template-columns: 0.8fr 35px 1.4fr;
    padding-inline: 12px;
  }

  .source-members { grid-template-columns: repeat(2, 36px); }
  .mini-avatar { width: 36px; height: 36px; font-size: 8px; }
  .csv-sheet span, .csv-sheet b { padding: 7px 4px; font-size: 7px; }
  .lock-orbit { right: 18px; width: 46px; height: 46px; }
  .encrypt-demo .bubble { width: 83%; margin-right: 30px; font-size: 10px; }
  .repost-demo { grid-template-columns: 1fr; align-content: center; }
  .replace-track { width: 2px; height: 18px; margin: auto; transform: scaleY(0); }
  .is-active .replace-track { animation: scale-line-y 440ms 450ms ease forwards; }
  .replace-track span { display: none; }
  @keyframes scale-line-y { to { transform: scaleY(1); } }
  .post-card { padding: 10px 12px; }
  .post-card p { margin-top: 4px; }

  .demo-controls { flex-wrap: wrap; gap: 2px; padding: 8px 5px; }
  .demo-navigation { order: 4; flex-basis: 100%; }
  .demo-dots { display: none; }
  .demo-dot { min-width: 30px; width: 30px; }
  .demo-arrow { width: 44px; }
  .demo-autoplay { min-width: 44px; }

  .section { padding-top: 95px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading > p:last-child { font-size: 15px; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-large, .feature-wide { grid-column: auto; min-height: 300px; }
  .feature { display: block; min-height: 300px; }
  .feature:not(.export-feature) > .feature-scene { width: 100%; margin-top: 24px; }
  .export-feature { grid-template-columns: 1fr; gap: 28px; }
  .export-feature h3 { font-size: 28px; }
  .export-visual { justify-content: flex-start; }
  .file-card { width: 88px; height: 105px; }

  .workflow { gap: 20px; }
  .steps li { grid-template-columns: 44px 1fr; padding: 16px; }
  .steps li > span { width: 40px; height: 40px; }

  .faq { gap: 12px; }

  .final-cta {
    gap: 28px;
    margin-block: 95px;
    padding: 29px 23px;
    border-radius: 23px;
  }

  .final-cta h2 { font-size: 39px; }
  .final-cta .button { width: 100%; }

  .site-footer { grid-template-columns: 1fr; gap: 37px; padding-top: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
  .footer-legal { flex-direction: column; gap: 9px; }
}

@media (max-width: 390px) {
  .hero, .section, .final-cta, .site-footer { width: calc(100% - 22px); }
  .hero h1 { font-size: 39px; }
  .demo-stage { min-height: 525px; }
  .privacy-signals { right: 14px; bottom: 30px; gap: 6px; }
  .privacy-signals span { padding-inline: 7px; font-size: 8px; }
  .accounts-demo { padding-inline: 12px; }
  .account-card { grid-template-columns: 32px 1fr; gap: 7px; padding: 8px; }
  .account-card .avatar { width: 31px; height: 31px; }
  .footer-links { grid-template-columns: 1fr; }
  .demo-dot { min-width: 28px; width: 28px; }
}

/* Larger text keeps every animated example readable without visually overpowering its card. */
.demo-stage .bubble { font-size: 15px; }
.demo-stage .state-pill { font-size: 12px; }
.demo-stage .delete-event { font-size: 13px; }
.demo-stage .archive-copy { font-size: 14px; }
.demo-stage .mini-avatar { width: 46px; height: 46px; font-size: 12px; }
.demo-stage .csv-sheet span,
.demo-stage .csv-sheet b { font-size: 11px; }
.demo-stage .encrypt-demo .bubble { font-size: 15px; }
.demo-stage .account-card b { font-size: 14px; }
.demo-stage .account-card small { font-size: 11px; }
.demo-stage .post-card small { font-size: 11px; }
.demo-stage .post-card p { font-size: 15px; line-height: 1.4; }
.demo-stage .filter-row span { font-size: 11px; }
.demo-stage .filter-row p { font-size: 14px; }
.demo-stage .filter-switch { font-size: 12px; }
.demo-stage .label-chip { font-size: 11px; }
.demo-stage .template-list span { font-size: 12px; }
.demo-stage .typed-template { font-size: 14px; }
.demo-stage .spoiler-demo p { font-size: 15px; }
.demo-stage .spoiler-auto { font-size: 12px; }

/* Each scenario lasts 2.5× longer and repeats six times before the next slide. */
.demo-card.is-active .invisible-demo .bubble { animation: hero-message-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .privacy-signals span::after { animation: hero-strike-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .message-original { animation: hero-delete-original 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .delete-event { animation: hero-delete-event 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .archive-copy { animation: hero-delete-copy 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .mini-avatar { animation: hero-person-cycle 8.125s ease-in-out 6 both !important; animation-delay: 0s !important; }
.demo-card.is-active .export-arrow path { animation: hero-arrow-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .csv-sheet { animation: hero-file-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .encrypt-source { animation: hero-encrypt-source 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .encrypt-source p { animation: hero-encrypt-letters 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .encrypt-lock-stage { animation: hero-encrypt-lock 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .encrypt-telegram { animation: hero-encrypt-telegram 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .encrypt-receivers { animation: hero-encrypt-receivers 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .account-card { animation: hero-account-cycle 8.125s ease-in-out 6 both !important; animation-delay: 0s !important; }
.demo-card.is-active .account-total { animation: hero-total-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .replace-track { animation: hero-track-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .post-card.result { animation: hero-result-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .filter-row.noise { animation: hero-filter-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .filter-switch i { animation: hero-switch-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .filter-switch i::after { animation: hero-switch-dot-cycle 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .template-menu-stage { animation: hero-template-menu 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .template-choice.is-picked { animation: hero-template-pick 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .template-editor-stage { animation: hero-template-editor 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .template-pattern { animation: hero-template-pattern 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .template-resolved { animation: hero-template-resolved 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .spoiler-cover::before { animation: hero-spoiler-cover 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .spoiler-cover { animation: hero-spoiler-text 8.125s ease-in-out 6 both !important; }
.demo-card.is-active .spoiler-auto { animation: hero-spoiler-status 8.125s ease-in-out 6 both !important; }

@keyframes hero-message-cycle {
  0%, 8% { opacity: 0; transform: translateY(10px); }
  20%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes hero-strike-cycle {
  0%, 30% { transform: rotate(-8deg) scaleX(0); }
  46%, 92% { transform: rotate(-8deg) scaleX(1); }
  100% { transform: rotate(-8deg) scaleX(0); }
}
@keyframes hero-delete-original {
  0%, 38% { opacity: 1; transform: none; }
  50%, 92% { opacity: .2; transform: translateX(8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hero-delete-event {
  0%, 30% { opacity: 0; transform: translateY(8px); }
  43%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes hero-delete-copy {
  0%, 47% { opacity: 0; transform: translateY(14px); }
  62%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes hero-person-cycle {
  0%, 10% { opacity: 0; transform: scale(.7); }
  28%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.8); }
}
@keyframes hero-arrow-cycle {
  0%, 30% { stroke-dashoffset: 90; }
  52%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 90; }
}
@keyframes hero-file-cycle {
  0%, 48% { opacity: 0; transform: translateX(18px) scale(.95); }
  65%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-4px); }
}
@keyframes hero-encrypt-plain {
  0%, 30% { opacity: 1; filter: none; }
  46%, 90% { opacity: 0; filter: blur(5px); }
  100% { opacity: 1; filter: none; }
}
@keyframes hero-encrypt-cipher {
  0%, 38% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hero-lock-cycle {
  0%, 22% { opacity: 0; transform: rotate(-20deg) scale(.7); }
  40%, 88% { opacity: 1; transform: none; }
  58% { transform: scale(1.08); }
  100% { opacity: 0; transform: rotate(10deg) scale(.75); }
}
@keyframes hero-encrypt-source {
  0%, 20% { opacity: 1; transform: none; }
  30%, 92% { opacity: 0; transform: translateY(-7px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hero-encrypt-letters {
  0%, 12% { letter-spacing: normal; filter: none; }
  22% { letter-spacing: .14em; filter: blur(.3px); }
  30%, 92% { letter-spacing: .22em; filter: blur(4px); }
  100% { letter-spacing: normal; filter: none; }
}
@keyframes hero-encrypt-lock {
  0%, 12% { opacity: 0; transform: translateX(-50%) scale(.65) rotate(-12deg); }
  22%, 32% { opacity: 1; transform: translateX(-50%) scale(1); }
  38%, 100% { opacity: 0; transform: translateX(-50%) scale(.82); }
}
@keyframes hero-encrypt-telegram {
  0%, 27% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.96); }
  39%, 58% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  66%, 100% { opacity: 0; transform: translateX(-50%) translateY(-7px) scale(.98); }
}
@keyframes hero-encrypt-receivers {
  0%, 55% { opacity: 0; transform: translateY(11px); }
  69%, 91% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes hero-account-cycle {
  0%, 12% { opacity: 0; transform: translateY(12px); }
  31%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes hero-total-cycle {
  0%, 45% { opacity: .2; transform: scale(.82); }
  62%, 90% { opacity: 1; transform: scale(1.08); }
  72% { transform: scale(1); }
  100% { opacity: .2; transform: scale(.86); }
}
@keyframes hero-track-cycle {
  0%, 30% { transform: scaleX(0); opacity: 0; }
  50%, 90% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 0; }
}
@keyframes hero-result-cycle {
  0%, 45% { opacity: 0; transform: translateX(14px); }
  62%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateX(-5px); }
}
@keyframes hero-filter-cycle {
  0%, 38% { opacity: 1; transform: none; }
  55%, 90% { opacity: .12; transform: scale(.97) translateX(8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hero-switch-cycle {
  0%, 32% { background: #2a3c54; }
  48%, 90% { background: #23966c; }
  100% { background: #2a3c54; }
}
@keyframes hero-switch-dot-cycle {
  0%, 32% { transform: none; }
  48%, 90% { transform: translateX(14px); }
  100% { transform: none; }
}
@keyframes hero-label-cycle {
  0%, 12% { opacity: 0; transform: translateY(7px); }
  30%, 90% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes hero-template-cycle {
  0%, 35% { width: 0; opacity: 0; }
  48%, 90% { width: 210px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}
@keyframes hero-template-menu {
  0%, 31% { opacity: 1; transform: none; }
  42%, 94% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: none; }
}
@keyframes hero-template-pick {
  0%, 13% { border-color: var(--line); background: rgba(25,48,78,.72); color: #d5e2ef; transform: none; }
  22%, 34% { border-color: rgba(255,174,69,.7); background: rgba(255,145,35,.18); color: #ffc06e; transform: scale(1.045); }
  42%, 100% { border-color: var(--line); background: rgba(25,48,78,.72); color: #d5e2ef; transform: none; }
}
@keyframes hero-template-editor {
  0%, 35% { opacity: 0; transform: translateY(10px); }
  47%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes hero-template-pattern {
  0%, 38% { opacity: 0; clip-path: inset(0 100% 0 0); }
  53%, 67% { opacity: 1; clip-path: inset(0 0 0 0); }
  75%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
@keyframes hero-template-resolved {
  0%, 68% { opacity: 0; transform: translateY(5px); }
  78%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes hero-spoiler-cover {
  0%, 32% { transform: translateX(0); }
  52%, 90% { transform: translateX(104%); }
  100% { transform: translateX(0); }
}
@keyframes hero-spoiler-text {
  0%, 38% { color: transparent; }
  52%, 90% { color: #ffd094; }
  100% { color: transparent; }
}
@keyframes hero-spoiler-status {
  0%, 42% { opacity: .25; transform: translateY(6px); }
  58%, 90% { opacity: 1; transform: none; }
  100% { opacity: .25; transform: translateY(-3px); }
}

@media (max-width: 760px) {
  .demo-card.is-active .replace-track { animation-name: hero-track-cycle-y !important; }
  .demo-navigation { flex-basis: 210px; }
  .demo-scrubber span { display: none; }
}

@keyframes hero-track-cycle-y {
  0%, 30% { transform: scaleY(0); opacity: 0; }
  50%, 90% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}

/* Detailed card previews run only while the visitor explores a card. */
.feature:is(:hover, :focus-visible, .is-previewing) .mini-bubble { animation: card-bubble 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-invisible .crossed-words span::after { animation: card-strike 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-deleted .mini-original { animation: card-delete-original 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-deleted del { animation: card-delete-event 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-deleted b { animation: card-reveal 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .export-people i { animation: card-person 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .export-visual > b { animation: card-arrow 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .file-card { animation: card-file 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-encrypt-source { animation: card-encrypt-source 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-encrypt-lock { animation: card-encrypt-lock 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-encrypt-telegram { animation: card-encrypt-telegram 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-encrypt-result,
.feature:is(:hover, :focus-visible, .is-previewing) .mini-encrypt-closed { animation: card-encrypt-result 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-accounts span { animation: card-person 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-accounts b { animation: card-reveal 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-repost del { animation: card-delete-original 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-repost i { animation: card-arrow 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-repost ins { animation: card-reveal 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-filter .mini-noise { animation: card-filter 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-filter b i { animation: card-switch 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-template-menu { animation: card-template-menu 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-template-picked { animation: card-template-pick 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-template-editor { animation: card-template-editor 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-template-pattern { animation: card-template-pattern 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-template-resolved { animation: card-template-resolved 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-spoiler span b { animation: card-spoiler 8s ease-in-out infinite; }
.feature:is(:hover, :focus-visible, .is-previewing) .mini-spoiler i { animation: card-reveal 8s ease-in-out infinite; }

@keyframes card-bubble { 0%,8%,100%{opacity:0;transform:translateY(8px)} 22%,88%{opacity:1;transform:none} }
@keyframes card-strike { 0%,32%,100%{transform:rotate(-8deg) scaleX(0)} 48%,88%{transform:rotate(-8deg) scaleX(1)} }
@keyframes card-delete-original { 0%,34%,100%{opacity:1;transform:none} 48%,88%{opacity:.2;transform:translateX(10px)} }
@keyframes card-delete-event { 0%,34%,100%{opacity:0;transform:translateY(6px)} 46%,88%{opacity:1;transform:none} }
@keyframes card-reveal { 0%,50%,100%{opacity:0;transform:translateY(8px)} 65%,88%{opacity:1;transform:none} }
@keyframes card-person { 0%,12%,100%{opacity:.25;transform:scale(.72)} 32%,88%{opacity:1;transform:scale(1)} }
@keyframes card-arrow { 0%,34%,100%{opacity:.25;transform:translateX(-5px)} 52%,88%{opacity:1;transform:translateX(6px)} }
@keyframes card-file { 0%,45%,100%{opacity:.2;transform:translateX(15px) rotate(4deg) scale(.88)} 62%,88%{opacity:1;transform:rotate(4deg) scale(1)} }
@keyframes card-encrypt-plain { 0%,34%,100%{opacity:1;filter:none} 48%,88%{opacity:0;filter:blur(4px)} }
@keyframes card-encrypt-cipher { 0%,42%,100%{opacity:0} 54%,88%{opacity:1} }
@keyframes card-encrypt-source { 0%,20%{opacity:1;transform:none} 31%,92%{opacity:0;transform:translateY(-6px)} 100%{opacity:1;transform:none} }
@keyframes card-encrypt-lock { 0%,13%{opacity:0;transform:translateX(-50%) scale(.65)} 23%,32%{opacity:1;transform:translateX(-50%) scale(1)} 40%,100%{opacity:0;transform:translateX(-50%) scale(.8)} }
@keyframes card-encrypt-telegram { 0%,28%{opacity:0;transform:translateX(-50%) translateY(8px)} 40%,58%{opacity:1;transform:translateX(-50%)} 66%,100%{opacity:0;transform:translateX(-50%) translateY(-5px)} }
@keyframes card-encrypt-result { 0%,56%{opacity:0;transform:translateY(8px)} 69%,90%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-3px)} }
@keyframes card-filter { 0%,36%,100%{opacity:1;transform:none} 54%,88%{opacity:.1;transform:translateX(12px)} }
@keyframes card-switch { 0%,38%,100%{background:#2d4159;transform:none} 54%,88%{background:#23966c;transform:translateX(6px)} }
@keyframes card-label { 0%,12%,100%{opacity:.2;transform:translateY(6px)} 28%,88%{opacity:1;transform:none} }
@keyframes card-template { 0%,40%,100%{width:0;opacity:0} 58%,88%{width:100%;opacity:1} }
@keyframes card-template-menu { 0%,30%{opacity:1;transform:none} 42%,94%{opacity:0;transform:translateY(-6px)} 100%{opacity:1;transform:none} }
@keyframes card-template-pick { 0%,13%{transform:none} 22%,34%{transform:scale(1.08);box-shadow:0 0 0 3px rgba(255,174,69,.1)} 43%,100%{transform:none;box-shadow:none} }
@keyframes card-template-editor { 0%,35%{opacity:0;transform:translateY(8px)} 47%,92%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-3px)} }
@keyframes card-template-pattern { 0%,39%{opacity:0;clip-path:inset(0 100% 0 0)} 53%,67%{opacity:1;clip-path:inset(0 0 0 0)} 75%,100%{opacity:0;clip-path:inset(0 0 0 0)} }
@keyframes card-template-resolved { 0%,68%{opacity:0;transform:translateY(4px)} 78%,92%{opacity:1;transform:none} 100%{opacity:0;transform:translateY(-2px)} }
@keyframes card-spoiler { 0%,36%,100%{background:#435268;color:transparent} 55%,88%{background:rgba(69,213,155,.1);color:#ffd094} }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
