:root {
  --paper: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f1f1f4;
  --ink: #101010;
  --ink-2: #303034;
  --muted: #6e6e73;
  --muted-2: #8e8e93;
  --line: #e6e6e9;
  --line-2: #d1d1d6;
  --accent: #0066cc;
  --accent-2: #0050a8;
  --accent-soft: rgba(0, 102, 204, .1);
  --dark: #f4f6f9;
  --dark-2: #eceef2;
  --dark-ink: #101010;
  --dark-muted: #6e6e73;
  --dark-line: rgba(16, 16, 16, .08);
  --shadow: 0 24px 60px rgba(16, 16, 16, .1);
  --shadow-sm: 0 8px 20px rgba(16, 16, 16, .06);
  --radius: 8px;
  --radius-lg: 8px;
  --radius-stage: 16px;
  --max: 1180px;
  --stage: #05070b;
  --stage-2: #070a10;
  --stage-3: #0a0e15;
  --stage-panel: rgba(255, 255, 255, .045);
  --stage-panel-2: rgba(255, 255, 255, .08);
  --stage-line: rgba(255, 255, 255, .10);
  --stage-ink: #f7f8fa;
  --stage-muted: #a4adbb;
  --stage-soft: #8f99a6;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: clip;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #0050a8;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 102, 204, .32);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.button,
.refresh-button,
.pn-nav-download,
.refresh-cta,
.pricing-support-link,
.hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.button.primary,
.refresh-button.primary,
.refresh-cta,
.pricing-support-link {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.refresh-button.primary:hover,
.refresh-cta:hover,
.pricing-support-link:hover {
  background: #0056b3;
  color: #fff;
  transform: translateY(-1px);
}

.button:hover,
.refresh-button:hover,
.pn-nav-download:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.app-store-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.app-store-badge small {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  opacity: .75;
}

.app-store-badge strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.app-store-badge:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.site-header,
.refresh-nav-wrap,
.story-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(20px) saturate(160%);
}

.site-header .container,
.refresh-nav-wrap .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav,
.refresh-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.brand,
.refresh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: 0;
}

.brand img,
.refresh-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand span,
.refresh-brand span {
  font-size: 17px;
}

/* EF Tools mark: the SVG already carries its own squircle, so no extra clip. */
.refresh-brand .refresh-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 0;
  flex: none;
}

.nav-links,
.refresh-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav-links a,
.refresh-nav-links a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
}

.nav-links a:hover,
.refresh-nav-links a:hover,
.nav-links a[aria-current="page"],
.refresh-nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-actions,
.refresh-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.lang-switch-button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 640;
}

.lang-switch-button.is-active {
  color: #fff;
  background: var(--ink);
}

.lang-switch button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
}

.lang-switch button.is-active {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
}

.nav-panel {
  display: none;
}

body.nav-open .nav-panel {
  display: block;
  position: fixed;
  inset: 76px 0 0;
  z-index: 40;
  padding: 24px 20px;
  overflow-y: auto;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(18px) saturate(180%);
}

body.nav-open {
  overflow: hidden;
}

.nav-panel .nav-links,
.nav-panel .refresh-nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
}

.nav-panel .nav-links a,
.nav-panel .refresh-nav-links a {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  font-weight: 620;
}

.refresh-hero,
.snapscene-hero,
.pricing-hero,
.tutorial-hub-hero,
.tutorial-article-hero {
  position: relative;
  padding: 120px 0 96px;
  background: var(--dark);
  color: var(--dark-ink);
  overflow: hidden;
}

.refresh-center,
.refresh-hero-center {
  text-align: center;
}

.refresh-badge,
.blog-card-meta,
.kicker,
.snapscene-copy .kicker,
.legal-title .kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 7px 13px;
  border: 1px solid rgba(0, 102, 204, .28);
  border-radius: 999px;
  background: rgba(0, 102, 204, .1);
  color: #0050a8;
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0;
}

.refresh-title,
.refresh-hero h1,
.snapscene-copy h1,
.pricing-hero h1,
.tutorial-hub-copy h1,
.tutorial-article-copy h1,
.legal-title h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

html[lang="zh-CN"] .refresh-title,
html[lang="zh-CN"] .snapscene-copy h1,
html[lang="zh-CN"] .pricing-hero h1,
html[lang="zh-CN"] .tutorial-hub-copy h1,
html[lang="zh-CN"] .tutorial-article-copy h1,
html[lang="zh-CN"] .legal-title h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.1;
}

.refresh-title span {
  display: block;
  color: var(--accent-2);
}

.refresh-subtitle,
.snapscene-copy .lead,
.pricing-hero p,
.tutorial-hub-copy p,
.tutorial-article-copy p,
.legal-title p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.62;
}

.snapscene-copy .lead,
.tutorial-hub-copy p,
.tutorial-article-copy p {
  margin-inline: 0;
}

.refresh-actions,
.refresh-hero-actions,
.pricing-hero-actions,
.tutorial-hub-actions,
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.snapscene-copy,
.pricing-hero-copy,
.tutorial-hub-copy,
.tutorial-article-copy {
  max-width: 620px;
}

.snapscene-hero-grid,
.pricing-hero-grid,
.tutorial-hub-hero-grid,
.tutorial-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.tutorial-hero-stack .tutorial-stack-main {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.snapscene-pill-row,
.snapscene-pill-row span,
.refresh-tool,
.blog-card-points span {
  border-radius: 6px;
}

.snapscene-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.snapscene-pill-row span,
.refresh-tool,
.blog-card-points span,
.refresh-pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1;
}

.refresh-marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.refresh-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 10px;
  animation: official-marquee 32s linear infinite;
}

.refresh-marquee-track .refresh-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  font-size: 14px;
}

@keyframes official-marquee {
  to {
    transform: translateX(-50%);
  }
}

.refresh-section,
.snapscene-section,
.pricing-plans,
.tutorial-hub .blog-index-section,
.tutorial-article-section,
.blog-index-section {
  padding: 100px 0;
  background: var(--paper);
}

