@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --cream:   #EEEDE7;
  --paper:   #F5F2EC;
  --ink:     #141210;
  --mid:     #6B6760;
  --faint:   #B8B4AC;
  --accent:  #EA4740;
  --al:      rgba(234, 67, 69, .12);
  --wire:    #D2CEC6;
  --wire-dk: #A8A49C;
  --panel:   #FDFCF9;
  --dark:    #141210;
  --dark2:   #1C1A17;

  --fd: 'Rubik', sans-serif;
  --fb: 'Source Sans Pro', sans-serif;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLL PROGRESS ─────────────────────────────────── */
#bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width .05s linear;
}

/* ─── NAV ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 52px;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#nav.stuck {
  background: rgba(233,228,219,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(210,206,198,.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: .35em;
  line-height: 1.15;
  font-family: var(--fd);
  font-size: 17px;
  letter-spacing: -.02em;
}
.nav-brand-name { font-weight: 800; }
.nav-brand-product { font-weight: 500; color: var(--ink); }
.nav-end {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav-mark {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
}
.nav-buy {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: #2a2520; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--wire-dk); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  padding: 15px 34px;
  border-radius: 9px;
  box-shadow: 0 4px 20px rgba(234,67,69,.25);
}
.btn-accent:hover { background: #D43536; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(234,67,69,.3); }

/* ─── KEYFRAMES ───────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drawLine { to   { stroke-dashoffset: 0; } }
@keyframes nodePop  { from { r:0; opacity:0; } to { r:4; opacity:1; } }

@keyframes floatA { 0%,100% { transform:translateY(0) rotate(-1.3deg); } 50% { transform:translateY(-8px) rotate(-1.3deg); } }
@keyframes floatB { 0%,100% { transform:translateY(0) rotate(.9deg);  } 50% { transform:translateY(-6px) rotate(.9deg);  } }
@keyframes floatC { 0%,100% { transform:translateY(0) rotate(-.6deg); } 50% { transform:translateY(-9px) rotate(-.6deg); } }
@keyframes floatD { 0%,100% { transform:translateY(0) rotate(1.6deg); } 50% { transform:translateY(-5px) rotate(1.6deg); } }

@keyframes blink { 0%,49% { opacity:1; } 50%,100% { opacity:0; } }

/* Demo canvas build-in animations — paused until .play added */
@keyframes revLine { to { max-height: 80px; } }
@keyframes scaleIn { from { opacity:0; transform:scale(.85); } to { opacity:1; transform:none; } }

/* ─── REVEAL (scroll-triggered) ──────────────────────── */
.rev {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.rev.left  { transform: translateX(-36px); }
.rev.right { transform: translateX( 36px); }
.rev.up    { transform: translateY(36px);  }
.rev.on    { opacity: 1; transform: none; }

/* ─── WRAP ────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 52px; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 48px 80px;
  overflow: hidden;
}
.hero-shell {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px 64px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Subtle grid behind everything */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,164,156,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,164,156,.18) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 48%, black 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 48%, black 35%, transparent 82%);
}

/* scroll-fade for hero */
.hero-inner {
  position: relative;
  z-index: 5;
  will-change: transform, opacity;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--wire);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 16px;
  animation: fadeUp .6s .1s ease both;
}
.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(54px, 5.6vw, 90px);
  font-weight: 700;
  line-height: .93;
  letter-spacing: -.032em;
  margin-bottom: 24px;
  animation: fadeUp .7s .18s ease both;
}
.hero-h1 .ac { color: var(--accent); font-style: italic; }

.hero-lead {
  font-family: var(--fd);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 480px;
  margin-bottom: 18px;
  animation: fadeUp .7s .24s ease both;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--mid);
  max-width: 440px;
  margin-bottom: 40px;
  animation: fadeUp .7s .32s ease both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 56px;
  animation: fadeUp .7s .34s ease both;
}
.hero-actions-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 2px 0;
}
.hero-claude-note {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--mid);
  margin: 0;
}
.hero-claude-note strong {
  font-weight: 700;
  color: var(--ink);
}
.hero-scroll-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.hero-scroll-hint:hover { color: var(--ink); }

body.page-wireframe .hero-actions-layout,
body.page-figma .hero-actions-layout {
  display: inline-grid;
  grid-template-columns: max-content max-content;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 35px;
  align-items: center;
}
body.page-wireframe .hero-actions-layout > .btn-accent,
body.page-figma .hero-actions-layout > .btn-accent {
  grid-column: 1;
  grid-row: 1;
}
body.page-wireframe .hero-actions-side,
body.page-figma .hero-actions-side {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
}
/* Wireframe hero: Figma phase disabled — remove .is-hero-figma-disabled / set HERO_FIGMA_ENABLED in JS to restore */
body.page-wireframe .hero-mode-pill--figma.is-hero-figma-disabled,
body.page-wireframe .hero-input--figma,
body.page-wireframe .hero-figma-app {
  display: none !important;
}

