/* Mother-site visual system. Trend-specific imagery comes from template media. */
:root {
  --bg: #08060e;
  --fg: #f7f4f1;
  --card: #19171f;
  --muted: #a39eaa;
  --muted-2: #8d8794;
  --border: #2f2d34;
  --border-strong: #3a3740;
  --glass: rgba(255, 255, 255, 0.04);
  --ok: #34d399;
  --err: #fca5a5;
  --price: #f5ca2f;
  --sunset: linear-gradient(100deg, #ffa144 0%, #ff6a6a 46%, #b641bf 100%);
  --text-grad: linear-gradient(100deg, #ffa144 0%, #ff7a62 42%, #e4539a 78%, #b641bf 100%);
  --font: Inter, "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  --header-h: 64px;
  --tab-h: calc(64px + env(safe-area-inset-bottom));
  --max: 72rem;
  --narrow: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--tab-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, summary { font-family: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #ff6a4d;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid #2a2830;
  background: rgba(8, 6, 14, 0.82);
  backdrop-filter: blur(24px);
}
.header-bar {
  position: relative;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-desktop a {
  color: #b7b2be;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-desktop a:hover { color: var(--fg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-cta { display: none; }

.icon-btn {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
}
.icon-btn:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 60;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #15121e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.48rem 0.7rem;
  border-radius: 8px;
  color: #d9d4de;
  font-size: 0.92rem;
  white-space: nowrap;
}
.flag { width: 1.25rem; text-align: center; font-size: 1rem; line-height: 1; }
.lang-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.lang-menu a[aria-current="page"] { color: #fff; font-weight: 650; }

.nav-drawer { display: block; }
.nav-drawer summary { list-style: none; }
.nav-drawer summary::-webkit-details-marker { display: none; }
.drawer-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 45;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 6, 14, 0.96);
  backdrop-filter: blur(16px);
}
.drawer-panel a {
  padding: 0.7rem 0.4rem;
  color: var(--fg);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn-sunset {
  background-image: var(--sunset);
  color: #fff;
  box-shadow: 0 10px 40px -8px rgba(255, 90, 95, 0.7);
}
.btn-sunset:hover { transform: scale(1.03); }
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn-lg { height: 52px; padding: 0 2rem; font-size: 1rem; width: 100%; }
.btn-md { height: 48px; padding: 0 1.25rem; font-size: 1rem; width: 100%; }
.btn-sm { height: 36px; padding: 0 1rem; font-size: 0.875rem; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }

/* Full-viewport screens: first fold + generate studio */
.section-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.section-screen > .wrap,
.section-screen > .wrap-narrow {
  width: 100%;
}
.home-intro-cta {
  margin: 1.75rem 0 0;
  text-align: center;
}
.home-intro-cta .btn { width: auto; max-width: 100%; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.5rem 1rem 5rem;
}
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow-a, .glow-b, .glow-c {
  position: absolute;
  border-radius: 999px;
}
.glow-a {
  top: -12rem; left: 18%;
  width: 780px; height: 560px;
  background: radial-gradient(closest-side, rgba(255, 138, 61, 0.34), transparent);
}
.glow-b {
  top: 6rem; right: -8rem;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(182, 65, 191, 0.28), transparent);
}
.glow-c {
  top: 46%; left: -12rem;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(255, 90, 95, 0.16), transparent);
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10rem;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 3.5rem;
}
.hero-copy { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  font-size: 0.75rem;
  font-weight: 500;
}
.eyebrow svg { color: #fcd34d; }
.hero h1, .closing h2 {
  margin: 1.35rem 0 0;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.grad {
  color: transparent;
  background-image: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.stats {
  margin: 3rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
  max-width: 40rem;
}
.stats div { text-align: center; }
.stats dt {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.stats dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}
.disclaimer {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.hero-stage {
  position: relative;
  width: min(100%, 420px);
  max-height: min(70vh, 34rem);
  margin: 0 auto;
}
.stage-glow {
  position: absolute;
  left: 1.5rem; right: 1.5rem; top: 2.5rem; bottom: 2.5rem;
  z-index: -1;
  border-radius: 999px;
  background-image: var(--sunset);
  opacity: 0.4;
  filter: blur(90px);
}
.float-card {
  display: none;
  position: absolute;
  width: 9rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  opacity: 0.9;
}
.float-card.left { top: 3rem; left: -1.5rem; transform: rotate(-6deg); }
.float-card.right { right: -1.5rem; bottom: 5rem; transform: rotate(6deg); }
.mini-scene { height: 11rem; position: relative; overflow: hidden; }
.float-label {
  position: absolute;
  z-index: 1;
  top: 0.5rem; left: 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  backdrop-filter: blur(8px);
}
.phone {
  position: relative;
  z-index: 1;
  width: min(260px, 72vw);
  max-width: 280px;
  max-height: min(62vh, 28rem);
  margin: 0 auto;
  padding: 0.5rem;
  border-radius: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 2.1rem;
  aspect-ratio: 9 / 16;
  width: 100%;
  height: auto;
  max-height: calc(min(62vh, 28rem) - 1rem);
}
.scene {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #000;
}
.phone .demo-video,
.phone-screen .demo-video,
.scene .demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
}
.demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}
.hero-video { object-position: center center; }
.scene-shade {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  height: 7rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  pointer-events: none;
}
.scene-label {
  position: absolute;
  z-index: 1;
  left: 0.7rem;
  top: 0.7rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.2rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
}
.narrow-faq { max-width: 48rem; }
.beats {
  position: absolute;
  z-index: 1;
  left: 0.65rem; right: 0.65rem; bottom: 0.7rem;
  display: flex;
  gap: 0.3rem;
}
.beats span {
  flex: 1;
  text-align: center;
  border-radius: 999px;
  padding: 0.3rem 0.2rem;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.beats span.on {
  background-image: var(--sunset);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.card-caption {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Sections */
.section { padding: 4rem 1rem; }
.section-head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.kicker {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: transparent;
  background-image: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
}
.section h2 {
  margin: 0.75rem 0 0;
  font-size: 1.875rem;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.section-lead {
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.7;
}
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-narrow { max-width: var(--narrow); margin: 0 auto; }

/* Generator */
.gen-shell {
  position: relative;
  border-radius: 1.75rem;
  border: 1px solid #2f2d34;
  background: linear-gradient(180deg, #1c1a22 0%, #141218 100%);
  padding: 1.25rem;
  box-shadow: 0 40px 100px -40px rgba(255, 90, 95, 0.35);
}
.gen-grid {
  display: grid;
  gap: 2rem;
}
.upload-col { max-width: 20rem; margin: 0 auto; width: 100%; }
.upload-zone {
  position: relative;
  display: flex;
  aspect-ratio: 3 / 4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px dashed #3c3942;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.is-drag, .upload-zone:focus-within {
  border-color: rgba(252, 211, 77, 0.7);
  background: rgba(255, 255, 255, 0.06);
}
.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.plus {
  display: flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-image: var(--sunset);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 90, 95, 0.35);
}
.upload-title {
  margin-top: 0.75rem;
  padding: 0 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.upload-meta { margin-top: 0.7rem; }
.upload-meta h3 { margin: 0; font-size: 0.875rem; }
.upload-hint { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.preview { margin-top: 0.9rem; display: flex; align-items: center; gap: 0.75rem; }
.preview[hidden] { display: none; }
.preview img {
  width: 56px; height: 74px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.preview-meta p { margin: 0 0 0.35rem; font-size: 0.8rem; word-break: break-word; }
.linkish {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.gen-aside {
  border-radius: 1rem;
  border: 1px solid #2f2d34;
  background: #16141c;
  padding: 1.35rem;
  display: grid;
  align-content: start;
  gap: 0.85rem;
}
.form-note { margin: 0; text-align: center; color: var(--muted); font-size: 0.75rem; line-height: 1.6; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--err); }
.form-note.busy { color: #ffc247; }
progress {
  width: 100%;
  height: 8px;
  accent-color: #ff6a4d;
}
progress[hidden] { display: none; }
.result { display: grid; gap: 0.85rem; justify-items: center; }
.result[hidden] { display: none; }
.result video {
  width: min(100%, 220px);
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card, .step {
  border-radius: 1.35rem;
  border: 1px solid #2f2d34;
  background: #19171f;
  padding: 1.25rem 1.25rem 1.35rem;
}
.card h3, .step h3 { margin: 0.85rem 0 0; font-size: 1.05rem; font-weight: 600; }
.card p, .step p { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.95rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }

.format-manifesto { text-align: center; }
.format-manifesto h2 {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.format-copy {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.format-copy + .format-copy { margin-top: 0.85rem; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.8rem;
  background-image: var(--sunset);
  color: #fff;
  font-weight: 700;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.closing { padding: 0 1rem 6rem; text-align: center; }
.closing h2 { max-width: 46rem; margin: 0 auto; font-size: 1.875rem; }
.closing .btn { margin-top: 1.75rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: #f5f5f5;
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-brand p {
  max-width: 28rem;
  margin: 1rem 0 0;
  color: #a3a3a3;
  font-size: 1.125rem;
  line-height: 1.4;
}
.footer-cols {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2rem;
}
.footer-cols p {
  margin: 0 0 0.8rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-cols a {
  display: block;
  padding: 0.35rem 0;
  color: #a3a3a3;
  font-size: 0.875rem;
}
.footer-cols a:hover { color: #f5f5f5; }
.footer-cols a.footer-mail { word-break: break-all; }
.lang-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.875rem;
}
.lang-row span { color: #737373; }
.lang-row a { color: #a3a3a3; padding: 0.35rem 0; }
.lang-row a:hover, .lang-row a[aria-current="page"] { color: #f5f5f5; }
.footer-base {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #262626;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #a3a3a3;
  font-size: 0.875rem;
}
.footer-base p { margin: 0; }
.footer-base a { color: #d4d4d4; }

/* Mobile tab bar */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  height: 64px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 14, 0.85);
  backdrop-filter: blur(24px);
}
.tabbar a {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.tabbar a.on { color: #ff9034; }
.tab-create {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--fg) !important;
  font-weight: 600 !important;
}
.example-grid, .pack-grid { display: grid; gap: 1.15rem; }
.example {
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid #2f2d34;
  background: #19171f;
}
.example-media {
  position: relative;
  height: 15.5rem;
  overflow: hidden;
}
.example h3 { margin: 1rem 1.1rem 0; font-size: 1.2rem; }
.example p { margin: 0.4rem 1.1rem 1.15rem; color: var(--muted); font-size: 0.92rem; }
.feature-row { margin-top: 1.15rem; }

.pack-grid { margin-top: 0.5rem; }
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.6rem;
  border: 1px solid #2f2d34;
  background: #19171f;
  padding: 1.7rem 1.35rem 1.35rem;
}
.pack.pop {
  background:
    linear-gradient(#1a141c, #19171f) padding-box,
    linear-gradient(160deg, #ffa144, #ff6a6a 40%, #b641bf) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -36px rgba(182, 65, 191, 0.85);
}
.pack-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #2a2830;
  color: #eee;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.22rem 0.7rem;
  white-space: nowrap;
}
.pack-badge.hot { background-image: var(--sunset); color: #fff; }
.pack h3 { margin: 0.35rem 0 0; font-size: 1rem; font-weight: 600; }
.price {
  margin: 0.55rem 0 0;
  font-size: 2.7rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.was {
  margin-right: 0.45rem;
  color: #8d8794;
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: line-through;
  letter-spacing: 0;
}
.pack-detail { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.92rem; min-height: 3.2rem; }
.per { margin: 0.7rem 0 0; color: var(--price); font-weight: 650; font-size: 0.95rem; }
.pack .btn { margin-top: 0.95rem; }
.btn-quiet {
  background: #2a2830;
  color: #fff;
  height: 48px;
  width: 100%;
}
.btn-quiet:hover { background: #34323a; transform: none; }
.gets { margin: 1.15rem 0 0.35rem; font-size: 0.92rem; font-weight: 650; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.checks li { color: #d7d2dc; font-size: 0.9rem; }
.checks li::before { content: "✓"; color: var(--price); margin-right: 0.45rem; }

.closing {
  position: relative;
  text-align: center;
  padding-top: 2rem;
}
.closing::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(720px, 90vw);
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 161, 68, 0.22), transparent);
  pointer-events: none;
}
.closing .section-lead { margin-bottom: 0; }
.closing .btn { position: relative; margin-top: 1.6rem; }

.tab-plus {
  margin-top: -1.25rem;
  width: 4rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-image: var(--sunset);
  color: #fff;
  box-shadow: 0 0 24px -4px rgba(255, 90, 95, 0.7);
  outline: 4px solid var(--bg);
}

@media (min-width: 640px) {
  .header-bar { padding: 0 1.5rem; }
  .hero { padding: 5rem 1.5rem 7rem; }
  .hero h1, .closing h2 { font-size: 3.75rem; }
  .lead { font-size: 1.125rem; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .btn-lg, .btn-md { width: auto; }
  .pack .btn-md, .pack .btn-quiet { width: 100%; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .float-card { display: block; }
  .phone { width: 280px; }
  .section { padding: 6rem 1.5rem; }
  .section h2 { font-size: 3rem; }
  .example-grid { grid-template-columns: repeat(3, 1fr); }
  .gen-shell { padding: 2rem; }
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { padding: 4rem 2.5rem 1.5rem; }
  .footer-base { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .header-cta { display: inline-flex; }
  .tabbar { display: none; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2rem; }
  .hero-copy, .stats div { text-align: left; }
  .hero h1, .closing h2 { font-size: 4.35rem; }
  .nav-desktop {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-drawer { display: none; }
  .pack-grid {
    grid-template-columns: repeat(2, minmax(16rem, 22rem));
    justify-content: center;
    align-items: stretch;
  }
  .lead, .disclaimer, .stats { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .float-card.left { left: -2rem; width: 10rem; }
  .float-card.right { right: -2rem; width: 10rem; }
  .gen-grid { grid-template-columns: 1fr 300px; align-items: start; }
  .upload-col { margin: 0; }
  .card-grid.four { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: repeat(5, 1fr); }
  .upload-row:has(.car-slot:not([hidden])) { grid-template-columns: 1fr 1fr; }
}

/* Template picker, car photo, original still, and pack gate */
.studio-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1rem;
}
.studio-top h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.studio-note { margin: 0 0 0.3rem; color: #f3f0f6; font-size: 0.92rem; }
.ok-mark { color: var(--price); font-weight: 700; margin-right: 0.25rem; }
.studio-blurb { margin: 0; color: var(--muted); font-size: 0.86rem; }
.studio-fields { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.field-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.template-picker, .mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.template-picker { margin-bottom: 0.75rem; }
.template-card, .mode-pill { position: relative; }
.template-card {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid #2f2d34;
  background: #141218;
  cursor: pointer;
}
.template-card input, .mode-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.template-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.template-name { font-weight: 700; }
.template-card:has(input:checked) {
  border-color: #ffa144;
  background: #241820;
  box-shadow: inset 0 0 0 1px rgba(182, 65, 191, 0.45);
}
.mode-switch {
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 0.9rem;
  background: #121014;
  border-radius: 999px;
}
.mode-pill span {
  display: block;
  text-align: center;
  padding: 0.65rem 0.4rem;
  border-radius: 999px;
  color: #d7d2dc;
  font-weight: 700;
}
.mode-pill:has(input:checked) span {
  background: #fff;
  color: #121014;
}
.upload-col { max-width: 36rem; }
.upload-row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.slot-label { margin: 0 0 0.4rem; text-align: center; font-weight: 700; font-size: 0.92rem; }
.upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
}
.upload-zone .upload-hint { margin: 0; max-width: 12rem; }
.zone-preview { position: absolute; inset: 0; z-index: 3; }
.zone-preview img { width: 100%; height: 100%; object-fit: cover; }
.zone-remove {
  position: absolute;
  z-index: 4;
  right: 0.45rem;
  bottom: 0.45rem;
  border: 0;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.car-slot[hidden], .car-tip[hidden], .best[hidden] { display: none !important; }
.original {
  position: relative;
  width: 84px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #050308;
  cursor: pointer;
  overflow: hidden;
}
.original .demo-video {
  position: static;
  width: 84px;
  height: 112px;
  object-fit: cover;
  pointer-events: none;
}
.original-label {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  text-align: center;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 6px;
  padding: 0.08rem 0.2rem;
}
.tier-label {
  margin: 0.75rem 0 0;
  text-align: center;
  font-weight: 700;
  color: var(--price);
  font-size: 0.82rem;
}
.tips-link {
  display: inline-flex;
  margin: 0.9rem 0 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffb15a;
  font-weight: 700;
  cursor: pointer;
}
.specs {
  list-style: none;
  margin: 0.35rem 0 0.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.best ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.pack-note {
  margin: 1rem auto 0;
  max-width: 40rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.check-payment { margin: 1rem auto 0; }
.check-payment[hidden] { display: none; }
.pack.is-current { box-shadow: 0 0 0 2px #ffa144; }
.reel-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 420px);
}
.reel-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.reel-player { position: relative; border-radius: 18px; overflow: hidden; background: #000; }
.reel-player video {
  position: static;
  width: auto;
  height: auto;
  max-width: min(92vw, 420px);
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
  background: #000;
}
.reel-badge {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 10px;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.reel-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  cursor: pointer;
}
@media (min-width: 720px) {
  .upload-row:has(.car-slot:not([hidden])) { grid-template-columns: 1fr 1fr; }
}

/* Shelf of trend templates. The picker grows with the catalog. */
.template-picker {
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}
.shelf-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
a.shelf-card {
  display: block;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid #2f2d34;
  background: #19171f;
  color: inherit;
}
.shelf-card h3 { margin: 1rem 1.1rem 0; font-size: 1.2rem; }
.shelf-card .blurb { margin: 0.4rem 1.1rem 0; color: var(--muted); font-size: 0.92rem; }
.beat-list {
  margin: 0.55rem 1.1rem 1.15rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.beat-list li + li { margin-top: 0.25rem; }
.source-link {
  display: inline-block;
  margin: 0 1.1rem 1.15rem;
  color: var(--price);
  font-size: 0.85rem;
  font-weight: 650;
}
.mode-pill[hidden] { display: none; }



/* MakeViral-like P0 surface: credits/photos, trust, catalog cards */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.trust-strip li {
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  background: color-mix(in oklab, var(--card) 88%, transparent);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.shelf-card .card-meta,
.shelf-card .card-io,
.template-card .template-meta {
  margin: 0.35rem 1.1rem 0;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 650;
}
.shelf-card .card-io {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
}
.shelf-card .card-cta {
  display: inline-flex;
  margin: 0.85rem 1.1rem 1.1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a18, #ff3d71);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.template-card .template-meta {
  display: block;
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.studio-cost {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}


/* MakeViral-style Original shelf cards */
.shelf-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid #2f2d34;
  background: #19171f;
  color: inherit;
}
a.shelf-card { display: block; } /* legacy beat wrappers if any */
.shelf-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.shelf-card .example-media {
  position: relative;
  width: min(100%, calc(22rem * 9 / 16));
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: 22rem;
  margin-inline: auto;
  overflow: hidden;
  background: #050308;
}
.shelf-card .example-media .demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.original-pill {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 0.55rem;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.shelf-card h3 {
  margin: 0.85rem 1.05rem 0;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 700;
}
.shelf-card h3 a {
  color: inherit;
  text-decoration: none;
}
.shelf-card h3 a:hover { text-decoration: underline; }
.by-author {
  display: inline-block;
  margin: 0.35rem 1.05rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.by-author:hover { color: var(--text); }
.shelf-card .card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 0.85rem 1.05rem 1.1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 0;
}
.shelf-card .card-cta:hover {
  filter: brightness(0.96);
}
.shelf-card .card-meta {
  margin: 0.65rem 1.05rem 1.1rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}
.phone-screen .original-pill {
  top: 0.7rem;
  left: 0.7rem;
}
.phone-screen .scene-label {
  top: auto;
  bottom: 0.7rem;
}



/* Homepage shelf: compact trust under H1 (hero removed) */
.section-home-shelf.section-screen {
  padding-top: 5rem;
  padding-bottom: 4rem;
}
.section-home-shelf .section-head {
  max-width: 42rem;
}
.section-home-shelf .section-head h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.trust-strip-compact {
  margin: 1rem 0 0;
  max-width: 40rem;
}


/* Template SEO landing blocks */
.landing-seo .landing-prose {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  color: var(--muted, #c4c0d4);
  line-height: 1.65;
  font-size: 1.05rem;
}
.landing-seo .landing-prose p + p { margin-top: 0.85rem; }
.landing-original {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted, #c4c0d4);
}
.landing-original a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.landing-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem 1.4rem;
}
.landing-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.landing-subhead { margin-top: 1.35rem; }
.landing-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted, #c4c0d4);
  line-height: 1.55;
}
.landing-list li + li { margin-top: 0.45rem; }
.landing-aliases { columns: 1; }
.landing-steps { margin: 0; }
.landing-cta-row { margin: 1.1rem 0 0; }
.landing-faq-section { padding-top: 0.5rem; }
@media (max-width: 820px) {
  .landing-grid { grid-template-columns: 1fr; }
}


/* Thick MakeViral-style landing + blog */
.landing-oneliner {
  margin: 0.75rem auto 0;
  max-width: 40rem;
  color: var(--muted, #c4c0d4);
  font-size: 1.05rem;
  line-height: 1.55;
}
.landing-specs {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.landing-specs li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 0.82rem;
  color: var(--muted, #c4c0d4);
}
.landing-trust-line {
  margin: 0.85rem 0 0;
  color: var(--muted, #c4c0d4);
  font-size: 0.92rem;
}
.landing-block-title {
  margin: 2rem 0 0.85rem;
  font-size: 1.15rem;
}
.landing-compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.landing-compare-card {
  margin: 0;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.landing-compare-card figcaption {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.landing-compare-media {
  position: relative;
  width: min(100%, 18rem);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  max-height: min(52vh, 24rem);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #050308;
}
.landing-demo-video {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 0.75rem;
}
.landing-timeline {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.landing-timeline > li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.landing-timeline time {
  font-weight: 700;
  color: #ffb15a;
  font-size: 0.88rem;
}
.landing-timeline p { margin: 0.35rem 0 0; color: var(--muted, #c4c0d4); line-height: 1.55; }
.landing-source { font-size: 0.82rem; opacity: 0.85; }
.landing-prompt-block { margin: 0 0 1rem; }
.landing-prompt-block h3 { margin: 0 0 0.45rem; font-size: 0.98rem; }
.landing-prompt {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.35);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e8e4f5;
}
.landing-prose-inline { color: var(--muted, #c4c0d4); margin: 0 0 0.85rem; }
.table-scroll { overflow-x: auto; margin: 0 0 1.25rem; }
.landing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.landing-table th,
.landing-table td {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.landing-table th {
  background: rgba(255,255,255,0.06);
  font-weight: 700;
}
.landing-table td { color: var(--muted, #c4c0d4); }
.landing-callout {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,161,90,0.35);
  background: rgba(255,161,90,0.08);
}
.landing-callout h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.landing-callout p { margin: 0; color: var(--muted, #c4c0d4); line-height: 1.55; }
.landing-related-list li + li { margin-top: 0.55rem; }
.landing-cta-row { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.blog-card {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.blog-card h2 { margin: 0 0 0.55rem; font-size: 1.1rem; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card-meta { color: var(--muted, #c4c0d4); font-size: 0.88rem; }
.blog-guide .landing-prose { margin-bottom: 1.25rem; }
.blog-guide h2 { margin: 1.75rem 0 0.75rem; font-size: 1.2rem; }
.muted { color: var(--muted, #c4c0d4); }
@media (max-width: 820px) {
  .landing-compare { grid-template-columns: 1fr; }
  .landing-timeline > li { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
