/* Short Video Creators Lab — one stylesheet, mobile first */
:root {
  --violet: #4823ff;
  --violet-hover: #3a1be0;
  --lilac: #ede9ff;
  --periwinkle: #d9d2ff;
  --chartreuse: #e7ff6e;
  --canvas: #fafaf8;
  --white: #ffffff;
  --ink: #18161a;
  --ink-2: #4f4c57;
  --midnight: #1e1b22;
  --on-dark-2: #c9c5d3;
  --radius: 20px;
  --max: 1200px;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  padding-bottom: 76px; /* room for the sticky join bar on phones */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-hover); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

h1, h2 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.0;
  color: var(--ink);
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.032em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--violet); color: var(--white);
  padding: 12px 20px; border-radius: 100px; z-index: 100; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-tint { background: var(--lilac); }
.eyebrow {
  display: block;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--violet); margin-bottom: 12px;
}
.lead { font-size: 20px; font-weight: 300; color: var(--ink-2); max-width: 40ch; }
.muted { color: var(--ink-2); }

/* Top announcement bar: the only large chartreuse surface */
.topbar { background: var(--chartreuse); color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas); border-bottom: 1px solid var(--periwinkle);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-top: 6px; padding-bottom: 6px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a.nav-link {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px;
}
.nav a.nav-link:hover { color: var(--violet); }
.nav a.nav-link[aria-current="page"] { color: var(--violet); background: var(--lilac); }
.nav .btn { display: none; margin-left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; border: 1.5px solid transparent;
}
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-hover); color: var(--white); }
.btn-outline { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-outline:hover { background: var(--lilac); color: var(--violet-hover); }
.ghost-link { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.ghost-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.price-line { font-size: 15px; color: var(--ink-2); margin: 0; }
.price-line strong { color: var(--ink); }

/* The one dark card */
.week-card { background: var(--midnight); color: var(--white); border-radius: var(--radius); padding: 24px; align-self: start; }
.week-card .badge { background: var(--chartreuse); color: var(--ink); }
.week-card h2 { color: var(--white); font-size: 1.6rem; margin: 14px 0 16px; }
.week-card ul { list-style: none; margin: 0; padding: 0; }
.week-card li { padding: 10px 0; border-top: 1px solid #3a3541; color: var(--on-dark-2); font-size: 15px; }
.week-card li strong { color: var(--white); font-weight: 600; display: block; }
.bar { height: 4px; background: #3a3541; border-radius: 999px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--chartreuse); border-radius: 999px; }

.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--lilac); color: var(--violet); letter-spacing: 0.02em; }

/* Proof strip */
.proof { border-top: 1px solid var(--periwinkle); border-bottom: 1px solid var(--periwinkle); background: var(--white); }
.proof ul { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proof li { font-size: 14px; color: var(--ink-2); }
.proof strong { display: block; font-family: var(--font-head); font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }

/* Cards */
.cards { display: grid; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--periwinkle); border-radius: var(--radius); padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-size: 12px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 6px; }

.glance { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; background: var(--white); border: 1px solid var(--periwinkle); border-radius: var(--radius); }
.glance li { padding: 14px 20px; border-top: 1px solid var(--periwinkle); }
.glance li:first-child { border-top: 0; }
.glance strong { display: inline-block; min-width: 9ch; }

/* How it works feature cards */
.feature { display: grid; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--periwinkle); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.feature img { border-radius: 14px; width: 100%; }
.checks { list-style: none; padding: 0; margin: 0 0 8px; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--lilac); color: var(--violet);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

.bullets { padding-left: 20px; }
.bullets li { margin-bottom: 8px; }

/* Creator */
.creator { display: grid; gap: 24px; align-items: center; }
.creator img { border-radius: var(--radius); }

/* Video thumbnail (links to where the video lives) */
.video-link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--periwinkle); }
.video-link .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: var(--lilac); color: var(--violet);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.video-caption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }

/* Price box / join box */
.join-box { background: var(--lilac); border-radius: var(--radius); padding: 28px 20px; }
.join-box .btn { margin-top: 8px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--periwinkle); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; padding: 16px 20px; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--lilac); color: var(--violet); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 16px; color: var(--ink-2); }
.faq h3 { display: inline; font-size: 1rem; margin: 0; }

/* Article (guides) */
.breadcrumb { font-size: 14px; color: var(--ink-2); padding-top: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-2); }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; }
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 40px; }
.answer { font-size: 19px; font-weight: 300; background: var(--white); border: 1px solid var(--periwinkle); border-left: 4px solid var(--violet); border-radius: 14px; padding: 18px 20px; }
.updated { font-size: 14px; color: var(--ink-2); }
.article figure { margin: 24px 0; }
.article figure img { border-radius: 14px; }
.article figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }

/* Comparison table (owner/comparison-template.html) */
.article table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--periwinkle); border-radius: 14px; font-size: 15px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--periwinkle); vertical-align: top; }
.article thead th { border-top: 0; background: var(--lilac); }

/* Footer */
.site-footer { border-top: 1px solid var(--periwinkle); padding: 32px 0; font-size: 14px; color: var(--ink-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 8px; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 4px; }
.legal-note { background: var(--lilac); border-radius: 14px; padding: 14px 18px; font-weight: 600; }

/* Sticky join bar (phones only, pure CSS) */
.sticky-join {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--canvas); border-top: 1px solid var(--periwinkle);
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
}
.sticky-join .btn { width: 100%; height: 44px; min-height: 44px; padding: 0 20px; }

@media (min-width: 640px) {
  .proof ul { grid-template-columns: repeat(4, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-join { display: none; }
  .nav .btn { display: inline-flex; }
  .brand { font-size: 19px; }
  .section { padding: 80px 0; }
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 56px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px; }
  .feature.flip img { order: 2; }
  .creator { grid-template-columns: 1fr 1.4fr; gap: 48px; }
  .join-box { padding: 40px; }
}

/* images on text pages */
.card-guide { padding-top: 12px; }
.card-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.cover { margin: 28px 0 0; }
.cover img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--periwinkle); }
.article figure figcaption { font-size: 14px; color: var(--ink-2, #4f4c57); margin-top: 8px; }

/* YouTube facade: thumbnail + play button; the iframe loads on click */
.video-facade { margin: 24px 0; }
.yt { position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--periwinkle); }
.yt img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 6px rgba(255,255,255,.85); }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 21px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { background: #3a1be0; }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; display: block; }

.site-footer .credit { font-size: 13px; margin: 0; }
