/* PageX 官网 — 对齐客户端暗色主题 */

.site {
  --site-bg: #111111;
  --site-surface: #1a1a1a;
  --site-surface-2: #242424;
  --site-ink: #f0f0f0;
  --site-muted: #8a8a8a;
  --site-accent: #c8f31d;
  --site-accent-2: #a8d616;
  --site-accent-3: #d4f53a;
  --site-accent-soft: rgba(200, 243, 29, 0.12);
  --site-line: rgba(255, 255, 255, 0.08);
  --site-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  --site-shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --site-radius: 6px;
  --site-radius-lg: 8px;
  --site-font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --site-font-body: 'Inter', system-ui, sans-serif;
  --site-tracking-tight: 0.02em;
  --site-tracking-normal: 0.03em;
  --site-tracking-wide: 0.04em;
  --site-tracking-display: 0.05em;
  --site-max: 1180px;
  --site-gutter: 20px;
  --site-container: min(var(--site-max), calc(100% - var(--site-gutter) * 2));
  --site-header-top: 14px;
  --site-header-padding: 10px;
  --site-header-bar-height: 56px;
  --site-header-offset: calc(var(--site-header-top) + var(--site-header-bar-height));
  font-family: var(--site-font-body);
  color: var(--site-ink);
  background: var(--site-bg);
  -webkit-font-smoothing: antialiased;
}

.site-page {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  padding-top: var(--site-header-offset);
  background:
    radial-gradient(700px 400px at 85% -5%, rgba(200, 243, 29, 0.06), transparent 60%),
    radial-gradient(500px 300px at 5% 20%, rgba(200, 243, 29, 0.04), transparent 55%),
    linear-gradient(180deg, #131313 0%, #111111 50%, #0e0e0e 100%);
}

/* —— Standalone pages (no header/footer) —— */
.site-standalone .site-page {
  padding-top: 0;
}

.site-standalone-main {
  position: relative;
  z-index: 1;
  width: var(--site-container);
  margin: 0 auto;
  padding: clamp(48px, 12vh, 96px) 0 48px;
}

.site-standalone .page-hero {
  padding-top: 0;
}

.site.site-home {
  background: var(--site-home-hero-bg, #1a1a1a);
}

.site-home .site-page {
  --site-home-hero-bg: #1a1a1a;
  --home-section-gap: clamp(96px, 14vh, 136px);
  --home-block-gap: calc(var(--home-section-gap) * 1.6);
  --home-section-head-gap: clamp(56px, 8vh, 80px);
  background: #0a0a0a;
  overflow-x: clip;
  overflow-y: visible;
}

.site-home .site-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  background: var(--site-home-hero-bg);
  border-bottom: 1px solid var(--site-line);
}

.site-home .site-mesh,
.site-home .site-grid {
  display: none;
}

.site-page .glow,
.site-page .glow-a,
.site-page .glow-b {
  display: none;
}

/* —— Ambient background —— */
.site-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 22s ease-in-out infinite;
}

.site-mesh-orb--1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(200, 243, 29, 0.08), transparent 68%);
}

.site-mesh-orb--2 {
  width: 440px;
  height: 440px;
  top: 8%;
  right: -100px;
  background: radial-gradient(circle, rgba(200, 243, 29, 0.06), transparent 68%);
  animation-delay: -8s;
}

.site-mesh-orb--3 {
  width: 380px;
  height: 380px;
  bottom: 10%;
  left: 30%;
  background: radial-gradient(circle, rgba(200, 243, 29, 0.05), transparent 68%);
  animation-delay: -14s;
}

.site-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 75%);
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: var(--site-header-top);
  left: 0;
  right: 0;
  z-index: 70;
  animation: siteRise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--site-container);
  margin: 0 auto;
  padding: var(--site-header-padding);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: rgba(26, 26, 26, 0.78);
  -webkit-backdrop-filter: blur(36px) saturate(1.25);
  backdrop-filter: blur(36px) saturate(1.25);
  box-shadow: var(--site-shadow);
  pointer-events: auto;
}

.site-home .site-header-inner {
  background: rgba(26, 26, 26, 0.58);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.site-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--site-ink);
  text-decoration: none;
}

.site-logo.campaign-brand,
.site-logo.live-brand,
.site-logo.terms-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.site-logo-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: var(--site-radius);
  object-fit: contain;
  flex-shrink: 0;
}

.site-logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.site-logo-text {
  font-family: var(--site-font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: var(--site-tracking-tight);
  line-height: 1;
}

.site-logo-sep {
  width: 1px;
  height: 1em;
  background: rgba(138, 138, 138, 0.45);
  flex-shrink: 0;
}

.site-logo-cn {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--site-muted);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.site-nav-link {
  padding: 10px 15px;
  border-radius: var(--site-radius);
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav-link:hover {
  color: var(--site-ink);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav-link.is-active {
  color: var(--site-accent);
  background: var(--site-accent-soft);
}

.site-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: var(--site-radius);
  background: var(--site-accent);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.site-header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  color: var(--site-ink);
  cursor: pointer;
}

.site-menu-toggle svg {
  width: 18px;
  height: 18px;
}

.site-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: calc(var(--site-header-offset) + 16px) 20px 24px;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(24px);
}

.site-mobile-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-mobile-nav a {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  color: var(--site-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.site-mobile-nav a.is-active {
  color: var(--site-accent);
  border-color: rgba(200, 243, 29, 0.25);
  background: var(--site-accent-soft);
}

/* —— Main —— */
.site-main {
  position: relative;
  z-index: 1;
  width: var(--site-container);
  margin: 0 auto;
  padding: 0 0 100px;
}

.site-home .site-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.site-section {
  margin-top: 96px;
}

.site-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-line);
  background: var(--site-surface-2);
  color: var(--site-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--site-accent);
  box-shadow: 0 0 10px rgba(200, 243, 29, 0.4);
}

.site-title {
  margin: 0 0 18px;
  font-family: var(--site-font-display);
  font-size: clamp(38px, 6.5vw, 60px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.1;
}

.site-lead {
  margin: 0;
  max-width: 30em;
  color: var(--site-muted);
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.7;
}

.site-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--site-radius);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    opacity 0.18s ease;
}

.site-btn:active {
  transform: translateY(1px) scale(0.99);
}

.site-btn-primary {
  background: var(--site-accent);
  color: #111;
  box-shadow: none;
}

.site-btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(200, 243, 29, 0.2);
}

.site-btn-ghost {
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  color: var(--site-ink);
  box-shadow: none;
}

.site-btn-ghost:hover {
  border-color: rgba(200, 243, 29, 0.3);
  background: var(--site-surface-2);
  box-shadow: none;
}

.site-btn.is-disabled,
.site-btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* —— Gradient text —— */
.site-gradient-text {
  background: linear-gradient(135deg, var(--site-accent) 0%, var(--site-accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Placeholders —— */
.site-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: var(--site-surface);
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: var(--site-shadow);
}

.site-placeholder::before,
.site-placeholder::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

.site-placeholder::before {
  width: 50%;
  height: 60%;
  left: -5%;
  top: -15%;
  background: rgba(200, 243, 29, 0.12);
  animation: placeholderDrift 16s ease-in-out infinite;
}

.site-placeholder::after {
  width: 42%;
  height: 50%;
  right: -5%;
  bottom: -10%;
  background: rgba(200, 243, 29, 0.08);
  animation: placeholderDrift 20s ease-in-out infinite reverse;
}

.site-placeholder-label {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-line);
  background: var(--site-surface-2);
  backdrop-filter: blur(8px);
}

.site-placeholder-hero {
  width: 100%;
  min-height: clamp(300px, 46vw, 540px);
  border-radius: var(--site-radius-lg);
  box-shadow: var(--site-shadow-lg);
  animation: siteRise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both,
    heroFloat 9s ease-in-out 1.2s infinite;
}

.site-placeholder-feature {
  width: 100%;
  min-height: clamp(220px, 30vw, 340px);
  border-radius: var(--site-radius);
}

/* —— Home page (creative layout) —— */
.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--site-header-offset));
  padding: clamp(32px, 6vh, 72px) 0 clamp(24px, 4vh, 40px);
  overflow: hidden;
  background: transparent;
  animation: siteRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 960px) {
  .home-hero {
    padding-top: clamp(24px, 4vh, 48px);
    padding-bottom: clamp(24px, 4vh, 48px);
    justify-content: center;
  }
}

.home-hero-watermark {
  position: absolute;
  top: 6%;
  right: -4%;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.home-hero-watermark-svg {
  display: block;
  height: 0.85em;
  width: auto;
  aspect-ratio: 430 / 108;
  overflow: visible;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  width: var(--site-container);
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 960px) {
  .home-hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-rows: auto auto;
    gap: 32px 48px;
    align-items: center;
  }

  .home-hero-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .home-hero-grid > .home-actions {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 0;
  }

  .home-hero-visual {
    grid-column: 2;
    grid-row: 1 / -1;
  }
}

.home-hero-copy {
  max-width: 520px;
}