.refresh-section:nth-of-type(even),
.snapscene-section:nth-of-type(even),
.tutorial-article-section:nth-of-type(even),
.blog-index-section:nth-of-type(even) {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.refresh-section-head,
.blog-section-head,
.legal-title {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.refresh-section-head.center,
.blog-section-head.center {
  margin-inline: auto;
  text-align: center;
}

.refresh-section-head h2,
.blog-section-head h2,
.tutorial-section h2,
.legal-card h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.refresh-section-head p,
.blog-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.refresh-feature-grid,
.refresh-support-grid,
.refresh-matrix-grid,
.snapscene-feature-grid,
.pricing-plan-grid,
.tutorial-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.refresh-card,
.refresh-product-card,
.refresh-support-card,
.snapscene-feature-card,
.pricing-plan-card,
.tutorial-card,
.blog-article-summary,
.tutorial-prose,
.legal-card,
.tutorial-side-note,
.legal-meta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.refresh-card,
.refresh-product-card,
.snapscene-feature-card,
.pricing-plan-card,
.tutorial-card,
.tutorial-prose,
.legal-card,
.tutorial-side-note,
.legal-meta {
  padding: 28px;
  overflow: hidden;
}

.refresh-card:nth-child(1) {
  --card-accent: var(--accent);
}

.refresh-card:nth-child(2) {
  --card-accent: #6366f1;
}

.refresh-card:nth-child(3) {
  --card-accent: #f59e0b;
}

.refresh-card:hover,
.refresh-product-card:hover,
.refresh-support-card:hover,
.snapscene-feature-card:hover,
.pricing-plan-card:hover,
.tutorial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.refresh-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card-accent, var(--accent)) 12%, white);
  color: var(--card-accent, var(--accent));
  font-size: 13px;
  font-weight: 720;
}

.refresh-card h3,
.refresh-product-card h3,
.snapscene-feature-card h3,
.tutorial-card h3,
.refresh-support-card h3,
.pricing-plan-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: 0;
}

.refresh-card p,
.refresh-product-card p,
.snapscene-feature-card p,
.refresh-support-card p,
.tutorial-card p,
.pricing-plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.refresh-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.refresh-tools .refresh-tool {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}

.refresh-showcase,
.refresh-shot,
.snapscene-visual,
.tutorial-cover-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.refresh-showcase img,
.refresh-shot img,
.snapscene-visual img,
.tutorial-cover-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.refresh-window-bar {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.refresh-window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7dee5;
}

.refresh-shot figcaption,
.snapscene-before-after figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 15px;
}

.refresh-screenshot-grid,
.snapscene-preview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.refresh-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.refresh-product-top img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  transform: scale(var(--icon-optical-scale, 1));
}

.refresh-support-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  color: inherit;
}

.refresh-support-link {
  margin-top: 20px;
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 680;
}

.pricing-plan-card.is-featured {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 102, 204, .12);
}

.pricing-plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 720;
}

.pricing-plan-card {
  position: relative;
}

.pricing-plan-label {
  display: block;
  margin-bottom: 20px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 720;
}

.pricing-plan-card h2 {
  margin: 0 0 14px;
  font-size: 44px;
}

.pricing-plan-card ul,
.snapscene-feature-card ul,
.tutorial-prose ul,
.legal-card ul {
  margin: 20px 0 0;
  padding-inline-start: 20px;
  color: var(--ink-2);
}

.pricing-plan-card li {
  margin: 10px 0;
  font-size: 15px;
}

.tutorial-prose p,
.legal-card p,
.tutorial-side-note p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.72;
}

.tutorial-prose h2,
.tutorial-section h2,
.legal-card h2 {
  margin-top: 44px;
}

.tutorial-prose h2:first-child,
.legal-card h2:first-child {
  margin-top: 0;
}

.tutorial-prose li,
.legal-card li {
  margin: 10px 0;
}

.tutorial-article-layout,
.tutorial-article-section .container {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.tutorial-side-note {
  position: sticky;
  top: 108px;
}

.tutorial-side-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.legal-grid,
.tutorial-article-layout {
  gap: 28px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.legal-meta {
  position: sticky;
  top: 108px;
}

.legal-title p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.site-footer,
.refresh-footer {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 22px;
  height: 22px;
  flex: none;
}

.footer-brand p {
  margin: 0;
}

.footer-links,
.refresh-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 520;
}

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

[data-lang],
.blog-page[data-lang] {
  display: none;
}

html[lang="en"] [data-lang="en"],
html[lang="en"] .blog-page[data-lang="en"],
html[lang="en"] .tutorial-article[data-lang="en"],
html[lang="en"] .tutorial-hub[data-lang="en"],
html[lang="en"] .blog-index-section[data-lang="en"] {
  display: block;
}

html[lang="zh-CN"] [data-lang="zh-CN"],
html[lang="zh-CN"] .blog-page[data-lang="zh-CN"],
html[lang="zh-CN"] .tutorial-article[data-lang="zh-CN"],
html[lang="zh-CN"] .tutorial-hub[data-lang="zh-CN"],
html[lang="zh-CN"] .blog-index-section[data-lang="zh-CN"] {
  display: block;
}

html[lang="ja"] [data-lang="ja"],
html[lang="ko"] [data-lang="ko"] {
  display: block;
}

body.product-pastenext .refresh-hero .container,
body.snapscene-page .snapscene-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  justify-items: center;
  text-align: center;
}

body.product-pastenext .refresh-hero .container > *:not(.refresh-showcase) {
  grid-column: 1;
  text-align: center;
  max-width: 780px;
}

body.product-pastenext .refresh-hero .refresh-actions {
  justify-content: center;
}

body.product-pastenext .refresh-hero .container > .refresh-showcase {
  grid-column: 1;
  grid-row: auto;
  width: min(100%, 1040px);
}

body.snapscene-page .snapscene-hero .container {
  grid-template-columns: minmax(0, 1fr);
}

body.snapscene-page .snapscene-hero .container > .snapscene-copy {
  text-align: center;
  max-width: 780px;
}

body.snapscene-page .snapscene-hero .hero-actions {
  justify-content: center;
}

body.snapscene-page .snapscene-hero .container > .snapscene-visual {
  grid-column: 1;
  width: min(100%, 1040px);
  border: 0;
  box-shadow: none;
  background: transparent;
}

