/* iso.css — Doppio "toy city" reskin
   Bright blocky SimCity / Transport Tycoon energy on warm beige, kept
   SaaS-clean. Palette flows through --c-* vars (Tweaks can override). */

:root {
  --c-bg:    #F5F2EC;
  --c-panel: #F9F7F3;
  --c-ink:     #2E2822;
  --c-primary: #8A4A86;
  --c-blue:    #3C6E93;
  --c-amber:   #D2954A;
  --c-green:   #5A9A6F;
  --c-purple:  #5E4B8B;
  --c-plaza:   #E4D8C0;
  --c-grass:   #B2BF90;
  --c-road:    #AE9F82;
  --ink-line:  rgba(46,40,34,0.86);
  --soft-line: rgba(46,40,34,0.13);
  --toy-sh:    4px 5px 0 rgba(46,40,34,0.11);
  --toy-sh-lg: 7px 9px 0 rgba(46,40,34,0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--c-bg); }
body {
  font-family: 'Geist', system-ui, sans-serif;
  color: var(--c-ink);
  background: var(--c-bg);
  background-image:
    repeating-linear-gradient(26.57deg, rgba(43,38,32,0.038) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(-26.57deg, rgba(43,38,32,0.038) 0 1px, transparent 1px 38px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 56px; }

/* ── headings / shared type ────────────────────────────────────────────── */
h1, h2, h3, .wordmark, .num { font-family: 'Fredoka', 'Geist', sans-serif; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(43,38,32,0.62); white-space: nowrap;
  margin-bottom: 18px;
}
.eyebrow.center { justify-content: center; }
.eb-chip { width: 12px; height: 12px; background: var(--c-amber); transform: rotate(45deg);
  box-shadow: inset 0 0 0 1.5px var(--ink-line); }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn, .nav-install, .nav-login, .plan-cta {
  font-family: 'Geist', sans-serif; font-weight: 600; font-size: 15px; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 4px; padding: 14px 24px;
  border: 2px solid var(--ink-line);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
/* chunky isometric block: hard offset drop + a faint extrusion bevel */
.btn.primary, .plan-cta.primary, .nav-install {
  background: var(--c-primary); color: #FFF6EE;
  box-shadow: var(--toy-sh), inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -2px 0 rgba(46,40,34,0.11);
}
.btn.outline, .plan-cta.outline {
  background: var(--c-panel); color: var(--c-ink);
  box-shadow: var(--toy-sh), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(46,40,34,0.05);
}
.btn:hover, .nav-install:hover, .nav-login:hover, .plan-cta:hover { transform: translate(-1px,-1px);
  box-shadow: 6px 8px 0 rgba(43,38,32,0.16), inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -2px 0 rgba(46,40,34,0.08); }
.btn:active, .nav-install:active, .nav-login:active, .plan-cta:active { transform: translate(2px,3px);
  box-shadow: 1px 1px 0 rgba(43,38,32,0.16), inset 0 1px 0 rgba(46,40,34,0.07); }

/* ── top nav ───────────────────────────────────────────────────────────── */
.top-nav { position: sticky; top: 0; z-index: 50;
  background: rgba(245,242,236,0.90); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink-line); }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 56px; height: 70px;
  display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 25px; letter-spacing: -0.01em; color: var(--c-ink); text-decoration: none; }
.cube-mark { width: 27px; height: 29px; display: block; filter: drop-shadow(2px 2px 0 rgba(43,38,32,0.18)); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--c-ink); opacity: 0.78; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:hover { opacity: 1; color: var(--c-primary); }
.nav-ic { width: 20px; height: 20px; object-fit: contain; display: block;
  filter: drop-shadow(1.5px 1.5px 0 rgba(43,38,32,0.16)); }
.nav-install { padding: 10px 18px; font-size: 13.5px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { padding: 10px 18px; font-size: 13.5px;
  background: var(--c-panel); color: var(--c-ink);
  box-shadow: var(--toy-sh), inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(46,40,34,0.05); }

/* ── Coffee Break dropdown ─────────────────────────────────────────────── */
.nav-dd { position: relative; }
.nav-dd-trigger { appearance: none; border: none; background: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--c-ink); opacity: 0.78;
  display: inline-flex; align-items: center; gap: 5px; }
.nav-dd:hover .nav-dd-trigger, .nav-dd:focus-within .nav-dd-trigger { opacity: 1; color: var(--c-primary); }
.dd-caret { font-size: 10px; transition: transform .18s ease; }
.nav-dd:hover .dd-caret { transform: rotate(180deg); }
/* invisible hover bridge so the menu survives the gap */
.nav-dd::after { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 16px; }
.nav-dd-menu { position: absolute; top: calc(100% + 13px); right: 0; min-width: 218px;
  background: var(--c-panel); border: 2px solid var(--ink-line); border-radius: 7px;
  box-shadow: var(--toy-sh-lg); padding: 7px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-head { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(43,38,32,0.45); padding: 5px 8px 8px; }
.dd-item { display: flex; align-items: center; gap: 10px; width: 100%; appearance: none; cursor: pointer;
  background: var(--c-bg); border: 2px solid var(--ink-line); border-radius: 5px; padding: 9px 10px;
  font-family: 'Geist', sans-serif; font-size: 14px; font-weight: 600; color: var(--c-ink); text-align: left;
  box-shadow: 1.5px 2px 0 rgba(43,38,32,0.12); transition: transform .1s ease, box-shadow .1s ease; }
.dd-item:hover { transform: translate(-1px,-1px); box-shadow: 2.5px 3px 0 rgba(43,38,32,0.16); }
.dd-ic { font-size: 14px; width: 18px; text-align: center; color: var(--c-primary); }
.dd-label { flex: 1; }
.dd-toggle { width: 30px; height: 17px; border-radius: 999px; border: 2px solid var(--ink-line);
  background: var(--c-bg); position: relative; flex: none; transition: background .15s ease; }
.dd-knob { position: absolute; top: 1px; left: 1px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink-line); transition: transform .15s ease, background .15s ease; }
.dd-item.on .dd-toggle { background: var(--c-green); }
.dd-item.on .dd-knob { transform: translateX(13px); background: #FFF6EE; }

/* ── CRT mode overlay ──────────────────────────────────────────────────── */
/* z below the demo lightbox (1000) so the demo opens cleanly on top.
   isolate + no blend-mode so the animating overlay never stalls repaints of
   sibling layers (e.g. the demo modal). */
.crt-overlay { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0;
  transition: opacity .3s ease; overflow: hidden; isolation: isolate; }
html.crt .crt-overlay { opacity: 1; }
.crt-overlay::before { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom,
    rgba(0,0,0,0.10) 0, rgba(0,0,0,0.10) 1px, transparent 1px, transparent 3px);
  box-shadow: inset 0 0 130px 14px rgba(16,9,5,0.30); }
.crt-overlay::after { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 115% at 50% 50%, rgba(80,255,150,0.025) 0%, transparent 46%),
    radial-gradient(140% 140% at 50% 48%, transparent 72%, rgba(10,7,4,0.22) 100%);
  animation: crtFlicker 6.5s steps(40) infinite; }