body.page-wireframe .hero-actions-layout > .hero-scroll-hint,
body.page-figma .hero-actions-layout > .hero-scroll-hint {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  animation: fadeUp .7s .4s ease both;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--wire);
  animation: fadeUp .7s .48s ease both;
}
.stat-n {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.stat-l {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  letter-spacing: .04em;
}

/* ─── HERO VISUAL (fixed browser + swapping left input) ─ */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  animation: fadeIn .9s .3s ease both;
}
.hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 2px;
}
.hero-mode-bar {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 12px;
  width: 100%;
  max-width: 720px;
  pointer-events: none;
  user-select: none;
}
.hero-mode-lead {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--mid);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  flex: 0 0 auto;
}
.hero-mode-pills {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.hero-mode-pill {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--mid);
  background: var(--panel);
  border: 1.5px solid var(--wire);
  padding: 8px 12px;
  border-radius: 100px;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.55);
  transition: border-color .35s ease, color .35s ease;
  cursor: pointer;
  pointer-events: auto;
  flex: 0 0 11.25rem;
  width: 11.25rem;
  box-sizing: border-box;
  white-space: nowrap;
}
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.hero-left {
  position: relative;
  flex: 0 0 256px;
  width: 256px;
  height: 100%;
  max-height: 380px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mode-pill:hover {
  color: var(--ink);
}
.hero-mode-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero-stage.phase-prompt .hero-mode-pill--prompt,
.hero-stage.phase-deck .hero-mode-pill--deck,
.hero-stage.phase-figma .hero-mode-pill--figma {
  border-color: var(--accent);
  color: var(--ink);
}
.hero-input-slot {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  max-height: 320px;
  min-height: 280px;
  width: 100%;
}
.hero-input {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s;
}
.hero-stage.phase-prompt .hero-input--prompt,
.hero-stage.phase-deck .hero-input--deck,
.hero-stage.phase-figma .hero-input--figma {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-prompt {
  width: 100%;
  height: auto;
  max-height: 100%;
  background: var(--dark);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(20,18,16,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-prompt-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-prompt-body {
  padding: 16px;
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  flex: 1;
}
.hero-prompt-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 1px;
  opacity: 0;
}
.hero-stage.phase-prompt.play .hero-prompt-cursor {
  animation: blink 1s step-end infinite, heroCursorShow .1s 2.2s ease forwards;
}
@keyframes heroCursorShow { to { opacity: 1; } }
.hero-browser {
  background: var(--panel);
  border: 1.5px solid var(--wire);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(20,18,16,.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--wire);
  background: rgba(233,228,219,.75);
}
.hp-d { width: 7px; height: 7px; border-radius: 50%; background: var(--wire); }
.hp-name { margin-left: 6px; font-size: 10px; color: var(--mid); font-weight: 600; }
.hero-browser-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.hero-view-slot {
  position: relative;
  flex: 0 0 368px;
  width: 368px;
  height: 380px;
  align-self: center;
}
.hero-browser,
.hero-figma-app {
  position: absolute;
  inset: 0;
  transition: opacity .5s ease;
}
.hero-browser {
  z-index: 2;
  opacity: 1;
}
.hero-figma-app {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: #1e1e1e;
  border: 1.5px solid #3a3a3a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(20,18,16,.18);
  display: flex;
  flex-direction: column;
}
.hero-stage.phase-figma .hero-browser {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-stage.phase-figma .hero-figma-app {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.wl { height: 5px; background: var(--wire); border-radius: 3px; margin-bottom: 5px; }
.wb { border: 1.5px dashed var(--wire-dk); border-radius: 5px; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; min-height: 36px; }
.wb::before { content:''; position:absolute; inset:0; background:repeating-linear-gradient(-45deg,transparent 0,transparent 7px,rgba(168,164,156,.07) 7px,rgba(168,164,156,.07) 8px); }
.wt { font-size:8px; color:var(--wire-dk); font-weight:600; letter-spacing:.06em; text-transform:uppercase; position:relative; }
.wbk { height:13px; background:var(--ink); border-radius:4px; }
.wcard { border:1.5px solid var(--wire); border-radius:5px; padding:8px; }
.hero-bw {
  opacity: 0;
  transform: translateY(8px);
  animation: heroBwIn .35s ease forwards;
  animation-play-state: paused;
}
.hero-stage.phase-prompt.play .hero-wireframe--prompt .hero-bw { animation-play-state: running; }
.hero-bw-d1 { animation-delay: 2.6s; }
.hero-bw-d2 { animation-delay: 2.95s; }
.hero-bw-d3 { animation-delay: 3.3s; }
.hero-bw-d4 { animation-delay: 3.65s; }
@keyframes heroBwIn { to { opacity: 1; transform: none; } }
.hero-deck-canvas {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-deck-cards {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  grid-template-rows: repeat(4, 44px);
  gap: 4px;
  justify-content: center;
  width: 100%;
  max-width: 148px;
  position: relative;
}
.wf-deck-card {
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1.5px solid #1a1a1a;
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
  overflow: hidden;
  opacity: 0;
  transform: scale(.85) translate(var(--fx, 0), var(--fy, 0));
  animation: deckCardIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-play-state: paused;
}
.hero-stage.phase-deck.play .wf-deck-card { animation-play-state: running; }
.wf-deck-card:nth-child(1)  { --fx: -40px; --fy: -30px; animation-delay: .2s; }
.wf-deck-card:nth-child(2)  { --fx: 35px;  --fy: -35px; animation-delay: .28s; }
.wf-deck-card:nth-child(3)  { --fx: -35px; --fy: 25px;  animation-delay: .36s; }
.wf-deck-card:nth-child(4)  { --fx: 40px;  --fy: 20px;  animation-delay: .44s; }
.wf-deck-card:nth-child(5)  { --fx: 0;     --fy: -45px; animation-delay: .52s; }
.wf-deck-card:nth-child(6)  { --fx: -45px; --fy: 0;     animation-delay: .6s; }
.wf-deck-card:nth-child(7)  { --fx: 42px;  --fy: 5px;   animation-delay: .68s; }
.wf-deck-card:nth-child(8)  { --fx: -20px; --fy: 38px; animation-delay: .76s; }
.wf-deck-card:nth-child(9)  { --fx: 25px;  --fy: 35px; animation-delay: .84s; }
.wf-deck-card:nth-child(10) { --fx: 0;     --fy: 40px;  animation-delay: .92s; }
.wf-deck-card:nth-child(11) { --fx: -50px; --fy: -15px; animation-delay: 1s; }
.wf-deck-card:nth-child(12) { --fx: 48px;  --fy: -20px; animation-delay: 1.08s; }
@keyframes deckCardIn { to { opacity: 1; transform: none; } }
.wf-deck-card .dc-dark {
  height: 100%;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px;
}
.wf-deck-card .dc-dark .dc-line {
  height: 2px;
  background: #fff;
  border-radius: 1px;
  width: 70%;
}
.wf-deck-card .dc-dark .dc-line.short { width: 45%; opacity: .6; }
.wf-deck-card .dc-person {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-deck-card .dc-person::after {
  content: '';
  width: 22px;
  height: 22px;
  border: 1.5px solid #1a1a1a;
  border-radius: 50%;
  box-shadow: inset 0 -8px 0 -4px #e8e8e8;
}
.wf-deck-card .dc-lines {
  padding: 5px 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.wf-deck-card .dc-lines span {
  display: block;
  height: 2px;
  background: #c8c8c8;
  border-radius: 1px;
}
.wf-deck-card .dc-lines span:nth-child(1) { width: 90%; }
.wf-deck-card .dc-lines span:nth-child(2) { width: 70%; }
.wf-deck-card .dc-lines span:nth-child(3) { width: 55%; }
.wf-deck-card .dc-media {
  height: 100%;
  background: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
}
.wf-deck-card .dc-video {
  height: 100%;
  background: #efefef;
  display: flex;
  flex-direction: column;
}
.wf-deck-card .dc-video .dc-vid-ph {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #888;
}
.wf-deck-card .dc-video .dc-vid-bar {
  height: 4px;
  background: #ddd;
  margin: 0 3px 3px;
  border-radius: 1px;
}
.wf-deck-card .dc-btn {
  height: 100%;
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
}
.wf-deck-card .dc-btn .dc-lines span { background: #d0d0d0; }
.wf-deck-card .dc-btn i {
  display: block;
  height: 8px;
  background: #3d7dd6;
  border-radius: 2px;
  font-style: normal;
}
.wf-deck-card .dc-cal {
  padding: 3px;
  height: 100%;
  font-size: 5px;
  line-height: 1.1;
  color: #666;
}
.wf-deck-card .dc-cal b {
  display: block;
  text-align: center;
  font-size: 6px;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.wf-deck-card .dc-cal .dc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.wf-deck-card .dc-cal .dc-grid i {
  font-style: normal;
  text-align: center;
  background: #f0f0f0;
  border-radius: 1px;
  font-size: 4px;
}
.wf-deck-card .dc-cal .dc-grid i.on {
  background: #1a1a1a;
  color: #fff;
}
.hero-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  width: 44px;
  height: 76px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 2px solid #333;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  z-index: 3;
  opacity: 0;
  transform: translate(calc(-50% + 86px), calc(-50% + 10px)) rotate(-9deg);
  animation: phoneSlideSnap 1.1s cubic-bezier(.22, 1, .38, 1) forwards;
  animation-play-state: paused;
}
.hero-stage.phase-deck.play .hero-phone {
  animation-play-state: running;
  animation-delay: 1.35s;
}
@keyframes phoneSlideSnap {
  0%, 14% {
    opacity: 0;
    transform: translate(calc(-50% + 86px), calc(-50% + 10px)) rotate(-9deg);
  }
  20% { opacity: 1; }
  80% {
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  88% {
    transform: translate(-50%, calc(-50% - 4px)) rotate(-3deg) scale(0.96);
  }
  96%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-6deg) scale(1);
  }
}
.hero-phone-screen {
  position: absolute;
  inset: 6px 4px 8px;
  background: #111;
  border-radius: 3px;
}
.hero-phone-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  border-radius: 3px;
  z-index: 2;
}
.hero-stage.phase-deck.play .hero-phone-flash {
  animation: phoneFlash .28s ease 2.38s forwards;
}
@keyframes phoneFlash {
  0%, 100% { opacity: 0; }
  42% { opacity: .92; }
}
.hero-wireframe {
  position: absolute;
  inset: 0;
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: opacity .4s ease, visibility .4s;
}
.hero-wireframe .hero-bw { min-height: 0; }
.hero-bw-nav {
  flex: 0 0 28px;
  border: 1px solid var(--wire);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
}
.hero-bw-nav .wl { margin: 0; flex-shrink: 0; }
.hero-bw-nav .wbk { margin: 0; flex-shrink: 0; }
.hero-bw-hero {
  flex: 1.45 1 0;
  min-height: 64px;
}
.hero-bw-hero.wb { height: 100%; min-height: 0; }
.hero-bw-features {
  flex: 1.1 1 0;
  display: flex;
  gap: 6px;
  min-height: 0;
}
.hero-bw-features .wcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 6px;
}
.hero-bw-features .wb {
  flex: 1;
  min-height: 24px;
  margin-bottom: 4px;
}
.hero-bw-features .wl { margin-bottom: 0; }
.hero-bw-cta {
  flex: 0.62 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 4px 0;
}
.hero-bw-cta .wl { margin: 0; width: 42%; height: 6px; }
.hero-bw-cta .wbk { margin: 0; width: 88px; height: 12px; }
.hero-wireframe--deck .hero-bw-hero { flex: 1.2 1 0; }
.hero-wireframe--deck .hero-bw-features { flex: 0.95 1 0; }
.hero-wireframe--deck .hero-bw-section {
  flex: 0.75 1 0;
  min-height: 36px;
}
.hero-wireframe--deck .hero-bw-section.wb { height: 100%; min-height: 0; }
.hero-wireframe--deck .hero-bw-split {
  flex: 1.05 1 0;
  display: flex;
  gap: 6px;
  min-height: 0;
}
.hero-wireframe--deck .hero-bw-split .wcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 8px;
}
.hero-wireframe--deck .hero-bw-split .wcard.wide { flex: 1.25; }
.hero-wireframe--deck .hero-bw-cta { flex: 0.55 1 0; }
.hero-wireframe--deck {
  opacity: 0;
  visibility: hidden;
}
.hero-stage.phase-deck .hero-wireframe--prompt {
  opacity: 1;
  visibility: visible;
}
.hero-stage.phase-deck.play .hero-wireframe--prompt {
  animation: promptWfOut .35s ease 2.44s forwards;
}
@keyframes promptWfOut {
  to { opacity: 0; visibility: hidden; }
}
.hero-stage.phase-deck .hero-wireframe--deck {
  opacity: 0;
  visibility: hidden;
}
.hero-stage.phase-deck.play .hero-wireframe--deck {
  animation: deckWfIn 0s linear 2.51s forwards;
}
@keyframes deckWfIn {
  to { opacity: 1; visibility: visible; }
}
.hero-wireframe--deck .hero-bw,
.hero-wireframe--deck .hero-dbw {
  opacity: 0;
  animation: heroBwIn .35s ease forwards;
  animation-play-state: paused;
}
.hero-stage.phase-deck.play .hero-wireframe--deck .hero-bw,
.hero-stage.phase-deck.play .hero-wireframe--deck .hero-dbw {
  animation-play-state: running;
}
.hero-wireframe--deck .hero-dbw-1 { animation-delay: 2.65s; }
.hero-wireframe--deck .hero-dbw-2 { animation-delay: 2.9s; }
.hero-wireframe--deck .hero-dbw-3 { animation-delay: 3.15s; }
.hero-wireframe--deck .hero-dbw-4 { animation-delay: 3.4s; }
.hero-wireframe--deck .hero-dbw-5 { animation-delay: 3.65s; }
.hero-browser-flash {
  position: absolute;
  inset: 0;
  background: var(--panel);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-stage.phase-deck.play .hero-browser-flash {
  animation: browserFlash .5s ease 2.46s forwards;
}
@keyframes browserFlash {
  0%, 100% { opacity: 0; }
  35% { opacity: 1; }
}
/* ─── Figma phase: component library (left) ─ */
.hero-library-panel {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, #f5f3ee, #EEEDE7);
  border: 1px solid var(--wire);
  border-radius: 10px;
  padding: 8px 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-library-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
  margin-bottom: 6px;
  flex: 0 0 auto;
}
.hero-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  flex: 1;
  align-content: start;
}
.lib-tile {
  background: #fff;
  border: 1px solid #d5d0c8;
  border-radius: 4px;
  height: 44px;
  overflow: hidden;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: scale(.92);
  animation: libTileIn .4s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-play-state: paused;
}
.hero-stage.phase-figma.play .lib-tile { animation-play-state: running; }
.lib-tile:nth-child(1)  { animation-delay: .12s; }
.lib-tile:nth-child(2)  { animation-delay: .18s; }
.lib-tile:nth-child(3)  { animation-delay: .24s; }
.lib-tile:nth-child(4)  { animation-delay: .3s; }
.lib-tile:nth-child(5)  { animation-delay: .36s; }
.lib-tile:nth-child(6)  { animation-delay: .42s; }
.lib-tile:nth-child(7)  { animation-delay: .48s; }
.lib-tile:nth-child(8)  { animation-delay: .54s; }
.lib-tile:nth-child(9)  { animation-delay: .6s; }
.lib-tile:nth-child(10) { animation-delay: .66s; }
.lib-tile:nth-child(11) { animation-delay: .72s; }
.lib-tile:nth-child(12) { animation-delay: .78s; }
@keyframes libTileIn { to { opacity: 1; transform: none; } }
.lib-tile .lt-nav { height: 5px; background: #2a2a2a; border-radius: 1px; }
.lib-tile .lt-hero { flex: 1; border: 1px dashed #c5c0b8; border-radius: 2px; background: #f8f8f8; }
.lib-tile .lt-row { display: flex; gap: 2px; height: 100%; }
.lib-tile .lt-col { flex: 1; background: #efefef; border-radius: 2px; border: 1px solid #e0dcd4; }
.lib-tile .lt-bars { display: flex; align-items: flex-end; gap: 2px; height: 100%; padding-top: 2px; }
.lib-tile .lt-bars i { flex: 1; background: #c8c8c8; border-radius: 1px 1px 0 0; font-style: normal; }
.lib-tile .lt-bars i:nth-child(1) { height: 45%; }
.lib-tile .lt-bars i:nth-child(2) { height: 70%; }
.lib-tile .lt-bars i:nth-child(3) { height: 55%; }
.lib-tile .lt-bars i:nth-child(4) { height: 85%; }
.lib-tile .lt-form span { display: block; height: 3px; background: #ddd; border-radius: 1px; margin-bottom: 2px; }
.lib-tile .lt-form span:last-child { width: 70%; margin-bottom: 0; }
.lib-tile .lt-media { flex: 1; background: #ececec; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-size: 8px; color: #aaa; }
.lib-tile .lt-cta { height: 6px; background: #3d7dd6; border-radius: 2px; margin-top: auto; }
.lib-tile .lt-person { flex: 1; display: flex; align-items: center; justify-content: center; }
.lib-tile .lt-person::after { content: ''; width: 16px; height: 16px; border: 1.5px solid #333; border-radius: 50%; }
/* ─── Figma phase: design app (right) ─ */
.figma-top {
  height: 30px;
  background: #2c2c2c;
  border-bottom: 1px solid #3a3a3a;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  flex-shrink: 0;
}
.figma-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f24e1e, #a259ff 52%, #0acf83);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.figma-file {
  font-size: 9px;
  color: #c8c8c8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.figma-share {
  font-size: 8px;
  font-weight: 700;
  color: #1e1e1e;
  background: #0acf83;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.figma-main {
  flex: 1;
  display: flex;
  min-height: 0;
}
.figma-toolbar {
  width: 28px;
  flex: 0 0 28px;
  background: #2c2c2c;
  border-right: 1px solid #3a3a3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 6px;
}
.figma-tool {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #444;
}
.figma-tool.on { background: #5b8def; }
.figma-canvas {
  flex: 1;
  background: #e8e8e8;
  padding: 10px 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.figma-artboard {
  width: 118px;
  flex: 0 0 118px;
  min-height: 158px;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(6px);
  animation: figmaAbIn .45s ease forwards;
  animation-play-state: paused;
}
.hero-stage.phase-figma.play .figma-artboard { animation-play-state: running; }
.figma-ab-1 { animation-delay: .35s; }
.figma-ab-2 { animation-delay: .55s; }
@keyframes figmaAbIn { to { opacity: 1; transform: none; } }
.figma-ab-label {
  font-size: 6px;
  color: #888;
  font-weight: 600;
  margin-bottom: 1px;
}
.fab-nav { height: 7px; flex: 0 0 7px; background: #2a2a2a; border-radius: 1px; }
.fab-hero {
  height: 34px;
  flex: 0 0 34px;
  border: 1px dashed #ccc;
  border-radius: 2px;
  background: #f8f8f8;
}
.fab-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 1px;
  flex: 0 0 auto;
}
.fab-lines span {
  display: block;
  height: 2px;
  background: #e8e8e8;
  border-radius: 1px;
}
.fab-lines span:last-child { width: 68%; }
.fab-row {
  display: flex;
  gap: 2px;
  height: 18px;
  flex: 0 0 18px;
}
.fab-row > div { flex: 1; background: #efefef; border: 1px solid #e0e0e0; border-radius: 2px; }
.fab-row--sm { height: 14px; flex: 0 0 14px; }
.fab-split {
  display: flex;
  gap: 2px;
  height: 20px;
  flex: 0 0 20px;
}
.fab-split > div {
  flex: 1;
  background: #f3f3f3;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}
.fab-cta {
  height: 9px;
  flex: 0 0 9px;
  background: #2a2a2a;
  border-radius: 2px;
  margin-top: auto;
}
.fab-stats {
  display: flex;
  gap: 2px;
  height: 13px;
  flex: 0 0 13px;
}
.fab-stats > div { flex: 1; background: #ececec; border-radius: 2px; }
.fab-chart {
  flex: 1;
  min-height: 36px;
  background: linear-gradient(180deg, #e8f0ff 0%, #f5f5f5 100%);
  border-radius: 2px;
  border: 1px solid #dde4f0;
}
.fab-table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  padding-top: 1px;
}
.fab-table i {
  display: block;
  height: 3px;
  background: #ececec;
  border-radius: 1px;
  font-style: normal;
}
.fab-table i:nth-child(2) { width: 88%; }
.fab-table i:nth-child(4) { width: 76%; }
.figma-sidebar {
  width: 74px;
  flex: 0 0 74px;
  background: #2c2c2c;
  border-left: 1px solid #3a3a3a;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.figma-side-h {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.figma-side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 7px;
  color: #9a9a9a;
}
.figma-swatch {
  width: 18px;
  height: 10px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #555;
}
.figma-swatch.light { background: #f0f0f0; }
.figma-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.figma-side-grid > div {
  height: 12px;
  background: #383838;
  border-radius: 2px;
  border: 1px solid #4a4a4a;
}
.hero-stage.phase-figma .hero-wireframe--prompt,
.hero-stage.phase-figma .hero-wireframe--deck {
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
}
.hero-view-flash {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-input--prompt { display: none; }
  .hero-input--deck { display: none; }
  .hero-input--figma { opacity: 1; visibility: visible; }
  .hero-wireframe--prompt,
  .hero-wireframe--deck { opacity: 0; visibility: hidden; }
  .hero-browser { opacity: 0; }
  .hero-figma-app { opacity: 1; z-index: 2; }
  .hero-stage.phase-figma .hero-mode-pill--figma { border-color: var(--accent); }
  .hero-bw, .wf-deck-card, .hero-phone, .hero-dbw, .lib-tile, .figma-artboard,
  .hero-prompt-cursor { opacity: 1; transform: none; animation: none; }
}

/* ══════════════════════════════════════════════════════════
   SWITCHER HOOK (below hero, before video)
══════════════════════════════════════════════════════════ */
.hook-section {
  position: relative;
  padding: 112px 0 120px;
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}
.hook-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hook-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.hook-edu {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 260px);
  gap: 40px 48px;
  align-items: start;
}
.hook-edu-main { min-width: 0; }
.hook-kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hook-h2 {
  font-family: var(--fd);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--paper);
  margin: 0 0 20px;
}
.hook-h2 em {
  font-style: italic;
  color: var(--accent);
}
.hook-lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(245,242,236,.78);
  margin: 0;
  max-width: 640px;
}
.hook-video-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 8px;
  padding: 32px 24px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.hook-video-callout:hover {
  border-color: rgba(234,67,69,.45);
  background: rgba(234,67,69,.08);
}
.hook-video-callout:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.hook-video-callout-text {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--paper);
}
.hook-video-play.play-ring {
  width: 64px;
  height: 64px;
  transition: transform .2s, box-shadow .2s;
}
.hook-video-callout:hover .hook-video-play {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(234,67,69,.15);
}
.hook-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.hook-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.hook-grid-cell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.hook-grid-2x2 .hook-why-card {
  padding: 36px 40px;
  height: 100%;
}
.hook-learn-h {
  font-family: var(--fd);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--paper);
  margin: 0 0 10px;
}
.hook-learn-p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(245,242,236,.72);
}
.hook-grid-2x2 .hook-why-card .hook-vs-h {
  font-family: var(--fd);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--paper);
  margin: 0 0 10px;
  text-align: left;
  max-width: none;
}
.hook-grid-2x2 .hook-why-card .hook-vs-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245,242,236,.72);
  text-align: left;
  max-width: none;
}
.hook-pair .hook-anchor,
.hook-pair .hook-why-card--panel,
.hook-grid-2x2 .hook-anchor {
  padding: 36px 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  box-sizing: border-box;
}
.hook-anchor {
  background: rgba(234,67,69,.12);
  border: 1px solid rgba(234,67,69,.28);
}
.hook-why-card--panel {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.hook-pair .hook-panel-h,
.hook-grid-2x2 .hook-anchor .hook-panel-h {
  font-family: var(--fd);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--paper);
  margin: 0;
}
.hook-panel-h em { font-style: italic; color: var(--accent); }
.hook-pair .hook-panel-p,
.hook-grid-2x2 .hook-anchor .hook-panel-p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(245,242,236,.82);
}
.hook-pair .hook-why-pull {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(234,67,69,.5);
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.02em;
  color: rgba(245,242,236,.88);
}
.hook-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hook-why-card {
  padding: 22px 22px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.hook-why-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hook-why-h {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 0 0 8px;
  line-height: 1.15;
}
.hook-why-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(245,242,236,.68);
}
.hook-vs {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.hook-vs-h {
  font-family: var(--fd);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--paper);
  margin: 0 0 12px;
  line-height: 1.05;
}
.hook-vs-lead {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245,242,236,.72);
}
/* ══════════════════════════════════════════════════════════
   WIREFRAME COMPARISON TABLE (new block)
══════════════════════════════════════════════════════════ */
body.page-wireframe .wf-compare-head {
  text-align: center;
  width: 100%;
  max-width: none;
  margin: 0 auto 48px;
}
body.page-wireframe .wf-compare-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
body.page-wireframe .wf-compare-h2 {
  font-family: var(--fd);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--paper);
  margin: 0 0 14px;
}
@media (min-width: 768px) {
  body.page-wireframe .wf-compare-h2 {
    white-space: nowrap;
  }
}
body.page-wireframe .wf-compare-lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245,242,236,.72);
}
body.page-wireframe .wf-included-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 24px;
  width: 100%;
}
body.page-wireframe .wf-included-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  background: none;
  border: none;
}
body.page-wireframe .wf-included-item .wf-compare-yes {
  margin-bottom: 14px;
}
body.page-wireframe .wf-included-item .wf-compare-feature {
  display: block;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(245,242,236,.88);
  margin-bottom: 6px;
}
body.page-wireframe .wf-included-item .wf-compare-feature-sub {
  display: block;
  margin-top: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(245,242,236,.42);
  max-width: none;
}
@media (max-width: 1100px) {
  body.page-wireframe .wf-included-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  body.page-wireframe .wf-included-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}
body.page-wireframe .wf-compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
body.page-wireframe .wf-compare-yes::before {
  content: '';
  width: 22px;
  height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23EA4345' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.page-wireframe .wf-compare-no {
  color: rgba(245,242,236,.28);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}
body.page-wireframe .wf-compare-partial {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(245,242,236,.45);
  max-width: 9em;
}

/* Price objection (wireframe) — legacy section removed */
.price-objection {
  padding: 88px 0;
  background: var(--paper);
  border-top: 1px solid var(--wire);
}
.price-objection-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}
.price-objection-item {
  padding: 32px 36px;
  border-radius: 14px;
  border: 1.5px solid var(--wire);
  background: var(--panel);
}
.price-objection-q {
  font-family: var(--fd);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.price-objection-a {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--mid);
}
.price-objection-a strong { color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   VIDEO SECTION
══════════════════════════════════════════════════════════ */
.video-section {
  padding: 120px 0;
  background: var(--paper);
}
.video-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}
.sec-h2 {
  font-family: var(--fd);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}
.sec-h2 em { font-style:italic; color:var(--accent); }
.video-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.video-desc { font-size:16px; color:var(--mid); line-height:1.65; max-width:340px; margin: 0; }
.video-desc strong { font-weight:700; color:var(--ink); }

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
/* Grid pattern inside video */
.video-frame::before {
  content:'';
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
/* Fake wireframe in video bg */
.video-wf-ghost {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
}
.vg-bar { height: 28px; border-bottom: 1px solid rgba(255,255,255,.06); }
.vg-hero { flex: 1; display: flex; align-items: center; padding: 20px; }
.vg-hero-inner { display:flex; flex-direction:column; gap:8px; }
.vg-line { height:6px; background:rgba(255,255,255,.06); border-radius:2px; }
.vg-cards { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; padding:16px; }
.vg-card { border:1px solid rgba(255,255,255,.06); border-radius:4px; height:48px; }

.video-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.video-play-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.video-play-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 8px;
}
.video-play-btn:disabled {
  cursor: default;
}
.play-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.video-frame:not(.is-playing) .video-play-btn:hover .play-ring,
.video-frame:not(.is-playing) .video-play-btn:focus-visible .play-ring {
  transform: scale(1.08);
  box-shadow: 0 0 0 14px rgba(234,67,69,.15);
}
.video-caption {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  font-weight: 500;
}
.video-embed {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--dark);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed iframe:focus {
  outline: none;
}
.video-frame.is-playing {
  cursor: default;
}
.video-frame.is-playing::before,
.video-frame.is-playing .video-wf-ghost,
.video-frame.is-playing .video-center {
  display: none;
}
.video-frame.is-playing .video-embed {
  display: block;
}

.ai-works-with { margin: 0; }
.aww-line {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  max-width: 340px;
  margin: 0;
}
.aww-line strong {
  font-weight: 700;
  color: var(--ink);
}

/* ══════════════════════════════════════════════════════════
   WHAT'S INCLUDED
══════════════════════════════════════════════════════════ */
.included-section {
  padding: 100px 0 112px;
  background: var(--cream);
  border-top: 1px solid var(--wire);
}
.included-head {
  margin-bottom: 44px;
  max-width: 480px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.inc-card {
  background: var(--panel);
  border: 1.5px solid var(--wire);
  border-radius: 10px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body.page-wireframe .included-grid .inc-card--wide {
  grid-column: span 2;
}
.inc-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--wire);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.inc-title a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.inc-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
}
.inc-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
  margin: 0;
  flex: 1;
}
.inc-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--panel);
  color: var(--mid);
  border: 1.5px solid var(--wire);
  margin: 0 0 2px;
}
.inc-tag--addon {
  background: #EDE9FF;
  color: #4A3FB5;
  border-color: #C9C0F5;
}