.pricing-hero .container,
.pricing-hero-copy {
  text-align: center;
}

.pricing-hero-copy {
  max-width: 780px;
  margin-inline: auto;
}

.refresh-matrix-grid > .refresh-product-card:nth-child(1) {
  grid-column: span 7;
}

.refresh-matrix-grid > .refresh-product-card:nth-child(2) {
  grid-column: span 5;
}

/* Products added later fall into a balanced two-up row without new CSS. */
.refresh-matrix-grid > .refresh-product-card:nth-child(n + 3) {
  grid-column: span 6;
}

.refresh-feature-grid > *,
.snapscene-feature-grid > *,
.pricing-plan-grid > *,
.tutorial-card-grid > * {
  grid-column: span 4;
}

.refresh-support-grid > * {
  grid-column: span 3;
}

.tutorial-hub-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.tutorial-hub-hero-grid > .tutorial-hub-copy {
  grid-column: span 1;
}

.tutorial-hub-hero-grid > .tutorial-hero-stack {
  grid-column: span 1;
}

.tutorial-article-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.refresh-hero .refresh-showcase,
.snapscene-hero .refresh-showcase {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.refresh-hero .refresh-window-bar,
.snapscene-hero .refresh-window-bar {
  display: none;
}

body .refresh-hero,
body .snapscene-hero,
body .pricing-hero,
body .tutorial-hub-hero,
body .tutorial-article-hero {
  isolation: isolate;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .refresh-feature-grid > *,
  .snapscene-feature-grid > *,
  .pricing-plan-grid > *,
  .tutorial-card-grid > * {
    grid-column: span 6;
  }

  .refresh-support-grid > * {
    grid-column: span 6;
  }

  /* Every product card goes full width on narrow layouts, however many exist. */
  .refresh-matrix-grid > .refresh-product-card:nth-child(n) {
    grid-column: span 12;
  }
}

@media (max-width: 960px) {
  .refresh-hero,
  .snapscene-hero,
  .pricing-hero,
  .tutorial-hub-hero,
  .tutorial-article-hero {
    padding: 84px 0 64px;
  }

  body.product-pastenext .refresh-hero .container,
  body.snapscene-page .snapscene-hero .container,
  .snapscene-hero-grid,
  .tutorial-hub-hero-grid,
  .tutorial-article-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.product-pastenext .refresh-hero .container > .refresh-showcase,
  body.product-pastenext .refresh-hero .container > *:not(.refresh-showcase),
  body.snapscene-page .snapscene-hero .container > * {
    grid-column: 1;
    grid-row: auto;
  }

  .tutorial-article-layout,
  .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tutorial-side-note,
  .legal-meta {
    position: static;
  }

  .nav-links,
  .refresh-nav-links {
    display: none;
  }

  .site-header .container,
  .refresh-nav-wrap .container {
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .nav-actions,
  .refresh-nav-actions {
    gap: 6px;
  }

  .refresh-cta,
  .pn-nav-download {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .lang-switch-button,
  .lang-switch button {
    min-height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .brand span,
  .refresh-brand span {
    font-size: 15px;
  }

  .refresh-feature-grid,
  .refresh-support-grid,
  .refresh-matrix-grid,
  .snapscene-feature-grid,
  .pricing-plan-grid,
  .tutorial-card-grid,
  .refresh-screenshot-grid,
  .snapscene-preview-strip {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .refresh-feature-grid > *,
  .refresh-support-grid > *,
  .refresh-matrix-grid > *,
  .snapscene-feature-grid > *,
  .pricing-plan-grid > *,
  .tutorial-card-grid > *,
  .refresh-screenshot-grid > *,
  .snapscene-preview-strip > * {
    grid-column: span 12;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .refresh-hero,
  .snapscene-hero,
  .pricing-hero,
  .tutorial-hub-hero,
  .tutorial-article-hero {
    padding-top: 60px;
  }

  .refresh-card,
  .refresh-product-card,
  .refresh-support-card,
  .snapscene-feature-card,
  .pricing-plan-card,
  .tutorial-card,
  .tutorial-prose,
  .legal-card,
  .tutorial-side-note,
  .legal-meta {
    padding: 22px;
  }
}

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

  .refresh-marquee-track {
    animation: none;
  }

  .refresh-card,
  .refresh-product-card,
  .refresh-support-card,
  .snapscene-feature-card,
  .pricing-plan-card,
  .tutorial-card,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .button,
  .refresh-button,
  .pn-nav-download,
  .refresh-cta,
  .pricing-support-link {
    transition: none;
  }
}

/* Product stage hero */
body.matrix-refresh .refresh-hero,
body.product-pastenext .refresh-hero,
body.snapscene-page .snapscene-hero {
  background: #0b0d12;
  color: #f7f8fa;
}

body.matrix-refresh .refresh-hero .refresh-badge,
body.product-pastenext .refresh-hero .refresh-badge,
body.snapscene-page .snapscene-hero .kicker {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #dbe7ff;
}

body.snapscene-page .snapscene-hero .kicker {
  border-color: rgba(255, 183, 84, .3);
  background: rgba(255, 183, 84, .12);
  color: #ffc166;
}

body.matrix-refresh .refresh-hero h1,
body.matrix-refresh .refresh-hero .refresh-title,
body.product-pastenext .refresh-hero h1,
body.product-pastenext .refresh-hero .refresh-title,
body.snapscene-page .snapscene-hero h1 {
  color: #ffffff;
}

body.product-pastenext .refresh-hero .refresh-title span {
  color: #ffb454;
}

body.matrix-refresh .refresh-hero .refresh-subtitle,
body.product-pastenext .refresh-hero .refresh-subtitle,
body.snapscene-page .snapscene-hero .lead {
  color: #b8c0cc;
}

body.matrix-refresh .refresh-hero h1,
body.product-pastenext .refresh-hero h1,
body.snapscene-page .snapscene-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
}

html[lang="zh-CN"] body.product-pastenext .refresh-hero h1,
html[lang="zh-CN"] body.snapscene-page .snapscene-hero h1,
html[lang="zh-CN"] body.matrix-refresh .refresh-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

body.matrix-refresh .refresh-hero .refresh-button:not(.primary),
body.product-pastenext .refresh-hero .refresh-button:not(.primary),
body.snapscene-page .snapscene-hero .hero-actions .button:not(.primary) {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
}

body.matrix-refresh .refresh-hero .refresh-button:not(.primary):hover,
body.product-pastenext .refresh-hero .refresh-button:not(.primary):hover,
body.snapscene-page .snapscene-hero .hero-actions .button:not(.primary):hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
}

body.product-pastenext .refresh-hero .refresh-showcase,
body.snapscene-page .snapscene-hero .refresh-showcase {
  position: relative;
  overflow: visible;
  border-color: rgba(255, 255, 255, .14);
  background: #11141a;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, .52),
    0 0 0 1px rgba(255, 255, 255, .07);
  transform: perspective(1500px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .28s ease, box-shadow .28s ease;
}

body.product-pastenext .refresh-hero .refresh-window-bar,
body.snapscene-page .snapscene-hero .refresh-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: #171a20;
  border-bottom-color: rgba(255, 255, 255, .08);
  border-radius: var(--radius) var(--radius) 0 0;
}

body.product-pastenext .refresh-hero .refresh-showcase > img,
body.snapscene-page .snapscene-hero .refresh-showcase > img {
  display: block;
  width: 100%;
  border-radius: 0 0 var(--radius) var(--radius);
}

body.product-pastenext .refresh-hero .refresh-window-bar span:not(.stage-title),
body.snapscene-page .snapscene-hero .refresh-window-bar span:not(.stage-title) {
  background: #4c5661;
}

.stage-title {
  margin-inline: auto;
  padding-left: 44px;
  color: #9aa3ad;
  font-size: 13px;
  font-weight: 620;
}

.stage-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(18, 21, 27, .84);
  color: #f2f5f8;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .36);
  backdrop-filter: blur(12px) saturate(140%);
  animation: stage-float 6s ease-in-out infinite;
}

.stage-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 4px rgba(61, 220, 151, .14);
}

.stage-chip-1 {
  top: 72px;
  left: -28px;
  animation-delay: .2s;
}

.stage-chip-2 {
  right: -20px;
  bottom: 88px;
  animation-delay: .7s;
}

.stage-chip-3 {
  left: 42px;
  bottom: -20px;
  animation-delay: 1.1s;
}

@keyframes stage-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.product-pastenext .refresh-hero .container > *,
  body.snapscene-page .snapscene-hero .container > * {
    animation: stage-rise .72s cubic-bezier(.2, .8, .2, 1) both;
  }

  body.product-pastenext .refresh-hero .container > :nth-child(2) {
    animation-delay: .05s;
  }

  body.product-pastenext .refresh-hero .container > :nth-child(3) {
    animation-delay: .1s;
  }

  body.product-pastenext .refresh-hero .container > :nth-child(4) {
    animation-delay: .15s;
  }

  body.product-pastenext .refresh-hero .container > :nth-child(5) {
    animation-delay: .22s;
  }

  body.snapscene-page .snapscene-hero .container > :nth-child(2) {
    animation-delay: .12s;
  }
}