.crt-roll { position: absolute; left: 0; right: 0; height: 26%; top: -26%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.03) 50%, transparent);
  animation: crtRoll 9s linear infinite; }
@keyframes crtRoll { to { top: 122%; } }
@keyframes crtFlicker { 0%,46%,100% { opacity: 1; } 47% { opacity: 0.94; } 48% { opacity: 1; }
  72% { opacity: 0.97; } 73% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .crt-roll, .crt-overlay::after { animation: none; } }

/* ── now-playing floating control ──────────────────────────────────────── */
.np-chip { position: fixed; left: 22px; bottom: 22px; z-index: 9000;
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--c-panel); border: 2px solid var(--ink-line); border-radius: 6px;
  box-shadow: var(--toy-sh); padding: 9px 10px 9px 13px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.05em;
  color: var(--c-ink); animation: npIn .25s ease both; }
@keyframes npIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.np-eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 15px; }
.np-eq i { width: 3px; height: 100%; background: var(--c-primary); border-radius: 1px;
  transform-origin: bottom; animation: npBar 0.85s ease-in-out infinite; }
.np-eq i:nth-child(1) { animation-delay: 0s; }
.np-eq i:nth-child(2) { animation-delay: .18s; }
.np-eq i:nth-child(3) { animation-delay: .36s; }
.np-eq i:nth-child(4) { animation-delay: .1s; }
@keyframes npBar { 0%,100% { transform: scaleY(0.28); } 50% { transform: scaleY(1); } }
.np-label { font-weight: 700; }
.np-stop { appearance: none; cursor: pointer; margin-left: 1px; flex: none;
  width: 25px; height: 25px; border: 2px solid var(--ink-line); border-radius: 5px;
  background: var(--c-primary); color: #FFF6EE; font-size: 9px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 1.5px 2px 0 rgba(43,38,32,0.16); transition: transform .1s ease, box-shadow .1s ease; }
.np-stop:hover { transform: translate(-1px,-1px); box-shadow: 2.5px 3px 0 rgba(43,38,32,0.18); }
.np-stop:active { transform: translate(1px,2px); box-shadow: 1px 1px 0 rgba(43,38,32,0.16); }
@media (prefers-reduced-motion: reduce) { .np-eq i { animation: none; } }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 30px 0 40px; overflow: hidden; }
.hero-grid { max-width: 1480px; margin: 0 auto; padding: 0 56px;
  display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 30px; align-items: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--c-ink); background: var(--c-panel); white-space: nowrap;
  border: 2px solid var(--ink-line); border-radius: 999px; padding: 7px 15px 7px 12px;
  box-shadow: var(--toy-sh); margin-bottom: 26px;
}
.hero-tag .blip { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(232,85,46,0.22); animation: blip 2.4s ease-in-out infinite; }
@keyframes blip { 0%,100%{ box-shadow: 0 0 0 0 rgba(232,85,46,0.34); } 50%{ box-shadow: 0 0 0 5px rgba(232,85,46,0); } }

.hero h1 {
  margin: 0 0 24px; font-weight: 600;
  font-size: clamp(42px, 4.8vw, 72px); line-height: 1.0; letter-spacing: -0.018em;
  text-wrap: balance;
}
.hero h1 .c1 { color: var(--c-primary); }
.hero h1 .c2 { color: var(--c-blue); }
.hero .lede { margin: 0 0 30px; font-size: 19px; line-height: 1.5; font-weight: 450;
  color: rgba(43,38,32,0.82); max-width: 30em; }

.hero-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.demo-link {
  appearance: none; border: none; background: none; cursor: pointer; padding: 4px 2px; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--c-primary); display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 2px dashed rgba(232,85,46,0.5);
}
.demo-link:hover { color: var(--c-ink); border-bottom-color: var(--c-ink); }
.demo-link .pp { width: 18px; height: 18px; border-radius: 50%; background: var(--c-primary); color: #FFF6EE;
  display: inline-flex; align-items: center; justify-content: center; font-size: 8px; padding-left: 1px; }
