/* Shared styles: landing (index.html) and the guide pages. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage_grotesque_800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0B0B0D;
  --surface: #1C1C1E;
  --raised: #2C2C2E;
  --sep: #38383A;
  --label: #FFFFFF;
  --label-2: rgba(235, 235, 245, 0.68);
  --label-3: rgba(235, 235, 245, 0.42);
  --lime: #D7FF3A;
  --on-lime: #0B0B0D;
  --cream: #F3F1EA;
  --radius: 14px;
  --radius-lg: 28px;
  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--label);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--lime); color: var(--on-lime); padding: 10px 16px; border-radius: 999px; font-weight: 700; z-index: 20; text-decoration: none; }
.skip:focus { top: 16px; }

h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.4vw, 76px); }
h2 { font-size: clamp(32px, 4.6vw, 48px); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; }
p { text-wrap: pretty; }
.lede { color: var(--label-2); font-size: clamp(18px, 2vw, 21px); max-width: 30em; }

/* Header */
header { padding: 14px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--raised); color: var(--label);
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 0 18px; border-radius: 999px;
  transition: background 0.2s var(--ease);
}
.pill:hover { background: #3A3A3C; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: 24px 0 88px; }
.hero-copy { display: grid; gap: 20px; }
.hero h1 .hl { color: var(--lime); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: inline-flex; border-radius: 10px; transition: transform 0.2s var(--ease); }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 52px; width: auto; }
.fine { color: var(--label-3); font-size: 14px; }

.phone {
  position: relative; justify-self: center;
  width: min(320px, 82vw); aspect-ratio: 540 / 1174;
  border-radius: 44px; padding: 10px;
  background: #1A1A1C;
  box-shadow: 0 0 0 1px #2E2E31, 0 40px 80px -30px rgba(215, 255, 58, 0.22), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { color: var(--lime); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.tag {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: rgba(11, 11, 13, 0.72); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Genres strip */
.genres { padding: 8px 0 72px; }
.genres p { color: var(--label-2); margin-bottom: 18px; font-size: 15px; }
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--surface); margin: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 12px 10px; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); font-size: 14px; font-weight: 600; }

/* Steps */
section { scroll-margin-top: 16px; }
.how { padding: 64px 0; border-top: 1px solid var(--sep); }
.how h2 { margin-bottom: 36px; max-width: 14em; }
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.step { background: var(--surface); border-radius: 22px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; font-weight: 800; font-family: var(--display); font-size: 20px; }
.step p { color: var(--label-2); font-size: 16px; }