.home-headline {
  margin: 0 0 20px;
  font-family: var(--site-font-display);
  font-size: clamp(44px, 5.8vw, 76px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.14;
}

.home-headline-line {
  display: block;
  white-space: nowrap;
}

.home-headline-accent {
  color: var(--site-accent);
}

.home-desc {
  margin: 0;
  max-width: 28em;
  color: var(--site-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.75;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-hero .home-actions .site-btn {
  font-size: 18px;
}

.home-close .home-actions .site-btn {
  font-size: 18px;
}

.home-hero-visual {
  position: relative;
  width: min(640px, 100%);
  margin: 0 auto;
}

@media (min-width: 960px) {
  .home-hero-visual {
    margin: 0 0 0 auto;
    transform: translateY(24px);
  }
}

.home-hero-visual-glow {
  position: absolute;
  inset: 10% -10% -5%;
  background: radial-gradient(circle, rgba(200, 243, 29, 0.1), transparent 68%);
  filter: blur(50px);
  z-index: 0;
}

/* —— Home product demo (CSS animation) —— */
.home-demo {
  --demo-cycle: 14s;
  --demo-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-lg);
  overflow: hidden;
}

.home-demo-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.home-demo-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--site-line);
  background: rgba(17, 17, 17, 0.72);
}

.home-demo-traffic {
  display: inline-flex;
  gap: 5px;
}

.home-demo-traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.home-demo-traffic i:nth-child(1) {
  background: #ff5f57;
}

.home-demo-traffic i:nth-child(2) {
  background: #febc2e;
}

.home-demo-traffic i:nth-child(3) {
  background: #28c840;
}