.demo-btn .pp { width: 20px; height: 20px; border-radius: 50%; background: var(--c-primary); color: #FFF6EE;
  display: inline-flex; align-items: center; justify-content: center; font-size: 9px; padding-left: 1px; margin-right: 2px; }

.hero-meta { display: flex; flex-direction: column; gap: 11px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500;
  color: rgba(43,38,32,0.78); white-space: nowrap; }
.hero-meta span::before { content: none; }
.hero-meta .meta-mark { flex: none; width: 8px; height: 8px;
  background: var(--c-green); transform: rotate(45deg); border-radius: 1.5px; }

/* ── ISO STAGE ─────────────────────────────────────────────────────────── */
.iso-stage { position: relative; width: 100%; aspect-ratio: 1040 / 700;
  container-type: inline-size; margin-top: 64px; }
.iso-stage[data-scene="auditorium"] .crt-badge { display: none; }
.iso-world { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.iso-crowd { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  pointer-events: none; z-index: 5; }

/* floaty vote chips rising toward the screen */
.iso-floaties { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.vote-chip { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: 2.6cqw; font-weight: 700;
  color: #FFF6EE; background: var(--c-primary); border: 2px solid var(--ink-line); border-radius: 999px;
  padding: 0.5cqw 1.4cqw; box-shadow: 2px 2px 0 rgba(43,38,32,0.18); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .vote-chip { animation: floatUp 6s ease-in-out infinite; }
}
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(0) scale(0.85); }
  12% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-7cqw) scale(1); }
}

/* ── CRT monitor (the live-poll screen, planted in the scene) ────────────
   The monitor is its OWN sizing container, so its width is a fraction of the
   stage but everything INSIDE scales to the monitor (cqw = % of monitor). */
.iso-monitor { position: absolute; left: 50%; top: 43%; transform: translate(-50%, -50%);
  width: 70cqw; min-width: 288px; container-type: inline-size; }
.iso-stage[data-scene="auditorium"] .iso-monitor { top: 23%; width: 57cqw; }
.iso-stage[data-scene="city"] .iso-monitor { top: 35%; width: 60cqw; }
.iso-stage[data-scene="desk"] .iso-monitor { top: 35%; width: 58cqw; }

/* monitor body — a chunky beige computer monitor */
.crt { position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--c-panel); border: 1.4cqw solid var(--ink-line); border-radius: 3.4cqw;
  padding: 2.2cqw 2.2cqw 0;
  box-shadow: 2.6cqw 3.4cqw 0 rgba(43,38,32,0.18), inset 0 0 0 0.7cqw rgba(255,255,255,0.45);
  transition: transform 0.18s ease; }
.crt:hover { transform: translateY(-1cqw); }
.crt-screen { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: #E7E3D7; border: 0.8cqw solid var(--ink-line); border-radius: 1.6cqw; }
.crt-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 42%); }
.crt-chin { height: 6cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 0 1.4cqw; }
.crt-led { width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: var(--c-green);
  box-shadow: 0 0 0 0.6cqw rgba(43,164,106,0.3); flex: none; }
@media (prefers-reduced-motion: no-preference) { .crt-led { animation: ledBlink 2s ease-in-out infinite; } }
@keyframes ledBlink { 0%,100%{ opacity: 1; } 50%{ opacity: 0.4; } }
.crt-brand { font-family: 'JetBrains Mono', monospace; font-size: 2.3cqw; letter-spacing: 0.1em; color: rgba(43,38,32,0.5); }
.crt-knob { margin-left: auto; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: var(--c-bg);
  box-shadow: inset 0 0 0 0.6cqw var(--c-amber); flex: none; }
.iso-monitor .crt-badge {
  position: absolute; left: 50%; bottom: -3.2cqw; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 1.6cqw; white-space: nowrap;
  font-family: 'Geist', sans-serif; font-weight: 600; font-size: 3.4cqw; color: var(--c-ink);
  background: var(--c-amber); border: 0.7cqw solid var(--ink-line); border-radius: 999px;
  padding: 1.5cqw 3.2cqw; box-shadow: 0.9cqw 1.3cqw 0 rgba(43,38,32,0.18);
  animation: badgeBob 2.8s ease-in-out infinite; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .iso-monitor .crt-badge { animation: none; } }
@keyframes badgeBob { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(-1cqw); } }
.crt-play { width: 4cqw; height: 4cqw; border-radius: 50%; background: var(--c-primary); color: #FFF6EE;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2cqw; padding-left: 0.3cqw; flex: none; }

/* compact Google Slides editor on the screen (cqw = % of monitor width) */
.mini-ed { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--c-panel);
  font-family: 'Geist', sans-serif; }
.mini-bar { flex: none; height: 7cqw; display: flex; align-items: center; gap: 1.4cqw; padding: 0 1.8cqw;
  background: var(--c-panel); border-bottom: 0.5cqw solid var(--ink-line); }
.mini-logo { width: 4cqw; height: 4cqw; border-radius: 1cqw; border: 0.4cqw solid var(--ink-line); background: var(--c-primary);
  display: flex; flex-direction: column; justify-content: center; gap: 0.5cqw; padding: 0 0.8cqw; flex: none; }
.mini-logo i { height: 0.45cqw; border-radius: 1cqw; background: #FFF1E6; width: 100%; }
.mini-logo i:nth-child(2){ width: 60%; } .mini-logo i:nth-child(3){ width: 85%; }
.mini-title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 3cqw; color: var(--c-ink); white-space: nowrap; }
.mini-sp { flex: 1; }
.mini-present { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 2.5cqw; color: #FFFFFF;
  background: var(--c-blue); border: 0.4cqw solid var(--ink-line); border-radius: 1.4cqw; padding: 0.8cqw 1.8cqw; white-space: nowrap; }