@keyframes stage-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Before / after comparison */
.snapscene-compare {
  display: grid;
  gap: 22px;
}

.compare-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #11141a;
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
}

.compare-img {
  position: absolute;
  inset: 0;
}

.compare-img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.compare-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  z-index: 4;
  width: 2px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 24px rgba(0, 0, 0, .4);
  pointer-events: none;
}

.compare-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(15, 17, 22, .72);
  backdrop-filter: blur(10px);
}

.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(10, 12, 16, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 660;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.compare-tag-before {
  left: 16px;
}

.compare-tag-after {
  right: 16px;
}

.snapscene-sheet img {
  aspect-ratio: 16 / 3;
}

/* Dark closing band */
body.product-pastenext main > .refresh-section:last-of-type,
body.snapscene-page main > .refresh-section:last-of-type {
  background: #0b0d12;
  color: #f7f8fa;
  border-block: 0;
}

body.product-pastenext main > .refresh-section:last-of-type .refresh-section-head h2,
body.snapscene-page main > .refresh-section:last-of-type .refresh-section-head h2 {
  color: #ffffff;
}

body.product-pastenext main > .refresh-section:last-of-type .refresh-section-head p,
body.snapscene-page main > .refresh-section:last-of-type .refresh-section-head p {
  color: #b8c0cc;
}

body.product-pastenext main > .refresh-section:last-of-type .refresh-badge,
body.snapscene-page main > .refresh-section:last-of-type .refresh-badge {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #dbe7ff;
}

body.product-pastenext main > .refresh-section:last-of-type .button:not(.primary),
body.snapscene-page main > .refresh-section:last-of-type .button:not(.primary) {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
}

body.product-pastenext main > .refresh-section:last-of-type .button:not(.primary):hover,
body.snapscene-page main > .refresh-section:last-of-type .button:not(.primary):hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
}

/* Card polish */
.refresh-icon {
  transition: transform .2s ease, box-shadow .2s ease;
}