.home-demo-title {
  flex: 1;
  min-width: 0;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-demo-chip {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(200, 243, 29, 0.35);
  background: var(--site-accent-soft);
  color: var(--site-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-demo-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 85% 0%, rgba(200, 243, 29, 0.07), transparent 60%),
    linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
}

.home-demo-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2.4vw, 18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

.home-demo-scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-demo-scene--templates,
.home-demo-scene--faces,
.home-demo-scene--layout,
.home-demo-scene--export {
  animation: none;
  animation-delay: 0s;
}

.home-demo-caption {
  margin: 0;
  color: var(--site-ink);
  font-family: var(--site-font-display);
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-demo-scene--layout > .home-demo-caption,
.home-demo-scene--export > .home-demo-caption {
  margin-bottom: 10px;
  flex-shrink: 0;
}

.home-demo-scene-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* Scene 1: templates — dense library grid */
.home-demo-filters {
  display: inline-flex;
  gap: 4px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.home-demo-filter {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-demo-filter.is-on {
  background: var(--site-accent);
  color: #111;
}

.home-demo-tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.home-demo-tpl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}

.home-demo-scene.is-active .home-demo-tpl {
  animation: homeDemoTplIn 0.55s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.home-demo-scene.is-active .home-demo-tpl--1 { animation-delay: 0.04s; }
.home-demo-scene.is-active .home-demo-tpl--2 { animation-delay: 0.08s; }
.home-demo-scene.is-active .home-demo-tpl--3 { animation-delay: 0.12s; }
.home-demo-scene.is-active .home-demo-tpl--4 { animation-delay: 0.16s; }
.home-demo-scene.is-active .home-demo-tpl--5 { animation-delay: 0.2s; }
.home-demo-scene.is-active .home-demo-tpl--6 { animation-delay: 0.24s; }
.home-demo-scene.is-active .home-demo-tpl--7 { animation-delay: 0.28s; }
.home-demo-scene.is-active .home-demo-tpl--8 { animation-delay: 0.32s; }

.home-demo-tpl--1,
.home-demo-tpl--2,
.home-demo-tpl--3,
.home-demo-tpl--4,
.home-demo-tpl--5,
.home-demo-tpl--6,
.home-demo-tpl--7,
.home-demo-tpl--8 {
  animation-delay: 0s;
}

.home-demo-tpl-preview {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 0;
  gap: 3px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid var(--site-line);
  background: #121212;
  overflow: hidden;
}

.home-demo-tpl-preview i {
  display: block;
  border-radius: 2px;
  background: #2a2a2a;
}

.home-demo-tpl--1 .home-demo-tpl-preview,
.home-demo-tpl--4 .home-demo-tpl-preview,
.home-demo-tpl--5 .home-demo-tpl-preview,
.home-demo-tpl--8 .home-demo-tpl-preview {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
}

.home-demo-tpl--1 .home-demo-tpl-preview i:nth-child(1),
.home-demo-tpl--4 .home-demo-tpl-preview i:nth-child(1),
.home-demo-tpl--5 .home-demo-tpl-preview i:nth-child(1),
.home-demo-tpl--8 .home-demo-tpl-preview i:nth-child(1) {
  grid-row: 1 / 3;
}

.home-demo-tpl--2 .home-demo-tpl-preview,
.home-demo-tpl--6 .home-demo-tpl-preview {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 0.8fr;
}

.home-demo-tpl--2 .home-demo-tpl-preview i:nth-child(1),
.home-demo-tpl--6 .home-demo-tpl-preview i:nth-child(1) {
  grid-column: 1 / -1;
}

.home-demo-tpl--3 .home-demo-tpl-preview,
.home-demo-tpl--7 .home-demo-tpl-preview {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 0.7fr;
}

.home-demo-tpl--3 .home-demo-tpl-preview i:nth-child(1),
.home-demo-tpl--7 .home-demo-tpl-preview i:nth-child(1) {
  grid-column: 1 / -1;
}

.home-demo-tpl-name {
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.home-demo-tpl--active {
  border: 0;
  background: transparent;
  box-shadow: none;
  z-index: 1;
}

.home-demo-scene.is-active .home-demo-tpl--active {
  animation-name: homeDemoTplActive;
}

.home-demo-tpl--active .home-demo-tpl-preview {
  outline: 1.5px solid rgba(255, 255, 255, 0.55);
  outline-offset: 0;
}

.home-demo-tpl--active .home-demo-tpl-name {
  color: var(--site-ink);
}

.home-demo-tpl-check {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--site-accent);
  box-shadow: none;
  opacity: 0;
  transform: scale(0.5);
}

.home-demo-scene.is-active .home-demo-tpl-check {
  animation: homeDemoTplCheck 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) 0.45s forwards;
}

.home-demo-tpl-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 7px;
  border: solid #111;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Scene 2: faces */
.home-demo-faces-stat {
  color: var(--site-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.home-demo-faces-stat b {
  color: var(--site-accent);
  font-weight: 700;
}

.home-demo-faces-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(8px, 1.6vw, 12px);
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.home-demo-photo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  height: 100%;
  min-height: 0;
}

.home-demo-photo {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.35;
  transform: scale(0.96);
}

.home-demo-scene.is-active .home-demo-photo {
  animation: homeDemoPhotoPulse 0.5s var(--demo-ease) forwards;
}

.home-demo-photo--a {
  background: linear-gradient(145deg, #2e2e2e, #1a1a1a);
}
.home-demo-photo--b {
  background: linear-gradient(145deg, #333333, #1c1c1c);
}
.home-demo-photo--c {
  background: linear-gradient(145deg, #2a2a2a, #181818);
}
.home-demo-photo--d {
  background: linear-gradient(145deg, #353535, #1e1e1e);
}
.home-demo-photo--e {
  background: linear-gradient(145deg, #2c2c2c, #191919);
}
.home-demo-photo--f {
  background: linear-gradient(145deg, #303030, #1b1b1b);
}
.home-demo-photo--g {
  background: linear-gradient(145deg, #282828, #171717);
}
.home-demo-photo--h {
  background: linear-gradient(145deg, #323232, #1d1d1d);
}
.home-demo-photo--i {
  background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
}

.home-demo-scene.is-active .home-demo-photo--a { animation-delay: 0.04s; }
.home-demo-scene.is-active .home-demo-photo--b { animation-delay: 0.08s; }
.home-demo-scene.is-active .home-demo-photo--c { animation-delay: 0.12s; }
.home-demo-scene.is-active .home-demo-photo--d { animation-delay: 0.16s; }
.home-demo-scene.is-active .home-demo-photo--e { animation-delay: 0.2s; }
.home-demo-scene.is-active .home-demo-photo--f { animation-delay: 0.24s; }
.home-demo-scene.is-active .home-demo-photo--g { animation-delay: 0.28s; }
.home-demo-scene.is-active .home-demo-photo--h { animation-delay: 0.32s; }
.home-demo-scene.is-active .home-demo-photo--i { animation-delay: 0.36s; }

.home-demo-facebox {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 42%;
  height: 48%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  box-shadow: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.home-demo-scene.is-active .home-demo-facebox {
  animation: homeDemoFaceBox 0.55s var(--demo-ease) 0.28s forwards;
}

.home-demo-groups {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.home-demo-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 0;
  min-height: 0;
  padding: 0 8px;
  border: 1px solid var(--site-line);
  border-radius: 5px;
  background: rgba(26, 26, 26, 0.88);
  opacity: 0;
  transform: translateX(10px);
}

.home-demo-scene.is-active .home-demo-group {
  animation: homeDemoGroupIn 0.45s var(--demo-ease) forwards;
}

.home-demo-scene.is-active .home-demo-group:nth-child(1) { animation-delay: 0.28s; }
.home-demo-scene.is-active .home-demo-group:nth-child(2) { animation-delay: 0.36s; }
.home-demo-scene.is-active .home-demo-group:nth-child(3) { animation-delay: 0.44s; }
.home-demo-scene.is-active .home-demo-group:nth-child(4) { animation-delay: 0.52s; }
.home-demo-scene.is-active .home-demo-group:nth-child(5) { animation-delay: 0.6s; }
.home-demo-scene.is-active .home-demo-group:nth-child(6) { animation-delay: 0.68s; }
.home-demo-scene.is-active .home-demo-group:nth-child(7) { animation-delay: 0.76s; }

.home-demo-group:nth-child(1),
.home-demo-group:nth-child(2),
.home-demo-group:nth-child(3),
.home-demo-group:nth-child(4),
.home-demo-group:nth-child(5),
.home-demo-group:nth-child(6),
.home-demo-group:nth-child(7) {
  animation-delay: 0s;
}

.home-demo-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #2a2a2a;
  color: var(--site-muted);
  flex-shrink: 0;
}

.home-demo-avatar svg {
  width: 13px;
  height: 13px;
}

.home-demo-avatar--more {
  color: var(--site-muted);
  font-size: 9px;
  font-weight: 700;
}

.home-demo-group-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  line-height: 1.2;
}

.home-demo-group-meta b {
  color: var(--site-ink);
  font-size: 10px;
  font-weight: 650;
}

.home-demo-group-meta small {
  color: var(--site-muted);
  font-size: 9px;
}

/* Scene 3: layout */
.home-demo-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
  padding: 2px 0 0;
}

.home-demo-page {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: #121212;
  min-height: 0;
}

.home-demo-page--left {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1.2fr 0.8fr;
}

.home-demo-page--left .home-demo-slot--lg {
  grid-row: 1 / 3;
}

.home-demo-page--right {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 0.85fr;
}

.home-demo-page--right .home-demo-slot--wide {
  grid-column: 1 / -1;
}

.home-demo-slot {
  display: block;
  border-radius: 3px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transform: scale(0.98);
}

.home-demo-scene.is-active .home-demo-slot {
  animation: homeDemoSlotFill 0.5s var(--demo-ease) forwards;
}

.home-demo-scene.is-active .home-demo-page--left .home-demo-slot:nth-child(1) { animation-delay: 0.12s; }
.home-demo-scene.is-active .home-demo-page--left .home-demo-slot:nth-child(2) { animation-delay: 0.24s; }
.home-demo-scene.is-active .home-demo-page--left .home-demo-slot:nth-child(3) { animation-delay: 0.36s; }
.home-demo-scene.is-active .home-demo-page--right .home-demo-slot:nth-child(1) { animation-delay: 0.44s; }
.home-demo-scene.is-active .home-demo-page--right .home-demo-slot:nth-child(2) { animation-delay: 0.56s; }
.home-demo-scene.is-active .home-demo-page--right .home-demo-slot:nth-child(3) { animation-delay: 0.68s; }

.home-demo-page--left .home-demo-slot:nth-child(1),
.home-demo-page--left .home-demo-slot:nth-child(2),
.home-demo-page--left .home-demo-slot:nth-child(3),
.home-demo-page--right .home-demo-slot:nth-child(1),
.home-demo-page--right .home-demo-slot:nth-child(2),
.home-demo-page--right .home-demo-slot:nth-child(3) {
  animation-delay: 0s;
}

/* Scene 4: export — polished success UI */
.home-demo-export {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  flex: 1;
  min-height: 0;
  align-items: center;
}

.home-demo-export-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  min-height: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-demo-export-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 90%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(32px);
  opacity: 0.2;
  transform: translate(-50%, -50%) scale(0.9);
}

.home-demo-scene.is-active .home-demo-export-glow {
  animation: homeDemoExportGlow 0.8s ease-in-out forwards;
}

.home-demo-export-book {
  position: relative;
  width: clamp(118px, 16vw, 156px);
  height: clamp(168px, 23vw, 220px);
  z-index: 1;
  opacity: 0.5;
  transform: translateY(8px) scale(0.92);
}

.home-demo-scene.is-active .home-demo-export-book {
  animation: homeDemoBookPop 0.7s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.home-demo-export-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px 14px 16px 22px;
  border-radius: 5px 10px 10px 5px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 55%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    12px 18px 36px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-demo-export-year {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-demo-export-title {
  color: #f5f5f5;
  font-family: var(--site-font-display);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.home-demo-export-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 600;
}

.home-demo-export-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 11px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(180deg, #4a4a4a, #2a2a2a);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.home-demo-export-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--site-accent);
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.4);
}

.home-demo-scene.is-active .home-demo-export-badge {
  animation: homeDemoExportBadge 0.5s cubic-bezier(0.34, 1.5, 0.64, 1) 0.45s forwards;
}

.home-demo-export-badge svg {
  width: 16px;
  height: 16px;
}

.home-demo-export-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--site-line);
  background: rgba(18, 18, 18, 0.92);
}

.home-demo-export-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(200, 243, 29, 0.35);
  background: rgba(200, 243, 29, 0.1);
  color: var(--site-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(4px);
}

.home-demo-scene.is-active .home-demo-export-status {
  animation: homeDemoExportDone 0.45s var(--demo-ease) 0.35s forwards;
}

.home-demo-export-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--site-accent);
}

.home-demo-export-metrics {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-demo-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
}

.home-demo-metric + .home-demo-metric {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-demo-scene.is-active .home-demo-metric {
  animation: homeDemoMetricIn 0.45s var(--demo-ease) forwards;
}

.home-demo-scene.is-active .home-demo-metric:nth-child(1) { animation-delay: 0.4s; }
.home-demo-scene.is-active .home-demo-metric:nth-child(2) { animation-delay: 0.5s; }
.home-demo-scene.is-active .home-demo-metric:nth-child(3) { animation-delay: 0.6s; }

.home-demo-metric:nth-child(2),
.home-demo-metric:nth-child(3) {
  animation-delay: 0s;
}

.home-demo-metric-label {
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.home-demo-metric-value {
  color: var(--site-ink);
  font-family: var(--site-font-display);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  white-space: nowrap;
}

.home-demo-metric-value span {
  margin-left: 2px;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 600;
}

.home-demo-metric-value--warn {
  color: var(--site-ink);
}

.home-demo-metric-value--accent {
  color: var(--site-accent);
}

.home-demo-metric-value--accent .home-demo-quota-before {
  display: inline;
  margin-right: 6px;
  color: var(--site-muted);
  font-style: normal;
  font-size: 0.78em;
  font-weight: 600;
  text-decoration: line-through;
  opacity: 0;
}

.home-demo-scene.is-active .home-demo-quota-before {
  animation: homeDemoQuotaStrike 0.4s var(--demo-ease) 0.7s forwards;
}

.home-demo-metric-value--accent .home-demo-quota-after {
  font-style: normal;
  opacity: 0;
}

.home-demo-scene.is-active .home-demo-quota-after {
  animation: homeDemoQuotaAfter 0.4s var(--demo-ease) 0.85s forwards;
}

.home-demo-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.home-demo-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--site-accent);
  box-shadow: none;
}

.home-demo-scene.is-active .home-demo-progress-bar {
  animation: homeDemoProgress 1.2s var(--demo-ease) 0.25s forwards;
}

.home-demo-export-note {
  margin: 0;
  color: var(--site-muted);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(4px);
}

.home-demo-scene.is-active .home-demo-export-note {
  animation: homeDemoExportDone 0.4s var(--demo-ease) 0.55s forwards;
}

/* Step indicators */
.home-demo-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 10px);
  flex-shrink: 0;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--site-line);
  background: rgba(17, 17, 17, 0.55);
}

.home-demo-step {
  position: relative;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.home-demo-step:hover {
  color: rgba(255, 255, 255, 0.7);
}

.home-demo-step:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.home-demo-step.is-active {
  color: #111;
  background: #f0f0f0;
}

.home-demo-step--0,
.home-demo-step--1,
.home-demo-step--2,
.home-demo-step--3 {
  animation: none;
  animation-delay: 0s;
}

@media (max-width: 959px) {
  .site.site-home {
    background: #0a0a0a;
  }

  .site-home .site-page::before {
    display: none;
  }

  .home-hero {
    min-height: 0;
    padding: 0;
    justify-content: flex-start;
    background: transparent;
    border-bottom: 0;
  }

  .home-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    min-height: 0;
    max-height: none;
    padding-top: var(--home-section-gap);
    padding-bottom: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  .home-hero-copy {
    max-width: none;
    flex-shrink: 0;
  }

  .home-hero-copy .site-kicker {
    display: none;
  }

  .home-hero .home-headline {
    margin-bottom: 14px;
    font-size: clamp(40px, 10.8vw, 52px);
    line-height: 1.18;
    letter-spacing: 0.01em;
  }

  .home-hero .home-headline-line {
    white-space: nowrap;
  }

  .home-hero .home-desc {
    margin: 0;
    max-width: 22em;
    font-size: 16px;
    line-height: 1.65;
  }

  .home-hero-visual {
    display: none;
  }

  .home-demo {
    display: none;
  }

  .home-hero-grid > .home-actions {
    width: 100%;
    margin-top: 0;
    margin-bottom: clamp(28px, 5.5vh, 40px);
    gap: 12px;
    flex-shrink: 0;
  }
}

.home-highlights-group {
  width: var(--site-container);
  margin: 0 auto;
}

.home-highlights-head {
  max-width: 40rem;
  margin: 0 auto var(--home-section-head-gap);
  text-align: center;
}

.home-highlights-title {
  margin: 0 0 16px;
  font-family: var(--site-font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.12;
}

.home-highlights-lead {
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
}

.home-highlights {
  width: 100%;
  margin: 0 auto;
}

.home-highlights + .home-highlights {
  margin-top: var(--home-block-gap);
}

.home-highlights-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.7fr);
  grid-template-areas: "visual copy";
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

.home-highlights--flip .home-highlights-inner {
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.35fr);
  grid-template-areas: "copy visual";
}

.home-highlights-visual {
  grid-area: visual;
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 36px);
  border-radius: var(--site-radius-lg);
  background:
    radial-gradient(ellipse 90% 80% at 18% 12%, rgba(200, 243, 29, 0.16), transparent 52%),
    radial-gradient(ellipse 70% 55% at 92% 88%, rgba(200, 243, 29, 0.07), transparent 58%),
    linear-gradient(165deg, #2c2c2c 0%, #1b1b1b 48%, #141414 100%);
}

.home-highlights-stage {
  position: relative;
  width: 100%;
  overflow: visible;
  aspect-ratio: 960 / 720;
}

.home-highlights-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border: 10px solid #111;
  border-radius: 12px;
  background: #161616;
  color: var(--site-muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

img.home-highlights-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  color: transparent;
  font-size: 0;
}

.home-highlights-proof {
  display: block;
  overflow: visible;
  border: 0;
  background: transparent;
}

.home-highlights-proof-compose {
  position: relative;
  z-index: 1;
  width: 86%;
  max-height: 86%;
  line-height: 0;
}

.home-highlights-proof-desktop-wrap {
  line-height: 0;
}

.home-highlights-proof-desktop {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: left top;
  box-sizing: border-box;
  border: 8px solid #111;
  border-radius: 12px;
  background: #111;
}

.home-highlights-proof-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 28%;
  aspect-ratio: 471 / 1024;
  height: auto;
  max-height: 72%;
  object-fit: cover;
  object-position: top center;
  border: 5px solid #111;
  border-radius: 18px;
  background: #111;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 10px 20px rgba(0, 0, 0, 0.5),
    0 24px 48px rgba(0, 0, 0, 0.58),
    0 40px 72px rgba(0, 0, 0, 0.42);
}

.home-highlights-inner:not(:has(.home-highlights-item:hover)) .home-highlights-image:nth-child(1),
.home-highlights-inner:has(.home-highlights-item:nth-child(1):hover) .home-highlights-image:nth-child(1),
.home-highlights-inner:has(.home-highlights-item:nth-child(2):hover) .home-highlights-image:nth-child(2),
.home-highlights-inner:has(.home-highlights-item:nth-child(3):hover) .home-highlights-image:nth-child(3) {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.home-highlights-copy {
  grid-area: copy;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-highlights-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-highlights-item {
  margin: 0;
  padding: 24px;
  border-radius: var(--site-radius-lg);
  cursor: pointer;
  transition: background 0.18s ease;
}

.home-highlights-item:hover,
.home-highlights-list:not(:hover) .home-highlights-item.is-active {
  background: var(--site-surface-2);
}

.home-highlights-item h3 {
  margin: 0 0 10px;
  color: var(--site-ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.home-highlights-item p {
  margin: 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.7;
}

.home-highlights-cta {
  align-self: flex-start;
  width: auto;
  margin-left: 24px;
  gap: 0.5em;
  min-height: 56px;
  padding: 0 30px 0 28px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.home-highlights-cta-label {
  font-weight: 700;
}

.home-highlights-cta-arrow {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.35em;
  height: 1.35em;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-highlights-cta-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-highlights-cta:hover .home-highlights-cta-arrow {
  opacity: 1;
  transform: translateX(0.12em);
}

.home-highlights-dots {
  display: none;
}

.home-highlights.is-carousel .home-highlights-carousel-viewport,
.home-highlights.is-carousel .home-highlights-media-viewport {
  overflow: hidden;
  width: 100%;
}

.home-highlights.is-carousel .home-highlights-list,
.home-highlights.is-carousel .home-highlights-stage {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-bottom: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-highlights.is-carousel .home-highlights-item,
.home-highlights.is-carousel .home-highlights-stage > .home-highlights-image {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.home-highlights.is-carousel .home-highlights-item {
  padding: 4px 0 0;
  background: transparent;
  cursor: default;
}

.home-highlights.is-carousel .home-highlights-item:hover,
.home-highlights.is-carousel .home-highlights-item.is-active {
  background: transparent;
}

.home-highlights.is-carousel .home-highlights-stage {
  aspect-ratio: auto;
}

.home-highlights.is-carousel .home-highlights-stage > .home-highlights-image {
  position: relative;
  inset: auto;
  height: auto;
  aspect-ratio: 960 / 720;
  opacity: 1;
  pointer-events: auto;
  overflow: hidden;
}

.home-highlights.is-carousel .home-highlights-proof {
  overflow: hidden;
}

.home-highlights.is-carousel .home-highlights-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 4px;
}

.home-highlights-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    width 0.22s ease,
    background 0.22s ease;
}

.home-highlights-dot.is-active {
  width: 22px;
  background: var(--site-accent);
}

.home-highlights-dot:focus-visible {
  outline: 2px solid rgba(200, 243, 29, 0.45);
  outline-offset: 2px;
}

@media (max-width: 959px) {
  .home-highlights-head {
    max-width: none;
    text-align: left;
  }

  .home-highlights-title {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  .home-highlights-inner,
  .home-highlights--flip .home-highlights-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "copy";
    gap: 24px;
    align-items: stretch;
  }

  .home-highlights-visual {
    padding: 16px;
  }

  .home-highlights-image {
    border-width: 8px;
    border-radius: 10px;
  }

  .home-highlights-proof-compose {
    width: 84%;
    max-height: 84%;
  }

  .home-highlights-proof-desktop {
    border-width: 6px;
  }

  .home-highlights-proof-mobile {
    width: 30%;
    max-height: 68%;
    border-width: 4px;
    border-radius: 14px;
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.45),
      0 8px 16px rgba(0, 0, 0, 0.5),
      0 20px 40px rgba(0, 0, 0, 0.55);
  }

  .home-highlights-copy {
    display: block;
  }

  .home-highlights-list {
    margin-bottom: 20px;
  }

  .home-highlights-item {
    padding: 24px;
  }

  .home-highlights.is-carousel .home-highlights-item {
    padding: 4px 0 0;
  }

  .home-highlights-cta {
    display: none;
  }

  .home-highlights + .home-highlights {
    margin-top: clamp(64px, 12vw, 96px);
  }
}

.home-flow-head {
  max-width: 40rem;
  margin: 0 auto var(--home-section-head-gap);
  text-align: center;
}

.home-flow-title {
  margin: 0 0 16px;
  font-family: var(--site-font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.12;
}

.home-flow-lead {
  margin: 0;
  color: var(--site-muted);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
}

@media (max-width: 959px) {
  .home-flow-head {
    max-width: none;
    text-align: left;
  }

  .home-flow-title {
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-wrap: balance;
  }

  .home-flow-lead {
    max-width: 28em;
    font-size: 15px;
    line-height: 1.7;
    text-wrap: pretty;
  }
}

.home-section-divider {
  width: var(--site-container);
  margin: var(--home-block-gap) auto;
  border: 0;
  border-top: 1px solid var(--site-line);
}

@media (max-width: 959px) {
  .site-home .site-page {
    --home-section-gap: clamp(88px, 13vh, 120px);
    --home-block-gap: clamp(64px, 11vh, 80px);
    --home-section-head-gap: clamp(60px, 10vh, 76px);
  }

  .home-section-divider {
    margin: clamp(64px, 12vw, 88px) auto;
  }
}

/* —— Home flow —— */
.home-flow {
  padding: 0;
  margin-top: var(--home-block-gap);
}

@media (max-width: 959px) {
  .home-flow {
    margin-top: clamp(56px, 10vh, 72px);
  }

  .home-flow-head {
    margin-bottom: clamp(24px, 4.5vh, 32px);
  }
}

.home-flow-inner {
  width: var(--site-container);
  margin: 0 auto;
}

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

.home-flow-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
  padding: 24px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.home-flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--site-accent);
  font-family: var(--site-font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.4;
}

.home-flow-step-body h3 {
  margin: 0 0 8px;
  font-family: var(--site-font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: var(--site-tracking-tight);
}

.home-flow-step-body p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.home-flow-foot {
  margin: clamp(40px, 6vh, 56px) 0 0;
  text-align: center;
}

.home-flow-connector {
  display: none;
}

@media (min-width: 960px) {
  .home-flow-steps {
    grid-template-columns:
      minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    border-radius: var(--site-radius-lg);
    border: 1px solid var(--site-line);
    background: var(--site-surface);
    box-shadow: var(--site-shadow-lg);
  }

  .home-flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .home-flow-connector::before {
    content: '';
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 50%;
    width: 1px;
    background: var(--site-line);
    transform: translateX(-50%);
  }

  .home-flow-connector-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--site-line);
    border-radius: 50%;
    background: var(--site-bg);
    color: var(--site-accent);
    box-shadow: var(--site-shadow);
  }

  .home-flow-connector-icon svg {
    width: 16px;
    height: 16px;
  }

  .home-flow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: 220px;
    padding: 32px 18px 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }

  .home-flow-step:first-child {
    border-radius: var(--site-radius-lg) 0 0 var(--site-radius-lg);
    padding-left: 28px;
  }

  .home-flow-step:last-child {
    border-radius: 0 var(--site-radius-lg) var(--site-radius-lg) 0;
    padding-right: 28px;
  }

  .home-flow-step-num {
    display: block;
    width: 100%;
    margin-bottom: 24px;
    padding: 0;
    text-align: left;
    font-size: 48px;
    opacity: 0.4;
  }

  .home-flow-step-body {
    width: 100%;
    text-align: left;
  }

  .home-flow-step-body h3 {
    margin-top: 0;
    font-size: 22px;
  }

  .home-flow-step-body p {
    font-size: 15px;
  }
}

/* —— Home close CTA —— */
.home-close {
  width: var(--site-container);
  margin: 0 auto 0;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-lg);
  overflow: hidden;
}

.home-close-inner {
  display: grid;
  gap: 32px;
  padding: clamp(40px, 6vw, 64px);
}

@media (min-width: 800px) {
  .home-close-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
    padding: clamp(48px, 6vw, 72px) clamp(48px, 6vw, 72px);
  }
}

.home-close-title {
  margin: 0 0 12px;
  font-family: var(--site-font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.14;
  color: var(--site-ink);
}

.home-close-desc {
  margin: 0 0 28px;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.65;
}

.home-close-card {
  position: relative;
  min-height: 180px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface-2);
  overflow: hidden;
}

.home-close-card--gift {
  min-height: 200px;
  border-color: rgba(200, 243, 29, 0.28);
  background:
    radial-gradient(circle at 50% 50%, rgba(200, 243, 29, 0.12), transparent 62%),
    linear-gradient(180deg, #262626 0%, #1a1a1a 100%);
  box-shadow:
    var(--site-shadow-lg),
    0 0 48px rgba(200, 243, 29, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 800px) {
  .home-close-card--gift {
    min-height: 240px;
  }
}

.home-close-card-ribbon-v,
.home-close-card-ribbon-h {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(212, 245, 58, 0.9), rgba(168, 214, 22, 0.82));
  box-shadow: 0 0 18px rgba(200, 243, 29, 0.18);
}

.home-close-card-ribbon-v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
}

.home-close-card-ribbon-h {
  left: -8%;
  right: -8%;
  top: 50%;
  height: 28px;
  transform: translateY(-50%);
}

.home-close-card-bow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: clamp(132px, 38%, 184px);
  aspect-ratio: 160 / 130;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.38));
}