.mini-body { flex: 1; min-height: 0; display: flex; }
.mini-rail { flex: none; width: 13cqw; background: var(--c-bg); border-right: 0.5cqw solid var(--ink-line);
  padding: 1.4cqw 1cqw; display: flex; flex-direction: column; gap: 1.2cqw; }
.mini-rail .mt { aspect-ratio: 16/10; border: 0.4cqw solid var(--ink-line); border-radius: 1cqw; background: var(--c-panel);
  display: flex; flex-direction: column; justify-content: center; gap: 0.6cqw; padding: 0 1.2cqw; }
.mini-rail .mt i { height: 0.7cqw; border-radius: 1cqw; background: rgba(43,38,32,0.3); }
.mini-rail .mt i:nth-child(2){ width: 60%; background: var(--c-primary); }
.mini-rail .mt.active { border-color: var(--c-blue); box-shadow: 0 0 0 0.5cqw rgba(46,125,214,0.3); }
.mini-canvas { flex: 1; min-width: 0; background: #E1DCCE; padding: 2cqw; display: flex;
  background-image: radial-gradient(rgba(43,38,32,0.07) 0.7cqw, transparent 0.7cqw); background-size: 4cqw 4cqw; }
.mini-slide { flex: 1; min-width: 0; background: var(--c-panel); border: 0.6cqw solid var(--ink-line); border-radius: 1.4cqw;
  box-shadow: 1cqw 1.4cqw 0 rgba(43,38,32,0.14); padding: 2.4cqw 2.6cqw; display: flex; flex-direction: column; gap: 1.5cqw; }
.mini-kick { font-family: 'JetBrains Mono', monospace; font-size: 2cqw; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(43,38,32,0.55); display: flex; align-items: center; gap: 1.2cqw; }
.mini-kick .dot { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--c-primary);
  box-shadow: 0 0 0 0.8cqw rgba(232,85,46,0.22); }
.mini-q { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 4cqw; line-height: 1.05; color: var(--c-ink); margin-bottom: 0.6cqw; }
.mini-opt { display: grid; grid-template-columns: 16cqw 1fr 7cqw; align-items: center; gap: 1.6cqw; }
.mini-lbl { font-size: 2.5cqw; font-weight: 600; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-track { height: 2.8cqw; border-radius: 1.6cqw; background: rgba(43,38,32,0.1); overflow: hidden; border: 0.4cqw solid var(--ink-line); }
.mini-fill { display: block; height: 100%; border-radius: 1.2cqw 0 0 1.2cqw; transition: width 0.7s cubic-bezier(.3,.8,.3,1); }
.mini-pct { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 2.7cqw; color: var(--c-ink); text-align: right; font-variant-numeric: tabular-nums; }

/* shared bar colors */
.c-primary { background: var(--c-primary); }
.c-blue { background: var(--c-blue); }
.c-amber { background: var(--c-amber); }
.c-green { background: var(--c-green); }
.c-purple { background: var(--c-purple); }

/* ── LIGHTBOX (full interactive demo) ──────────────────────────────────── */
/* translateZ + will-change pin the modal to its own permanent GPU layer so it
   always composites (fixes a bug where it only painted while the mouse was
   outside the window under CRT mode). No backdrop-filter for the same reason. */
.lb-back { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: clamp(14px,4vh,46px) clamp(14px,4vw,54px); background: rgba(43,38,32,0.64);
  animation: lbFade 0.3s ease both; transform: translateZ(0); will-change: transform; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
/* editor window */
.ed { width: min(1240px, 96vw); max-height: 92vh; overflow: hidden;
  background: var(--c-panel); border: 2.5px solid var(--ink-line); border-radius: 20px;
  box-shadow: 12px 16px 0 rgba(43,38,32,0.22); display: flex; flex-direction: column;
  will-change: transform;
  animation: lbPop 0.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lbPop { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes lbPulse { 0%{ box-shadow: 0 0 0 0 rgba(232,85,46,0.5); } 70%,100%{ box-shadow: 0 0 0 7px rgba(232,85,46,0); } }

/* title bar */
.ed-bar { flex: none; height: 60px; padding: 0 14px 0 16px; display: flex; align-items: center; gap: 12px;
  background: var(--c-panel); border-bottom: 2px solid var(--ink-line); }
.ed-logo { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--ink-line); background: var(--c-primary);
  display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 6px; box-shadow: 2px 2px 0 rgba(43,38,32,0.16); flex: none; }
.ed-logo i { height: 2.5px; border-radius: 2px; background: #FFF1E6; width: 100%; }
.ed-logo i:nth-child(2) { width: 65%; } .ed-logo i:nth-child(3) { width: 85%; }
.ed-title { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px; color: var(--c-ink); }
.ed-file { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(43,38,32,0.42); }
.ed-spacer { flex: 1; }
.ed-livechip { display: inline-flex; align-items: center; gap: 7px; font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--c-primary); border: 2px solid var(--c-primary);
  border-radius: 999px; padding: 4px 11px; }
.ed-livechip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); animation: lbPulse 1.6s infinite; }
.ed-present, .ed-share { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 13.5px; cursor: pointer;
  border: 2px solid var(--ink-line); border-radius: 11px; padding: 8px 16px; box-shadow: var(--toy-sh);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease; }
.ed-present { background: var(--c-blue); color: #FFFFFF; }
.ed-share { background: var(--c-panel); color: var(--c-ink); }
.ed-present:hover, .ed-share:hover { transform: translate(-1px,-1px); box-shadow: 5px 6px 0 rgba(43,38,32,0.16); }
.ed-present:active, .ed-share:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 rgba(43,38,32,0.14); }
.ed-x { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--ink-line); background: var(--c-panel);
  cursor: pointer; font-size: 18px; line-height: 1; color: var(--c-ink); transition: 0.18s; flex: none; }