.refresh-card:hover .refresh-icon {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.refresh-showcase img,
.refresh-shot img,
.refresh-product-card .refresh-showcase img {
  transition: transform .35s ease;
}

.refresh-product-card:hover .refresh-showcase img,
.refresh-card:hover .refresh-showcase img,
.refresh-shot:hover img {
  transform: scale(1.03);
}

@media (max-width: 800px) {
  .stage-chip {
    display: none;
  }
}

@media (max-width: 680px) {
  .compare-shell {
    aspect-ratio: 4 / 3;
  }

  .compare-tag {
    top: 10px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .compare-tag-before {
    left: 10px;
  }

  .compare-tag-after {
    right: 10px;
  }

  .stage-title {
    padding-left: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-chip {
    animation: none;
  }

  body.product-pastenext .refresh-hero .container > *,
  body.snapscene-page .snapscene-hero .container > * {
    animation: none;
  }
}

/* ============================================================
   Pro stage: unified dark product world + proof moments
   ============================================================ */

/* --- Product-page dark stage: PasteNext index/support + SnapScene --- */
body.product-pastenext,
body.snapscene-page {
  background: #05070b;
  color: #f4f7fb;
}

body.product-pastenext .refresh-nav-wrap,
body.product-pastenext .site-header.story-header,
body.snapscene-page .site-header.story-header {
  background: rgba(5, 7, 11, .78);
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.product-pastenext .refresh-brand,
body.product-pastenext .brand,
body.snapscene-page .brand {
  color: #f7f8fa;
}

body.product-pastenext .refresh-nav-links a,
body.product-pastenext .nav-links a,
body.snapscene-page .nav-links a {
  color: #aeb6c2;
}

body.product-pastenext .refresh-nav-links a:hover,
body.product-pastenext .nav-links a:hover,
body.product-pastenext .nav-links a[aria-current="page"],
body.product-pastenext .refresh-nav-links a[aria-current="page"],
body.snapscene-page .nav-links a:hover,
body.snapscene-page .nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

body.product-pastenext .lang-switch,
body.snapscene-page .lang-switch {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}

body.product-pastenext .lang-switch-button,
body.snapscene-page .lang-switch-button {
  color: #c3ccd7;
}

body.product-pastenext .lang-switch-button.is-active,
body.snapscene-page .lang-switch-button.is-active {
  color: #05070b;
  background: #ffffff;
}

body.product-pastenext .refresh-section,
body.snapscene-page .refresh-section.snapscene-section {
  background: #070a10;
  border-block: 1px solid rgba(255, 255, 255, .06);
}

body.product-pastenext .refresh-section:nth-of-type(even),
body.snapscene-page .refresh-section.snapscene-section:nth-of-type(even) {
  background: #0a0e15;
}

body.product-pastenext .refresh-section-head h2,
body.snapscene-page .refresh-section-head h2 {
  color: #ffffff;
}

body.product-pastenext .refresh-section-head p,
body.snapscene-page .refresh-section-head p {
  color: #a4adbb;
}

body.product-pastenext .refresh-section .refresh-badge,
body.snapscene-page .refresh-section .refresh-badge {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #dbe7ff;
}

body.product-pastenext .refresh-card,
body.product-pastenext .refresh-support-card,
body.snapscene-page .refresh-card,
body.snapscene-page .snapscene-feature-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px) saturate(150%);
}

body.product-pastenext .refresh-card:hover,
body.product-pastenext .refresh-support-card:hover,
body.snapscene-page .refresh-card:hover,
body.snapscene-page .snapscene-feature-card:hover {
  border-color: rgba(122, 184, 255, .45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
}

body.product-pastenext .refresh-card h3,
body.product-pastenext .refresh-support-card h3,
body.snapscene-page .refresh-card h3,
body.snapscene-page .snapscene-feature-card h3 {
  color: #f7f8fa;
}

body.product-pastenext .refresh-card p,
body.product-pastenext .refresh-support-card p,
body.snapscene-page .refresh-card p,
body.snapscene-page .snapscene-feature-card p {
  color: #a4adbb;
}

body.product-pastenext .refresh-icon,
body.snapscene-page .refresh-icon {
  background: rgba(122, 184, 255, .12);
  color: #7ab8ff;
}

body.product-pastenext .refresh-tool,
body.snapscene-page .refresh-tool,
body.product-pastenext .snapscene-pill-row span,
body.snapscene-page .snapscene-pill-row span {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  color: #c3ccd7;
}

body.product-pastenext .refresh-showcase,
body.product-pastenext .refresh-shot,
body.snapscene-page .refresh-showcase,
body.snapscene-page .refresh-shot,
body.snapscene-page .snapscene-visual {
  border-color: rgba(255, 255, 255, .10);
  background: #0d1118;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .4);
}

body.product-pastenext .refresh-window-bar,
body.snapscene-page .refresh-window-bar {
  background: #171b23;
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.product-pastenext .refresh-window-bar span:not(.stage-title),
body.snapscene-page .refresh-window-bar span:not(.stage-title) {
  background: #4c5661;
}

body.product-pastenext .refresh-shot figcaption,
body.snapscene-page .refresh-shot figcaption {
  color: #9aa4b1;
}

body.product-pastenext .refresh-button:not(.primary):not(.refresh-cta),
body.snapscene-page .button:not(.primary) {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #f0f3f7;
  box-shadow: none;
}

body.product-pastenext .refresh-support-link {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #f0f3f7;
}

body.product-pastenext .refresh-support-card {
  color: inherit;
}

body.product-pastenext .refresh-footer,
body.product-pastenext .site-footer,
body.snapscene-page .site-footer {
  background: #070a10;
  border-top-color: rgba(255, 255, 255, .07);
}

body.product-pastenext .footer-inner p,
body.product-pastenext .footer-links a,
body.snapscene-page .footer-inner p,
body.snapscene-page .footer-links a {
  color: #8f99a6;
}

body.product-pastenext .footer-links a:hover,
body.snapscene-page .footer-links a:hover {
  color: #ffffff;
}

body.product-pastenext .refresh-marquee,
body.snapscene-page .refresh-marquee {
  border-block-color: rgba(255, 255, 255, .08);
  background: #0a0e15;
}

body.product-pastenext .refresh-marquee .refresh-pill,
body.snapscene-page .refresh-marquee .refresh-pill {
  color: #8f99a6;
}

/* --- PasteNext SmartSearch live demo panel --- */
.smartsearch-demo {
  position: absolute;
  z-index: 4;
  top: 56px;
  right: -26px;
  width: min(360px, 84%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(9, 12, 17, .9);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .52), 0 0 0 1px rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px) saturate(150%);
  color: #f2f5f8;
  text-align: left;
  animation: demo-enter .8s cubic-bezier(.2, .8, .2, 1) both;
}

.smartsearch-query {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
  font-size: 14px;
}

.smartsearch-query::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffb454;
  box-shadow: 0 0 0 4px rgba(255, 180, 84, .14);
}

.query-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-cursor {
  width: 2px;
  height: 15px;
  flex: 0 0 auto;
  background: #ffb454;
  animation: cursor-blink 1.1s steps(2, start) infinite;
}

.smartsearch-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}

.smartsearch-result .result-type {
  color: #ffb454;
  font-size: 12px;
  font-weight: 720;
}

.smartsearch-result strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.smartsearch-result p {
  margin: 4px 0 0;
  color: #a4adbb;
  font-size: 13px;
  line-height: 1.5;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.result-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: #c3ccd7;
  font-size: 11px;
  font-weight: 560;
}

.demo-steps {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.demo-steps span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  transition: background .3s ease;
}

.demo-steps span.is-active {
  background: #ffb454;
}

@keyframes demo-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

/* --- SnapScene hero before/after stage --- */
.snapscene-hero-stage {
  overflow: visible;
}

.snapscene-stage-scene {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0d1118;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .5);
}

