/* login-cover 背景 + 原落地页光晕/点阵/粒子叠层 */
body.landing-cover-bg {
  --login-bg-hue: 0deg;
  --login-bg-hue-bias: -4deg;
  --login-bg-sat: 1.04;
  background-color: color-mix(in srgb, var(--brand-primary) 10%, #eef1f8);
}
body.landing-cover-bg::before,
body.landing-cover-bg::after {
  content: none;
}
.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.landing-bg__image,
.landing-bg__glow,
.landing-bg__aura,
.landing-bg__dots {
  position: absolute;
  inset: 0;
}
.landing-bg__image {
  z-index: 0;
  background-image: url("../images/bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: hue-rotate(calc(var(--login-bg-hue) + var(--login-bg-hue-bias))) saturate(var(--login-bg-sat));
  transition: filter 0.35s ease;
}
.landing-bg__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
  mix-blend-mode: soft-light;
  opacity: 0.22;
  pointer-events: none;
}
.landing-bg__glow {
  z-index: 1;
  opacity: 0.62;
  mix-blend-mode: multiply;
  transition: opacity 0.35s ease, background 0.35s ease;
  background:
    radial-gradient(
      ellipse 100% 72% at 8% 0%,
      color-mix(in srgb, var(--brand-primary) 34%, transparent),
      transparent 56%
    ),
    radial-gradient(
      ellipse 80% 60% at 100% 100%,
      color-mix(in srgb, var(--brand-primary) 26%, transparent),
      transparent 54%
    ),
    radial-gradient(
      ellipse 55% 45% at 82% 16%,
      color-mix(in srgb, var(--brand-primary) 18%, transparent),
      transparent 60%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--brand-primary) 12%, transparent) 0%,
      transparent 48%,
      color-mix(in srgb, var(--brand-primary) 10%, transparent) 100%
    );
}
.landing-bg__aura {
  z-index: 2;
  opacity: 0.82;
  background:
    radial-gradient(ellipse 90% 70% at 8% -5%, rgba(var(--brand-primary-rgb), 0.28), transparent 55%),
    radial-gradient(ellipse 70% 55% at 98% 12%, rgba(162, 155, 254, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 105%, rgba(var(--brand-primary-rgb), 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 75% 55%, rgba(162, 155, 254, 0.1), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 8%, #f4f0ff) 0%, color-mix(in srgb, var(--brand-primary) 5%, #f7f5ff) 42%, color-mix(in srgb, var(--brand-primary) 4%, #faf8ff) 100%);
}
.landing-bg__dots {
  z-index: 3;
  opacity: 0.45;
  background-image: radial-gradient(rgba(var(--brand-primary-rgb), 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}
[data-theme="dark"] body.landing-cover-bg {
  background-color: color-mix(in srgb, var(--brand-primary) 12%, #0b0c14);
}
[data-theme="dark"] .landing-bg__image {
  filter: hue-rotate(calc(var(--login-bg-hue) + var(--login-bg-hue-bias))) saturate(var(--login-bg-sat)) brightness(0.58) contrast(1.05);
  opacity: 0.98;
}
[data-theme="dark"] .landing-bg__image::after {
  opacity: 0.18;
}
[data-theme="dark"] .landing-bg__glow {
  mix-blend-mode: soft-light;
  opacity: 0.42;
  background:
    radial-gradient(
      ellipse 100% 72% at 8% 0%,
      color-mix(in srgb, var(--brand-primary) 34%, transparent),
      transparent 56%
    ),
    radial-gradient(
      ellipse 80% 60% at 100% 100%,
      color-mix(in srgb, var(--brand-primary) 22%, transparent),
      transparent 54%
    ),
    radial-gradient(
      ellipse 55% 45% at 82% 16%,
      color-mix(in srgb, var(--brand-primary) 14%, transparent),
      transparent 60%
    ),
    linear-gradient(
      155deg,
      color-mix(in srgb, var(--brand-primary) 12%, transparent) 0%,
      transparent 48%,
      color-mix(in srgb, var(--brand-primary) 10%, transparent) 100%
    );
}
[data-theme="dark"] .landing-bg__aura {
  opacity: 0.86;
  background:
    radial-gradient(ellipse 90% 70% at 8% -5%, rgba(var(--brand-primary-rgb), 0.22), transparent 55%),
    radial-gradient(ellipse 70% 55% at 98% 12%, rgba(162, 155, 254, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 105%, rgba(var(--brand-primary-rgb), 0.12), transparent 55%),
    radial-gradient(ellipse 80% 90% at 88% 38%, rgba(8, 7, 14, 0.28), transparent 62%),
    linear-gradient(180deg, #0c0a14 0%, #0a0812 45%, #08070e 100%);
}
[data-theme="dark"] .landing-bg__dots {
  opacity: 0.28;
  background-image: radial-gradient(rgba(162, 155, 254, 0.12) 1px, transparent 1px);
}

.first-screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: -88px;
  padding-top: 88px;
  box-sizing: border-box;
}
.first-screen__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  gap: 8px;
  width: calc(100% - 48px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 12px 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.hero-inner { width: 100%; max-width: 760px; margin: 0 auto; }
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-eyebrow {
  height: 34px;
  padding: 0 14px 0 10px;
  margin-bottom: 18px;
  gap: 8px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.22);
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero-eyebrow i { color: var(--brand-primary); }
[data-theme="dark"] .hero-eyebrow {
  background: rgba(var(--brand-primary-rgb), 0.18);
  border-color: rgba(var(--brand-primary-rgb), 0.45);
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6.2vw, 60px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hero-title__lead { display: block; }

/* ShinyText — base text always visible; ::after adds a soft highlight sweep */
.shiny-text {
  position: relative;
  display: inline-block;
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
  --shiny-highlight: rgba(255, 255, 255, 0.58);
}

.shiny-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  background-image: linear-gradient(
    120deg,
    transparent 0%,
    transparent 40%,
    var(--shiny-highlight) 50%,
    transparent 60%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 220% 100%;
  background-position: 160% center;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shiny-text-sweep 5s ease-in-out infinite;
}

[data-theme="dark"] .shiny-text {
  --shiny-highlight: #c4b5fd;
}

[data-theme="dark"] .shiny-text::after {
  background-image: linear-gradient(
    120deg,
    transparent 0%,
    transparent 34%,
    var(--shiny-highlight) 50%,
    transparent 66%,
    transparent 100%
  );
}

@keyframes shiny-text-sweep {
  0%, 20% { background-position: 160% center; }
  100% { background-position: -60% center; }
}

@media (prefers-reduced-motion: reduce) {
  .shiny-text::after {
    animation: none;
    content: none;
  }
}

.hero-title__accent {
  display: block;
  margin-top: 0.12em;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    115deg,
    #4536b8 0%,
    var(--brand-primary) 28%,
    #6f5fe9 56%,
    var(--brand-primary-strong) 100%
  );
  background-repeat: no-repeat;
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  min-height: 1.18em;
}

[data-theme="dark"] .hero-title__accent {
  background-image: linear-gradient(
    108deg,
    #c4b5fd 0%,
    var(--brand-primary) 36%,
    #8b7cf7 68%,
    #a29bfe 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-desc {
  margin: 24px auto 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  text-wrap: balance;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero .actions .btn-lg {
  height: 52px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 10px;
}

.hero .actions .btn > i,
.cta-band .actions .btn > i {
  width: 1.125em;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
}

.hero-demo {
  width: min(100%, 980px);
  margin: 20px auto 0;
  animation: rise-in 0.7s var(--ease) 0.12s both;
  color: inherit;
}

.hero-demo,
.hero-demo:hover,
.hero-demo:focus-visible {
  text-decoration: none;
}

.hero-demo__screens {
  max-height: clamp(460px, 48vw, 580px);
  overflow: hidden;
}

.hero-demo__screens .hero-demo__shot {
  display: none;
  width: calc(100% + 8px);
  max-width: none;
  height: auto;
  object-position: top left;
}

.hero-demo__screens .hero-demo__shot--light { display: block; }
[data-theme="dark"] .hero-demo__screens .hero-demo__shot--light { display: none; }
[data-theme="dark"] .hero-demo__screens .hero-demo__shot--dark { display: block; }

.pro-stage__status-label--dark { display: none; }
[data-theme="dark"] .pro-stage__status-label--light { display: none; }
[data-theme="dark"] .pro-stage__status-label--dark { display: inline; }

.pro-stage {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: #f4f5f7;
  box-shadow:
    0 4px 8px rgba(48, 36, 120, 0.06),
    0 18px 40px rgba(48, 36, 120, 0.12);
  overflow: hidden;
}
[data-theme="dark"] .pro-stage {
  background: #232324;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}
.pro-stage__chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(18, 16, 26, 0.05);
  background: #fff;
  color: var(--text-muted);
  font-size: 11.5px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
[data-theme="dark"] .pro-stage__chrome {
  background: #232324;
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.pro-stage__meta {
  justify-self: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-secondary);
  text-decoration: none;
}
.pro-stage__meta em { font-style: normal; color: var(--brand-primary); }
.hero-demo:hover .pro-stage__meta,
.hero-demo:focus-visible .pro-stage__meta {
  text-decoration: none;
}
.pro-stage__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.22);
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-size: 10.5px;
  font-weight: 600;
}
.pro-stage__status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.pro-stage__dots { display: flex; gap: 5px; }
.pro-stage__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
}
.pro-stage__dots span:nth-child(1) { background: #f87171; }
.pro-stage__dots span:nth-child(2) { background: #fbbf24; }
.pro-stage__dots span:nth-child(3) { background: #34d399; }

.pro-shell {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 340px;
  background: #f7f8fa;
}
[data-theme="dark"] .pro-shell { background: #141226; }
.pro-aside {
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  padding: 14px 10px;
}
[data-theme="dark"] .pro-aside { background: #1c1830; }
.pro-aside__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.pro-aside__brand img { width: 22px; height: 22px; border-radius: 6px; }
.pro-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pro-nav span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}
.pro-nav span i { width: 14px; color: var(--text-muted); font-size: 11px; }
.pro-nav span.is-active {
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-weight: 600;
}
.pro-nav span.is-active i { color: var(--brand-primary); }
.pro-main { min-width: 0; display: flex; flex-direction: column; }
.pro-topbar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
[data-theme="dark"] .pro-topbar { background: #1c1830; }
.pro-topbar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
}
.pro-swatches { display: flex; gap: 5px; }
.pro-swatches i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
.pro-body { padding: 14px 16px 16px; }
.pro-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.pro-kpi {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}
[data-theme="dark"] .pro-kpi { background: #221e38; }
.pro-kpi span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}
.pro-kpi strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.pro-kpi em {
  font-style: normal;
  font-size: 11px;
  color: var(--success);
}
.pro-panels {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 10px;
}
.pro-panel {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  min-height: 128px;
}
[data-theme="dark"] .pro-panel { background: #221e38; }
.pro-panel h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pro-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 84px;
  padding-top: 8px;
}
.pro-bars span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: color-mix(in srgb, var(--brand-primary) 72%, white);
}
.pro-bars span:nth-child(odd) { background: var(--brand-primary); opacity: 0.85; }
.pro-todo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-todo li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pro-todo li:last-child { border-bottom: 0; }
.pro-todo b {
  font-weight: 600;
  font-size: 10px;
  color: var(--brand-primary);
  background: var(--brand-primary-muted);
  padding: 2px 6px;
  border-radius: 999px;
}

.template-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 14px;
}
.template-head h3 {
  margin: 0;
  font-size: 16px;
}
.template-head span {
  font-size: 12px;
  color: var(--text-muted);
}
.template-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.template-card {
  padding: 16px 16px 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.template-card strong {
  font-size: 14px;
  color: var(--text-primary);
}
.template-card span {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.theme-studio { padding: 22px; overflow: hidden; }
.theme-studio__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: start;
}
.theme-studio__controls {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  align-items: stretch;
  padding: 12px;
}
.theme-preview {
  background: transparent;
  border: 1px solid rgba(18, 16, 26, 0.05);
  border-radius: 14px;
  padding: 16px 14px 14px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
}
.theme-studio__intro h3 {
  font-size: 20px;
  margin: 0 0 8px;
}
.theme-studio__intro p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}
.theme-studio__panel {
  padding: 12px;
  padding-left:0;
}

.theme-studio__features {
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-studio__feature-list {
  display: grid;
  gap: 6px;
}
.theme-studio__feature-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  padding-left: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
[data-theme="dark"] .theme-studio__feature-list li {
  background: transparent;
}
.theme-studio__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.theme-studio__feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}
[data-theme="dark"] .theme-studio__feature-grid li {
  background: #1c1830;
}
.theme-studio__feature-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-size: 13px;
}
.theme-studio__features strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.theme-studio__swatches-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.swatch-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 8px;
}
.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border-default);
  cursor: pointer;
  padding: 0;
}
.swatch.is-active {
  box-shadow: 0 0 0 2px var(--preview-brand, var(--brand-primary));
}
.swatch-label {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
[data-theme="dark"] .theme-preview {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.theme-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.theme-preview__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
}
.theme-preview__bar {
  display: flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(18, 16, 26, 0.05);
  margin-bottom: 12px;
  overflow: hidden;
}
[data-theme="dark"] .theme-preview__bar {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.theme-preview__bar span {
  flex: 1;
  height: 12px;
  border-radius: 0;
  min-width: 0;
}
.theme-preview__bar span:nth-child(1) { background: var(--brand-primary); }
.theme-preview__bar span:nth-child(2) { background: color-mix(in srgb, var(--brand-primary) 72%, white); }
.theme-preview__bar span:nth-child(3) { background: color-mix(in srgb, var(--brand-primary) 45%, white); }
.theme-preview__bar span:nth-child(4) { background: var(--brand-primary-muted); }
.theme-preview__bar span:first-child { border-radius: 999px 0 0 999px; }
.theme-preview__bar span:last-child { border-radius: 0 999px 999px 0; }
.theme-preview__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  flex: 1;
  min-height: 284px;
  margin-bottom: 12px;
  align-items: stretch;
}
.theme-preview__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 92px;
  height: 100%;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(18, 16, 26, 0.05);
  box-sizing: border-box;
}
[data-theme="dark"] .theme-preview__card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.05);
}
.theme-preview__card--accent {
  background: var(--brand-primary-muted);
  border-color: rgba(var(--brand-primary-rgb), 0.2);
}
.theme-preview__card--stack {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 8px;
}
.theme-preview__card--stack .theme-preview__card-body {
  width: 100%;
}
.theme-preview__card--has-badge {
  position: relative;
}
.theme-preview__card--accent .theme-preview__card-body {
  width: 100%;
}
.theme-preview__card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-size: 12px;
  flex-shrink: 0;
}
.theme-preview__card--accent .theme-preview__card-icon {
  background: rgba(var(--brand-primary-rgb), 0.14);
}
[data-theme="dark"] .theme-preview__card--accent .theme-preview__card-icon {
  background: rgba(255, 255, 255, 0.08);
}
.theme-preview__card-body span,
.theme-preview__card-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}
.theme-preview__card-body strong,
.theme-preview__card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.2;
}
.theme-preview__card-delta {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: var(--brand-primary);
}
.theme-preview__card-delta i {
  font-size: 8px;
}
.theme-preview__card:not(.theme-preview__card--stack) > .theme-preview__card-value {
  margin-top: auto;
}
.theme-preview__card-value.is-sm { font-size: 14px; }
.theme-preview__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.theme-preview__card-top em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: var(--brand-primary);
}
.theme-preview__card-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 32px;
  margin-top: auto;
}
.theme-preview__card-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: color-mix(in srgb, var(--brand-primary) 72%, white);
}
.theme-preview__card-chart span:nth-child(odd) {
  background: var(--brand-primary);
  opacity: 0.85;
}
.theme-preview__card-tabs {
  display: flex;
  gap: 4px;
  margin-top: auto;
  padding: 3px;
  border-radius: 8px;
  background: #f7f8fa;
  border: 1px solid var(--border-subtle);
}
[data-theme="dark"] .theme-preview__card-tabs { background: #141226; }
.theme-preview__card-tabs span {
  flex: 1;
  text-align: center;
  padding: 5px 4px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
}
.theme-preview__card-tabs span.is-active {
  background: var(--brand-primary);
  color: #fff;
}
.theme-preview__card-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.15);
  overflow: hidden;
  margin-top: auto;
}
.theme-preview__card-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-primary);
}
.theme-preview__card-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: var(--text-muted);
}
.theme-preview__card-foot strong {
  color: var(--text-primary);
  font-weight: 600;
}
.theme-preview__card-foot strong.is-up {
  color: var(--brand-primary);
}
.theme-preview__ring-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  flex: 1;
  width: 100%;
  min-height: 0;
}
.theme-preview__ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.theme-preview__ring-label {
  font-size: 8px;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.2;
}
.theme-preview__card-ring {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0;
  flex-shrink: 0;
  color: var(--brand-primary);
}
.theme-preview__ring-item:nth-child(2) .theme-preview__card-ring {
  color: color-mix(in srgb, var(--brand-primary) 72%, white);
}
.theme-preview__ring-item:nth-child(3) .theme-preview__card-ring {
  color: color-mix(in srgb, var(--brand-primary) 45%, white);
}
.theme-preview__card-ring svg {
  width: 100%;
  height: 100%;
}
.theme-preview__card-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-primary);
}
.theme-preview__note {
  margin: 0;
  padding-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.value-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
  background: var(--brand-primary-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.value-panel {
  overflow: hidden;
}
.value-panel article,
.value-card {
  position: relative;
  overflow: hidden;
  padding: 32px 36px 34px;
  min-height: 196px;
}
.value-card__index {
  position: absolute;
  top: 16px;
  right: 30px;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  background: linear-gradient(
    165deg,
    rgba(var(--brand-primary-rgb), 0.22) 0%,
    rgba(var(--brand-primary-rgb), 0.06) 58%,
    rgba(var(--brand-primary-rgb), 0.02) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}
[data-theme="dark"] .value-card__index {
  background: linear-gradient(
    165deg,
    rgba(var(--brand-primary-rgb), 0.38) 0%,
    rgba(var(--brand-primary-rgb), 0.12) 58%,
    rgba(var(--brand-primary-rgb), 0.04) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.value-card__content {
  position: relative;
  z-index: 1;
  max-width: 34em;
}
.value-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.value-panel p:not(.value-kicker) {
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.value-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
}
.value-stack article {
  border: none;
}
.value-stack article::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 0;
  height: 0;
  border-bottom: 1px solid var(--border-subtle);
  pointer-events: none;
}
.value-stack article:nth-child(odd)::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  right: -14px;
  width: 0;
  border-right: 1px solid var(--border-subtle);
  pointer-events: none;
}
.value-stack article:nth-last-child(-n+2)::after {
  content: none;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.workflow-steps {
  margin-bottom: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}

.workflow-layout .step-pill {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  padding: 16px 18px;
}

.workflow-layout .step-pill__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  font-size: 14px;
  border-radius: 10px;
}

.workflow-layout .step-pill__body {
  min-width: 0;
}

.workflow-layout .step-pill__title {
  margin-bottom: 4px;
}

.workflow-preview {
  min-width: 0;
  display: flex;
}

.workflow-preview .gallery-demo {
  width: 100%;
  max-width: none;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-demo--interactive {
  position: relative;
}

.workflow-preview .gallery-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.workflow-preview .gallery-shell {
  flex: 1;
  min-height: 0;
}

.gallery-demo__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 280ms var(--ease),
    visibility 280ms var(--ease);
}

[data-theme="dark"] .gallery-demo__overlay {
  background: rgba(14, 12, 22, 0.28);
}

.gallery-demo__cta {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 280ms var(--ease),
    transform 280ms var(--ease);
}

@media (hover: hover) {
  .gallery-demo--interactive:hover .gallery-demo__overlay,
  .gallery-demo--interactive:focus-within .gallery-demo__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .gallery-demo--interactive:hover .gallery-demo__cta,
  .gallery-demo--interactive:focus-within .gallery-demo__cta {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none) {
  .gallery-demo__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    align-items: flex-end;
    padding-bottom: 16px;
    background: linear-gradient(
      to top,
      rgba(247, 248, 250, 0.96) 0%,
      rgba(247, 248, 250, 0.72) 26%,
      rgba(247, 248, 250, 0) 58%
    );
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  [data-theme="dark"] .gallery-demo__overlay {
    background: linear-gradient(
      to top,
      rgba(23, 23, 24, 0.96) 0%,
      rgba(23, 23, 24, 0.72) 26%,
      rgba(23, 23, 24, 0) 58%
    );
  }

  .gallery-demo__cta {
    opacity: 1;
    transform: none;
    position: relative;
    white-space: nowrap;
  }

  .gallery-main {
    padding-bottom: 76px;
  }
}

.gallery-demo {
  display: block;
  margin: 0 auto;
}

.gallery-stage {
  box-shadow:
    0 4px 8px rgba(48, 36, 120, 0.05),
    0 18px 40px rgba(48, 36, 120, 0.08);
}

.gallery-stage .pro-stage__chrome {
  border-bottom-color: rgba(18, 16, 26, 0.04);
}

[data-theme="dark"] .gallery-stage .pro-stage__chrome {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .gallery-stage {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
}

.gallery-shell {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 340px;
  background: #f7f8fa;
}

[data-theme="dark"] .gallery-shell { background: #171718; }

.gallery-aside {
  padding: 16px 14px;
  background: #fff;
  border-right: 1px solid rgba(18, 16, 26, 0.04);
}

[data-theme="dark"] .gallery-aside {
  background: #232324;
  border-right-color: rgba(255, 255, 255, 0.05);
}

.gallery-aside__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--brand-primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-aside__title {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.gallery-aside__title em {
  font-style: normal;
  color: var(--brand-primary);
}

.gallery-aside__search {
  display: block;
  height: 30px;
  margin-bottom: 12px;
  padding: 0 10px;
  border: 1px solid rgba(18, 16, 26, 0.05);
  border-radius: 8px;
  background: var(--surface-soft, #f6f5f4);
  color: var(--text-muted);
  font-size: 11px;
  line-height: 30px;
  overflow: hidden;
  white-space: nowrap;
}

[data-theme="dark"] .gallery-aside__search {
  background: #2a2a2b;
  border-color: rgba(255, 255, 255, 0.05);
}

.gallery-aside__seg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.gallery-aside__seg span {
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(18, 16, 26, 0.05);
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 20px;
}

[data-theme="dark"] .gallery-aside__seg span {
  border-color: rgba(255, 255, 255, 0.05);
}

.gallery-aside__seg span.is-active {
  border-color: rgba(var(--brand-primary-rgb), 0.22);
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-weight: 600;
}

.gallery-aside__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-aside__nav > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

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

.gallery-aside__nav-count {
  flex-shrink: 0;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  background: rgba(18, 16, 26, 0.06);
  color: var(--text-muted);
}

[data-theme="dark"] .gallery-aside__nav-count {
  background: rgba(255, 255, 255, 0.08);
}

.gallery-aside__nav > span.is-active {
  background: var(--brand-primary-muted);
  color: var(--brand-primary);
  font-weight: 600;
}

.gallery-aside__nav > span.is-active .gallery-aside__nav-count {
  background: rgba(var(--brand-primary-rgb), 0.16);
  color: var(--brand-primary);
}

.workflow-preview .gallery-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.workflow-preview .gallery-cards {
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
}

.workflow-preview .gallery-card {
  min-height: 0;
  height: 100%;
}

.gallery-main {
  min-width: 0;
  padding: 16px 16px 18px;
}

.gallery-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(18, 16, 26, 0.04);
}

.gallery-main__head > div {
  min-width: 0;
}

[data-theme="dark"] .gallery-main__head {
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.gallery-main__head b {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
}

.gallery-main__head span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.gallery-main__head em {
  flex-shrink: 0;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-primary-muted);
}

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(18, 16, 26, 0.04);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

[data-theme="dark"] .gallery-card {
  background: #232324;
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.gallery-card b {
  font-size: 13px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card i {
  font-style: normal;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card.is-active {
  border-color: rgba(var(--brand-primary-rgb), 0.28);
  background: color-mix(in srgb, var(--brand-primary) 4%, #fff);
  box-shadow: 0 0 0 1px rgba(var(--brand-primary-rgb), 0.08);
}

[data-theme="dark"] .gallery-card.is-active {
  border-color: rgba(var(--brand-primary-rgb), 0.32);
  background: rgba(var(--brand-primary-rgb), 0.1);
  box-shadow: 0 0 0 1px rgba(var(--brand-primary-rgb), 0.1);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  overflow: hidden;
}
.price-card.is-featured {
  border-color: color-mix(in srgb, var(--brand-primary) 45%, var(--border-default));
  box-shadow: 0 12px 32px rgba(var(--brand-primary-rgb), 0.12);
}
.price-card__badge {
  display: inline-flex;
  align-self: flex-start;
  height: 26px;
  padding: 0 10px;
  margin: 0 0 14px;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.28);
  background: var(--brand-primary-muted);
  color: var(--brand-primary-strong);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.price-card__desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.price-card__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.price-card__price span {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.price-card__price strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.price-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.price-card .btn {
  width: 100%;
}

.get-access-panel {
  padding: 0;
  overflow: hidden;
}

.get-access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

.get-access-copy {
  padding: 36px 40px 40px;
}

.get-access-title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.get-access-desc {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.get-access-benefits-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
}

.get-access-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.get-access-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.get-access-list li i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1;
  color: #22c55e;
}

[data-theme="dark"] .get-access-list li i {
  color: #4ade80;
}

.get-access-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 32px 40px;
  text-align: center;
  border-left: 1px solid var(--border-subtle);
  background: var(--surface-soft);
}

.get-access-qr__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.get-access-qr__desc {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.get-access-qr__frame {
  display: inline-block;
  padding: 4px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  line-height: 0;
}

[data-theme="dark"] .get-access-qr__frame {
  border-color: rgba(255, 255, 255, 0.12);
}

.get-access-qr__frame img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.get-access-qr__btn {
  margin-top: 20px;
  min-width: 168px;
}

.faq-panel {
  margin-top: 8px;
}
.faq-panel .faq-item .faq-a {
  padding-left: 46px;
}

@media (max-width: 960px) {
  .hero { padding: 36px 8px 16px; }
  .first-screen__content { width: calc(100% - 28px); }
  .template-wall, .theme-studio__row { grid-template-columns: 1fr; }
  .workflow-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-studio__controls {
    padding: 0 0 16px;
  }
  .theme-preview { margin-top: 0; }
  .theme-studio__feature-grid { grid-template-columns: 1fr; }
  .value-stack {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .value-stack article {
    min-height: 0;
    padding: 28px 24px 30px;
  }
  .value-stack article::after {
    left: 24px;
    right: 24px;
  }
  .value-stack article::before {
    content: none;
  }
  .value-stack article:nth-last-child(-n+2)::after {
    content: "";
  }
  .value-stack article:last-child::after {
    content: none;
  }
  .value-card__index {
    font-size: clamp(3rem, 14vw, 4rem);
    top: 4px;
    right: 8px;
  }
  .price-grid { grid-template-columns: 1fr; }
  .get-access-layout {
    grid-template-columns: 1fr;
  }
  .get-access-qr {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .get-access-copy,
  .get-access-qr {
    padding: 28px 24px 32px;
  }
  .value-panel article { padding: 28px 24px; }
  .pro-shell { grid-template-columns: 1fr; }
  .pro-aside, .gallery-aside { display: none; }
  .gallery-shell { grid-template-columns: 1fr; }
  .gallery-cards { grid-template-columns: 1fr 1fr; }
  .workflow-preview .gallery-stage,
  .workflow-preview .gallery-shell {
    flex: none;
    min-height: auto;
    height: auto;
  }
  .workflow-preview .gallery-cards {
    flex: none;
    grid-template-rows: none;
    align-content: start;
  }
  .workflow-preview .gallery-card {
    min-height: 72px;
    height: auto;
  }
  .pro-kpis { grid-template-columns: 1fr 1fr; }
  .pro-panels { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .first-screen { margin-top: -72px; padding-top: 72px; }
  .first-screen__content { padding: 18px 0 40px; }
  .hero-title { font-size: clamp(28px, 8.2vw, 40px); }
  .pro-stage__chrome { grid-template-columns: auto 1fr; }
  .pro-stage__status { display: none; }
  .workflow-steps { grid-template-columns: 1fr; }
}