.ed-x:hover { background: var(--c-primary); color: #FFF6EE; transform: rotate(90deg); }

/* toolbar */
.ed-tools { flex: none; height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 8px;
  background: var(--c-bg); border-bottom: 2px solid var(--ink-line); }
.tbtn { height: 30px; min-width: 30px; padding: 0 9px; border: 2px solid var(--ink-line); border-radius: 8px;
  background: var(--c-panel); color: var(--c-ink); font-family: 'Geist', sans-serif; font-weight: 600; font-size: 14px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px; box-shadow: 1.5px 2px 0 rgba(43,38,32,0.13); }
.tbtn.wide span { font-size: 12.5px; }
.tbtn:hover { background: var(--c-amber); }
.tsep { width: 2px; height: 22px; background: var(--soft-line); margin: 0 2px; }
.ed-tools-r { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(43,38,32,0.5); }

/* body */
.ed-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 124px 1fr 332px; overflow: hidden; }

/* slide rail */
.ed-rail { background: var(--c-bg); border-right: 2px solid var(--ink-line); padding: 12px 10px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px; }
.ed-th { position: relative; aspect-ratio: 16/10; border: 2px solid var(--ink-line); border-radius: 9px; background: var(--c-panel);
  box-shadow: 2px 2px 0 rgba(43,38,32,0.1); padding: 9px 10px; overflow: hidden; cursor: pointer; flex: none; }
.ed-th.active { border-color: var(--c-blue); box-shadow: 0 0 0 2px var(--c-blue), 3px 3px 0 rgba(46,125,214,0.25); }
.ed-th-n { position: absolute; top: -2px; left: -2px; font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700;
  background: var(--ink-line); color: var(--c-panel); padding: 2px 5px; border-radius: 0 0 7px 0; }