.snapscene-stage-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.snapscene-stage-before {
  z-index: 1;
  transform: rotate(-3.5deg) scale(.9);
  transform-origin: 25% 45%;
  opacity: .5;
  filter: saturate(.65) brightness(.8);
}

.snapscene-stage-after {
  z-index: 2;
}

.stage-tag {
  position: absolute;
  z-index: 4;
  bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(9, 12, 17, .78);
  color: #e7ebf0;
  font-size: 12px;
  font-weight: 660;
  backdrop-filter: blur(10px);
}

.stage-tag-before {
  left: 16px;
  color: #9aa4b1;
}

.stage-tag-after {
  right: 16px;
  color: #ffc166;
}

.stage-restore {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(9, 12, 17, .86);
  color: #ffffff;
  font-size: 13px;
  font-weight: 660;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .36);
  backdrop-filter: blur(12px);
}

.stage-restore::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 4px rgba(61, 220, 151, .14);
}

.snapscene-scene-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.scene-tile {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #a4adbb;
  font-size: 13px;
  font-weight: 620;
}

.scene-tile.is-active {
  border-color: rgba(122, 184, 255, .4);
  background: rgba(122, 184, 255, .14);
  color: #dbe7ff;
}

/* --- Proof band (replaces text-only marquee on product pages) --- */
.proof-band {
  padding: 30px 0;
  border-block: 1px solid rgba(255, 255, 255, .08);
  background: #0a0e15;
  color: #f7f8fa;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 76px;
  padding: 14px 18px;
  border-left: 1px solid rgba(255, 255, 255, .10);
}

.proof-stat strong {
  color: #ffb454;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.proof-stat span {
  color: #a4adbb;
  font-size: 14px;
  line-height: 1.45;
}

/* --- Matrix homepage polish --- */
.refresh-product-card {
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
}

.refresh-product-card[data-product="pastenext"] {
  --product-accent: #b25b00;
  /* PasteNext ships 75.8% visible art vs SnapScene 91%; normalize optical size. */
  --icon-optical-scale: 1.19;
}

.refresh-product-card[data-product="snapscene"] {
  --product-accent: #1f6feb;
  --icon-optical-scale: 1;
}

.refresh-product-card .refresh-showcase {
  border-radius: 10px;
}

.product-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--product-accent, var(--accent));
  font-size: 13px;
  font-weight: 660;
}

.product-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent);
}

.matrix-band {
  background: #0b0d12;
  color: #f7f8fa;
  border-block: 0;
}

.matrix-band .refresh-section-head h2 {
  color: #ffffff;
}

.matrix-band .refresh-section-head p {
  color: #a4adbb;
}

.matrix-band .refresh-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
}

.matrix-band .refresh-card h3 {
  color: #f7f8fa;
}

.matrix-band .refresh-card p {
  color: #a4adbb;
}

.matrix-band .refresh-icon {
  background: rgba(255, 180, 84, .14);
  color: #ffb454;
}

/* --- Pricing decision hierarchy --- */
.pricing-plan-grid > :nth-child(1) {
  grid-column: span 3;
}

.pricing-plan-grid > :nth-child(2) {
  grid-column: span 4;
}

.pricing-plan-grid > :nth-child(3) {
  grid-column: span 5;
}

.plan-best {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 660;
}

.pricing-plan-card.is-featured .plan-best {
  color: #7ab8ff;
}

.plan-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 660;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.plan-action:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-1px);
}

.plan-action.primary {
  border-color: transparent;
  background: var(--accent);
  color: #ffffff;
}

.plan-action.primary:hover {
  background: #0056b3;
  color: #ffffff;
}

