/* Landing (index.html) and guide pages. Tokens and fonts come from footer.css (linked first on every page). */
* { box-sizing: border-box; }
body { font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--peach); color: var(--on-peach); padding: 10px 16px; border-radius: 999px; font-weight: 600; z-index: 20; text-decoration: none; }
.skip:focus { top: 16px; }

h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(40px, 7.2vw, 74px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; }
p { text-wrap: pretty; }
.lede { color: var(--text-2); font-size: clamp(18px, 2vw, 21px); max-width: 32em; }
.eyebrow { color: var(--peach); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.fine { color: var(--text-3); font-size: 14px; }
section { scroll-margin-top: 16px; }

/* Header */
.site-header { padding: 14px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-row nav { display: flex; align-items: center; gap: 6px; }
.header-row nav a.txt { display: none; color: var(--text-2); text-decoration: none; padding: 0 12px; min-height: 44px; align-items: center; font-weight: 600; font-size: 15px; }
.header-row nav a.txt:hover { color: var(--text); }
@media (min-width: 640px) { .header-row nav a.txt { display: inline-flex; } }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--peach); color: var(--on-peach); text-decoration: none; font-weight: 600; font-size: 15px; }
.pill:hover { background: var(--peach-pressed); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: inline-flex; border-radius: 10px; transition: transform 0.2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 52px; width: auto; }
.store-soon { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 12px; border: 1px dashed var(--outline); color: var(--text-3); font-size: 15px; }

/* Polaroid */
.polaroid { background: var(--polaroid); color: var(--ink); padding: 8px 8px 0; border-radius: 4px; box-shadow: 0 18px 36px -12px rgba(10, 2, 12, 0.7), 0 2px 6px rgba(10, 2, 12, 0.4); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.polaroid figcaption, .polaroid .cap { font-family: var(--hand); font-weight: 600; font-size: 20px; line-height: 1.1; padding: 8px 4px 10px; text-align: center; color: var(--ink); }

/* Hero */
.hero { display: grid; gap: 40px; align-items: center; padding: 20px 0 72px; }
.hero-copy { display: grid; gap: 20px; }
.hero h1 .accent { color: var(--peach); }
.hero-art { position: relative; justify-self: center; width: min(360px, 88vw); padding: 0 34px; }
.phone { position: relative; width: 100%; aspect-ratio: 480 / 1041; border-radius: 40px; padding: 9px; background: #120913; box-shadow: 0 0 0 1px var(--outline), 0 30px 60px rgba(8, 2, 10, 0.6); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.hero-art .polaroid { position: absolute; width: 38%; }
.hero-art .p1 { left: -6px; top: 14%; transform: rotate(-8deg); }
.hero-art .p2 { right: -8px; top: 46%; transform: rotate(7deg); }
.hero-art .polaroid figcaption { font-size: 16px; padding: 6px 2px 8px; }
.tag { display: inline-block; background: rgba(26, 15, 28, 0.78); color: var(--text-2); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }

/* Goal strip */
.goals { padding: 8px 0 72px; }
.goals .head { display: grid; gap: 10px; margin-bottom: 28px; }
.goal-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 18px; scrollbar-width: none; list-style: none; margin: 0; }
.goal-row::-webkit-scrollbar { display: none; }
.goal-row li { scroll-snap-align: start; }
.goal-row li:nth-child(odd) .polaroid { transform: rotate(-2deg); }
.goal-row li:nth-child(even) .polaroid { transform: rotate(2deg); }
.goal-row .cat { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--text-3); }

/* Bands */
.band { padding: 72px 0; border-top: 1px solid var(--line); }
.band > .wrap > h2, .band .head h2 { margin-bottom: 14px; max-width: 16em; }
.band .head { margin-bottom: 36px; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--peach); color: var(--on-peach); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 19px; }
.step p { color: var(--text-2); font-size: 16px; }
.step .shot { margin-top: 6px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); max-height: 420px; }
.step .shot img { width: 100%; object-fit: cover; object-position: top; }

/* Feature split */
.split { display: grid; gap: 36px; align-items: center; }
.split .copy { display: grid; gap: 16px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--text-2); }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); transform: translateY(-2px); }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shot-pair img { border-radius: 22px; border: 1px solid var(--line); }
.shot-pair img:nth-child(2) { margin-top: 36px; }

