/* =====================================================================
   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 {
  color-scheme: dark;
  --bg: #060b22;
  --surface: #101b3d;
  --surface-raised: #162852;
  --ink: #f7f4ff;
  --muted: #b8c0df;
  --line: #354775;
  --accent: #ff8a68;
  --accent-ink: #1b0c19;
  --accent-soft: #3a2148;
  --play: #2b235d;
  --sky: #142c5d;
  --mint: #202556;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(142, 160, 222, 0.12);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(142, 160, 222, 0.1);
  --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:
    radial-gradient(44rem 32rem at 8% -8%, rgba(122, 88, 255, 0.22), transparent 68%),
    radial-gradient(42rem 30rem at 96% 5%, rgba(255, 112, 79, 0.15), transparent 68%),
    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: 1px solid rgba(161, 178, 234, 0.2);
  background: rgba(6, 11, 34, 0.82);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  box-shadow: var(--shadow-sm);
}
.brand strong {
  display: inline-block;
  font-size: 18px;
  letter-spacing: -0.01em;
  background: linear-gradient(96deg, #ffd260 4%, #ff9a70 40%, #f464be 68%, #bc8fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.nav a { color: var(--muted); font-weight: 750; }
.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;
  color: var(--muted);
  font-size: 13px;
}
footer .footer-inner {
  width: min(1100px, calc(100% - 96px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer .footer-inner p { margin: 0; }
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; }
  footer { padding-inline: 20px; }
  footer .footer-inner { width: 100%; }
}

/* =====================================================================
   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 {
  --page-content-width: 1100px;
  --page-side-space: 48px;
}
.landing .topbar { padding-inline: 0; }
.landing .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page-content-width), calc(100% - (var(--page-side-space) * 2)));
  margin: 0 auto;
}
.landing main > section {
  width: min(var(--page-content-width), calc(100% - (var(--page-side-space) * 2)));
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
.landing .nav { flex-wrap: wrap; }
.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-outcome {
  display: block;
  margin-top: 14px;
  font-size: clamp(18px, 2.7vw, 35px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.18;
  white-space: nowrap;
  background: linear-gradient(96deg, #ffd260 4%, #ff9a70 40%, #f464be 68%, #bc8fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.landing .hero-transformation { margin: 38px auto 0; text-align: center; }
.landing .hero-transformation-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 46px);
}
.landing .hero-transformation-flow strong {
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.landing .hero-transformation-flow span { color: #ffa77f; font-size: clamp(28px, 4vw, 42px); line-height: 1; }
.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 .workflow-preview { max-width: 1100px; padding-top: 44px; }
.landing .workflow-preview-heading { max-width: 760px; margin: 0 0 30px; text-align: left; }
.landing .workflow-preview-heading .chip { margin-top: 0; }
.landing .workflow-preview-heading h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; }
.landing .workflow-preview-heading p:last-child { margin: 0; color: var(--muted); }
.landing .workflow-preview-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; text-align: left; }
.landing .workflow-preview-steps li { min-height: 204px; padding: 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.landing .workflow-preview-steps li:nth-child(2n) { background: var(--sky); }
.landing .workflow-preview-steps li:nth-child(3n) { background: var(--mint); }
.landing .workflow-preview-steps span { color: var(--accent); font-size: 14px; font-weight: 800; }
.landing .workflow-preview-steps h3 { margin: 24px 0 10px; font-size: 18px; line-height: 1.25; }
.landing .workflow-preview-steps p { margin: 0; color: #444; font-size: 15px; line-height: 1.45; }
.landing .why-promofast { max-width: 1100px; padding-top: 42px; text-align: left; }
.landing .why-promofast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.landing .why-promofast-grid article { display: flex; min-height: 270px; padding: 26px 28px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-raised); box-shadow: var(--shadow-sm); }
.landing .why-promofast-grid article:nth-child(3n + 2) { background: var(--sky); }
.landing .why-promofast-grid article:nth-child(3n + 3) { background: var(--play); }
.landing .why-promofast-grid span { color: #ffc0aa; font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.landing .why-promofast-grid h3 { margin: 30px 0 10px; font-size: 21px; line-height: 1.2; }
.landing .why-promofast-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.landing .why-promofast-grid .service-note { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); }
.landing .why-promofast-grid .service-note strong { color: #ffc0aa; }
.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 .pricing { text-align: left; }
.landing .pricing h2 { max-width: 940px; margin-bottom: 28px; font-size: clamp(27px, 3.3vw, 36px); line-height: 1.18; }
.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; text-align: left; }
.landing .customer-proof .section-intro { margin-right: 0; margin-left: 0; }
.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 .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: 1100px; padding-top: 24px; text-align: left; }
.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, .playpage-app .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], .playpage-app .cookie-notice[hidden] { display: none; }
.landing .cookie-notice p, .playpage-app .cookie-notice p { margin: 0; font-size: 13px; color: #444; }

/* Authenticated management surface. It shares PromoFast's visual language but not the homepage's actions. */
.playpage-app main { padding-top: 0; }
.playpage-app .topbar { flex-wrap: wrap; gap: 12px; }
.playpage-app .nav { flex-wrap: wrap; }
.playpage-app :is(a, button, summary, input, textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.playpage-app .app-hero { max-width: 960px; padding-top: 46px; padding-bottom: 22px; }
.playpage-app .app-hero .chip { margin-top: 0; }
.playpage-app .app-hero h1 { margin: 0 0 14px; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
.playpage-app .app-hero p:last-child { max-width: 660px; margin: 0 auto; color: #444; }
.playpage-app .app-surface { max-width: 1120px; padding-top: 30px; text-align: left; }
.app-root { min-height: 300px; }
.app-loading, .app-empty, .app-waiting, .app-confirmed, .app-published, .app-plan-gate { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.app-loading { padding: 28px; text-align: center; }
.app-empty { max-width: 680px; margin: 0 auto; padding: 42px; text-align: center; }
.app-empty h2, .app-confirmed h2, .app-published h2, .app-plan-gate h2, .app-create h2, .app-project-list h2, .app-review-form h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.app-empty p { color: #444; }
.app-empty .btn { margin-top: 12px; }
.app-signin-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.app-signin-actions .btn { margin-top: 0; }
.app-error { margin: 0 0 20px; padding: 12px 14px; border: 2px solid #a32620; border-radius: 10px; background: #fff0ed; color: #7b1e1a; }
.app-note { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--sky); font-size: 15px; }
.app-plan-gate { padding: clamp(24px, 4vw, 42px); }
.app-plan-gate > header { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.app-plan-gate > header p { margin: 0; color: #444; }
.app-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.app-plan { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; padding: 22px; border: 2px solid var(--ink); border-radius: 12px; background: #fffdf7; }
.app-plan.is-selected { background: var(--play); box-shadow: var(--shadow-sm); }
.app-plan h3 { margin: 0; font-size: 22px; }
.app-plan p { color: #444; font-size: 15px; }
.app-plan strong { font-size: 28px; color: var(--ink); }
.app-plan span { color: var(--muted); font-size: 14px; }
.app-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.app-plan li { position: relative; padding-left: 20px; color: var(--ink); font-size: 15px; line-height: 1.45; }
.app-plan li::before { position: absolute; left: 0; color: #a6e6b7; content: '✓'; }
.app-plan .price-tag { margin: 16px 0 10px; color: var(--ink); font-size: clamp(38px, 4vw, 52px); font-weight: 800; line-height: 1; }
.app-plan .price-unit { margin-left: 7px; color: var(--muted); font-size: 13px; }
.app-plan .price-sub { margin: 0 0 22px; color: var(--ink); font-size: 15px; font-weight: 700; }
.app-plan .btn { width: 100%; margin-top: auto; justify-content: center; }
.app-plan-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--mint); box-shadow: var(--shadow-sm); }
.app-plan-summary span { font-size: 14px; font-weight: 700; }
.app-plan-summary > div { display: grid; gap: 4px; }
.app-plan-summary strong { line-height: 1.35; }
.app-dashboard-grid { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(380px, 1.3fr); gap: 22px; align-items: start; }
.app-create, .app-project-list, .app-detail { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.app-create { padding: 26px; background: var(--sky); }
.app-create > p { margin: 0 0 22px; color: #444; }
.app-create form { display: grid; gap: 15px; }
.app-create label, .app-review-form label { display: grid; gap: 7px; font-size: 15px; font-weight: 700; }
.app-create input, .app-review-form input, .app-review-form textarea { width: 100%; border: 2px solid var(--ink); border-radius: 10px; padding: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.app-create input:focus, .app-review-form input:focus, .app-review-form textarea:focus { outline: 0; border-color: var(--accent); }
.app-create .btn { justify-content: center; }
.app-project-list { overflow: hidden; }
.app-section-heading { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 14px; }
.app-section-heading h2 { margin: 0; }
.app-section-heading span { display: inline-grid; min-width: 30px; height: 30px; padding: 0 8px; place-items: center; border: 1px solid var(--ink); border-radius: 999px; background: var(--play); font-size: 14px; font-weight: 800; }
.app-empty-list { margin: 0; padding: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.app-project { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; border-top: 1px solid var(--line); }
.app-project.is-selected { background: var(--accent-soft); }
.app-project-main { min-width: 0; }
.app-project-main h3 { overflow: hidden; margin: 7px 0 3px; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; }
.app-project-main > :is(a, .app-project-source) { display: block; overflow: hidden; color: var(--muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.app-project-main p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.app-project-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.app-state { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #eeeeeb; font-size: 12px; font-weight: 800; }
.app-state.state-published { background: var(--mint); }
.app-state.state-failed { background: #ffe5df; color: #8a241d; }
.app-state.state-review, .app-state.state-confirmed { background: var(--play); }
.app-detail { margin-top: 22px; }
.app-detail[hidden] { display: none; }
.app-waiting, .app-confirmed, .app-published { padding: 32px; text-align: center; }
.app-waiting h2 { margin: 18px 0 8px; font-size: 28px; }
.app-waiting p, .app-confirmed p, .app-published p { max-width: 640px; margin: 0 auto 20px; color: #444; }
.app-published > div, .app-detail-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.app-review-form { padding: clamp(22px, 4vw, 38px); }
.app-review-form header { margin-bottom: 24px; }
.app-review-form header p { margin: 0 0 10px; color: #444; }
.app-review-form header a { overflow-wrap: anywhere; color: var(--muted); font-size: 14px; }
.app-review-product { margin-bottom: 20px; }
.app-review-form fieldset { display: grid; gap: 14px; margin: 16px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.app-review-form legend { padding: 0 7px; font-size: 15px; font-weight: 800; }
.app-review-form details { font-size: 14px; }
.app-review-form blockquote { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--accent); color: #444; }
.spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: app-spin .8s linear infinite; }
@keyframes app-spin { to { transform: rotate(360deg); } }
/* 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, .workflow-preview-steps, .why-promofast-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; }
  .app-plan-grid, .app-dashboard-grid { grid-template-columns: 1fr; }
  .landing .workflow-preview-steps li { min-height: 0; }
}
@media (max-width: 640px) {
  .landing { --page-side-space: 20px; }
  .landing .topbar { padding: 14px 16px; }
  .landing .topbar-inner { width: 100%; }
  .landing .nav { gap: 10px; }
  .landing .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .landing .hero-outcome { margin-top: 12px; font-size: clamp(17px, 5.2vw, 24px); }
  .landing .hero h1 .mark { padding: 0 5px; }
  .landing .hero-actions .btn { width: 100%; justify-content: center; }
  .landing .cookie-notice, .playpage-app .cookie-notice, .app-project, .app-plan-summary { align-items: stretch; flex-direction: column; }
  .landing .why-promofast-grid article { min-height: 0; padding: 22px; }
  .app-project-actions { justify-content: flex-start; }
  .app-empty, .app-plan-gate, .app-review-form { padding: 24px; }
  .landing .cookie-notice, .playpage-app .cookie-notice { bottom: 10px; }
}

/* PromoFast dark theme — derived from the product's social-share art direction. */
.btn,
.btn.ghost,
.slug-input,
.landing .use-case-label,
.landing .availability,
.landing .create-form,
.landing .workspace,
.landing .review-form fieldset,
.landing .cookie-notice,
.playpage-app .cookie-notice,
.app-loading,
.app-empty,
.app-waiting,
.app-confirmed,
.app-published,
.app-plan-gate,
.app-create,
.app-project-list,
.app-detail {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn.primary:hover { color: var(--accent-ink); }
.btn:hover { box-shadow: var(--shadow); }

.slug-input input,
.landing .create-row input,
.landing .delivery-language select,
.landing .review-form :is(input, textarea),
.app-create input,
.app-review-form input,
.app-review-form textarea {
  background: #0b1533;
  border-color: var(--line);
  color: var(--ink);
}
.slug-input input::placeholder { color: #8794bc; }

.chip {
  background: #251d53;
  border-color: #625eaa;
  color: #d9d5ff;
}
.landing .workflow-preview-steps li,
.landing .service-grid article,
.price-card,
.tweet {
  background: var(--surface-raised);
  border-color: var(--line);
}
.landing .workflow-preview-steps li:nth-child(2n),
.landing .use-case-grid article {
  background: var(--sky);
}
.landing .workflow-preview-steps li:nth-child(3n),
.landing .use-case-grid article:nth-child(3) {
  background: var(--mint);
}
.landing .use-case-grid article:nth-child(2),
.price-card.popular,
.app-plan.is-selected,
.app-project.is-selected {
  background: var(--play);
}
.landing .example-frame { background: #0d1737; border-color: var(--line); }
.landing .proof-placeholder {
  background: #0d1735;
  border-color: #526393;
}
.landing .proof-bar { border-color: var(--line); }
.landing .proof-bar > span { background: #6878a9; }
.landing .proof-profile i { background: #586894; }
.landing .proof-profile em,
.landing .proof-lines span { background: #2f416e; }
.landing .proof-profile em:first-child { background: #455987; }
.badge { background: #17264d; border-color: var(--line); }
.badge.accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.landing :is(.workflow-preview-steps, .steps, .use-case-grid, .service-grid, .customer-proof-grid) p,
.landing .use-case-grid p,
.landing .faq details p,
.landing .faq .faq-evidence,
.landing .cookie-notice p,
.playpage-app .cookie-notice p,
.playpage-app .app-hero p:last-child,
.app-empty p,
.app-plan-gate > header p,
.app-plan p,
.app-create > p,
.app-waiting p,
.app-confirmed p,
.app-published p,
.app-review-form header p,
.app-review-form blockquote {
  color: var(--muted);
}
.landing .faq .faq-evidence { background: #2b1d4b; }
.landing .availability { color: var(--muted); }
.landing .price-card .price-sub { color: var(--ink); }
.landing .price-card li::before { color: #a6e6b7; }
.landing .faq details { border-color: var(--line); }
.landing .faq .faq-link,
.landing .link-button,
.landing .review-form header a,
.reset-row a,
.credit-row a,
footer a { color: #ffad91; }
.landing .faq .faq-link:hover,
a:hover { color: #ffcfbd; }

.landing .workspace-body { background: #0a1430; border-color: var(--line); }
.landing .workflow-progress li { border-color: var(--line); }
.landing .workflow-progress span { background: #23345f; }
.landing .workflow-progress li[data-state="done"] { color: #b6ebc3; border-color: #467c65; background: #173a36; }
.landing .workflow-progress li[data-state="done"] span { background: #3d946a; }
.landing .workflow-progress li[data-state="current"] { border-color: #8475e8; background: #30275f; }
.landing .notice-card.error,
.landing .inline-error,
.app-error { background: #3a1e2b; color: #ffc1b7; }

.app-note { background: var(--sky); border-color: var(--line); }
.app-plan { background: var(--surface-raised); border-color: var(--line); }
.app-plan-summary { background: #192f50; border-color: var(--line); }
.app-section-heading span { border-color: var(--line); background: #2a245d; }
.app-empty-list,
.app-project { border-color: var(--line); }
.app-state { background: #263963; color: var(--ink); }
.app-state.state-published { background: #1b4a42; color: #c2f1cd; }
.app-state.state-failed { background: #4a2030; color: #ffb8b0; }
.app-state.state-review,
.app-state.state-confirmed { background: #3c2d60; color: #e4dcff; }

footer { border-color: var(--line); }

/* Landing refresh: examples are first-class product records, viewed in place. */
.landing .hero { padding-top: 92px; }
.landing .account-trigger {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.landing .account-trigger:hover { border-color: #7788bd; transform: translateY(-1px); }
.landing .account-avatar {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(145deg, #334b84, #1a2754);
}
.landing .account-avatar::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d6def8;
  content: '';
  transform: translateX(-50%);
}
.landing .account-avatar::after {
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 24px;
  height: 18px;
  border-radius: 14px 14px 0 0;
  background: #d6def8;
  content: '';
  transform: translateX(-50%);
}
.landing .account-avatar.has-image { background: transparent; }
.landing .account-avatar.has-image::before,
.landing .account-avatar.has-image::after { display: none; }
.landing .account-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.landing .showcase { max-width: 1140px; padding-top: 54px; }
.landing .showcase-label { display: block; width: fit-content; margin: 0 0 14px; text-align: left; }
.landing .showcase-mosaic {
  display: block;
  gap: 14px;
}
.landing .showcase-mosaic.has-side { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); }
.landing .featured-showcase { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #0a1535; box-shadow: var(--shadow); }
.landing .showcase-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.landing .showcase-side[hidden] { display: none; }
.landing .featured-showcase-card { min-width: 0; }
.landing .featured-showcase-player {
  position: relative;
  display: grid;
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: radial-gradient(circle at 24% 26%, rgba(252, 108, 184, .62), transparent 23%), radial-gradient(circle at 76% 72%, rgba(126, 101, 246, .78), transparent 28%), #101e48;
  color: var(--ink);
  cursor: pointer;
}
.landing .featured-showcase-frame { display: block; min-width: 0; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #050b1e; }
.landing .featured-showcase-player::after { position: absolute; inset: 17%; border: 1px solid rgba(236, 237, 255, .32); border-radius: 16px; content: ''; transform: rotate(-3deg); }
.landing .featured-showcase-player img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.landing .featured-showcase-monogram { position: relative; z-index: 1; color: #f7f5ff; font-size: clamp(62px, 10vw, 132px); font-weight: 900; letter-spacing: -.11em; text-shadow: 0 12px 34px rgba(3, 5, 22, .4); }
.landing .featured-showcase-play { position: relative; z-index: 2; display: grid; width: 66px; height: 66px; padding-left: 5px; place-items: center; border: 1px solid rgba(255, 255, 255, .58); border-radius: 50%; background: rgba(7, 13, 37, .72); color: #fff; font-size: 21px; backdrop-filter: blur(10px); transition: transform .2s ease, background .2s ease; }
.landing .featured-showcase-player:hover .featured-showcase-play { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.landing .showcase-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.landing .showcase-rail[hidden] { display: none; }
.landing .showcase-loading,
.landing .showcase-empty { min-height: 240px; display: grid; place-items: center; margin: 0; color: var(--muted); }
.landing .showcase-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.landing .showcase-cover { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; background: radial-gradient(circle at 25% 20%, #7656ed, transparent 44%), #101e46; color: var(--ink); cursor: pointer; }
.landing .showcase-cover img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .94; transition: transform .4s ease; }
.landing .showcase-card:hover .showcase-cover img { transform: scale(1.035); }
.landing .showcase-cover > span:not(.showcase-play) { display: grid; width: 100%; height: 100%; place-items: center; color: #d8d5ff; font-size: 34px; font-weight: 800; letter-spacing: -.06em; }
.landing .showcase-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  padding-left: 3px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(10, 16, 45, .78);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(9px);
}
.landing .showcase-play:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.landing .showcase-card-frame { display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 9; border: 0; background: #050b1e; }
.landing .showcase-rail :is(.showcase-cover, .showcase-card-frame) { aspect-ratio: 16 / 10; }
.landing .showcase-side .showcase-card,
.landing .showcase-side .showcase-cover,
.landing .showcase-side .showcase-card-frame { height: 100%; }
.landing .showcase-side .showcase-cover,
.landing .showcase-side .showcase-card-frame { aspect-ratio: auto; }
.landing .showcase-more-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.landing .showcase-more-button { border: 0; background: transparent; color: #ffc0aa; font: 800 14px/1.2 var(--font); cursor: pointer; }
.landing .showcase-more-button:hover { color: var(--ink); }

/* PromoFast value-led landing page. Keep the customer-proof styles above so
   the section can be revealed as soon as real customer evidence is available. */
.landing .hero {
  max-width: 900px;
  padding-top: 88px;
  padding-bottom: 64px;
}
.landing .hero h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 6.5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.landing .hero-lede {
  max-width: 760px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}
.landing .hero .hero-actions { margin-bottom: 18px; }
.landing .hero-reassurance {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: #919dc3;
  font-size: 14px;
  font-weight: 650;
}
.landing .section-heading {
  max-width: none;
  margin: 0 0 34px;
  text-align: left;
}
.landing .section-heading .chip { margin-bottom: 16px; }
.landing .section-heading h2,
.landing .continuous-service h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.3vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.landing .section-heading > p:last-child,
.landing .continuous-service > div > p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.landing .showcase { padding-top: 44px; padding-bottom: 58px; }
.landing .showcase-heading { max-width: none; }
.landing .before-after,
.landing .production-stack,
.landing .continuous-service,
.landing .production-trust { max-width: 1100px; text-align: left; }
.landing .before-after { padding-top: 58px; padding-bottom: 58px; }
.landing .before-after-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.landing .before-after-grid article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}
.landing .before-after-grid article.after {
  border-color: #856ee0;
  background: linear-gradient(145deg, #30255f, #172750);
}
.landing .before-after-grid article > span,
.landing .production-stack-grid article > span {
  color: #ffc0aa;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.landing .before-after-grid h3 {
  margin: 42px 0 10px;
  font-size: 27px;
  line-height: 1.15;
}
.landing .before-after-grid p { margin: 0; color: var(--muted); }
.landing .before-after-arrow { color: var(--accent); font-size: 44px; }
.landing .workflow-preview { padding-top: 70px; padding-bottom: 54px; }
.landing .workflow-preview-heading { max-width: 760px; }
.landing .workflow-preview-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.landing .workflow-preview-steps li { min-height: 228px; border-width: 1px; }
.landing .production-stack { padding-top: 62px; padding-bottom: 58px; }
.landing .production-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.landing .production-stack-grid article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
}
.landing .production-stack-grid article:nth-child(2),
.landing .production-stack-grid article:nth-child(3) { background: var(--sky); }
.landing .production-stack-grid h3 { margin: 34px 0 10px; font-size: 24px; }
.landing .production-stack-grid p { margin: 0; color: var(--muted); }
.landing .production-skip {
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid #6e609f;
  border-radius: 14px;
  background: #251d53;
  color: #e5e2ff;
  text-align: center;
  font-weight: 750;
}
.landing .continuous-service {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 52px;
  align-items: center;
  margin-top: 54px;
  margin-bottom: 54px;
  padding: 48px;
  border: 1px solid #6e609f;
  border-radius: 24px;
  background: linear-gradient(135deg, #30255f 0%, #13274f 100%);
  box-shadow: var(--shadow);
}
.landing .continuous-service .chip { margin-bottom: 20px; }
.landing .continuous-service ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.landing .continuous-service li {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid rgba(171, 161, 233, .28);
  border-radius: 13px;
  background: rgba(8, 16, 46, .45);
}
.landing .continuous-service li span { color: var(--muted); font-size: 14px; }
.landing .production-trust { padding-top: 58px; padding-bottom: 72px; }
.landing .production-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.landing .production-trust-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
}
.landing .production-trust-grid strong { font-size: 18px; }
.landing .production-trust-grid p { margin: 12px 0 0; color: var(--muted); }
.landing .trust-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.landing .text-link { color: #ffc0aa; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.landing .trust-evidence {
  max-width: 920px;
  margin: 22px 0 0;
  color: #8f9abd;
  font-size: 13px;
  line-height: 1.6;
}
.landing .pricing { padding-top: 72px; }
.landing .pricing .pricing-sub { max-width: 720px; margin: -12px 0 36px; font-size: 17px; }
.landing .price-card.popular { border-color: #8d75ed; box-shadow: 0 22px 54px rgba(44, 27, 115, .34), 0 0 0 1px rgba(197, 186, 255, .18); }
.landing .price-card[data-plan="maker"] .btn { background: var(--surface); border-color: var(--line); color: var(--ink); }
.landing .plan-footnote { max-width: none; margin-top: 22px; text-align: center; }
.landing .faq { padding-top: 62px; padding-bottom: 56px; }
.landing .faq summary { font-size: 18px; }
.landing .bottom-cta { max-width: 900px; padding-top: 84px; }
.landing .bottom-cta p { max-width: 650px; margin: 0 auto 28px; font-size: 18px; }
.landing .showcase-card-copy {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
  background: var(--surface-raised);
}
.landing .showcase-card-copy.featured { padding: 16px 20px 18px; }
.landing .showcase-card-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.landing .showcase-card-copy.featured strong { font-size: 18px; }
.landing .showcase-card-copy span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.landing .showcase-side { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.landing .showcase-side .showcase-card { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.landing .showcase-side .showcase-cover,
.landing .showcase-side .showcase-card-frame { min-height: 0; }

@media (max-width: 900px) {
  .landing .workflow-preview-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .continuous-service { grid-template-columns: 1fr; gap: 28px; }
  .landing .production-trust-grid { grid-template-columns: 1fr; }
  .landing .production-trust-grid article { min-height: 0; }
}

@media (max-width: 640px) {
  .landing .hero { padding-top: 64px; padding-bottom: 42px; }
  .landing .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .landing .hero-reassurance { align-items: center; flex-direction: column; gap: 2px; }
  .landing .hero-reassurance span { display: none; }
  .landing .before-after-grid,
  .landing .production-stack-grid,
  .landing .workflow-preview-steps { grid-template-columns: 1fr; }
  .landing .before-after-arrow { transform: rotate(90deg); text-align: center; }
  .landing .continuous-service { width: calc(100% - 32px); padding: 28px 22px; }
  .landing .section-heading h2,
  .landing .continuous-service h2 { font-size: clamp(30px, 9vw, 40px); }
}

@media (max-width: 900px) {
  .landing :is(.featured-showcase-player, .featured-showcase-frame) { aspect-ratio: 16 / 9; }
  .landing .showcase-mosaic.has-side { grid-template-columns: minmax(0, 1.7fr) minmax(200px, 1fr); }
}
@media (max-width: 640px) {
  .landing .hero { padding-top: 58px; }
  .landing .nav { gap: 8px; }
  .landing .nav > a { display: none; }
  .landing .hero-transformation { margin-top: 30px; }
  .landing .hero-transformation-flow { gap: 12px; }
  .landing .hero-transformation-flow strong { font-size: clamp(15px, 4.4vw, 19px); }
  .landing .showcase { padding-top: 42px; }
  .landing .showcase-mosaic.has-side { grid-template-columns: 1fr; gap: 10px; }
  .landing .featured-showcase { border-radius: 17px; }
  .landing .showcase-side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 10px; }
  .landing .showcase-side .showcase-cover,
  .landing .showcase-side .showcase-card-frame { height: auto; aspect-ratio: 16 / 9; }
  .landing :is(.featured-showcase-player, .featured-showcase-frame) { aspect-ratio: 16 / 10; }
  .landing .showcase-rail { grid-template-columns: 1fr; }
}

/* PromoFast workspace: persistent navigation with route-based content views. */
.playpage-app {
  min-height: 100vh;
  background: var(--bg);
}
.playpage-app .topbar { padding-inline: 0; }
.playpage-app .app-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
}
.playpage-app .app-shell {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px 24px 80px;
}
.playpage-app .app-shell.has-sidebar {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  min-height: calc(100vh - 69px);
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
}
.playpage-app .app-sidebar {
  position: relative;
  align-self: stretch;
  box-sizing: border-box;
  height: auto;
  padding: 16px;
  border: 1px solid var(--line);
  min-height: calc(100vh - 69px);
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(16, 27, 61, .9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.playpage-app .app-sidebar[hidden] { display: none; }
.playpage-app .app-sidebar nav { position: sticky; top: 85px; display: grid; gap: 18px; }
.playpage-app .app-sidebar-group { display: grid; gap: 0; }
.playpage-app .app-sidebar-group + .app-sidebar-group {
  padding-top: 18px;
  border-top: 1px solid rgba(161, 178, 234, .18);
}
.playpage-app .app-sidebar-group > p {
  margin: 0 10px 6px;
  color: #8794bc;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.playpage-app .app-sidebar a {
  position: relative;
  display: flex;
  min-height: 42px;
  padding: 9px 11px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}
.playpage-app .app-sidebar a:not(:last-child)::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 1px;
  background: rgba(161, 178, 234, .14);
  content: '';
}
.playpage-app .app-sidebar a:hover { background: #15264e; color: var(--ink); }
.playpage-app .app-sidebar a[aria-current="page"] {
  background: linear-gradient(105deg, #34295f, #27325f);
  color: #fff;
  box-shadow: none;
}
.playpage-app .app-content { min-width: 0; padding-top: 34px; }
.playpage-app .app-shell.has-sidebar .app-content { padding-bottom: 80px; }
.playpage-app .app-content > section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: 0;
  padding-left: 0;
}
.playpage-app .app-hero {
  padding-top: 4px;
  padding-bottom: 26px;
  text-align: left;
}
.playpage-app .app-hero[hidden] { display: none; }
.playpage-app .app-hero .chip[hidden] { display: none; }
.playpage-app .app-hero h1 { font-size: clamp(34px, 4vw, 48px); }
.playpage-app .app-hero p:last-child { max-width: 680px; margin: 0; }
.playpage-app .app-surface { padding-top: 0; }
.playpage-app .app-root > section { width: 100%; max-width: none; margin-right: 0; margin-left: 0; text-align: left; }
.playpage-app .app-plan-summary { padding: 14px 16px; }
.playpage-app .app-plan-gate { padding: 0; border: 0; background: transparent; box-shadow: none; }
.playpage-app .app-plan-gate > header { max-width: none; margin: 0 0 34px; text-align: left; }
.playpage-app .app-plan-gate > header .chip { display: inline-flex; margin: 0 0 18px; color: #d5cbff; }
.playpage-app .app-plan-gate > header h2 { max-width: 760px; font-size: clamp(30px, 4vw, 42px); }
.playpage-app .app-plan-gate > header .pricing-sub { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.playpage-app .app-plan-gate .app-plan-grid { gap: 24px; margin-bottom: 22px; }
.playpage-app .app-plan-gate .app-plan { min-height: 430px; padding: 28px 24px 24px; border: 1px solid var(--line); }
.playpage-app .app-plan-gate .app-plan.is-selected { border-color: #8d75ed; box-shadow: 0 0 0 1px rgba(197, 186, 255, .2), var(--shadow-sm); }
.playpage-app .app-plan-gate .plan-footnote { margin: 0; color: var(--muted); font-size: 14px; text-align: left; }
.playpage-app .app-create { padding: clamp(24px, 4vw, 38px); }
.playpage-app .app-project-list { padding: 0; }
.playpage-app .app-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}
.playpage-app .app-products-view .app-project-grid { padding: 0; }
.playpage-app .app-archived-products { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.playpage-app .app-archived-products > header { margin-bottom: 16px; }
.playpage-app .app-archived-products > header h2 { margin: 0 0 5px; font-size: 20px; }
.playpage-app .app-archived-products > header p { margin: 0; color: var(--muted); font-size: 14px; }
.playpage-app .app-archived-products .app-project { opacity: .82; }
.playpage-app .app-project-grid .app-project {
  min-width: 0;
  min-height: 178px;
  align-items: stretch;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.playpage-app .app-project-grid .app-project[data-manage-project] { cursor: pointer; }
.playpage-app .app-project-grid .app-project[data-manage-project]:hover {
  border-color: #687cb7;
  background: rgba(22, 40, 82, .72);
}
.playpage-app .app-project-grid .app-project[data-manage-project]:hover [data-open-project] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(255, 126, 99, .2);
}
.playpage-app .app-project-grid .app-project-actions { margin-top: auto; justify-content: flex-start; }
.playpage-app .app-project-status { display: flex; align-items: center; gap: 7px; }
.playpage-app .app-state-link {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #477c70;
  border-radius: 50%;
  background: #143c38;
  color: #c2f1cd;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}
.playpage-app .app-state-link:hover { background: #1f574f; color: #effff3; }
.playpage-app.app-modal-open { overflow: hidden; }
.playpage-app .app-project-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 24px;
  place-items: center;
  overflow: auto;
  background: rgba(2, 6, 18, .72);
  backdrop-filter: blur(14px);
}
.playpage-app .app-project-modal {
  width: min(860px, 100%);
  max-width: none;
  max-height: calc(100vh - 48px);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
  text-align: left;
}
.playpage-app .app-project-modal-top {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 27, 61, .97);
  backdrop-filter: blur(14px);
}
.playpage-app .app-project-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 0;
  background: transparent;
}
.playpage-app .app-project-modal-header > div { min-width: 0; }
.playpage-app .app-project-modal-header span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.playpage-app .app-project-modal-header h2 { overflow: hidden; margin: 3px 0 0; text-overflow: ellipsis; white-space: nowrap; font-size: 22px; }
.playpage-app .app-project-modal-close {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #182851;
  color: var(--ink);
  cursor: pointer;
  font: 500 26px/1 var(--font);
}
.playpage-app .app-project-modal-close:hover { background: #253865; }
.playpage-app .app-project-progress {
  padding: 0 22px 18px;
}
.playpage-app .app-project-progress-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}
.playpage-app .app-project-progress-summary strong { color: var(--ink); font-size: 14px; }
.playpage-app .app-project-progress-summary span { color: var(--muted); font-size: 13px; font-weight: 650; }
.playpage-app .app-project-progress.is-complete .app-project-progress-summary strong { color: #b9efca; }
.playpage-app .app-project-progress.is-failed .app-project-progress-summary strong { color: #ffb8b0; }
.playpage-app .app-project-progress ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.playpage-app .app-project-progress li {
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 7px;
  color: #7583a6;
  text-align: center;
}
.playpage-app .app-project-progress li:not(:last-child)::after {
  position: absolute;
  top: 13px;
  left: calc(50% + 17px);
  width: calc(100% - 34px);
  height: 2px;
  background: #34456f;
  content: '';
}
.playpage-app .app-project-progress li.is-complete:not(:last-child)::after { background: #477c70; }
.playpage-app .app-project-progress-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #45577f;
  border-radius: 50%;
  background: #142143;
  color: #8e9abb;
  font-size: 12px;
  font-weight: 850;
}
.playpage-app .app-project-progress li.is-complete { color: #b9efca; }
.playpage-app .app-project-progress li.is-complete .app-project-progress-dot { border-color: #477c70; background: #163b37; color: #c2f1cd; }
.playpage-app .app-project-progress li.is-current { color: #fff; }
.playpage-app .app-project-progress li.is-current .app-project-progress-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(255, 126, 99, .16);
}
.playpage-app .app-project-progress li.is-failed { color: #ffb8b0; }
.playpage-app .app-project-progress li.is-failed .app-project-progress-dot { border-color: #a86477; background: #4a2030; color: #ffd5d9; box-shadow: 0 0 0 4px rgba(255, 139, 148, .12); }
.playpage-app .app-project-progress-label {
  overflow: hidden;
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.playpage-app .app-project-modal .app-detail { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
.playpage-app .app-project-modal .app-review-form { padding: 22px; }
.playpage-app .app-review-path {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.playpage-app .app-review-path-control {
  display: flex;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b1533;
}
.playpage-app .app-review-path-control:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.playpage-app .app-review-path-control strong { flex: 0 0 auto; padding: 11px 0 11px 12px; color: #c9d2e8; font-size: 14px; }
.playpage-app .app-review-path-control input { min-width: 0; flex: 1; padding: 11px 12px 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }
.playpage-app .app-review-path-control input[readonly] { color: #c9d2e8; cursor: not-allowed; }
.playpage-app .app-review-path > small { color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.4; }
.playpage-app .app-review-path-status { min-height: 17px; }
.playpage-app .app-review-path-status[data-state="available"] { color: #8fe0aa; }
.playpage-app .app-review-path-status[data-state="taken"] { color: #ffabb8; }
.playpage-app .app-style-section {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.playpage-app .app-style-section h3 { margin: 0 0 5px; font-size: 19px; }
.playpage-app .app-style-section > div:first-child p { margin: 0; color: var(--muted); font-size: 14px; }
.playpage-app .app-visual-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.playpage-app .app-music-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.playpage-app :is(.app-visual-style, .app-music-style) { position: relative; display: block; cursor: pointer; }
.playpage-app :is(.app-visual-style, .app-music-style) > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.playpage-app :is(.app-visual-style, .app-music-style) > span {
  display: grid;
  height: 100%;
  gap: 6px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1533;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.playpage-app :is(.app-visual-style, .app-music-style):hover > span { border-color: #7184bc; transform: translateY(-1px); }
.playpage-app :is(.app-visual-style, .app-music-style) > input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.playpage-app :is(.app-visual-style, .app-music-style) > input:checked + span { border-color: var(--accent); background: #261f4e; box-shadow: 0 0 0 1px var(--accent); }
.playpage-app :is(.app-visual-style, .app-music-style) strong { font-size: 14px; }
.playpage-app :is(.app-visual-style, .app-music-style) small { color: var(--muted); font-size: 12px; font-weight: 550; line-height: 1.4; }
.playpage-app .app-visual-style img { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 3px; border-radius: 8px; object-fit: cover; }
.playpage-app .app-published .app-copy-status { min-height: 20px; margin: 14px auto 0; color: #b9efca; font-size: 13px; }
.playpage-app .app-embed[hidden] { display: none; }
.playpage-app .app-embed {
  width: 100%;
  margin-top: 28px;
  padding-top: 26px;
  scroll-margin-top: 210px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.playpage-app .app-embed-heading { margin-bottom: 18px; }
.playpage-app .app-embed-heading span { color: #b9a8ff; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.playpage-app .app-embed-heading h3 { margin: 6px 0 7px; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.025em; }
.playpage-app .app-embed-heading p { max-width: none; margin: 0; color: var(--muted); font-size: 14px; }
.playpage-app .app-embed-options { display: grid; gap: 18px; }
.playpage-app .app-embed-option {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0b1533;
}
.playpage-app .app-embed-option > header { margin-bottom: 14px; }
.playpage-app .app-embed-option h4 { margin: 0 0 5px; font-size: 18px; }
.playpage-app .app-embed-option header p { max-width: none; margin: 0; color: var(--muted); font-size: 13px; }
.playpage-app .app-embed-preview {
  display: grid;
  min-height: 220px;
  padding: 16px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #34456f;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 0, rgba(122, 92, 221, .2), transparent 52%), #060b1c;
}
.playpage-app .app-embed-preview.is-badge { min-height: 136px; background: #f4f6fb; }
.playpage-app .app-embed-preview.is-badge > a { max-width: 100%; }
.playpage-app .app-embed-player { width: min(100%, 640px); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #050816; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.playpage-app .app-embed-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.playpage-app .app-embed-option .app-embed-instruction { max-width: none; margin: 13px 0 9px; color: #cbd4ec; font-size: 13px; line-height: 1.5; }
.playpage-app .app-embed-code { position: relative; display: block; min-width: 0; }
.playpage-app .app-embed-code pre {
  min-height: 112px;
  margin: 0;
  padding: 15px 116px 15px 15px;
  overflow: auto;
  border: 1px solid #34456f;
  border-radius: 10px;
  background: #050b1d;
  color: #d9e2fb;
  font: 500 12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  white-space: pre;
}
.playpage-app .app-embed-code .btn { position: absolute; top: 9px; right: 9px; padding: 8px 11px; font-size: 12px; }
.playpage-app .app-embed-copy-status { min-height: 17px; margin: 8px 0 0; color: #b9efca; font-size: 12px; }
.playpage-app .app-video-export-status {
  display: flex;
  width: 100%;
  max-width: 680px;
  align-items: center;
  gap: 12px;
  margin: 20px auto 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1533;
  text-align: left;
}
.playpage-app .app-video-export-status div { display: grid; gap: 4px; }
.playpage-app .app-video-export-status strong { font-size: 14px; }
.playpage-app .app-video-export-status p { max-width: none; margin: 0; color: var(--muted); font-size: 13px; }
.playpage-app .app-video-export-status.is-ready { border-color: #477c70; background: #123732; }
.playpage-app .app-video-export-status.is-failed { border-color: #815267; background: #351a29; }
.playpage-app .app-published .btn.accent { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.playpage-app .app-add-product-card {
  min-width: 0;
  min-height: 178px;
  overflow: hidden;
  border: 1px dashed #6074ad;
  border-radius: 12px;
  background: rgba(22, 40, 82, .48);
}
.playpage-app .app-add-product-trigger {
  display: flex;
  width: 100%;
  min-height: 178px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}
.playpage-app .app-add-product-trigger:hover { background: rgba(52, 41, 95, .7); color: var(--ink); }
.playpage-app .app-add-product-trigger span { font-size: 38px; font-weight: 400; line-height: 1; }
.playpage-app .app-add-product-trigger strong { font-size: 16px; }
.playpage-app .app-add-product-trigger[hidden],
.playpage-app .app-add-product-panel[hidden] { display: none; }
.playpage-app .app-add-product-panel { padding: 18px; }
.playpage-app .app-add-product-panel h3 { margin: 0 0 14px; font-size: 19px; }
.playpage-app .app-add-product-panel form,
.playpage-app .app-add-product-panel label { display: grid; gap: 9px; }
.playpage-app .app-add-product-panel label { color: var(--muted); font-size: 13px; font-weight: 700; }
.playpage-app .app-add-product-panel input { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; background: #0b1533; color: var(--ink); font: inherit; }
.playpage-app .app-add-product-panel .btn { justify-content: center; margin-top: 3px; }
.playpage-app .app-subscription-card,
.playpage-app .app-account-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.playpage-app .app-subscription-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.playpage-app .app-subscription-heading > div { display: grid; gap: 5px; }
.playpage-app .app-subscription-heading span,
.playpage-app .app-subscription-card dt { color: var(--muted); font-size: 14px; font-weight: 720; }
.playpage-app .app-subscription-heading strong { color: #b9efca; font-size: 22px; }
.playpage-app .app-plan-name { padding: 7px 12px; border: 1px solid #6e609f; border-radius: 999px; color: var(--ink); }
.playpage-app .app-subscription-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 28px; }
.playpage-app .app-subscription-card dl > div { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); }
.playpage-app .app-subscription-card dd { margin: 0; font-size: 24px; font-weight: 800; }
.playpage-app .app-cancel-subscription { border-color: #815267; color: #ffc1c9; }
.playpage-app .app-billing-notice { margin: -8px 0 22px; }
.playpage-app .app-plan-change-status { margin: -8px 0 22px; padding: 13px 15px; border: 1px solid #6e609f; border-radius: 10px; background: #211f48; color: #dce4fb; font-size: 14px; }
.playpage-app .app-plan-change-status.is-downgrade { border-color: #7a6848; background: #302a1b; }
.playpage-app .app-plan-change-card {
  display: grid;
  gap: 22px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.playpage-app .app-plan-change-card header h2 { margin: 0 0 7px; font-size: 25px; }
.playpage-app .app-plan-change-card header p { margin: 0; color: var(--muted); font-size: 14px; }
.playpage-app .app-plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.playpage-app .app-plan-option { display: flex; min-width: 0; min-height: 180px; padding: 18px; flex-direction: column; gap: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); }
.playpage-app .app-plan-option.is-current { border-color: #477c70; background: #123732; }
.playpage-app .app-plan-option.is-scheduled { border-color: #7a6848; background: #302a1b; }
.playpage-app .app-plan-option-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.playpage-app .app-plan-option h3 { margin: 0; font-size: 20px; }
.playpage-app .app-plan-option-title > strong { color: var(--ink); font-size: 23px; }
.playpage-app .app-plan-option-title small { color: var(--muted); font-size: 12px; }
.playpage-app .app-plan-option p { margin: 11px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.playpage-app .app-plan-option .btn { width: 100%; margin-top: auto; justify-content: center; }
.playpage-app .app-plan-option .btn:disabled { cursor: default; opacity: .6; }
.playpage-app .app-plan-change-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  padding: 24px;
  place-items: center;
  overflow: auto;
  background: rgba(2, 6, 18, .72);
  backdrop-filter: blur(14px);
}
.playpage-app .app-plan-change-modal { width: min(660px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 28px 90px rgba(0, 0, 0, .55); }
.playpage-app .app-plan-change-modal > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.playpage-app .app-plan-change-modal > header span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.playpage-app .app-plan-change-modal > header h2 { margin: 3px 0 0; font-size: 25px; }
.playpage-app .app-plan-change-review { padding: 22px; }
.playpage-app .app-plan-change-review dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.playpage-app .app-plan-change-review dl > div { display: grid; gap: 5px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); }
.playpage-app .app-plan-change-review dt { color: var(--muted); font-size: 12px; font-weight: 720; }
.playpage-app .app-plan-change-review dd { margin: 0; font-size: 21px; font-weight: 820; }
.playpage-app .app-plan-change-review > p { margin: 18px 0 5px; color: #dce4fb; line-height: 1.55; }
.playpage-app .app-plan-change-review > small { color: var(--muted); font-size: 12px; }
.playpage-app .app-plan-change-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.playpage-app .app-account-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.playpage-app .app-account-identity { display: flex; min-width: 0; align-items: center; gap: 16px; }
.playpage-app .app-account-identity > :is(img, span) { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; border: 1px solid #6e609f; border-radius: 50%; background: #27365e; color: #fff; object-fit: cover; font-size: 18px; font-weight: 850; }
.playpage-app .app-account-identity div { display: grid; min-width: 0; gap: 2px; }
.playpage-app .app-account-identity p { margin: 0 0 2px; color: var(--muted); font-size: 13px; }
.playpage-app .app-account-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; }
.playpage-app .app-account-identity small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }

@media (max-width: 900px) {
  .playpage-app .app-shell.has-sidebar { grid-template-columns: 1fr; gap: 22px; }
  .playpage-app .app-sidebar { position: sticky; top: 69px; z-index: 12; height: auto; min-height: 0; padding: 10px; overflow-x: auto; border-radius: 0; }
  .playpage-app .app-sidebar nav { position: static; display: flex; width: max-content; min-width: 100%; gap: 8px; }
  .playpage-app .app-sidebar-group { display: flex; gap: 4px; }
  .playpage-app .app-sidebar-group + .app-sidebar-group { padding-top: 0; border-top: 0; }
  .playpage-app .app-sidebar-group > p { display: none; }
  .playpage-app .app-sidebar a { white-space: nowrap; }
  .playpage-app .app-sidebar a::after { display: none; }
  .playpage-app .app-project-grid { grid-template-columns: 1fr; }
  .playpage-app .app-plan-options { grid-template-columns: 1fr; }
  .playpage-app .app-plan-option { min-height: 0; }
}
@media (max-width: 640px) {
  .playpage-app .app-topbar-inner { padding-inline: 16px; }
  .playpage-app .app-shell { padding-right: 16px; }
  .playpage-app .app-topbar-inner .nav > a { display: none; }
  .playpage-app .app-subscription-card dl { grid-template-columns: 1fr; }
  .playpage-app .app-account-card,
  .playpage-app .app-subscription-heading { align-items: stretch; flex-direction: column; }
  .playpage-app .app-account-card .btn { justify-content: center; }
  .playpage-app .app-plan-change-modal-backdrop { padding: 10px; }
  .playpage-app .app-plan-change-review dl { grid-template-columns: 1fr; }
  .playpage-app .app-plan-change-actions { flex-direction: column-reverse; }
  .playpage-app .app-plan-change-actions .btn { justify-content: center; }
  .playpage-app .app-project-modal-backdrop { padding: 10px; }
  .playpage-app .app-project-modal { max-height: calc(100vh - 20px); border-radius: 14px; }
  .playpage-app .app-project-progress { padding-inline: 16px; }
  .playpage-app .app-project-progress-summary { align-items: flex-start; flex-direction: column; gap: 2px; }
  .playpage-app .app-project-progress-label { font-size: 12px; white-space: normal; }
  .playpage-app .app-visual-style-grid,
  .playpage-app .app-music-style-grid { grid-template-columns: 1fr; }
  .playpage-app .app-published { padding: 22px 16px; }
  .playpage-app .app-published-actions .btn { width: 100%; justify-content: center; }
  .playpage-app .app-embed { scroll-margin-top: 245px; }
  .playpage-app .app-embed-option { padding: 13px; }
  .playpage-app .app-embed-preview { min-height: 160px; padding: 10px; }
  .playpage-app .app-embed-preview.is-badge { min-height: 120px; }
  .playpage-app .app-embed-code pre { padding: 52px 12px 12px; }
}