.pricing-plan-card.is-best {
  border-color: rgba(255, 180, 84, .55);
  background: linear-gradient(180deg, #10141c, #0b0e15);
  color: #f7f8fa;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.pricing-plan-card.is-best .pricing-plan-label,
.pricing-plan-card.is-best .plan-best {
  color: #ffc166;
}

.pricing-plan-card.is-best h2 {
  color: #ffffff;
}

.pricing-plan-card.is-best p,
.pricing-plan-card.is-best li {
  color: #c3ccd7;
}

.pricing-plan-card.is-best .plan-action {
  border-color: transparent;
  background: #ffb454;
  color: #10141c;
}

.pricing-plan-card.is-best .plan-action:hover {
  background: #ffc166;
  color: #10141c;
}

body.pastenext-pricing {
  background: #05070b;
  color: #f4f7fb;
}

body.pastenext-pricing .site-header.story-header {
  background: rgba(5, 7, 11, .78);
  border-bottom-color: rgba(255, 255, 255, .08);
}

body.pastenext-pricing .brand {
  color: #f7f8fa;
}

body.pastenext-pricing .nav-links a {
  color: #aeb6c2;
}

body.pastenext-pricing .nav-links a:hover,
body.pastenext-pricing .nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

body.pastenext-pricing .pricing-hero {
  background: #0b0d12;
  color: #f7f8fa;
}

body.pastenext-pricing .pricing-hero h1 {
  color: #ffffff;
}

body.pastenext-pricing .pricing-hero p {
  color: #b8c0cc;
}

body.pastenext-pricing .pricing-plans {
  background: #070a10;
  border-block: 1px solid rgba(255, 255, 255, .07);
}

body.pastenext-pricing .pricing-plan-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

body.pastenext-pricing .pricing-plan-card h2 {
  color: #ffffff;
}

body.pastenext-pricing .pricing-plan-card p,
body.pastenext-pricing .pricing-plan-card li {
  color: #b8c0cc;
}

body.pastenext-pricing .pricing-plan-card .plan-best {
  color: #a4adbb;
}

body.pastenext-pricing .pricing-plan-card.is-featured .plan-best {
  color: #7ab8ff;
}

body.pastenext-pricing .pricing-plan-card.is-featured {
  border-color: rgba(122, 184, 255, .5);
  background: rgba(122, 184, 255, .08);
}

body.pastenext-pricing .pricing-plan-card.is-best {
  border-color: rgba(255, 180, 84, .55);
  background: linear-gradient(180deg, #10141c, #0b0e15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

body.pastenext-pricing .pricing-plan-card.is-best .plan-best {
  color: #ffc166;
}

body.pastenext-pricing .plan-action:not(.primary) {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #f0f3f7;
}

.pricing-compare {
  margin-top: 64px;
  overflow-x: auto;
}

.pricing-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pricing-compare th,
.pricing-compare td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-align: left;
  vertical-align: top;
}

.pricing-compare th {
  color: #ffffff;
  font-weight: 660;
}

.pricing-compare td {
  color: #b8c0cc;
}

.pricing-compare .compare-yes {
  color: #3ddc97;
  font-weight: 720;
}

.pricing-compare .compare-no {
  color: #5b6472;
}

/* --- Guides: featured card + category tags --- */
.tutorial-card-grid > .tutorial-card:first-child {
  grid-column: span 12;
}

.tutorial-card-grid > .tutorial-card:first-child > a {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}

.tutorial-category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 13, 18, .78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 680;
  backdrop-filter: blur(8px);
}

body.tutorial-site .tutorial-hub-hero {
  background: #0b0d12;
  color: #f7f8fa;
}

body.tutorial-site .tutorial-hub-copy h1 {
  color: #ffffff;
}

body.tutorial-site .tutorial-hub-copy p {
  color: #b8c0cc;
}

body.tutorial-site .tutorial-hub-copy .button:not(.primary) {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  color: #ffffff;
}

/* --- Support: tool-style quick topics --- */
.support-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.support-topics a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #e7ebf0;
  font-size: 14px;
  font-weight: 640;
  transition: border-color .16s ease, background-color .16s ease;
}

.support-topics a::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7ab8ff;
}

.support-topics a:hover {
  border-color: rgba(122, 184, 255, .45);
  background: rgba(122, 184, 255, .1);
  color: #ffffff;
}

body.product-pastenext .refresh-faq-list details {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
}

body.product-pastenext .refresh-faq-list summary {
  color: #f2f5f8;
}

body.product-pastenext .refresh-faq-list p {
  color: #a4adbb;
}

/* --- Item-level reveal --- */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .tutorial-card-grid > .tutorial-card:first-child > a {
    grid-template-columns: minmax(0, 1fr);
  }

  .support-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .smartsearch-demo {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 28px);
    margin: 14px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .proof-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .10);
  }

  .pricing-plan-grid > :nth-child(1),
  .pricing-plan-grid > :nth-child(2),
  .pricing-plan-grid > :nth-child(3) {
    grid-column: span 12;
  }
}

@media (min-width: 801px) and (max-width: 1080px) {
  .smartsearch-demo {
    right: 0;
  }
}

@media (max-width: 680px) {
  .support-topics {
    grid-template-columns: minmax(0, 1fr);
  }

  .snapscene-stage-scene {
    aspect-ratio: 4 / 3.2;
  }

  .stage-restore {
    top: 10px;
    right: 10px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .stage-tag {
    bottom: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .stage-tag-before {
    left: 10px;
  }

  .stage-tag-after {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smartsearch-demo,
  .search-cursor,
  .reveal-item {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Guides: cover chrome + dark content stage --- */
.tutorial-card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.tutorial-card-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-number {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 13, 18, .78);
  color: #ffffff;
  font-size: 12px;
  font-weight: 680;
  backdrop-filter: blur(8px);
}

.tutorial-card:first-child .tutorial-card-cover {
  margin-bottom: 0;
}

body.tutorial-site .blog-index-section {
  background: #070a10;
  border-block: 1px solid rgba(255, 255, 255, .06);
}

body.tutorial-site .blog-section-head h2 {
  color: #ffffff;
}

body.tutorial-site .blog-section-head p {
  color: #a4adbb;
}

body.tutorial-site .tutorial-card {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px) saturate(150%);
}

body.tutorial-site .tutorial-card:hover {
  border-color: rgba(122, 184, 255, .45);
}

body.tutorial-site .tutorial-card h3 {
  color: #f7f8fa;
}

body.tutorial-site .tutorial-card p {
  color: #a4adbb;
}

body.tutorial-site .tutorial-card .tutorial-card-cover img {
  aspect-ratio: 16 / 9;
}

body.tutorial-site .blog-card-meta,
body.tutorial-site .blog-card-points span {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .06);
  color: #c3ccd7;
}

.refresh-hero .support-topics {
  width: 100%;
  max-width: 1000px;
  margin: 44px auto 0;
}

/* ============================================================
   Round 2: one dark macOS stage, product-led entry
   ============================================================ */

/* --- EF Tools matrix: full dark stage, not light cards --- */
body.matrix-refresh {
  background: var(--stage);
  color: var(--stage-ink);
}

body.matrix-refresh .refresh-nav-wrap {
  background: rgba(5, 7, 11, .78);
  border-bottom-color: var(--stage-line);
}

body.matrix-refresh .refresh-brand {
  color: var(--stage-ink);
}

body.matrix-refresh .refresh-nav-links a {
  color: var(--stage-soft);
}

body.matrix-refresh .refresh-nav-links a:hover {
  color: var(--stage-ink);
  background: var(--stage-panel-2);
}

body.matrix-refresh .refresh-section {
  background: var(--stage-2);
  border-block: 1px solid var(--stage-line);
}

body.matrix-refresh .refresh-section:nth-of-type(even) {
  background: var(--stage-3);
}

body.matrix-refresh .refresh-section-head h2 {
  color: var(--stage-ink);
}

body.matrix-refresh .refresh-section-head p {
  color: var(--stage-muted);
}

body.matrix-refresh .refresh-section .refresh-badge {
  border-color: var(--stage-line);
  background: var(--stage-panel-2);
  color: #dbe7ff;
}

body.matrix-refresh .refresh-card {
  border-color: var(--stage-line);
  background: var(--stage-panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

body.matrix-refresh .refresh-card:hover {
  border-color: rgba(122, 184, 255, .45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
}

body.matrix-refresh .refresh-card h3 {
  color: var(--stage-ink);
}

body.matrix-refresh .refresh-card p {
  color: var(--stage-muted);
}

body.matrix-refresh .refresh-icon {
  background: var(--stage-panel-2);
  color: #dbe7ff;
}

body.matrix-refresh .refresh-product-card {
  border-color: var(--stage-line);
  background: linear-gradient(180deg, #0c1017, #080b11);
}

/* Dark cards need the stage accents; the light-theme accents only reach ~4:1 here. */
body.matrix-refresh .refresh-product-card[data-product="pastenext"] {
  --product-accent: #ffb454;
}

body.matrix-refresh .refresh-product-card[data-product="snapscene"] {
  --product-accent: #7ab8ff;
}

body.matrix-refresh .refresh-product-card .refresh-showcase {
  border-color: var(--stage-line);
  background: #0d1118;
}

body.matrix-refresh .refresh-product-card h3 {
  color: var(--stage-ink);
}

body.matrix-refresh .refresh-product-card p {
  color: var(--stage-muted);
}

body.matrix-refresh .product-state {
  color: var(--product-accent, #ffb454);
}

body.matrix-refresh .matrix-band {
  background: var(--stage-2);
}

body.matrix-refresh .refresh-footer {
  background: var(--stage-2);
  border-top-color: var(--stage-line);
}

body.matrix-refresh .footer-inner p,
body.matrix-refresh .footer-links a {
  color: var(--stage-soft);
}

body.matrix-refresh .footer-links a:hover {
  color: var(--stage-ink);
}

/* --- EF Tools hero: product-led two-column entry --- */
.matrix-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
  text-align: left;
}

.matrix-hero-copy .refresh-subtitle {
  margin-inline: 0;
}

.matrix-hero-copy .refresh-actions {
  justify-content: flex-start;
}

body.matrix-refresh .matrix-hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 66px);
}

.matrix-hero-visual {
  position: relative;
}

.matrix-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-stage);
  background: #0d1118;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .05);
}

.matrix-stage .refresh-window-bar {
  padding: 14px 16px;
  border-bottom-color: rgba(255, 255, 255, .08);
  background: #171b23;
}

.matrix-stage .refresh-window-bar span:not(.stage-title) {
  background: #4c5661;
}

.matrix-stage .stage-title {
  color: #9aa3ad;
}

.matrix-stage > img {
  display: block;
  width: 100%;
}

.matrix-hero-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--stage-soft);
  font-size: 13px;
  font-weight: 560;
}