.home-close-card-bow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-close-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.home-close-card-tag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--site-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.2s ease;
}

.site-bridge-link:hover {
  gap: 10px;
}

.home-close-title-line {
  display: block;
  white-space: nowrap;
}

/* —— Inner page hero —— */
.page-hero {
  padding-top: clamp(40px, 8vh, 72px);
  margin-bottom: 48px;
  border-bottom: 1px solid var(--site-line);
  padding-bottom: 40px;
  animation: siteRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-title {
  margin: 0 0 14px;
  font-family: var(--site-font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-normal);
  line-height: 1.22;
}

.page-hero-lead {
  margin: 0;
  max-width: none;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* —— Features page —— */
.feature-block {
  display: grid;
  gap: 32px;
  margin-top: 56px;
  animation: siteRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: var(--site-radius);
  background: var(--site-accent-soft);
  color: var(--site-accent);
  font-family: var(--site-font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.feature-block-copy h2 {
  margin: 0 0 14px;
  font-family: var(--site-font-display);
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.16;
}

.feature-block-copy p {
  margin: 0;
  max-width: 32em;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 860px) {
  .feature-block {
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 64px;
  }

  .feature-block.is-reverse .feature-block-copy {
    order: 2;
  }

  .feature-block.is-reverse .feature-block-media {
    order: 1;
  }
}

.feature-cta {
  margin-top: 80px;
  padding: 48px 40px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  text-align: center;
  box-shadow: var(--site-shadow);
}

.feature-cta .site-cta-row {
  justify-content: center;
}

/* —— Pricing carousel —— */
.pricing-carousel {
  position: relative;
  margin-top: 8px;
  animation: siteRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.pricing-viewport {
  overflow: hidden;
  width: 100%;
}

.pricing-track {
  display: flex;
  gap: var(--pricing-gap, 16px);
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pricing-track::-webkit-scrollbar {
  display: none;
}

.pricing-track:focus {
  outline: none;
}

.pricing-track:focus-visible {
  outline: 2px solid rgba(200, 243, 29, 0.45);
  outline-offset: 4px;
  border-radius: var(--site-radius);
}

.pricing-card {
  position: relative;
  flex: 0 0 var(--pricing-card-width, 272px);
  width: var(--pricing-card-width, 272px);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px 24px 24px;
  border-radius: var(--site-radius-lg);
  color: var(--pricing-ink, #1e2630);
  background: linear-gradient(
    180deg,
    var(--pricing-bg-from, #f2f4f7),
    var(--pricing-bg-to, #d5dbe4)
  );
}

.pricing-card--theme-0 {
  --pricing-bg-from: #f2f4f7;
  --pricing-bg-to: #d5dbe4;
  --pricing-title: #3a4553;
  --pricing-ink: #1e2630;
  --pricing-muted: #6e7a88;
  --pricing-btn-from: #6a7584;
  --pricing-btn-to: #4a5562;
  --pricing-btn-hover-from: #7a8696;
  --pricing-btn-hover-to: #5a6572;
  --pricing-btn-text: #fff;
  --pricing-badge: #6a7584;
}

.pricing-card--theme-1 {
  --pricing-bg-from: #e8f0fa;
  --pricing-bg-to: #b8ceea;
  --pricing-title: #2a4a6e;
  --pricing-ink: #163552;
  --pricing-muted: #5a7898;
  --pricing-btn-from: #5a8bc4;
  --pricing-btn-to: #3a6a9e;
  --pricing-btn-hover-from: #6a9bd4;
  --pricing-btn-hover-to: #4a7aae;
  --pricing-btn-text: #fff;
  --pricing-badge: #5a8bc4;
}

.pricing-card--theme-2 {
  --pricing-bg-from: #e4f5f2;
  --pricing-bg-to: #a8d9d0;
  --pricing-title: #1f5c52;
  --pricing-ink: #134038;
  --pricing-muted: #4f8a7e;
  --pricing-btn-from: #3d9b8c;
  --pricing-btn-to: #287a6c;
  --pricing-btn-hover-from: #4dab9c;
  --pricing-btn-hover-to: #388a7c;
  --pricing-btn-text: #fff;
  --pricing-badge: #3d9b8c;
}

.pricing-card--theme-3 {
  --pricing-bg-from: #e6f8ec;
  --pricing-bg-to: #9bd9b0;
  --pricing-title: #1a5c32;
  --pricing-ink: #0f3d22;
  --pricing-muted: #4a8a60;
  --pricing-btn-from: #2db85a;
  --pricing-btn-to: #1a8f42;
  --pricing-btn-hover-from: #3dc86a;
  --pricing-btn-hover-to: #2a9f52;
  --pricing-btn-text: #fff;
  --pricing-badge: #2db85a;
}

.pricing-card--theme-4 {
  --pricing-bg-from: #f7ede0;
  --pricing-bg-to: #d4a878;
  --pricing-title: #6b3e18;
  --pricing-ink: #4a2a0e;
  --pricing-muted: #9a6e42;
  --pricing-btn-from: #c4843e;
  --pricing-btn-to: #9a5e28;
  --pricing-btn-hover-from: #d4944e;
  --pricing-btn-hover-to: #aa6e38;
  --pricing-btn-text: #fff;
  --pricing-badge: #c4843e;
}

.pricing-card--theme-5 {
  --pricing-bg-from: #f8e8ec;
  --pricing-bg-to: #e0a8b8;
  --pricing-title: #6e3040;
  --pricing-ink: #4a1e2a;
  --pricing-muted: #9a6070;
  --pricing-btn-from: #c86a82;
  --pricing-btn-to: #a44860;
  --pricing-btn-hover-from: #d87a92;
  --pricing-btn-hover-to: #b45870;
  --pricing-btn-text: #fff;
  --pricing-badge: #c86a82;
}

.pricing-card--theme-6 {
  --pricing-bg-from: #f8f0d8;
  --pricing-bg-to: #e0c070;
  --pricing-title: #6a5018;
  --pricing-ink: #4a3810;
  --pricing-muted: #9a8040;
  --pricing-btn-from: #d4a840;
  --pricing-btn-to: #b88820;
  --pricing-btn-hover-from: #e4b850;
  --pricing-btn-hover-to: #c89830;
  --pricing-btn-text: #2a2008;
  --pricing-badge: #d4a840;
}

.pricing-card--theme-7 {
  --pricing-bg-from: #3a3a3e;
  --pricing-bg-to: #141414;
  --pricing-title: #f0d890;
  --pricing-ink: #f8f0dc;
  --pricing-muted: #b8a878;
  --pricing-btn-from: #e8d090;
  --pricing-btn-to: #c8a850;
  --pricing-btn-hover-from: #f8e0a0;
  --pricing-btn-hover-to: #d8b860;
  --pricing-btn-text: #1e1808;
  --pricing-badge: #e8d090;
}

.pricing-card--gift {
  --pricing-bg-from: #f5f7fa;
  --pricing-bg-to: #e8ecf2;
  --pricing-title: #3a4553;
  --pricing-ink: #1e2630;
  --pricing-muted: #6e7a88;
  --pricing-btn-from: var(--site-accent);
  --pricing-btn-to: var(--site-accent-2);
  --pricing-btn-hover-from: var(--site-accent-3);
  --pricing-btn-hover-to: var(--site-accent);
  --pricing-btn-text: #1a1a1a;
  --pricing-badge: var(--site-accent);
}

.pricing-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 4px 8px;
  border-radius: var(--site-radius);
  background: var(--pricing-badge);
  color: var(--pricing-btn-text, #fff);
  font-size: 11px;
  font-weight: 700;
}

.pricing-card-head {
  flex-shrink: 0;
}

.pricing-card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding-top: 24px;
}

.pricing-card-name {
  margin: 0 0 10px;
  font-family: var(--site-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--pricing-title);
}

.pricing-card-pages {
  margin: 0;
  font-family: var(--site-font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  color: var(--pricing-ink);
}

.pricing-card-price {
  display: flex;
  align-items: flex-start;
  margin: 0 0 10px;
  line-height: 1;
  color: var(--pricing-ink);
}

.pricing-card-price.is-free {
  font-family: var(--site-font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
}

.pricing-card-price-symbol {
  margin-top: 8px;
  margin-right: 2px;
  font-family: var(--site-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.pricing-card-price-amount {
  font-family: var(--site-font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.pricing-card-unit,
.pricing-card-validity {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--pricing-muted);
}

.pricing-card-validity {
  margin-bottom: 18px;
}

.pricing-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--pricing-btn-text, #fff);
  background: linear-gradient(90deg, var(--pricing-btn-from), var(--pricing-btn-to));
  transition: background 0.15s ease, transform 0.15s ease;
}

.pricing-card-btn:hover {
  background: linear-gradient(
    90deg,
    var(--pricing-btn-hover-from),
    var(--pricing-btn-hover-to)
  );
  transform: translateY(-1px);
}

.pricing-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--site-line);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.92);
  color: var(--site-ink);
  box-shadow: var(--site-shadow);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.pricing-arrow--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.pricing-arrow--next {
  right: 0;
  transform: translate(50%, -50%);
}

.pricing-arrow--prev:hover {
  background: var(--site-surface-2);
  transform: translate(-50%, calc(-50% - 1px));
}

.pricing-arrow--next:hover {
  background: var(--site-surface-2);
  transform: translate(50%, calc(-50% - 1px));
}

.pricing-arrow svg {
  width: 20px;
  height: 20px;
}

.pricing-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.pricing-note {
  margin: 32px 0 0;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.65;
  max-width: 52em;
}

.pricing-empty {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: var(--site-surface);
  color: var(--site-muted);
  font-size: 15px;
  text-align: center;
}

/* —— Download —— */
.download-platforms {
  animation: siteRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.download-platforms-grid {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 720px) {
  .download-platforms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .download-platforms-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin: 0;
  }

  .download-platform-card.download-platform-card--pan {
    display: flex;
  }

  .download-pan-fallback {
    display: none;
  }
}

.download-pan-fallback {
  margin: 20px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.download-pan-fallback-link {
  color: var(--site-accent);
  font-weight: 600;
  text-decoration: none;
}

.download-pan-fallback-link:hover {
  text-decoration: underline;
}

.download-pan-fallback-link.is-disabled,
.download-pan-fallback-link[aria-disabled='true'] {
  color: var(--site-muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  text-decoration: none;
}

.download-pan-fallback-sep {
  margin: 0 6px;
  color: var(--site-line);
}

.download-platform-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: var(--site-surface);
  transition: border-color 0.2s ease;
}

.download-platform-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.download-platform-card--pan .download-platform-btn.site-btn-ghost:not(.is-disabled):not([aria-disabled='true']) {
  border-color: rgba(255, 255, 255, 0.12);
  background: var(--site-surface-2);
  color: var(--site-ink);
}

.download-platform-card--pan .download-platform-btn.site-btn-ghost:not(.is-disabled):not([aria-disabled='true']):hover {
  border-color: rgba(200, 243, 29, 0.3);
  background: var(--site-surface-2);
}

@media (max-width: 1023px) {
  .download-platform-card.download-platform-card--pan {
    display: none;
  }
}

.download-platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.download-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--site-surface-2);
  color: var(--site-ink);
}

.download-platform-icon svg {
  width: 22px;
  height: 22px;
}

.download-platform-head-text {
  min-width: 0;
}

.download-platform-title {
  margin: 0 0 4px;
  font-family: var(--site-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: var(--site-tracking-normal);
  line-height: 1.25;
}

.download-platform-tagline {
  margin: 0;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.4;
}

.download-platform-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 76px;
  margin: 0 0 24px;
  padding: 0;
}

.download-platform-detail {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.download-platform-detail dt {
  flex: 0 0 56px;
  margin: 0;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.download-platform-detail dd {
  margin: 0;
  color: var(--site-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.download-platform-footer {
  width: 100%;
  margin-top: auto;
}

.download-platform-btn {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.download-platform-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.download-platform-actions .download-platform-btn {
  flex: 1;
  min-width: 0;
  padding-inline: 10px;
}

.download-platform-btn.is-disabled,
.download-platform-btn[aria-disabled='true'] {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--site-surface-2);
  color: var(--site-muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.82;
}

.download-gift-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
  animation: siteRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.download-gift-note-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--site-surface-2);
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 600;
}

.download-gift-note strong {
  color: var(--site-ink);
  font-weight: 600;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  border-top: 1px solid var(--site-line);
  background: var(--site-surface);
}

.site-footer-inner {
  width: var(--site-container);
  margin: 0 auto;
  padding: 32px 0 24px;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--site-line);
}

.site-footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.site-footer-logo {
  align-self: flex-start;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-content: start;
  justify-content: flex-end;
}

.site-footer-nav a {
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer-nav a:hover {
  color: var(--site-accent);
}

.site-footer-copy {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
}

.site-footer-legal {
  margin: 0;
  color: rgba(138, 138, 138, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer-legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer-legal a:hover {
  color: var(--site-muted);
  text-decoration: underline;
}

/* —— Animations —— */
@keyframes siteRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -18px, 0) scale(1.06);
  }
}

@keyframes placeholderDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, 14px, 0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Home demo one-shot animations (replay when scene becomes active) */
@keyframes homeDemoTplIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 0.72;
    transform: translateY(0) scale(1);
  }
}

@keyframes homeDemoTplActive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
}

@keyframes homeDemoTplCheck {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes homeDemoPhotoPulse {
  from {
    opacity: 0.35;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes homeDemoFaceBox {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes homeDemoGroupIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes homeDemoSlotFill {
  from {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    transform: scale(0.98);
  }
  to {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #2e2e2e, #222222);
    transform: scale(1);
  }
}

@keyframes homeDemoBookPop {
  from {
    transform: translateY(8px) scale(0.92);
    opacity: 0.5;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes homeDemoProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes homeDemoQuotaStrike {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes homeDemoQuotaAfter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeDemoExportDone {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeDemoExportGlow {
  from {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes homeDemoExportBadge {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes homeDemoMetricIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-demo-scene,
  .home-demo-tpl,
  .home-demo-tpl-check,
  .home-demo-photo,
  .home-demo-facebox,
  .home-demo-group,
  .home-demo-slot,
  .home-demo-export-book,
  .home-demo-export-glow,
  .home-demo-export-badge,
  .home-demo-export-status,
  .home-demo-export-note,
  .home-demo-metric,
  .home-demo-progress-bar,
  .home-demo-quota-before,
  .home-demo-quota-after {
    animation: none !important;
    transition: none !important;
  }

  .home-demo-scene {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .home-demo-scene.is-active {
    opacity: 1;
    visibility: visible;
  }

  .home-demo-tpl,
  .home-demo-tpl--active,
  .home-demo-tpl-check,
  .home-demo-photo,
  .home-demo-facebox,
  .home-demo-group,
  .home-demo-slot,
  .home-demo-export-book,
  .home-demo-export-glow,
  .home-demo-export-badge,
  .home-demo-export-status,
  .home-demo-export-note,
  .home-demo-metric,
  .home-demo-quota-before,
  .home-demo-quota-after {
    opacity: 1;
    transform: none;
  }

  .home-demo-slot {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #2e2e2e, #222222);
  }

  .home-demo-progress-bar {
    width: 100%;
  }
}

.site-home .site-footer {
  margin-top: var(--home-block-gap);
}

/* —— Guide pages —— */
.site-guide .site-page {
  overflow: visible;
}

.site-guide .site-main {
  padding-top: 16px;
}

@media (min-width: 960px) {
  .site-guide .site-main {
    padding-top: 48px;
  }
}

.guide-layout {
  display: grid;
  gap: 15px;
  align-items: start;
  animation: siteRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.guide-panel {
  padding: 16px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: rgba(26, 26, 26, 0.72);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.guide-sidebar {
  display: none;
}

@media (min-width: 960px) {
  .guide-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--site-header-offset) + 48px);
    align-self: start;
    max-height: calc(100vh - var(--site-header-offset) - 64px);
  }
}

.guide-sidebar-inner {
  max-height: inherit;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.guide-sidebar-inner::-webkit-scrollbar {
  width: 4px;
}

.guide-sidebar-inner::-webkit-scrollbar-track {
  background: transparent;
}

.guide-sidebar-inner::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.guide-sidebar-inner:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
}

.guide-sidebar-inner::-webkit-scrollbar-thumb:active {
  background: rgba(255, 255, 255, 0.4);
}

.guide-content {
  min-width: 0;
  align-self: start;
}

.guide-content-inner {
  min-height: 0;
  padding: 24px;
  background: rgba(20, 20, 20, 0.88);
}

/* Section view relies on the [hidden] attribute — flex must not override display:none */
.guide-content-inner [hidden] {
  display: none !important;
}

.guide-content-inner a:not(.site-btn):not(.guide-pager-link) {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-content-inner a:not(.site-btn):not(.guide-pager-link):hover {
  text-decoration: underline;
}

.guide-content-inner a:not(.site-btn):not(.guide-pager-link):visited {
  color: var(--site-accent);
}

.guide-content-inner.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.guide-sidebar-label {
  margin: 0 0 14px;
  color: var(--site-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-toc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  --guide-toc-text-indent: 30px;
}

.guide-toc-group {
  border-radius: 0;
}

.guide-toc-group-head {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 6px;
  border-radius: var(--site-radius);
  transition: background 0.15s ease;
}

.guide-toc-group-head:hover {
  background: rgba(255, 255, 255, 0.04);
}

.guide-toc-group-head:has(.guide-toc-link--parent.is-active) {
  background: transparent;
}

.guide-toc-group-head:has(.guide-toc-link--parent.is-active):hover {
  background: rgba(255, 255, 255, 0.04);
}

.guide-toc-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 36px;
  margin-right: 6px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--site-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.guide-toc-group-head:has(.guide-toc-link--parent.is-active) .guide-toc-toggle {
  color: var(--site-ink);
}

.guide-toc-toggle::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  transition: transform 0.2s ease;
}

.guide-toc-toggle:hover {
  color: var(--site-ink);
}

.guide-toc-chevron {
  display: none;
}

.guide-toc-group.is-expanded .guide-toc-toggle::before {
  transform: rotate(90deg);
}

.guide-toc-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 4px;
}

.guide-toc-group.is-expanded .guide-toc-sub {
  display: flex;
}

.guide-toc-link {
  display: block;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.guide-toc-link--parent {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
}

.guide-toc-link--parent:hover {
  color: var(--site-ink);
  background: transparent;
}

.guide-toc-link--parent.is-active {
  color: var(--site-ink);
  background: transparent;
}

.guide-toc-link--parent.is-active:hover {
  color: var(--site-ink);
}

.guide-toc-link--sub {
  padding: 9px 10px 9px var(--guide-toc-text-indent);
  border-radius: var(--site-radius);
  font-size: 13px;
  font-weight: 400;
}

.guide-toc-link--sub:hover {
  color: var(--site-ink);
  background: rgba(255, 255, 255, 0.04);
}

.guide-toc-link--sub.is-active {
  color: var(--site-accent);
  background: var(--site-accent-soft);
}

.guide-article,
.guide-info-card,
.guide-topic-list li,
.guide-faq-item,
.guide-trouble-item,
.guide-support-card {
  scroll-margin-top: calc(var(--site-header-offset) + 20px);
}

.guide-page-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--site-line);
}

.guide-page-title {
  margin: 0 0 10px;
  font-family: var(--site-font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-wide);
  line-height: 1.2;
}

.guide-page-lead {
  margin: 0;
  max-width: 42em;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.7;
}

.guide-article {
  --guide-stack-gap: 32px;
  --guide-block-stack-gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--site-line);
}

.guide-article:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: var(--guide-stack-gap);
}

.guide-article > * {
  margin-block: 0;
}

.guide-article > .guide-article-desc + .guide-article-desc {
  margin-block-start: calc(-1 * (var(--guide-stack-gap) - 12px));
}

.guide-article:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.guide-content-inner.is-section-view .guide-article {
  padding-top: 0;
  border-top: none;
}

.guide-content-inner.is-section-view .guide-article,
.guide-content-inner.is-section-view .guide-info-card,
.guide-content-inner.is-section-view .guide-topic-list > li,
.guide-content-inner.is-section-view .guide-faq-item,
.guide-content-inner.is-section-view .guide-trouble-item,
.guide-content-inner.is-section-view .guide-support-card {
  margin-top: 0;
}

.guide-content-inner.is-section-view .guide-card-grid,
.guide-content-inner.is-section-view .guide-faq-list,
.guide-content-inner.is-section-view .guide-trouble-list,
.guide-content-inner.is-section-view .guide-support-grid,
.guide-content-inner.is-section-view .guide-topic-list {
  margin-top: 0;
}

.guide-article-title {
  margin: 0 0 12px;
  font-family: var(--site-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: var(--site-tracking-normal);
}

.guide-article-desc {
  margin: 0;
  color: var(--site-muted);
  font-size: 15px;
  line-height: 1.65;
}

.guide-article-desc + .guide-article-desc {
  margin-top: -6px;
}

.guide-article-desc a {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-article-desc a:hover {
  text-decoration: underline;
}

.guide-article-subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--site-muted);
}

.guide-lead {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--site-accent);
  border-radius: 0 var(--site-radius) var(--site-radius) 0;
  background: var(--site-accent-soft);
  color: var(--site-ink);
  font-size: 14px;
  line-height: 1.55;
}

.guide-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-flow-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--site-ink);
}

.guide-flow-sep {
  color: var(--site-muted);
  font-size: 12px;
  user-select: none;
}

.guide-mode-grid {
  display: grid;
  gap: 12px;
  margin: 0;
}

@media (min-width: 640px) {
  .guide-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-mode-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-mode-card > * {
  margin-block: 0;
}

.guide-mode-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--site-ink);
}

.guide-mode-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--site-muted);
}

.guide-point-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-point-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--site-muted);
}

.guide-point-list li + li {
  margin-top: 6px;
}

.guide-point-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--site-accent);
}

.guide-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.guide-badge--free {
  background: rgba(157, 204, 154, 0.15);
  color: #9dcc9a;
}

.guide-badge--paid {
  background: var(--site-accent-soft);
  color: var(--site-accent);
}

.guide-badge--muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--site-muted);
}

.guide-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-timeline-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 12px;
  padding-bottom: 12px;
}

.guide-timeline-item:last-child {
  padding-bottom: 0;
}

.guide-timeline-dot {
  position: relative;
  display: flex;
  justify-content: center;
}

.guide-timeline-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--site-accent);
  box-shadow: 0 0 0 3px var(--site-accent-soft);
}

