/* =====================================================================
   PlayPage — v0 stylesheet
   Interaction ref: https://indiepa.ge/ (narrow centered column,
   generous whitespace, big headlines, hand-tilted card wall,
   one-idea-per-section scroll).
   ===================================================================== */

:root {
  --bg: #fffdf7;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --line: #ece4d0;
  --accent: #ff5a1f;
  --accent-soft: #ffe8dc;
  --play: #fff6b0;
  --sky: #dff6ff;
  --mint: #e6ffe4;
  --shadow: 4px 4px 0 0 var(--ink);
  --shadow-sm: 2px 2px 0 0 var(--ink);
  --radius: 14px;
  --col: 680px;
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system,
    "PingFang SC", "Hiragino Sans", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--play);
  border: 2px solid var(--ink);
  align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.brand strong { font-size: 18px; letter-spacing: -0.01em; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* ---------- layout ---------- */
main {
  padding: 40px 0 80px;
}
section {
  max-width: var(--col);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}
section > * { max-width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-family: inherit;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0 0 0 0 var(--ink);
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { color: #fff; }
.btn.ghost { background: #fff; }
.btn.big { padding: 14px 26px; font-size: 16px; }
.btn.tiny { padding: 7px 14px; font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: 40px;
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  font-weight: 800;
}
.hero h1 s {
  color: var(--muted);
  text-decoration-thickness: 4px;
}
.mark {
  background: var(--play);
  padding: 0 10px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  transform: rotate(-1deg);
}
.lede {
  font-size: 19px;
  color: #333;
  margin: 0 auto 32px;
  max-width: 560px;
}
.lede strong {
  background: var(--accent-soft);
  padding: 0 4px;
  border-radius: 4px;
}

/* slug input — the visual centerpiece, mimics a URL bar */
.slug-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 12px;
  max-width: 520px;
}
.slug-input {
  display: flex;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 4px 12px;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.1s ease, transform 0.1s ease;
}
.slug-input:focus-within {
  box-shadow: var(--shadow);
  transform: translate(-1px, -1px);
}
.slug-prefix {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}
.slug-input input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 4px;
  font-size: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}
.slug-input input::placeholder { color: #b8b0a0; }

.cta-note {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* ---------- gallery — avatar wall, indiepa.ge style ---------- */
.gallery {
  max-width: 1040px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.gallery-head {
  margin: 0 auto 28px;
  max-width: 640px;
}
.gallery-head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
}
.chip.mini {
  margin-bottom: 14px;
  font-size: 11px;
  padding: 3px 10px;
}
.avatar-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px 14px;
  margin: 0 auto;
  text-align: center;
}
.avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  border-radius: 12px;
  transition: transform 0.12s ease;
}
.avatar-card:hover {
  transform: translateY(-3px);
  color: var(--ink);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: var(--shadow-sm);
}
.avatar-card:hover .avatar {
  box-shadow: var(--shadow);
}
.avatar-card strong {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.avatar-card span {
  font-size: 12px;
  color: var(--muted);
}
.gallery-note {
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- pitch blocks — one idea per screen ---------- */
.pitch-block {
  padding: 96px 24px;
}
.pitch-block.alt { background: transparent; }
.chip {
  display: inline-block;
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin: 0 0 22px;
}
.pitch-block h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
.pitch-block p {
  font-size: 18px;
  color: #333;
  max-width: 560px;
  margin: 0 auto 18px;
}
.pitch-block .quiet {
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
}

/* ---------- pricing ---------- */
.pricing {
  max-width: 900px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.pricing h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  font-weight: 800;
}
.pricing-sub {
  color: var(--muted);
  margin: 0 0 32px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
  margin: 0 0 20px;
}
.price-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.price-card.popular { background: var(--play); }
.badge {
  position: absolute;
  top: -12px; left: 20px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge.accent { background: var(--accent); color: #fff; }
.price-tag {
  font-size: 56px;
  font-weight: 800;
  margin: 6px 0 4px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-strike {
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  margin: 0;
}
.price-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.price-card .price-sub {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}
.price-card .btn.big { width: 100%; justify-content: center; }

/* ---------- tweets — X-style social proof wall ---------- */
.tweets {
  max-width: 960px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.tweets h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  font-weight: 800;
}
.tweet-grid {
  columns: 3 240px;
  column-gap: 16px;
  text-align: left;
}
.tweet {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  width: 100%;
}
.tweet:nth-child(3n+2) { background: var(--sky); }
.tweet:nth-child(3n+3) { background: var(--play); }
.tweet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tweet-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.tweet-who {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.tweet-who strong { font-size: 14px; }
.tweet-who span { font-size: 12px; color: var(--muted); }
.tweet p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}
.quiet { color: var(--muted); font-size: 13px; margin-top: 22px; font-style: italic; }

/* ---------- bottom cta ---------- */
.bottom-cta {
  padding-top: 80px;
  padding-bottom: 80px;
}
.bottom-cta h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
.bottom-cta p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* ---------- footer ---------- */
footer {
  border-top: 2px solid var(--ink);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--accent); font-weight: 700; }
footer .tiny { font-size: 12px; opacity: 0.7; margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .nav { gap: 12px; font-size: 13px; }
  .nav a:not(.btn) { display: none; }
  .nav .btn.tiny { display: inline-flex; }
  section { padding: 40px 20px; }
  .hero { padding-top: 44px; }
  .pitch-block { padding: 64px 20px; }
}

/* =====================================================================
   example.html — playable demo frame (unchanged from v0)
   ===================================================================== */

.demo-frame {
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 28px 24px 34px;
  max-width: 560px;
  margin: 0 auto;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.demo-frame.stage-0 { background: linear-gradient(160deg, var(--play), #fff); }
.demo-frame.stage-1 { background: linear-gradient(160deg, #dff6ff, #fff); }
.demo-frame.stage-2 { background: linear-gradient(160deg, #ffe8dc, #fff); }
.demo-frame.stage-3 { background: linear-gradient(160deg, #e6ffe4, #fff); }
.demo-frame.stage-4 { background: linear-gradient(160deg, #f2e6ff, #fff); }

.stage-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 4px;
}
.stage-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
}
.stage-dots .dot.on { background: var(--accent); }

.stage-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  flex: 1;
}
.stage-mascot { font-size: 68px; line-height: 1; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }

.stage-bubble {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 17px;
  max-width: 100%;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}
.stage-bubble strong { background: var(--play); padding: 0 4px; border-radius: 4px; }

.stage-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.stage-next {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stage-visual {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--ink);
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  max-width: 100%;
}
.stage-visual code {
  background: #1a1a1a;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  white-space: pre-wrap;
}
.reset-row {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.reset-row a { color: var(--accent); cursor: pointer; text-decoration: underline; }
.share-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.credit-row {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.credit-row a { color: var(--accent); font-weight: 700; }

/* Subscription landing page; sample-player styles remain unchanged. */
.landing section[id] { scroll-margin-top: 100px; }
.landing .topbar { flex-wrap: wrap; gap: 12px; }
.landing .nav { flex-wrap: wrap; }
.landing .language-toggle {
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px;
  font: inherit; color: var(--ink); background: #fff; cursor: pointer;
}
.landing :is(a, button, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.landing main { padding-top: 0; }
.landing .hero { max-width: 980px; padding-top: 32px; padding-bottom: 16px; }
.landing .hero .chip { margin-top: 0; margin-bottom: 16px; }
.landing .hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.16; margin-bottom: 20px; }
.landing .hero .lede { max-width: 740px; margin-bottom: 0; }
.landing .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 20px; }
.landing .cta-note, .landing .chip, .landing .price-unit, .landing footer, .landing .btn.tiny { font-size: 14px; }
.landing .showcase { max-width: 980px; padding-top: 16px; }
.landing .example-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; text-align: left; margin-bottom: 12px; }
.landing .example-heading h2 { font-size: 20px; margin: 0; }
.landing .example-heading .eyebrow { color: var(--muted); }
.landing .example-frame { container-type: inline-size; background: #ececea; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.landing .example-player { display: block; width: 100%; aspect-ratio: 16 / 12; min-height: 440px; border: 0; }
.landing .showcase .hero-actions { margin-top: 24px; }
.landing .eyebrow { font-size: 14px; font-weight: 700; }
.landing :is(.how-it-works, .use-cases, .service, .customer-proof, .pricing) { max-width: 1100px; }
.landing :is(.how-it-works, .use-cases, .service, .customer-proof, .faq) h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 20px; }
.landing .section-intro { max-width: 640px; margin: 0 auto 32px; color: var(--muted); }
.landing :is(.steps, .use-case-grid, .service-grid, .customer-proof-grid) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: left; }
.landing .steps { list-style: none; padding: 0; margin: 36px 0 0; }
.landing :is(.steps, .service-grid) h3 { font-size: 20px; line-height: 1.3; margin: 16px 0 12px; }
.landing :is(.steps, .service-grid) p { font-size: 16px; margin: 0; color: #444; }
.landing .step-number { font-size: 30px; font-weight: 800; color: var(--accent); }
.landing .use-cases { padding-top: 40px; }
.landing .use-case-grid { margin-top: 36px; gap: 16px; }
.landing .use-case-grid article { display: flex; flex-direction: column; min-height: 310px; padding: 24px; background: var(--sky); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.landing .use-case-grid article:nth-child(2) { background: var(--play); }
.landing .use-case-grid article:nth-child(3) { background: var(--mint); }
.landing .use-case-label { align-self: flex-start; padding: 4px 10px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.landing .use-case-grid h3 { margin: 20px 0 10px; font-size: 21px; line-height: 1.25; }
.landing .use-case-grid p { margin: 0; color: #333; font-size: 16px; }
.landing .use-case-result { margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 800; }
.landing .service { padding-top: 40px; }
.landing .service-grid article { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.landing .service-number { font-size: 14px; color: var(--muted); font-weight: 700; }
.landing .customer-proof { padding-top: 40px; }
.landing .customer-proof-grid { gap: 16px; }
.landing .proof-slot { margin: 0; min-width: 0; }
.landing .proof-placeholder { min-height: 210px; padding: 16px; background: #fff; border: 2px dashed #b8b0a0; border-radius: var(--radius); color: var(--muted); }
.landing .proof-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.landing .proof-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #c9c2b4; }
.landing .proof-bar b { margin-left: auto; font-size: 12px; font-style: normal; }
.landing .proof-profile { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.landing .proof-profile i { width: 34px; height: 34px; border-radius: 50%; background: #ddd8ce; }
.landing .proof-profile div { flex: 1; }
.landing .proof-profile em, .landing .proof-lines span { display: block; height: 8px; border-radius: 999px; background: #e9e5dc; }
.landing .proof-profile em:first-child { width: 45%; margin-bottom: 7px; background: #d8d2c7; }
.landing .proof-profile em:last-child { width: 30%; }
.landing .proof-lines { display: grid; gap: 10px; margin-top: 22px; }
.landing .proof-lines span:nth-child(2) { width: 92%; }
.landing .proof-lines span:nth-child(3) { width: 66%; }
.landing .proof-slot figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: left; }
.landing .availability { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 30px; font-size: 15px; color: #444; background: #fff; }
.landing .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.landing .price-card { display: flex; flex-direction: column; min-width: 0; padding: 26px 22px; }
.landing .price-card h3 { font-size: 20px; margin: 0 0 16px; }
.landing .price-card .price-tag { font-size: 52px; white-space: nowrap; }
.landing .price-card .price-sub { margin: 16px 0 22px; font-size: 16px; font-weight: 700; color: var(--ink); }
.landing .price-card li { position: relative; padding-left: 20px; }
.landing .price-card li::before { content: '✓'; position: absolute; left: 0; color: #28702e; }
.landing .price-card .btn { margin-top: auto; font-size: 15px; padding: 12px; }
.landing .plan-footnote { font-size: 14px; color: var(--muted); max-width: 780px; margin: 24px auto 0; }
.landing .faq { max-width: 860px; padding-top: 24px; }
.landing .faq h2 { margin-bottom: 30px; }
.landing .faq details { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); }
.landing .faq summary { font-weight: 700; cursor: pointer; }
.landing .faq details p { margin: 14px 0 0; color: #444; font-size: 16px; }
.landing .faq .faq-link { color: var(--accent); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.landing .faq .faq-link:hover { color: var(--ink); }
.landing .faq .faq-evidence { padding: 14px 16px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--accent-soft); color: #333; }
.landing .bottom-cta { max-width: 860px; }
.landing .create-form {
  max-width: 780px;
  margin: 30px auto 0;
  padding: 18px;
  text-align: left;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.landing .create-form > label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; }
.landing .create-row { display: flex; align-items: stretch; gap: 10px; }
.landing .create-row input {
  min-width: 0;
  flex: 1;
  padding: 13px 14px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
}
.landing .delivery-language {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 4px;
  min-width: 132px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}
.landing .delivery-language select {
  min-height: 48px;
  padding: 0 34px 0 12px;
  border: 2px solid var(--ink);
  border-radius: 11px;
  background: var(--bg);
  color: var(--ink);
  font: 700 14px/1 var(--font);
}
.landing .create-form > p { margin: 10px 2px 0; color: var(--muted); font-size: 13px; }
.landing .workspace {
  max-width: 980px;
  margin-top: 30px;
  padding: 28px;
  text-align: left;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.landing .workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing .workspace-heading .chip { margin: 0 0 8px; }
.landing .workspace-heading h2 { margin: 0; font-size: clamp(24px, 3.5vw, 36px); line-height: 1.15; }
.landing .account-state { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.landing .link-button { padding: 0; border: 0; background: none; color: var(--accent); font: 700 13px/1 var(--font); cursor: pointer; }
.landing .workflow-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 26px 0 20px;
  padding: 0;
  list-style: none;
}
.landing .workflow-progress li { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.landing .workflow-progress span { display: inline-grid; width: 24px; height: 24px; place-items: center; margin-right: 6px; border-radius: 50%; background: #eee9df; font-size: 12px; }
.landing .workflow-progress b { font-size: 12px; }
.landing .workflow-progress li[data-state="done"] { color: #28702e; border-color: #a7d4a4; background: #f2fff0; }
.landing .workflow-progress li[data-state="done"] span { color: #fff; background: #28702e; }
.landing .workflow-progress li[data-state="current"] { color: var(--ink); border-color: var(--ink); background: var(--play); box-shadow: var(--shadow-sm); }
.landing .workflow-progress li[data-state="current"] span { color: #fff; background: var(--accent); }
.landing .workspace-body { min-height: 160px; padding: 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.landing .notice-card h3, .landing .waiting-card h3 { margin: 0 0 8px; font-size: 20px; }
.landing .notice-card p, .landing .waiting-card p { margin: 0 0 18px; color: var(--muted); }
.landing .notice-card.success { border-left: 4px solid #28702e; padding-left: 16px; }
.landing .notice-card.warning { border-left: 4px solid #d68b13; padding-left: 16px; }
.landing .notice-card.error, .landing .inline-error { border-left: 4px solid #b9382f; padding: 12px 16px; background: #fff2ef; color: #7e211b; }
.landing .inline-error { margin-bottom: 16px; border-radius: 8px; }
.landing .waiting-card { text-align: center; padding: 20px 0; }
.landing .spinner { display: inline-block; width: 32px; height: 32px; margin-bottom: 12px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: playpage-spin .8s linear infinite; }
@keyframes playpage-spin { to { transform: rotate(360deg); } }
.landing .review-form { display: grid; gap: 18px; }
.landing .review-form header { display: grid; gap: 6px; }
.landing .review-form header :is(h3, p) { margin: 0; }
.landing .review-form header a { color: var(--accent); font-size: 13px; overflow-wrap: anywhere; }
.landing .review-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.landing .review-form :is(input, textarea) { width: 100%; padding: 11px 12px; border: 1px solid #b8b0a0; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.landing .review-form fieldset { display: grid; gap: 13px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.landing .review-form legend { padding: 0 8px; font-weight: 800; }
.landing .review-form details { color: var(--muted); font-size: 13px; }
.landing .review-form blockquote { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--accent); }
.landing .published-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.landing .cookie-notice {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 18px;
  width: min(760px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.landing .cookie-notice[hidden] { display: none; }
.landing .cookie-notice p { margin: 0; font-size: 13px; color: #444; }
/* Match the embedded player's own viewport, not the wider parent page. */
@container (max-width: 640px) {
  .landing .example-player { aspect-ratio: 3 / 5; min-height: 580px; }
}
@media (max-width: 900px) {
  .landing :is(.steps, .use-case-grid, .service-grid, .customer-proof-grid, .price-grid) { grid-template-columns: 1fr; }
  .landing .pricing { max-width: 640px; }
  .landing :is(.service-grid, .customer-proof-grid) { gap: 16px; }
  .landing .use-case-grid article { min-height: 0; }
}
@media (max-width: 640px) {
  .landing .topbar { padding: 14px 16px; }
  .landing .nav { gap: 10px; }
  .landing .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .landing .hero h1 .mark { padding: 0 5px; }
  .landing .hero-actions .btn { width: 100%; justify-content: center; }
  .landing .create-row, .landing .workspace-heading, .landing .published-card, .landing .cookie-notice { align-items: stretch; flex-direction: column; }
  .landing .create-row .btn { justify-content: center; }
  .landing .workspace { margin-left: 16px; margin-right: 16px; padding: 20px; }
  .landing .workflow-progress { grid-template-columns: 1fr; }
  .landing .workflow-progress li[data-state="later"] { display: none; }
  .landing .cookie-notice { bottom: 10px; }
}