.matrix-hero-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 4px rgba(61, 220, 151, .14);
}

/* --- Interactive demo: clickable pager + scene tiles --- */
.demo-steps button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.demo-steps button.is-active {
  background: #ffb454;
  box-shadow: 0 0 0 4px rgba(255, 180, 84, .16);
}

.demo-steps button:hover {
  transform: scale(1.18);
}

.demo-steps button:focus-visible {
  outline: 3px solid rgba(255, 180, 84, .5);
  outline-offset: 3px;
}

.scene-tile {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: var(--stage-muted);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.scene-tile:hover {
  border-color: rgba(122, 184, 255, .4);
  background: rgba(122, 184, 255, .1);
  color: var(--stage-ink);
}

.scene-tile.is-active {
  border-color: rgba(122, 184, 255, .4);
  background: rgba(122, 184, 255, .14);
  color: #dbe7ff;
}

.scene-tile:focus-visible {
  outline: 3px solid rgba(122, 184, 255, .5);
  outline-offset: 3px;
}

.snapscene-stage-after {
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
  will-change: transform;
}

/* --- Support: filter tool instead of marketing copy --- */
.support-search {
  width: min(100%, 560px);
  min-height: 52px;
  margin: 34px auto 0;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--stage-ink);
  font: inherit;
  font-size: 16px;
  backdrop-filter: blur(14px);
}

.support-search::placeholder {
  color: var(--stage-soft);
}

.support-search:focus {
  outline: none;
  border-color: rgba(122, 184, 255, .55);
  box-shadow: 0 0 0 4px rgba(122, 184, 255, .14);
}

.refresh-faq-list details[hidden],
.support-filter-card[hidden],
#features .refresh-card[hidden] {
  display: none;
}

.support-empty {
  display: none;
  margin-top: 18px;
  color: var(--stage-muted);
  font-size: 15px;
}

.support-empty.is-visible {
  display: block;
}

/* --- Pricing: decision copy under each plan --- */
.plan-note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-plan-card.is-best .plan-note {
  color: #c3ccd7;
}

.plan-fineprint {
  display: block;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

body.pastenext-pricing .plan-note {
  color: var(--stage-muted);
}

body.pastenext-pricing .plan-fineprint {
  color: var(--stage-soft);
}

body.pastenext-pricing .pricing-plan-card.is-featured {
  border-color: rgba(255, 255, 255, .14);
  background: var(--stage-panel);
}

/* --- Compact app strip replacing six equal cards --- */
.app-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 30px;
  border: 1px solid var(--stage-line);
  border-radius: 12px;
  background: var(--stage-panel);
  color: var(--stage-muted);
  font-size: 15px;
}

.app-strip strong {
  color: var(--stage-ink);
  font-weight: 650;
}

.app-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-strip span:not(:last-child)::after {
  content: "·";
  color: var(--stage-soft);
}

.app-strip-note {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--stage-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 900px) {
  .matrix-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    text-align: center;
  }

  .matrix-hero-copy .refresh-actions {
    justify-content: center;
  }

  .matrix-hero-copy .refresh-subtitle {
    margin-inline: auto;
  }

  .matrix-hero-note {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .matrix-stage {
    border-radius: 12px;
  }

  .app-strip {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .app-strip span:not(:last-child)::after {
    content: "";
  }
}

@media (prefers-reduced-motion: reduce) {
  .snapscene-stage-after {
    transition: none;
  }

  .demo-steps button,
  .scene-tile {
    transition: none;
  }
}