.guide-timeline-item:not(:last-child) .guide-timeline-dot::after {
  content: '';
  position: absolute;
  top: 16px;
  bottom: -12px;
  width: 1px;
  background: var(--site-line);
}

.guide-timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--site-ink);
}

.guide-timeline-desc {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--site-muted);
}

.guide-block {
  display: flex;
  flex-direction: column;
  gap: var(--guide-block-stack-gap, 16px);
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.02);
}

.guide-block > * {
  margin-block: 0;
}

.guide-block .guide-detail-list,
.guide-block .guide-checklist,
.guide-block .guide-point-list {
  margin-bottom: 0;
}

.guide-trio-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .guide-trio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-trio-grid--2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-trio-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-trio-card > * {
  margin-block: 0;
}

.guide-trio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.guide-trio-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--site-ink);
}

.guide-trio-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--site-muted);
}

.guide-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.guide-faq-answer .guide-point-list {
  margin-top: 4px;
}

.guide-trouble-block .guide-point-list li {
  font-size: 14px;
}

.guide-cap-table-wrap {
  overflow-x: auto;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.02);
}

.guide-cap-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.guide-cap-table th,
.guide-cap-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid var(--site-line);
  color: var(--site-muted);
}

.guide-cap-table th:first-child,
.guide-cap-table td:first-child {
  text-align: left;
  color: var(--site-ink);
  font-weight: 500;
}