.included-gallery {
  margin-top: 48px;
}
.included-gallery-viewport {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.included-gallery-viewport::before,
.included-gallery-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.included-gallery-viewport::before {
  left: 44px;
  background: linear-gradient(90deg, var(--cream) 0%, transparent 100%);
}
.included-gallery-viewport::after {
  right: 44px;
  background: linear-gradient(270deg, var(--cream) 0%, transparent 100%);
}
.included-gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--wire-dk) var(--wire);
  padding: 6px 4px 14px;
  border-radius: 12px;
  background: rgba(210, 206, 198, .22);
}
.included-gallery-scroll::-webkit-scrollbar {
  height: 8px;
}
.included-gallery-scroll::-webkit-scrollbar-track {
  margin: 0 8px;
  background: rgba(210, 206, 198, .35);
  border-radius: 100px;
}
.included-gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--wire-dk);
  border-radius: 100px;
}
.included-gallery-track {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0 2px;
  width: max-content;
}
.included-gallery-slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.included-gallery-slide img {
  display: block;
  width: min(480px, calc(100vw - 140px));
  height: 300px;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  border: 1.5px solid var(--wire);
  background: var(--panel);
  box-shadow: 0 4px 24px rgba(20, 18, 16, .08);
}
.gallery-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--wire);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, opacity .2s, transform .2s;
  z-index: 3;
}
.gallery-arrow:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.gallery-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.gallery-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.included-gallery-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.included-gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.included-gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 100px;
  background: var(--wire);
  cursor: pointer;
  transition: width .25s ease, background .2s ease;
}
.included-gallery-dot:hover {
  background: var(--wire-dk);
}
.included-gallery-dot.is-active {
  width: 28px;
  background: var(--accent);
}
.included-gallery-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 860px) {
  .included-gallery-viewport {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .included-gallery-viewport::before,
  .included-gallery-viewport::after {
    display: none;
  }
  .gallery-arrow {
    display: none;
  }
  .included-gallery-slide img {
    width: min(360px, calc(100vw - 72px));
    height: 220px;
  }
}

/* Figma: 3-up static gallery (no scroll) */
body.page-figma .included-gallery--static {
  margin-top: 48px;
}
body.page-figma .included-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.page-figma .included-gallery-grid li {
  min-width: 0;
}
body.page-figma .included-gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  border: 1.5px solid var(--wire);
  background: var(--panel);
  box-shadow: 0 4px 24px rgba(20, 18, 16, .08);
}
@media (max-width: 860px) {
  body.page-figma .included-gallery-grid {
    grid-template-columns: 1fr;
  }
  body.page-figma .included-gallery-grid img {
    aspect-ratio: auto;
    max-height: 320px;
  }
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS (longer benefit blocks)
══════════════════════════════════════════════════════════ */
.benefits {
  padding: 120px 0;
  background: var(--paper);
}
.benefits .video-head {
  display: grid;
  margin-bottom: 52px;
}
.benefits .video-head > * {
  min-width: 0;
}
.benefits .video-frame {
  margin-bottom: 64px;
}
.benefits-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}
.benefits .video-head-right {
  width: 100%;
  align-items: stretch;
}
.benefits .video-head-right .benefits-intro,
.benefits .video-head-right .video-desc {
  max-width: none;
  width: 100%;
}
.benefits .video-head-right .video-desc {
  font-size: 17px;
}
.benefits-intro { font-size:17px; color:var(--mid); line-height:1.65; max-width:320px; margin: 0; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px 28px 24px;
  border: 1.5px solid var(--wire);
  border-radius: 12px;
  background: var(--panel);
}
.benefit-copy {
  flex: 0 0 auto;
  margin-bottom: 24px;
}