/* Casting card */
.cast { padding: 64px 0; display: grid; gap: 40px; align-items: center; border-top: 1px solid var(--sep); }
.cast-copy { display: grid; gap: 16px; }
.card {
  justify-self: center; width: min(300px, 78vw);
  background: var(--cream); color: #111; border-radius: 22px; padding: 14px 14px 18px;
  transform: rotate(-3deg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}
.clapper { height: 22px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(-55deg, #111 0 14px, var(--cream) 14px 28px); border: 2px solid #111; margin-bottom: 8px; }
.card-photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.stamp { position: absolute; right: -10px; bottom: -10px; width: 92px; height: 92px; border-radius: 50%; background: var(--lime); border: 2px dashed #111; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; transform: rotate(-14deg); letter-spacing: 0.02em; }
.card dl { margin-top: 12px; font-size: 12px; }
.card dl div { display: flex; justify-content: space-between; padding: 6px 2px; border-bottom: 1px solid #D9D6CC; }
.card dl div:last-child { border-bottom: 0; }
.card dt { color: #6A675F; text-transform: uppercase; }
.card dd { font-weight: 800; text-transform: uppercase; }
.checks { list-style: none; display: grid; gap: 10px; color: var(--label-2); }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); transform: translateY(-2px); }

/* Screenshots */
.shots { padding: 64px 0; border-top: 1px solid var(--sep); }
.shots h2 { margin-bottom: 28px; }
.shot-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.shot-row::-webkit-scrollbar { display: none; }
.shot-row img { scroll-snap-align: start; border-radius: 18px; background: var(--surface); }

/* FAQ */
.faq { padding: 64px 0; border-top: 1px solid var(--sep); }
.faq h2 { margin-bottom: 28px; }
.faq-list { display: grid; gap: 10px; max-width: 760px; }
details { background: var(--surface); border-radius: 16px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; min-height: 56px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--lime); transition: transform 0.2s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 20px; color: var(--label-2); font-size: 16px; }

/* Download */
.download { padding: 72px 0; border-top: 1px solid var(--sep); text-align: center; display: grid; gap: 18px; justify-items: center; }
.download .lede { margin-inline: auto; }


@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding: 48px 0 80px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cast { grid-template-columns: 0.9fr 1.1fr; }
  .cast .card { order: -1; }
  .tiles { overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Guide pages (/guides and the SEO guides) ---------- */
.crumbs { font-size: 14px; color: var(--label-3); padding: 4px 0 0; }
.crumbs a { color: var(--label-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.guide-top { display: grid; gap: 18px; padding: 20px 0 40px; }
.guide-top h1 { font-size: clamp(34px, 6vw, 60px); max-width: 16em; }
.answer { font-size: clamp(18px, 2vw, 20px); color: var(--label); max-width: 36em; }
.why { border-left: 4px solid var(--lime); padding: 4px 0 4px 14px; color: var(--label-2); max-width: 36em; }
.why strong { color: var(--label); }
.guide-grid { display: grid; gap: 40px; padding: 8px 0 56px; border-top: 1px solid var(--sep); padding-top: 40px; }
.visual { margin: 0; justify-self: center; width: min(320px, 82vw); display: grid; gap: 12px; }
.visual.wide { width: min(560px, 100%); }
.visual .frame { border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px #2E2E31, 0 30px 60px rgba(0,0,0,0.5); }
.visual.wide .frame { border-radius: 20px; }
.visual img, .visual video { width: 100%; height: auto; display: block; }
.visual figcaption { color: var(--label-3); font-size: 14px; text-align: center; }
.prose { display: grid; gap: 16px; max-width: 720px; }
.prose h2 { font-size: clamp(26px, 3.6vw, 36px); margin-top: 20px; }
.prose h3 { margin-top: 8px; }
.prose p, .prose li { color: var(--label-2); }
.prose strong { color: var(--label); }
.prose ol, .prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--lime); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--sep); }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--sep); }
.prose th { background: var(--surface); color: var(--label); font-weight: 600; }
.prose td { color: var(--label-2); }
.prose tr:last-child td { border-bottom: 0; }
.note { font-size: 14px; color: var(--label-3); }
.related { padding: 48px 0; border-top: 1px solid var(--sep); }
.related h2 { margin-bottom: 20px; font-size: clamp(26px, 3.6vw, 36px); }
.guide-list { list-style: none; display: grid; gap: 10px; }
.guide-list a { display: grid; gap: 4px; background: var(--surface); border-radius: 16px; padding: 16px 18px; text-decoration: none; min-height: 56px; transition: background 0.2s var(--ease); }
.guide-list a:hover { background: var(--raised); }
.guide-list strong { font-weight: 600; }
.guide-list span { color: var(--label-2); font-size: 15px; }
.guides-home { padding: 64px 0; border-top: 1px solid var(--sep); }
.guides-home h2 { margin-bottom: 20px; }
.more { display: inline-flex; margin-top: 16px; min-height: 44px; align-items: center; color: var(--lime); font-weight: 600; }
.guide-group { padding: 8px 0 32px; }
.guide-group h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 14px; }
@media (min-width: 860px) {
  .guide-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .guide-grid .visual { position: sticky; top: 24px; }
  .guide-list { grid-template-columns: repeat(2, 1fr); }
}