.guide-cap-table thead th {
  font-size: 12px;
  font-weight: 600;
  color: var(--site-ink);
  background: rgba(255, 255, 255, 0.03);
}

.guide-cap-table tr:last-child td {
  border-bottom: none;
}

.guide-cap-table--text th,
.guide-cap-table--text td {
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.guide-cap-table--matrix {
  min-width: 640px;
}

.guide-cap-table--matrix th,
.guide-cap-table--matrix td {
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.guide-cap-table--matrix thead th {
  text-align: center;
}

.guide-cap-table--matrix tbody th {
  width: 7.5em;
  font-size: 13px;
  font-weight: 700;
  color: var(--site-ink);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

.guide-cap-table--matrix td .guide-point-list li {
  color: var(--site-muted);
}

.guide-fold-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.guide-fold-item {
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  overflow: hidden;
}

.guide-fold-item summary {
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--site-ink);
  list-style: none;
}

.guide-fold-item summary::-webkit-details-marker {
  display: none;
}

.guide-fold-item summary::before {
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-right: 10px;
  border-right: 2px solid var(--site-muted);
  border-bottom: 2px solid var(--site-muted);
  transform: rotate(-45deg) translateY(-1px);
  transition: transform 0.15s ease;
  vertical-align: middle;
}

.guide-fold-item[open] summary {
  border-bottom: 1px solid var(--site-line);
}

.guide-fold-item[open] summary::before {
  transform: rotate(45deg) translateY(-2px);
}

.guide-fold-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px 16px;
}

.guide-fold-body > * {
  margin-block: 0;
}

.guide-fold-body .guide-steps {
  margin: 0;
}

.guide-cap-yes {
  color: var(--site-accent);
  font-weight: 700;
}

.guide-cap-no {
  color: rgba(138, 138, 138, 0.45);
}

.guide-layout-map {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .guide-layout-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-layout-map-item {
  padding: 14px 16px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-layout-map-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--site-accent);
}

.guide-layout-map-title {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--site-ink);
}