/* Pricing */
.packs { display: grid; gap: 14px; }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 6px; position: relative; }
.pack.feature { border-color: var(--peach); background: var(--raised); }
.pack .n { font-family: var(--display); font-weight: 700; font-size: 26px; }
.pack .p { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--peach); }
.pack .per { color: var(--text-3); font-size: 15px; }
.pack .badge { position: absolute; top: -12px; left: 22px; background: var(--peach); color: var(--on-peach); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; }
.price-notes { margin-top: 18px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 780px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
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(--peach); transition: transform 0.2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 20px; color: var(--text-2); font-size: 16px; }

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

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; padding: 40px 0 88px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .packs { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Guide pages (/guides and the SEO guides) ---------- */
.crumbs { font-size: 14px; color: var(--text-3); padding: 4px 0 0; }
.crumbs a { color: var(--text-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(32px, 5.6vw, 56px); max-width: 17em; }
.answer { font-size: clamp(18px, 2vw, 20px); color: var(--text); max-width: 36em; }
.why { border-left: 4px solid var(--peach); padding: 4px 0 4px 14px; color: var(--text-2); max-width: 36em; }
.why strong { color: var(--text); }
.guide-grid { display: grid; gap: 40px; padding: 40px 0 56px; border-top: 1px solid var(--line); }
.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: #120913; box-shadow: 0 0 0 1px var(--outline), 0 30px 60px rgba(8, 2, 10, 0.5); }
.visual.wide .frame { border-radius: 8px; background: none; box-shadow: none; }
.visual img { width: 100%; height: auto; display: block; }
.visual figcaption { color: var(--text-3); font-size: 14px; text-align: center; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 6px; }
.board .polaroid:nth-child(3n+1) { transform: rotate(-3deg); }
.board .polaroid:nth-child(3n+2) { transform: rotate(2deg) translateY(10px); }
.board .polaroid:nth-child(3n) { transform: rotate(-1deg); }
.board .polaroid .cap { font-size: 15px; padding: 5px 2px 7px; }
.prose { display: grid; gap: 16px; max-width: 720px; min-width: 0; }
.prose h2 { font-size: clamp(25px, 3.4vw, 34px); margin-top: 20px; }
.prose h3 { margin-top: 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ol, .prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 0; }
.prose a { color: var(--peach); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.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(--line); }
.prose th { background: var(--surface); color: var(--text); font-weight: 600; }
.prose td { color: var(--text-2); }
.prose tr:last-child td { border-bottom: 0; }
.note { font-size: 14px; color: var(--text-3); }
.related { padding: 48px 0; border-top: 1px solid var(--line); }
.related h2 { margin-bottom: 20px; font-size: clamp(25px, 3.4vw, 34px); }
.guide-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.guide-list a { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-decoration: none; min-height: 56px; color: var(--text); }
.guide-list a:hover { background: var(--raised); }
.guide-list strong { font-weight: 600; }
.guide-list span { color: var(--text-2); font-size: 15px; }
.more { display: inline-flex; margin-top: 16px; min-height: 44px; align-items: center; color: var(--peach); 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); }
}

/* ---------- Demo videos (real recordings, /assets/video, started by /video.js) ---------- */
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block; background: #120913; }
.visual video { width: 100%; height: auto; display: block; background: #120913; }
.visual .frame { position: relative; }
.tag.ai { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none; }
.films { padding: 8px 0 64px; }
.films .head { display: grid; gap: 10px; margin-bottom: 24px; }
.film-row { list-style: none; padding: 0 0 8px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 260px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.film-row::-webkit-scrollbar { display: none; }
.film-row li { scroll-snap-align: center; }
.film { margin: 0; display: grid; gap: 10px; }
.film .clip { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 480 / 840; background: #120913; box-shadow: 0 0 0 1px var(--outline), 0 24px 48px -16px rgba(8, 2, 10, 0.6); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film figcaption { font-family: var(--hand); font-weight: 600; font-size: 20px; line-height: 1.1; text-align: center; color: var(--text); }
@media (min-width: 760px) { .film-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; } }