.bn { font-size:14px; font-weight:700; letter-spacing:.12em; color:var(--accent); text-transform:uppercase; margin-bottom:16px; display:block; }
.bh3 {
  font-family: var(--fd);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.bh3 em { font-style:italic; color:var(--accent); }
.bp { font-size:16px; color:var(--mid); line-height:1.65; margin: 0; }

/* benefit visuals — centered in space below copy */
.bvis {
  flex: 1 1 auto;
  width: 100%;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 8px;
}
.benefit-browser {
  width: 100%;
  max-width: 188px;
  background: #fff;
  border: 1.5px solid var(--wire);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 18, 16, .07);
}
.benefit-browser--short { max-width: 172px; }
.benefit-browser-bar {
  height: 22px;
  background: var(--cream);
  border-bottom: 1px solid var(--wire);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}
.bb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wire); flex-shrink: 0; }
.bb-name { margin-left: 4px; font-size: 9px; color: var(--mid); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.benefit-browser-body {
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.benefit-wf { display: flex; flex-direction: column; gap: 5px; }
.benefit-wf .bw-nav {
  flex: 0 0 20px;
  border: 1px solid var(--wire);
  border-radius: 3px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
}
.benefit-wf .bw-nav .wl { width: 28px; height: 4px; margin: 0; background: #aaa; }
.benefit-wf .bw-nav .wbk { width: 22px; height: 8px; margin: 0; margin-left: auto; }
.benefit-wf .bw-hero {
  flex: 0 0 36px;
  min-height: 36px;
  border: 1px dashed var(--wire-dk);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-wf .bw-hero .wt { font-size: 7px; }
.benefit-wf .bw-feats {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
}
.benefit-wf .bw-feats .wcard {
  flex: 1;
  padding: 4px;
  border: 1px solid var(--wire);
  border-radius: 3px;
  min-width: 0;
}
.benefit-wf .bw-feats .wb { min-height: 14px; margin-bottom: 3px; border-width: 1px; border-radius: 2px; }
.benefit-wf .bw-feats .wb .wt { font-size: 6px; }
.benefit-wf .bw-feats .wl { height: 3px; margin: 0; }
.benefit-wf .bw-cta {
  flex: 0 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--wire);
  border-radius: 3px;
  padding: 3px;
}
.benefit-wf .bw-cta .wl { width: 36%; height: 4px; margin: 0; }
.benefit-wf .bw-cta .wbk { width: 52px; height: 8px; margin: 0; }
.benefit-wf--short .bw-hero { flex: 0 0 28px; min-height: 28px; }
.benefit-wf--short .bw-feats .wcard:nth-child(3) { display: none; }

/* prompt → html (block 1) & deck → html (block 2) */
.benefit-prompt-flow,
.benefit-deck-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
.benefit-chat {
  flex-shrink: 0;
  width: 100px;
  background: var(--dark);
  border: 1.5px solid rgba(20, 18, 16, .12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20, 18, 16, .08);
}
.benefit-chat-label {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  padding: 6px 7px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.benefit-chat-body {
  padding: 7px;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 7px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .82);
}
.benefit-chat-body p {
  margin: 0;
}
.benefit-chat-cursor {
  display: inline-block;
  width: 4px;
  height: 8px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 1px;
}

/* deck → html (block 2) */
.benefit-deck-cards {
  display: grid;
  grid-template-columns: repeat(2, 32px);
  grid-template-rows: repeat(2, 32px);
  gap: 3px;
  flex-shrink: 0;
}
.benefit-deck-cards .wf-deck-card {
  width: 32px;
  height: 32px;
  opacity: 1;
  transform: none;
  animation: none;
}
.benefit-deck-cards .dc-person::after {
  width: 14px;
  height: 14px;
  box-shadow: inset 0 -5px 0 -3px #e8e8e8;
}
.benefit-deck-cards .dc-lines span { height: 1.5px; }
.benefit-deck-cards .dc-btn i { height: 6px; }
.benefit-flow-arrow {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

/* file list (block 3) */
.benefit-files {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}
.benefit-file {
  padding: 10px 14px;
  background: var(--cream);
  border: 1px solid var(--wire);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

/* wireframe.css + pages (block 4) */
.benefit-css-sync {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 300px;
}
.benefit-css-editor {
  flex: 0 0 118px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(20, 18, 16, .12);
}
.benefit-css-editor-bar {
  padding: 6px 8px;
  background: #2a2a2a;
  border-bottom: 1px solid #3a3a3a;
  font-size: 9px;
  font-weight: 700;
  color: #e8e8e8;
  font-family: var(--fb);
}
.benefit-css-editor-body {
  padding: 8px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 8px;
  line-height: 1.55;
  color: #c8c8c8;
  flex: 1;
  min-height: 118px;
}
.benefit-css-editor-body .ck { color: #9cdcfe; }
.benefit-css-editor-body .cv { color: #ce9178; }
.benefit-css-editor-body .cp { color: #b5cea8; }
.benefit-pages {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 0 0 108px;
  justify-content: center;
}

/* price visual */
.bv-price { text-align:center; }
.bvp-n {
  font-family:var(--fd);
  font-size:80px;
  font-weight:800;
  line-height:1;
  letter-spacing:-.04em;
  margin-bottom:8px;
}
.bvp-tag {
  display:inline-block;
  font-size:13px;
  font-weight:600;
  color:var(--mid);
  background:var(--cream);
  border:1px solid var(--wire);
  border-radius:100px;
  padding:5px 14px;
}

/* ══════════════════════════════════════════════════════════
   COMMUNITY / TESTIMONIALS
══════════════════════════════════════════════════════════ */
.community {
  display: none; /* restore after launch */
  background: var(--dark);
  color: var(--paper);
  padding: 110px 0;
  overflow: hidden;
}
.community-head {
  text-align: center;
  margin-bottom: 64px;
}
.ch2 {
  font-family: var(--fd);
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.ch2 em { font-style:italic; color:var(--accent); }

/* Ticker */
.ticker-wrap {
  overflow: hidden;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content:'';
  position:absolute;
  top:0; bottom:0;
  width:140px;
  z-index:2;
  pointer-events:none;
}
.ticker-wrap::before { left:0;  background:linear-gradient(to right,  var(--dark), transparent); }
.ticker-wrap::after  { right:0; background:linear-gradient(to left, var(--dark), transparent); }

.ticker-track {
  display: flex;
  gap: 20px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }

.t-card {
  width: 310px;
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 26px;
}
.t-q {
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.78);
  font-style:italic;
  margin-bottom:18px;
}
.t-who { display:flex; gap:12px; align-items:center; }
.t-av {
  width:34px; height:34px;
  border-radius:50%;
  background:var(--accent);
  opacity:.65;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700; color:white;
  flex-shrink:0;
}
.t-name { font-size:13px; font-weight:600; }
.t-role { font-size:11px; color:rgba(255,255,255,.35); }

/* ══════════════════════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--dark);
  color: var(--paper);
  padding: clamp(100px, 14vw, 160px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.cta-h2 {
  font-family: var(--fd);
  font-size: clamp(54px, 5.6vw, 90px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.035em;
  margin-bottom: 24px;
  color: var(--paper);
}
.cta-h2 em { font-style: italic; color: var(--accent); }
.cta-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(245, 242, 236, .78);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.cta-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 44px;
}
.cta-price-n {
  font-family: var(--fd);
  font-size: clamp(56px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -.03em;
}
.cta-div { width: 1px; height: 48px; background: rgba(255, 255, 255, .18); }
.cta-price-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 15px;
  color: rgba(245, 242, 236, .72);
  line-height: 1.5;
}
.cta-price-meta li::before { content: '– '; color: var(--accent); font-weight: 600; }

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-actions-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2px 0;
}
.cta-final .hero-claude-note {
  color: rgba(245, 242, 236, .72);
}
.cta-final .hero-claude-note strong {
  color: var(--paper);
}
.cta-back {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35em 0.65em;
  margin: clamp(56px, 8vw, 88px) 0 0;
  padding: 0 52px clamp(44px, 5vw, 64px);
}
.cta-back-sep {
  color: rgba(245, 242, 236, .32);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}
.cta-back a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 242, 236, .55);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 242, 236, .22);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.cta-back a:hover {
  color: rgba(245, 242, 236, .9);
  border-color: rgba(245, 242, 236, .45);
}
.cta-final .btn-accent {
  font-size: 16px;
  padding: 16px 32px;
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--wire);
  padding: 28px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  background: var(--paper);
}
.fc-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  flex-shrink: 0;
}
.fc-product {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.fc-copy { font-size:12px; color:var(--mid); }
.fc-legal {
  font-size: 11px;
  color: var(--mid);
  line-height: 1.45;
  text-align: right;
  max-width: min(720px, 58vw);
  margin: 0;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1180px) {
  .hero-shell {
    gap: 40px 48px;
    max-width: 1040px;
  }
  .hook-edu { grid-template-columns: 1fr; }
  .hook-video-callout { margin-top: 0; max-width: 320px; }
  .hook-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hook-why-card--wide { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  #nav { padding: 16px 24px; }
  .nav-links { display:none; }

  .hero { padding:100px 24px 60px; min-height:auto; }
  .hero-shell { grid-template-columns: 1fr; gap: 32px; max-width: 560px; }
  .hero-visual { height:360px; margin-top:20px; }
  .hero-stage { max-width: none; }
  .hero-stage { gap: 12px; }
  .hero-mode-bar { gap: 14px 10px; }
  .hero-mode-lead { font-size: 12px; white-space: normal; }
  .hero-mode-pill { font-size: 11px; width: 9.75rem; flex: 0 0 9.75rem; padding: 7px 10px; }
  .hero-layout { flex-direction: column; align-items: stretch; }
  .hero-left { width: 100%; max-width: none; height: auto; min-height: 200px; max-height: none; }
  .hero-view-slot { flex: none; width: 100%; height: 320px; }

  .hook-section { padding: 80px 0 88px; }
  .hook-inner { gap: 40px; }
  .hook-edu { grid-template-columns: 1fr; }
  .hook-video-callout { max-width: none; }
  .hook-why-grid { grid-template-columns: 1fr; }
  .hook-pair,
  .hook-grid-2x2 { grid-template-columns: 1fr; }
  .hook-anchor,
  .hook-why-card--panel,
  .hook-grid-2x2 .hook-why-card { padding: 28px 24px; }
  .price-objection { padding: 64px 0; }
  .price-objection-inner { grid-template-columns: 1fr; gap: 20px; }

  .video-head { grid-template-columns:1fr; gap:24px; }
  .benefits-head { flex-direction:column; gap:20px; align-items:flex-start; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding: 24px 20px 20px; }
  .bvis { min-height: 140px; padding: 12px 0 6px; }

  .wrap { padding:0 24px; }
  .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits, .included-section, .video-section, .hook-section, .community, .cta-final { padding:80px 0; }
  body.page-wireframe .hook-section .wf-compare-head { margin-bottom: 32px; }
  .cta-back { padding-left: 24px; padding-right: 24px; margin-top: 48px; }
  footer { padding:24px; flex-direction:column; gap:14px; text-align:center; }
  .fc-left { align-items: center; }
  .fc-legal { text-align: center; max-width: none; }
}

/* ─── Product landing — mobile nav & hero (wireframe + figma) ─ */
@media (max-width: 860px) {
  body.page-wireframe #nav,
  body.page-figma #nav {
    gap: 12px;
    padding: 12px 20px;
    align-items: center;
  }
  body.page-wireframe .nav-logo,
  body.page-figma .nav-logo {
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
  }
  body.page-wireframe .nav-mark,
  body.page-figma .nav-mark {
    width: 38px;
    height: 38px;
  }
  body.page-wireframe .nav-brand,
  body.page-figma .nav-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 15px;
    line-height: 1.15;
    min-width: 0;
  }
  body.page-wireframe .nav-brand-product,
  body.page-figma .nav-brand-product {
    font-size: 12px;
    font-weight: 600;
    color: var(--mid);
    letter-spacing: -.01em;
  }
  body.page-wireframe .nav-end,
  body.page-figma .nav-end {
    gap: 0;
    flex-shrink: 0;
  }
  body.page-wireframe .nav-buy,
  body.page-figma .nav-buy {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
  }

  body.page-wireframe .hero,
  body.page-figma .hero {
    padding: 96px 20px 52px;
    align-items: flex-start;
  }
  body.page-wireframe .hero-shell,
  body.page-figma .hero-shell {
    max-width: none;
    width: 100%;
    gap: 28px;
  }
  body.page-wireframe .hero-kicker,
  body.page-figma .hero-kicker {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  body.page-wireframe .hero-h1,
  body.page-figma .hero-h1 {
    font-size: clamp(38px, 10.5vw, 52px);
    margin-bottom: 18px;
  }
  body.page-wireframe .hero-sub,
  body.page-figma .hero-sub {
    font-size: 16px;
    line-height: 1.6;
    max-width: none;
    margin-bottom: 28px;
  }
  body.page-wireframe .hero-actions,
  body.page-figma .hero-actions {
    margin-bottom: 32px;
  }
  body.page-wireframe .hero-actions-layout,
  body.page-figma .hero-actions-layout {
    column-gap: 16px;
    row-gap: 40px;
    max-width: 100%;
  }
  body.page-wireframe .hero-actions-layout > .btn-accent,
  body.page-figma .hero-actions-layout > .btn-accent {
    font-size: 15px;
    padding: 14px 22px;
  }
  body.page-wireframe .hero-actions-side,
  body.page-figma .hero-actions-side {
    align-items: flex-start;
    text-align: left;
  }
  body.page-wireframe .hero-stats,
  body.page-figma .hero-stats {
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 24px;
  }
  body.page-wireframe .hero-stats > div,
  body.page-figma .hero-stats > div {
    flex: 1 1 0;
    min-width: 72px;
  }
  body.page-wireframe .stat-n,
  body.page-figma .stat-n {
    font-size: 22px;
  }
  body.page-wireframe .stat-l,
  body.page-figma .stat-l {
    font-size: 10px;
  }

  body.page-wireframe .hero-visual,
  body.page-figma .hero-visual {
    height: auto;
    min-height: 0;
    margin-top: 8px;
    width: 100%;
  }
  body.page-wireframe .hero-mode-bar,
  body.page-figma .hero-mode-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: none;
  }
  body.page-wireframe .hero-mode-lead,
  body.page-figma .hero-mode-lead {
    text-align: left;
    margin-bottom: 0;
  }
  body.page-wireframe .hero-mode-pills,
  body.page-figma .hero-mode-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
  }
  body.page-wireframe .hero-mode-pill,
  body.page-figma .hero-mode-pill {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    font-size: 11px;
    line-height: 1.25;
    padding: 8px 10px;
  }
  body.page-wireframe .hero-mode-pill--figma {
    flex: 1 1 100%;
  }
  body.page-wireframe .hero-layout,
  body.page-figma .hero-layout {
    gap: 20px;
  }
  body.page-wireframe .hero-left,
  body.page-figma .hero-left {
    min-height: 168px;
  }
  body.page-wireframe .hero-view-slot,
  body.page-figma .hero-view-slot {
    height: min(72vw, 300px);
    min-height: 240px;
  }
}

@media (max-width: 400px) {
  body.page-wireframe #nav,
  body.page-figma #nav {
    padding: 10px 14px;
    gap: 8px;
  }
  body.page-wireframe .nav-mark,
  body.page-figma .nav-mark {
    width: 34px;
    height: 34px;
  }
  body.page-wireframe .nav-brand-name,
  body.page-figma .nav-brand-name {
    font-size: 14px;
  }
  body.page-wireframe .nav-brand-product,
  body.page-figma .nav-brand-product {
    display: none;
  }
  body.page-wireframe .nav-buy,
  body.page-figma .nav-buy {
    font-size: 12px;
    padding: 9px 12px;
  }
  body.page-wireframe .hero-h1,
  body.page-figma .hero-h1 {
    font-size: clamp(34px, 9.5vw, 44px);
  }
  body.page-wireframe .hero-mode-pill,
  body.page-figma .hero-mode-pill {
    flex: 1 1 100%;
  }
  body.page-wireframe .hero-mode-pill--figma {
    flex: 1 1 100%;
  }
}


/* ══════════════════════════════════════════════════════════
   HUB HOME (index.html) — body.page-hub
══════════════════════════════════════════════════════════ */
body.page-hub #nav {
  justify-content: space-between;
}
body.page-hub .hero {
  min-height: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 52px 80px;
  overflow: visible;
}
body.page-hub .hero::before {
  background-image:
    linear-gradient(rgba(168,164,156,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,164,156,.15) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}
body.page-hub .hero-kicker {
  padding: 6px 14px 6px 10px;
  margin-bottom: 28px;
  animation: none;
}
body.page-hub .kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
body.page-hub .hero h1 {
  font-family: var(--fd);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  line-height: .93;
  letter-spacing: -.032em;
  margin-bottom: 24px;
  position: relative;
  animation: none;
}
body.page-hub .hero h1 em {
  color: var(--accent);
  font-style: italic;
}
body.page-hub .hero > p {
  font-size: 18px;
  color: var(--mid);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 48px;
  position: relative;
  animation: none;
}
body.page-hub .products {
  padding: 0 52px 120px;
  max-width: 1200px;
  margin: 0 auto;
}
body.page-hub .products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
body.page-hub .product-card {
  background: var(--panel);
  border: 1.5px solid var(--wire);
  border-radius: 12px;
  padding: 36px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
body.page-hub .product-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(20,18,16,.08);
}
body.page-hub .product-card.placeholder {
  border-style: dashed;
  pointer-events: none;
  opacity: .5;
}
body.page-hub .card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
body.page-hub .card-label.live { color: var(--accent); }
body.page-hub .card-title {
  font-family: var(--fd);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
body.page-hub .card-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
}
body.page-hub .card-price {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
body.page-hub .card-price-note {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0;
}
body.page-hub .card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
body.page-hub .docs-link {
  text-align: center;
  padding: 0 52px 80px;
}
body.page-hub .docs-link a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--wire);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
body.page-hub .docs-link a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 860px) {
  body.page-hub .hero { padding: 120px 24px 60px; }
  body.page-hub .products { padding: 0 24px 80px; }
  body.page-hub .products-grid { grid-template-columns: 1fr; }
  body.page-hub .docs-link { padding: 0 24px 60px; }
}

/* ══════════════════════════════════════════════════════════
   FIGMA PRODUCT PAGE — body.page-figma hero (2 modes)
══════════════════════════════════════════════════════════ */
body.page-figma .hero-stage.phase-deck-figma .hero-mode-pill--deck-figma,
body.page-figma .hero-stage.phase-figma .hero-mode-pill--figma {
  border-color: var(--accent);
  color: var(--ink);
}
body.page-figma .hero-stage.phase-deck-figma .hero-input--deck {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.page-figma .hero-stage.phase-deck-figma .hero-input--figma {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.page-figma .hero-stage.phase-figma .hero-input--deck {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.page-figma .hero-stage.phase-figma .hero-input--figma {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.page-figma .hero-figma-app {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
body.page-figma .figma-canvas {
  position: relative;
}
body.page-figma .hero-stage.phase-deck-figma .figma-ab-1,
body.page-figma .hero-stage.phase-deck-figma .figma-ab-2 {
  display: none;
}
body.page-figma .hero-stage.phase-figma .figma-artboard--generated {
  display: none;
}
body.page-figma .figma-artboard--generated {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  min-height: 168px;
  margin: 0;
  flex: none;
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  z-index: 2;
  animation: figmaGenAbIn .5s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-play-state: paused;
}
@keyframes figmaGenAbIn {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
body.page-figma .hero-stage.phase-deck-figma.play .figma-artboard--generated {
  animation-play-state: running;
  animation-delay: 2.5s;
}
body.page-figma .fab-gen {
  opacity: 0;
  transform: translateY(4px);
  animation: fabGenIn .32s ease forwards;
  animation-play-state: paused;
}
@keyframes fabGenIn { to { opacity: 1; transform: none; } }
body.page-figma .hero-stage.phase-deck-figma.play .fab-gen {
  animation-play-state: running;
}
body.page-figma .fab-gen-d1 { animation-delay: 2.65s; }
body.page-figma .fab-gen-d2 { animation-delay: 2.9s; }
body.page-figma .fab-gen-d3 { animation-delay: 3.15s; }
body.page-figma .fab-gen-d4 { animation-delay: 3.4s; }
body.page-figma .fab-gen-d5 { animation-delay: 3.65s; }
body.page-figma .hero-stage.phase-deck-figma.play .wf-deck-card {
  animation-play-state: running;
}
body.page-figma .hero-stage.phase-deck-figma.play .hero-phone {
  animation-play-state: running;
  animation-delay: 1.35s;
}
body.page-figma .hero-stage.phase-deck-figma.play .hero-phone-flash {
  animation: phoneFlash .28s ease 2.38s forwards;
}
body.page-figma .figma-canvas-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
body.page-figma .hero-stage.phase-deck-figma.play .figma-canvas-flash {
  animation: figmaCanvasFlash .45s ease 2.48s forwards;
}
@keyframes figmaCanvasFlash {
  0%, 100% { opacity: 0; }
  40% { opacity: 1; }
}
body.page-figma .hero-stage.phase-figma.play .lib-tile,
body.page-figma .hero-stage.phase-figma.play .figma-ab-1,
body.page-figma .hero-stage.phase-figma.play .figma-ab-2 {
  animation-play-state: running;
}
body.page-figma .included-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
  body.page-figma .included-grid {
    grid-template-columns: 1fr;
  }
}

/* Figma page — How it works visuals */
body.page-figma .benefit-deck-figma-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}
body.page-figma .benefit-figma-mini {
  flex-shrink: 0;
  width: 168px;
  background: #1e1e1e;
  border: 1.5px solid #3a3a3a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 18, 16, .12);
  display: flex;
  flex-direction: column;
}
body.page-figma .bfm-top {
  height: 22px;
  background: #2c2c2c;
  border-bottom: 1px solid #3a3a3a;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
  flex-shrink: 0;
}
body.page-figma .bfm-logo {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(135deg, #f24e1e, #a259ff 52%, #0acf83);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.page-figma .bfm-file {
  font-size: 8px;
  color: #c8c8c8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-figma .bfm-main {
  display: flex;
  flex: 1;
  min-height: 108px;
}
body.page-figma .bfm-toolbar {
  width: 18px;
  flex: 0 0 18px;
  background: #2c2c2c;
  border-right: 1px solid #3a3a3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  gap: 4px;
}
body.page-figma .bfm-tool {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #444;
}
body.page-figma .bfm-tool.on { background: #5b8def; }
body.page-figma .bfm-canvas {
  flex: 1;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  min-width: 0;
}
body.page-figma .bfm-artboard {
  width: 72px;
  min-height: 86px;
  background: #fff;
  border: 1px solid #b8b8b8;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.page-figma .bfm-nav {
  height: 5px;
  flex: 0 0 5px;
  background: #2a2a2a;
  border-radius: 1px;
}
body.page-figma .bfm-hero {
  height: 22px;
  flex: 0 0 22px;
  border: 1px dashed #ccc;
  border-radius: 2px;
  background: #f8f8f8;
}
body.page-figma .bfm-row {
  display: flex;
  gap: 2px;
  height: 14px;
  flex: 0 0 14px;
}
body.page-figma .bfm-row > div {
  flex: 1;
  background: #efefef;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
}
body.page-figma .bfm-cta {
  height: 6px;
  flex: 0 0 6px;
  background: #2a2a2a;
  border-radius: 2px;
  margin-top: auto;
}
body.page-figma .benefit-library-mini {
  width: 100%;
  max-width: 248px;
  background: linear-gradient(165deg, #f5f3ee, #EEEDE7);
  border: 1px solid var(--wire);
  border-radius: 8px;
  padding: 8px 7px;
}
body.page-figma .benefit-library-mini-label {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
  text-align: center;
  margin-bottom: 6px;
}
body.page-figma .benefit-library-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
body.page-figma .benefit-library-mini-grid .lib-tile {
  height: 36px;
  opacity: 1;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body.page-figma .hero-stage.phase-deck-figma .hero-input--deck {
    opacity: 0;
    visibility: hidden;
  }
  body.page-figma .hero-stage.phase-figma .hero-input--figma,
  body.page-figma .hero-stage:not(.phase-figma) .hero-input--figma {
    opacity: 1;
    visibility: visible;
  }
  body.page-figma .hero-stage:not(.phase-figma) {
    /* default first paint is deck-figma; show library for reduced motion */
  }
  body.page-figma .hero-stage.phase-deck-figma .figma-artboard--generated,
  body.page-figma .wf-deck-card,
  body.page-figma .hero-phone,
  body.page-figma .fab-gen,
  body.page-figma .lib-tile,
  body.page-figma .figma-artboard {
    opacity: 1;
    transform: none;
    animation: none;
  }
  body.page-figma .hero-stage.phase-deck-figma .figma-ab-1,
  body.page-figma .hero-stage.phase-deck-figma .figma-ab-2 {
    display: none;
  }
  body.page-figma .hero-stage.phase-figma .figma-artboard--generated {
    display: none;
  }
}