.ed-th-poll { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.ed-th-poll i { height: 5px; border-radius: 3px; display: block; }
.ed-th-cover { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.ed-th-cover b { font-family: 'Fredoka', sans-serif; font-size: 16px; color: var(--c-primary); line-height: 1; }
.ed-th-cover span { font-size: 9px; color: rgba(43,38,32,0.5); }
.ed-th-metrics { display: flex; align-items: flex-end; gap: 5px; height: 100%; padding: 10px 0 4px; }
.ed-th-metrics i { flex: 1; border-radius: 3px 3px 0 0; }
.ed-th-metrics i:nth-child(1){ height: 50%; background: var(--c-green); }
.ed-th-metrics i:nth-child(2){ height: 82%; background: var(--c-amber); }
.ed-th-metrics i:nth-child(3){ height: 35%; background: var(--c-blue); }
.ed-th-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; margin-top: 10px; }
.ed-th-cloud b { font-family: 'Fredoka', sans-serif; font-size: 13px; color: var(--c-primary); }
.ed-th-cloud span { font-size: 10px; color: var(--c-ink); }
.ed-th-cloud em { font-size: 9px; font-style: normal; color: rgba(43,38,32,0.5); }
.ed-th.add { display: flex; align-items: center; justify-content: center; font-size: 20px; color: rgba(43,38,32,0.5);
  border-style: dashed; background: transparent; box-shadow: none; }
.ed-th.add:hover { color: var(--c-primary); border-color: var(--c-primary); }

/* canvas */
.ed-canvas { background: #E7E3D7; padding: clamp(18px,2.4vw,34px); display: flex; align-items: center; justify-content: center; overflow: auto;
  background-image: radial-gradient(rgba(43,38,32,0.06) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.ed-slide { width: 100%; max-width: 640px; background: var(--c-panel); border: 2.5px solid var(--ink-line); border-radius: 14px;
  box-shadow: 6px 8px 0 rgba(43,38,32,0.16); padding: clamp(20px,3vw,30px); display: flex; flex-direction: column; gap: 14px; }
.ed-kick { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(43,38,32,0.55); display: flex; align-items: center; gap: 9px; }
.ed-kick b { color: var(--c-primary); }
.ed-kick .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgba(232,85,46,0.22); }
.ed-q { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(22px,2.6vw,32px); line-height: 1.08; margin: 0; color: var(--c-ink); }
.ed-opts { display: flex; flex-direction: column; gap: 12px; }
.ed-opt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ed-opt-lbl { font-family: 'Geist', sans-serif; font-weight: 600; font-size: clamp(14px,1.3vw,16px); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ed-opt-lbl .you { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-ink); background: var(--c-amber); border: 1.5px solid var(--ink-line); padding: 1px 6px; border-radius: 999px; }
.ed-opt-pct { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: clamp(16px,1.7vw,20px); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.ed-opt-pct .v { font-size: 0.6em; color: rgba(43,38,32,0.45); }
.ed-track { height: 16px; border-radius: 9px; background: rgba(43,38,32,0.1); overflow: hidden; border: 2px solid var(--ink-line); }
.ed-fill { height: 100%; border-radius: 5px 0 0 5px; transition: width 0.7s cubic-bezier(.3,.8,.3,1); }
.ed-crowd { display: flex; align-items: center; gap: 10px; margin-top: 2px; padding-top: 12px; border-top: 2px dashed var(--soft-line); }
.ed-crowd-row { display: flex; flex-wrap: wrap; gap: 3px; flex: 1; }
.ed-crowd-row i { width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink-line); display: block; }
.ed-crowd-n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(43,38,32,0.6); white-space: nowrap; }

/* audience side panel */
.ed-side { background: var(--c-bg); border-left: 2px solid var(--ink-line); padding: 20px 18px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.ed-side-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(43,38,32,0.5); }
.ed-phone { background: var(--c-panel); border: 2px solid var(--ink-line); border-radius: 22px; padding: 14px 13px 16px; box-shadow: var(--toy-sh); display: flex; flex-direction: column; gap: 10px; }
.ed-phone-notch { width: 54px; height: 5px; border-radius: 999px; background: rgba(43,38,32,0.25); margin: 0 auto 2px; }
.ed-phone-head { display: flex; align-items: center; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: rgba(43,38,32,0.6); }
.ed-phone-head .code { color: var(--c-primary); }
.ed-phone-q { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.15; margin: 1px 0 3px; }
.ed-vote { width: 100%; text-align: left; font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 500; color: var(--c-ink);
  background: var(--c-bg); border: 2px solid var(--ink-line); border-radius: 12px; padding: 10px 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: 0.14s; box-shadow: 2px 2px 0 rgba(43,38,32,0.12); }
.ed-vote:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 rgba(43,38,32,0.16); }
.ed-vote:active { transform: translate(1px,2px); box-shadow: 1px 1px 0 rgba(43,38,32,0.12); }
.ed-vote.cast { background: var(--c-primary); border-color: var(--ink-line); color: #FFF6EE; }
.ed-vote .tick { opacity: 0; } .ed-vote.cast .tick { opacity: 1; }
.ed-phone-hint { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: rgba(43,38,32,0.45); text-align: center; }
.ed-stats { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.ed-stat { display: flex; align-items: baseline; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(43,38,32,0.6); padding-bottom: 9px; border-bottom: 1.5px solid var(--soft-line); }
.ed-stat:last-child { border-bottom: none; padding-bottom: 0; }
.ed-stat .v { color: var(--c-ink); font-variant-numeric: tabular-nums; }
.ed-stat .v.big { font-size: 22px; color: var(--c-primary); font-family: 'Fredoka', sans-serif; }
.ed-stat .v.acc { color: var(--c-primary); }

@media (max-width: 920px) {
  .ed-body { display: flex; flex-direction: column; }
  .ed-rail { flex-direction: row; border-right: none; border-bottom: 2px solid var(--ink-line); overflow-x: auto; padding: 10px; }
  .ed-th { width: 116px; }
  .ed-th.add { width: 56px; }
  .ed-canvas { flex: none; }
  .ed-side { border-left: none; border-top: 2px solid var(--ink-line); }
}

/* ── BEATS (cream sheet) ───────────────────────────────────────────────── */
.sheet { position: relative; max-width: 1480px; margin: 0 auto 18px; background: var(--c-panel);
  border: 2.5px solid var(--ink-line); border-radius: 0 0 30px 30px;
  box-shadow: var(--toy-sh-lg); overflow: hidden; }
/* seam variants for the hero→pricing transition */
.sheet.seam-dissolve { border-top: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 72px); }
/* hairline + diamonds keep the straight ink top border (base) */
.sheet-diamonds { position: relative; z-index: 2; max-width: 1480px; height: 20px;
  margin: 0 auto -10px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='20'%20viewBox='0%200%2044%2020'%3E%3Cpath%20d='M22,3%20L31,10%20L22,17%20L13,10%20Z'%20fill='%23FAF4E6'%20stroke='%232E2822'%20stroke-opacity='0.86'%20stroke-width='2.5'%20stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x center top / 44px 20px; }
.beat { padding: 52px 0 44px; }
.stage-inner { max-width: 1320px; margin: 0 auto; padding: 0 56px; }
.beat h2 { font-weight: 600; font-size: clamp(38px,4.6vw,60px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 22px; max-width: 18ch; text-wrap: balance; }
.beat h2 em { font-style: normal; color: var(--c-primary); }
.beat .deck { font-size: 17px; line-height: 1.55; color: rgba(43,38,32,0.72); max-width: 52ch; margin: 0 0 48px; }

/* currency toggle */
.cur-toggle { display: flex; width: fit-content; margin: 0 auto 36px; background: var(--c-panel);
  border: 2px solid var(--ink-line); border-radius: 999px; padding: 4px; box-shadow: var(--toy-sh); }
.cur-opt { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', sans-serif; font-size: 13.5px; font-weight: 600; color: rgba(43,38,32,0.6);
  background: none; border: none; padding: 8px 18px; border-radius: 999px; transition: background .14s ease, color .14s ease; }
.cur-opt.on { background: var(--c-primary); color: #FFF6EE; box-shadow: inset 0 -2px 0 rgba(46,40,34,0.14); }
.cur-flag { width: 25px; height: 25px; object-fit: contain; border-radius: 3px;
  display: block; flex: none; filter: drop-shadow(2px 2px 0 rgba(43,38,32,0.18)); }

/* two-column value section above pricing */
.twocol-beat { padding: 84px 0 60px; }
.twocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: start; }
.twocol h3 { margin: 0 0 14px; font-weight: 600; font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.03; letter-spacing: -0.018em; color: var(--c-ink); text-wrap: balance; }
.twocol p { margin: 0; font-size: 17px; line-height: 1.55; color: rgba(43,38,32,0.72); max-width: 44ch; }
.inline-heart { height: 1.18em; width: auto; vertical-align: -0.24em; margin: 0 0.06em;
  filter: drop-shadow(2px 3px 0 rgba(46,40,34,0.13)); }
.scan-row { display: flex; align-items: flex-start; gap: 22px; }
.scan-row p { flex: 1; min-width: 0; }
.scan-phone { flex: none; width: 96px; height: auto; align-self: flex-start; margin-top: 2px;
  filter: drop-shadow(4px 6px 0 rgba(46,40,34,0.12)); }
@media (max-width: 760px) { .scan-phone { width: 84px; } }
@media (max-width: 760px) {
  .twocol-grid { grid-template-columns: 1fr; gap: 36px; }
  /* no need to sync row heights in single column */
  .type-row { min-height: auto; }
}
.beat-break { border-top: 2px dashed var(--soft-line); margin: 0 56px; }

/* plans */
.plans-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.plan-card { position: relative; background: var(--c-bg); border: 2px solid var(--ink-line); border-radius: 18px;
  padding: 30px 26px 26px; display: flex; flex-direction: column; box-shadow: var(--toy-sh); }
.plan-card.featured { background: var(--c-panel); border-color: var(--c-primary); box-shadow: 6px 8px 0 rgba(232,85,46,0.22); }
.plan-flag { position: absolute; top: -13px; right: 22px; font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; background: var(--c-primary); color: #FFF6EE; padding: 4px 11px;
  border-radius: 999px; border: 2px solid var(--ink-line); font-weight: 600; white-space: nowrap; }
.plan-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 21px; margin-bottom: 6px; }
.plan-tag { font-size: 13.5px; line-height: 1.45; color: rgba(43,38,32,0.62); margin: 0 0 20px; min-height: 56px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; }
.plan-price .num { font-weight: 600; font-size: 46px; line-height: 1; }
.plan-price .unit { font-size: 13px; font-weight: 500; color: rgba(43,38,32,0.55); white-space: nowrap; }
.plan-billing { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: rgba(43,38,32,0.5);
  margin: 0 0 22px; min-height: 16px; }
.plan-cta { width: 100%; margin-bottom: 22px; font-size: 14px; padding: 11px 14px; }
.plan-feats { list-style: none; margin: 0; padding: 18px 0 0; border-top: 2px dashed var(--soft-line);
  display: flex; flex-direction: column; gap: 10px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.4; color: rgba(43,38,32,0.84); }
.plan-feats li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; background: var(--c-green); transform: rotate(45deg);
  margin-top: 5px; box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.plans-foot { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; font-size: 13px; color: rgba(43,38,32,0.6); }
.plans-foot span::before { content: "▸ "; color: var(--c-primary); }

/* types */
.types-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.type-card { background: var(--c-bg); border: 2px solid var(--ink-line); border-radius: 15px; padding: 16px;
  display: flex; flex-direction: column; gap: 13px; box-shadow: var(--toy-sh); }
.tt { background: #221F2B; border-radius: 11px; padding: 15px 16px; min-height: 132px; color: #EFE7D6;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.4); position: relative; overflow: hidden; }
.tt-k { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(239,231,214,0.55); display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.tt-k i { width: 7px; height: 7px; border-radius: 50%; background: #FF7A52; }
.tt-q { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.1; margin-bottom: 11px; color: #FBF3E2; }
.tt-opt { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: center; font-size: 10.5px; margin-bottom: 6px; }
.tt-tk { display: block; height: 8px; background: rgba(255,255,255,0.12); border-radius: 5px; overflow: hidden; }
.tt-tk i { display: block; height: 100%; border-radius: 5px; }
.tt-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; line-height: 1; padding-top: 4px; }
.tt-cloud span { font-family: 'Fredoka', sans-serif; font-weight: 600; }
.tt-cloud .w1 { font-size: 26px; color: #FF7A52; } .tt-cloud .w2 { font-size: 18px; color: #FBF3E2; }
.tt-cloud .w3 { font-size: 13px; color: rgba(239,231,214,0.7); } .tt-cloud .w4 { font-size: 11px; color: rgba(239,231,214,0.5); }
.tt-rate { display: flex; align-items: center; gap: 5px; margin-top: 6px; }
.tt-rate .s { font-size: 19px; color: rgba(239,231,214,0.22); } .tt-rate .s.on { color: var(--c-amber); }
.tt-rate b { margin-left: auto; font-family: 'Fredoka', sans-serif; font-size: 22px; color: #FBF3E2; }
.tt-qa { display: flex; flex-direction: column; gap: 6px; }
.tt-qa .q { font-size: 10.5px; line-height: 1.3; background: rgba(255,255,255,0.06); border-left: 3px solid #FF7A52; padding: 5px 7px; }
.tt-open { display: flex; flex-direction: column; gap: 5px; }
.tt-open .chip { font-size: 10.5px; padding: 5px 8px; border-radius: 6px; border: 1.5px solid rgba(239,231,214,0.16); }
.tt-open .chip.on { background: rgba(232,85,46,0.2); border-color: rgba(232,85,46,0.6); }
.tt-quiz { display: flex; flex-direction: column; gap: 5px; }
.tt-quiz .a { font-size: 10.5px; padding: 5px 8px; border-radius: 6px; border: 1.5px solid rgba(239,231,214,0.16); }
.tt-quiz .a.right { border-color: var(--c-green); background: rgba(43,164,106,0.16); color: #FBF3E2; }
.type-meta { display: flex; align-items: baseline; justify-content: space-between; padding-top: 2px; }
.type-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; }
.type-desc { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(43,38,32,0.5); }
/* ── feat-grid: unified 2-col grid for Serious/Fun section ─────────────── */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px;
  border-top: 1.5px solid var(--soft-line); }
.feat-cell { padding: 22px 28px 22px 0; border-bottom: 1.5px solid var(--soft-line); }
.feat-cell:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1.5px solid var(--soft-line); }
@media (max-width: 760px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat-cell:nth-child(even) { padding-left: 0; border-left: none; }
}
.type-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 12px 0; min-height: 110px; box-sizing: border-box; border-bottom: 1.5px solid var(--soft-line); }
.type-row:first-child { border-top: 1.5px solid var(--soft-line); }
.type-row-name { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--c-ink); }

/* closer */
.closer-beat { text-align: center; padding: 110px 0 120px; }
.closer-beat h2 { font-size: clamp(48px,7vw,86px); margin: 0 auto 28px; max-width: 15ch; }
.closer-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.closer-foot { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(43,38,32,0.5); }

/* footer */
.ft { background: var(--c-bg); border-top: 2px solid var(--ink-line); }
.ft-inner { max-width: 1320px; margin: 0 auto; padding: 64px 56px 36px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.ft-brand { display: flex; flex-direction: column; gap: 14px; }
.ft-brand p { font-size: 14px; line-height: 1.55; color: rgba(43,38,32,0.7); max-width: 30ch; margin: 0; }
.ft-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(43,38,32,0.55); margin: 0 0 13px; font-weight: 600; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ft-col a { color: var(--c-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.ft-col a:hover { color: var(--c-primary); }
.ft-bottom { max-width: 1320px; margin: 0 auto; padding: 20px 56px 28px; border-top: 2px solid var(--soft-line);
  display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(43,38,32,0.5); }

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .iso-stage { max-width: 620px; margin: 0 auto; }
  .nav-links { display: none; }
  .plans-grid, .types-grid { grid-template-columns: 1fr 1fr; }
  .plans-grid .plan-card:nth-child(3) { grid-column: 1 / -1; max-width: 460px; justify-self: center; width: 100%; }
  .ft-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .wrap, .nav-inner, .hero-grid, .stage-inner { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(38px,11vw,52px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn { width: 100%; }
  .plans-grid, .types-grid { grid-template-columns: 1fr; }
  .plans-grid .plan-card:nth-child(3) { max-width: none; }
  .plans-grid { gap: 18px; max-width: 100%; }
  .ft-inner { grid-template-columns: 1fr 1fr; }
  .closer-actions { flex-direction: column; align-items: stretch; }
  .closer-actions .btn { width: 100%; }
  .nav-login { display: none; }
  .nav-inner, .hero-grid, .stage-inner, .wrap { padding-left: 22px; padding-right: 22px; }
  .ft-inner, .ft-bottom { padding-left: 22px; padding-right: 22px; }
  /* remove nowrap on pricing subtitle */
  .beat .deck { white-space: normal; }
  /* currency toggle: allow wrap on very narrow */
  .cur-toggle { flex-wrap: wrap; border-radius: 14px; }
  /* section headings tighter */
  .beat h2 { font-size: clamp(32px, 9vw, 52px); }
  /* beat section vertical padding */
  .beat { padding: 36px 0 28px; }
  /* plan card padding */
  .plan-card { padding: 22px 18px; }
}

/* ── 480px — very small phones ──────────────────────────────────────── */
@media (max-width: 480px) {
  .ft-inner { grid-template-columns: 1fr; }
  .ft-brand { grid-column: auto; }
  .cur-opt { padding: 8px 12px; font-size: 12px; }
  .cur-flag { width: 17px; height: 12px; }
  .plan-price .num { font-size: 38px; }
  .bar-row { grid-template-columns: 100px 1fr auto; }
}

/* ── large screens (scale header + hero up so it fills big/4K monitors) ── */
@media (min-width: 1680px) {
  .nav-inner { max-width: 1620px; }
  .hero-grid, .sheet { max-width: 1700px; }
  .stage-inner { max-width: 1560px; }
  .ft-inner, .ft-bottom { max-width: 1540px; }
  .top-nav .nav-inner { height: 82px; }
  .wordmark { font-size: 29px; }
  .cube-mark { width: 31px; height: 33px; }
  .nav-links a, .nav-dd-trigger { font-size: 17px; }
  .nav-install, .nav-login { font-size: 16px; padding: 13px 26px; }
  .hero { padding: 46px 0 60px; }
  .hero h1 { font-size: 84px; }
  .hero .lede { font-size: 22px; }
  .hero-meta span { font-size: 18px; }
  .hero .btn { font-size: 17px; padding: 16px 30px; }
}
@media (min-width: 2240px) {
  .nav-inner { max-width: 1920px; }
  .hero-grid, .sheet { max-width: 2000px; }
  .stage-inner { max-width: 1820px; }
  .ft-inner, .ft-bottom { max-width: 1820px; }
  .top-nav .nav-inner { height: 96px; }
  .wordmark { font-size: 34px; }
  .cube-mark { width: 36px; height: 38px; }
  .nav-links a, .nav-dd-trigger { font-size: 19px; }
  .nav-install, .nav-login { font-size: 18px; padding: 15px 30px; }
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 104px; }
  .hero .lede { font-size: 26px; }
  .hero-meta span { font-size: 21px; }
  .hero .btn { font-size: 19px; padding: 19px 36px; }
}