.guide-layout-map-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--site-muted);
}

.guide-steps--compact .guide-step {
  padding: 12px 0;
}

.guide-block .guide-point-list--spaced {
  margin-top: 0;
}

.guide-stack-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-block: 0;
  padding-block-start: 24px;
  border-block-start: 1px solid var(--site-line);
}

.guide-stack-section > * {
  margin-block: 0;
}

.guide-stack-section--flat {
  padding-block-start: 0;
  border-block-start: none;
}

.guide-export-type-grid {
  display: grid;
  gap: 12px;
  margin: 0;
}

@media (min-width: 720px) {
  .guide-export-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-export-type-grid--2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-export-type-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-export-type-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.guide-export-type-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--site-ink);
}

.guide-export-type-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--site-muted);
}

.guide-export-type-card .guide-point-list {
  margin-top: auto;
}

.guide-block .guide-article-desc:last-child {
  margin-bottom: 0;
}

.guide-spec-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .guide-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-spec-grid .guide-spec-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.guide-spec-card {
  padding: 16px 18px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-spec-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--site-ink);
}

.guide-spec-value {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--site-muted);
}

.guide-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-detail-item {
  padding: 14px 16px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.02);
}

.guide-detail-title {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--site-ink);
}

.guide-detail-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--site-muted);
}

.guide-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-checklist-mark {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--site-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.guide-checklist + .guide-article-desc {
  margin-top: 16px;
}

.guide-topic-body p {
  margin: 0 0 10px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-topic-body .guide-article-subtitle {
  margin-top: 14px;
  margin-bottom: 8px;
}

.guide-detail-desc a,
.guide-spec-value a {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-detail-desc a:hover,
.guide-spec-value a:hover {
  text-decoration: underline;
}

.guide-platform-split {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

@media (min-width: 560px) {
  .guide-platform-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-platform-note {
  padding: 12px 14px;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.03);
}

.guide-platform-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--site-ink);
}

.guide-platform-note p {
  margin: 0;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.6;
}

.guide-kbd-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.02);
}

.guide-kbd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.guide-kbd-table th,
.guide-kbd-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--site-line);
}

.guide-kbd-table tr:last-child th,
.guide-kbd-table tr:last-child td {
  border-bottom: none;
}

.guide-kbd-table th {
  width: 38%;
  font-weight: 600;
  color: var(--site-ink);
  background: rgba(255, 255, 255, 0.02);
}

.guide-kbd-table td {
  color: var(--site-muted);
}

.guide-kbd {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--site-ink);
  white-space: nowrap;
}

.guide-article ul:not(.guide-detail-list):not(.guide-checklist):not(.guide-point-list),
.guide-info-card ul:not(.guide-detail-list):not(.guide-point-list) {
  margin: 0;
  padding-left: 1.25em;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-article ul:not(.guide-detail-list):not(.guide-checklist) li + li,
.guide-info-card ul:not(.guide-detail-list) li + li {
  margin-top: 6px;
}

.guide-info-card .guide-detail-list {
  margin-top: 12px;
}

.guide-info-card p + p {
  margin-top: 10px;
}

.guide-placeholder-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  border-radius: var(--site-radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.guide-placeholder-block--media {
  min-height: 200px;
}

.guide-placeholder-label {
  color: rgba(138, 138, 138, 0.9);
  font-size: 14px;
  text-align: center;
}

.guide-callout {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-callout > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.guide-callout p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-callout--success {
  border-color: rgba(200, 243, 29, 0.18);
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--site-line);
}

.guide-step:last-child {
  border-bottom: none;
}

.guide-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--site-radius);
  background: var(--site-accent-soft);
  color: var(--site-accent);
  font-family: var(--site-font-display);
  font-size: 14px;
  font-weight: 800;
}

.guide-step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-step-body strong {
  display: block;
  margin: 0;
  font-size: 15px;
}

.guide-step-body p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-step-body a {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-step-body a:hover {
  text-decoration: underline;
}

.guide-card-grid {
  display: grid;
  gap: 14px;
}

.guide-info-card {
  padding: 18px 20px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-info-card-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.guide-info-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-info-card a {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-topic-list li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-topic-list li:last-child {
  border-bottom: none;
}

.guide-topic-list strong {
  font-size: 15px;
}

.guide-topic-list span,
.guide-topic-body {
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-faq-item {
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
  overflow: hidden;
}

.guide-faq-item summary {
  padding: 16px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

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

.guide-faq-item[open] summary {
  border-bottom: 1px solid var(--site-line);
}

.guide-faq-answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px 18px;
}

.guide-faq-answer p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-trouble-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-trouble-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-trouble-item > * {
  margin-block: 0;
}

.guide-trouble-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.guide-trouble-block {
  padding: 12px 14px;
  border-radius: var(--site-radius);
  border: 1px solid var(--site-line);
  background: rgba(255, 255, 255, 0.03);
}

.guide-trouble-block + .guide-trouble-block {
  margin-top: 0;
}

.guide-trouble-block-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--site-ink);
}

.guide-trouble-block--fix .guide-trouble-block-label {
  color: var(--site-accent);
}

.guide-trouble-block p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-trouble-block a {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-trouble-block a:hover {
  text-decoration: underline;
}

.guide-trouble-symptom,
.guide-trouble-fix {
  margin: 0 0 6px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-trouble-fix {
  margin-bottom: 0;
}

.guide-support-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.guide-support-card {
  padding: 18px 20px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.guide-support-card-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.guide-support-card p {
  margin: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.guide-support-card a {
  color: var(--site-accent);
  text-decoration: none;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 18px;
  border-radius: var(--site-radius-lg);
  border: 1px solid var(--site-line);
  background: linear-gradient(135deg, rgba(200, 243, 29, 0.08), rgba(26, 26, 26, 0.9));
}

.guide-cta p {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.5;
}

.guide-cta .site-btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  flex-shrink: 0;
}

.guide-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--site-line);
}

.guide-pager-link {
  color: var(--site-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.guide-pager-link:hover {
  color: var(--site-accent);
}

.guide-mobile-bar {
  position: sticky;
  top: calc(var(--site-header-offset) + 12px);
  z-index: 35;
  margin: 0 0 12px;
  width: 100%;
}

.guide-mobile-bar-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: rgba(26, 26, 26, 0.94);
  color: var(--site-ink);
  box-shadow: var(--site-shadow);
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  text-align: left;
}

.guide-mobile-bar-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--site-accent);
}

.guide-mobile-bar-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.guide-mobile-bar-kicker {
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-mobile-bar-current {
  overflow: hidden;
  color: var(--site-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guide-mobile-toc {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: calc(var(--site-header-offset) + 8px) 12px 12px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.guide-mobile-toc.is-open {
  display: block;
}

.guide-mobile-toc[hidden] {
  display: none !important;
}

.guide-mobile-toc-panel {
  display: flex;
  max-height: calc(100dvh - var(--site-header-offset) - 24px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-lg);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-lg);
}

.guide-mobile-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--site-line);
  font-weight: 600;
}

.guide-mobile-toc-header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--site-radius);
  background: transparent;
  color: var(--site-ink);
  cursor: pointer;
}

.guide-mobile-toc-header button svg {
  width: 20px;
  height: 20px;
}

.guide-mobile-toc-links {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.guide-mobile-toc-links .guide-toc {
  gap: 8px;
}

.guide-mobile-toc-links .guide-toc-group-head {
  padding: 0 6px;
}

.guide-mobile-toc-links .guide-toc-link--parent {
  padding: 12px 0;
}

.guide-mobile-toc-links .guide-toc-link--sub {
  padding: 10px 10px 10px var(--guide-toc-text-indent, 30px);
}

@media (min-width: 960px) {
  .guide-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 15px;
  }

  .guide-mobile-bar,
  .guide-mobile-toc,
  .guide-mobile-toc.is-open {
    display: none !important;
  }

  .guide-card-grid,
  .guide-support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .guide-card-grid,
  .guide-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Responsive —— */
@media (max-width: 720px) {
  .site {
    --site-gutter: 12px;
    --site-header-top: 10px;
    --site-header-padding: 10px;
    --site-header-bar-height: 58px;
  }

  .site-header-inner {
    grid-template-columns: 1fr auto;
    width: var(--site-container);
    padding: var(--site-header-padding);
  }

  .site-nav {
    display: none;
  }

  .site-header-cta {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .home-headline-line,
  .home-close-title-line {
    white-space: normal;
  }

  .home-hero .home-headline-line {
    white-space: nowrap;
  }

  .home-hero-watermark {
    font-size: 100px;
    right: -8%;
  }

  .home-close-card {
    transform: none;
  }

  .home-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .home-actions .site-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
    font-size: 14px;
  }

  .home-hero .home-actions .site-btn {
    font-size: 16px;
  }

  .home-close .home-actions .site-btn {
    font-size: 16px;
  }

  .site-cta-row {
    width: 100%;
    flex-direction: column;
  }

  .site-cta-row .site-btn,
  .feature-cta .site-btn {
    width: 100%;
  }

  .site-footer-inner {
    padding: 28px 0 20px;
  }

  .site-footer-main {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    padding-bottom: 16px;
  }

  .site-footer-nav {
    justify-content: flex-start;
  }

  .feature-cta {
    padding: 32px 20px;
  }
}

/* —— 404 —— */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: min(56vh, 520px);
  padding: clamp(48px, 12vh, 96px) 0 64px;
  animation: siteRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.not-found-code {
  margin: 0 0 12px;
  font-family: var(--site-font-display);
  font-size: clamp(72px, 14vw, 120px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-display);
  line-height: 0.9;
  color: var(--site-accent);
  opacity: 0.9;
}

.not-found-title {
  margin: 0 0 14px;
  font-family: var(--site-font-display);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: var(--site-tracking-normal);
  line-height: 1.2;
}

.not-found-lead {
  margin: 0 0 28px;
  max-width: 28em;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Guide rhythm — reinforce flex gaps (wins over legacy margins) */
.guide-article,
.guide-block,
.guide-stack-section,
.guide-trouble-item,
.guide-mode-card,
.guide-trio-card,
.guide-export-type-card,
.guide-step-body {
  min-width: 0;
}
