/* gethookcut.com home page, on the shared Hookcut UI (ui.css, loaded first; the same file as the self-serve pages').
   This file styles the home page's own parts (the hero stage with the phone, the client clip card, the step
   screenshots, the featured price card) and, for /studios/ and /privacy/ which load it too, the
   studio offer (packages, founding, sample, refund terms), the studio form and the Next Fest price switches. */

body { --frame: 1180px; }
.wrap { max-width: calc(var(--frame) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
main#top { width: 100%; }

/* the Next Fest switches (set by the head script) */
.post, .fest-post { display: none; }
html.promo-over .pre, html.fest-over .fest-pre { display: none; }
html.promo-over .post, html.fest-over .fest-post { display: revert; }

/* buttons: the site's .btn classes are the shared pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--pill);
  font: 600 16px/1.2 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-cta) var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--grad-cta-hover) var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--faint); }
.linkbtn { min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; border-radius: 6px; }
.linkbtn:hover { background: none; }

/* the hero (shared .hero): the self-serve action */
.home-hero { padding-inline: var(--gutter); }
.home-hero .hero-form { gap: 12px; }
.home-hero .hero-alt { margin-top: 2px; }
/* a 44px tap target without changing the line's look: the box grows, the margins give the height back */
.home-hero .hero-alt a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; margin-block: -11px; margin-inline: -6px; }
.hero-for { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--text); margin-top: -6px; }
.hero-limits { text-align: center; font-size: 14.5px; font-weight: 600; color: var(--text); }

/* the hero stage: the vertical demo edit in a phone */
.stage { width: 100%; margin: var(--s6) auto 0; display: flex; justify-content: center; }
.phone-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage-note { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; color: var(--muted); text-align: center; }
.stage-note a { color: var(--text); font-weight: 600; }
.stage-note .linkbtn { font-size: 14px; }
.clip-kind { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-copy { display: contents; }
/* desktop: the promise and the action on the left, the client clip on the right, all inside a 900 px-tall window */
@media (min-width: 960px) {
  .home-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: var(--s8); align-items: center; text-align: left;
    max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-top: var(--s6); }
  .hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .home-hero h1 { font-size: clamp(56px, 5.6vw, 76px); max-width: 11ch; }
  .home-hero .lede { max-width: 32em; }
  .home-hero .hero-form { max-width: 600px; }
  .home-hero .hero-alt, .home-hero .hero-limits { text-align: left; }
  .home-hero .stage { margin: 0; }
}

/* the client clip: a rounded card with the clip in a phone (side by side with its caption on wide screens) */
.demo-wrap { margin-top: var(--s8); }
.clip-card { margin: 0; padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); box-shadow: var(--shadow-lift); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.clip-card .phone { width: min(64vw, 250px); flex: none; }
.clip-card figcaption { max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); }
.clip-card .cc-cap { font-size: 17px; font-weight: 600; color: var(--text); }
.clip-card .cc-credit a { color: var(--text); font-weight: 600; }
.clip-card .linkbtn { font-size: 15px; }
@media (min-width: 760px) {
  .clip-card { flex-direction: row; justify-content: center; gap: var(--s7); padding: 28px 40px; }
  .clip-card figcaption { align-items: flex-start; text-align: left; }
  .clip-card .cc-cap { font-size: 20px; }
}

/* how it works: each step beside one real, full-size app screen (mobile layout, shown at its own size) */
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s5); }
.flow li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: center; padding: var(--s5) var(--s4); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); }
.flow-text { display: flex; flex-direction: column; gap: 10px; }
.flow-text h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.flow-text p { color: var(--muted); font-size: 17px; max-width: 34ch; }
.flow .step-n { margin-bottom: 4px; }
.flow li:nth-child(2) .step-n { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--violet) 20%, transparent); }
.flow-shot { margin: 0; justify-self: center; width: 100%; max-width: 380px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg); }
.flow-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 760px) {
  .flow li { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s7); padding: var(--s6) var(--s7); }
  .flow li:nth-child(2) .flow-text { order: 2; }
  .flow li:nth-child(2) { grid-template-columns: 380px minmax(0, 1fr); }
}
.shots-note { margin-top: 16px; text-align: center; font-size: 14px; color: var(--muted); }
/* the one quiet pointer from the clip prices to the done-for-you studio page */
.studio-pointer { margin-top: var(--s5); }
.studio-pointer a { color: var(--text); font-weight: 600; white-space: nowrap; }

/* FAQ: the open question's marker in cyan */
.faq details[open] summary::after { border-color: var(--cyan); color: var(--cyan-text); }

/* facts with their sources */
.facts { padding-block: var(--s7) 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.fact { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.fact .n { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.035em; line-height: 1; }
.fact p { color: var(--muted); font-size: 15px; }
.fact a { font-size: 13px; color: var(--faint); }

/* section heads on the home page (the site's .sec-head + .label) */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 780px; margin: 0 auto var(--s7); }
.sec-head h2 { max-width: 20ch; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 62ch; }
.label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }
.tc { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* steps (the studio's: div.step) */
.steps .step { padding: var(--s6) var(--s5); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.steps .step p { color: var(--muted); }
.steps .step .tc { color: var(--accent-text); }

/* the studio part of the page */
.studio-intro { margin-top: var(--s8); padding: var(--s7) var(--s5); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.studio-intro h2 { font-size: clamp(28px, 4vw, 46px); max-width: 20ch; }
.studio-intro .lede { max-width: 46em; }
.studio-intro .lede b { color: var(--text); font-weight: 600; }
.studio-intro .hero-note { color: var(--faint); font-size: 14.5px; max-width: 60ch; }
.assurances { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px; width: 100%; text-align: left; }
.assurances li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; background: var(--bg-2); }
.assurances strong { font-size: 15px; font-weight: 600; }
.assurances span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.assurances .refund strong { color: var(--cyan-text); }
@media (min-width: 760px) { .studio-intro { margin-top: var(--s9); padding: var(--s8) var(--s6); } }
.studio-intro .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }


.promise { display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: start; }
.promise .sec-head { align-items: flex-start; text-align: left; margin: 0; }
.promise ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.promise li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.promise li svg { margin-top: 4px; }
.promise li p { color: var(--muted); }
.promise li b { color: var(--text); font-weight: 600; }
@media (min-width: 900px) { .promise { grid-template-columns: 1fr 1.2fr; gap: var(--s7); } }

/* the studio packages */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; align-items: stretch; }
.price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); display: flex; flex-direction: column; gap: 14px; }
.price.feature { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.price h3 { font-size: 21px; }
.price .amt { font-family: var(--display); font-weight: 800; font-size: 42px; letter-spacing: -.035em; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.price .amt small { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .deal { font-size: 14px; color: var(--accent-text); margin-top: -6px; }
.price .after { font-size: 14px; color: var(--faint); margin-top: -6px; }
.price ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.price .btn { margin-top: auto; }
.tag { align-self: flex-start; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--pill); padding: 4px 10px; background: var(--panel-3); color: var(--muted); }
.price.feature .tag { background: var(--grad-cta) var(--primary); color: var(--on-primary); }
.founding, .guarantee, .sample-offer { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); background: var(--panel); display: flex; flex-direction: column; gap: 8px; }
.founding { border-inline-start: 3px solid var(--accent); }
.guarantee { border-inline-start: 3px solid var(--cyan); }
.founding p, .guarantee p, .sample-offer p { color: var(--muted); font-size: 15.5px; }
.founding details summary, .guarantee details summary { cursor: pointer; color: var(--text); font-size: 15px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.founding details p, .guarantee details p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.sample-offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; }
.sample-offer h3 { margin-bottom: 8px; }
@media (min-width: 720px) { .sample-offer { grid-template-columns: minmax(0, 1fr) auto; } }

/* the studio form */
.apply { display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: start; }
.apply .sec-head { align-items: flex-start; text-align: left; margin: 0; }
@media (min-width: 900px) { .apply { grid-template-columns: 1fr 1.2fr; gap: var(--s7); } }
#apply-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s5); gap: 16px; }
@media (min-width: 480px) { #apply-form { padding: var(--s6); } }
#apply-form .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 560px) { #apply-form .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
#apply-form label { display: flex; flex-direction: column; gap: 8px; }
#apply-form label > input:not([type=checkbox]), #apply-form label > select, #apply-form label > textarea { margin-top: 0; }
#apply-form label small { color: var(--faint); font-weight: 400; }
#apply-form label.check { flex-direction: row; gap: 12px; }
#apply-form .hero-note { font-size: 14px; color: var(--faint); }
#apply-form .hero-note a { color: var(--text); }
#apply-form button[type=submit] { align-self: flex-start; min-width: 220px; }
.form-msg { font-size: 15px; border-radius: var(--r); padding: 12px 14px; background: var(--panel-2); }
.form-msg.ok { border: 1px solid var(--cyan); }
.form-msg.err { border: 1px solid var(--coral-text); }
.form-msg[hidden] { display: none; }
.price-foot { text-align: center; margin-top: var(--s5); }

/* the studios page keeps its way back to the clip offer on phones (ui.css hides nav links under 720px); under 400px
   the logo is that way back, so the header never overflows */
@media (max-width: 720px) { .topnav { gap: 14px; } .topnav a.keep { display: inline; font-size: 14px; } }
@media (max-width: 400px) { .topnav a.keep { display: none; } }
@media (max-width: 720px) { .topnav a { white-space: nowrap; } .topnav .wide-only { display: none; } .topnav .cap-on-phone { display: inline-block; } .topnav .cap-on-phone::first-letter { text-transform: uppercase; } .topnav .button { padding-inline: 14px; } }
/* the hero's glow stays inside the page width */
.home-hero { overflow-x: clip; }
.nowrap { white-space: nowrap; }

/* ---- 2026-10-08 redesign: one promise for anyone with a video, a second path for games ---- */
/* the hero's two starting points (a segmented switch; html.js hides the other pane, so no flash and no-JS shows both) */
.src-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--bg-2); }
.src-opt { min-height: 44px; padding: 8px 12px; border-radius: var(--pill); background: transparent; color: var(--muted); border: 0; font: 600 15px/1.2 var(--body); box-shadow: none; }
.src-opt:hover { background: var(--panel-2); color: var(--text); }
.src-opt[aria-pressed="true"] { background: var(--panel-3); color: var(--text); }
.src-pane { display: flex; flex-direction: column; gap: 10px; }
.src-pane .src-go { width: 100%; }
html.js .hero-form[data-src="upload"] [data-pane="steam"], html.js .hero-form[data-src="steam"] [data-pane="upload"] { display: none; }
html:not(.js) .src-switch { display: none; }
.src-note { font-size: 14.5px; color: var(--muted); text-align: center; }
.hero-micro { font-size: 14px; font-weight: 600; color: var(--text); text-align: center; }
@media (min-width: 960px) { .src-note, .hero-micro { text-align: left; } .home-hero .hero-form { gap: 14px; } }
/* the Next Fest line (hidden by html.fest-over after the fest; never a countdown) */
.fest-line { font-size: 15px; color: var(--muted); text-align: center; max-width: 36em; margin-inline: auto; }
.fest-line b { color: var(--text); }
@media (min-width: 960px) { .fest-line { text-align: left; margin-inline: 0; } }
/* real client clips (proof): one card per cleared clip; more slot in beside it */
.proof-head { text-align: center; margin-bottom: var(--s5, 20px); }
.proof-head h2 { margin-top: 6px; }

/* phones: a smaller phone frame so the real clip starts inside the first screen */
@media (max-width: 959px) {
  .home-hero .stage { margin-top: var(--s5); }
  .home-hero .phone { width: min(48vw, 210px); padding: 7px; border-radius: 34px; }
  .home-hero .phone::before { top: 13px; }
  .home-hero .lede { font-size: 17px; }
}

/* the client clip's heading */
.center-eyebrow { display: flex; justify-content: center; margin-bottom: var(--s4); }

/* who it's for: two cards, the games one marked with the violet accent */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.who-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s6) var(--s5); display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 88px; }
.who-card h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.who-card > p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.who-card .button { align-self: flex-start; margin-top: auto; }
.who-card.is-games { border-color: color-mix(in srgb, var(--violet) 55%, var(--line)); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 15.5px; }
.ticks li::before { content: ""; width: 10px; height: 6px; margin-top: 7px; border-left: 2px solid var(--cyan-text); border-bottom: 2px solid var(--cyan-text); transform: rotate(-45deg); }
.is-games .ticks li::before { border-color: var(--violet-text); }

/* price cards: who each pack is for */
.pc-for { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-card.is-feature .pc-for { color: var(--cyan-text); }
.price-terms { color: var(--text); }
/* phones (Codex round 1): tighter hero so the real clip shows inside a 667 px first screen */
@media (max-width: 959px) {
  .home-hero { padding-top: 24px; gap: 12px; }
  .home-hero .hero-form { gap: 10px; margin-top: 0; }
  .home-hero .stage { margin-top: 4px; }
}

/* ---- 2026-10-11 rebrand: the hero as on the approved board (violet/blue glows, a phone with a floating chip and the
   clip's filmstrip, platform badges) ---- */
.home-hero::before { top: -160px; height: 820px;
  background: radial-gradient(38% 42% at 22% 28%, var(--glow-1), transparent 70%), radial-gradient(34% 40% at 74% 40%, var(--glow-2), transparent 70%), radial-gradient(22% 26% at 86% 74%, var(--glow-3), transparent 70%); }
.home-hero .eyebrow { color: var(--text); }
/* the platform badges: small pills, words only (no third-party logos) */
.platforms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.platforms::before { content: "Made for"; font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.platforms li { padding: 5px 12px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--panel) 80%, transparent); font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
/* the stage: the phone, the chip on its top edge and the filmstrip down its left edge, both clear of the picture */
.phone-wrap { position: relative; }
.home-hero .phone { z-index: 1; }
.stage-chip { position: absolute; z-index: 3; top: -15px; right: -26px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--pill);
  background: color-mix(in srgb, var(--bg-2) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--violet) 55%, var(--line-strong)); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9), 0 0 24px -8px var(--glow-1);
  font-size: 13.5px; font-weight: 600; line-height: 1.2; color: var(--text); white-space: nowrap; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 25%, transparent); }
.chip-sep { color: var(--faint); }
.filmstrip { list-style: none; margin: 0; padding: 5px; position: absolute; z-index: 3; top: 50%; left: -44px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px;
  border-radius: 13px; background: color-mix(in srgb, var(--bg-2) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .95); }
.filmstrip li { width: 36px; aspect-ratio: 120 / 214; border-radius: 6px; background: url("media/merchant-miles-strip.webp") 0 0 / 500% 100% no-repeat; opacity: .5; outline: 2px solid transparent; outline-offset: 1px; transition: opacity .2s var(--ease), outline-color .2s var(--ease); }
.filmstrip li:nth-child(2) { background-position: 25% 0; }
.filmstrip li:nth-child(3) { background-position: 50% 0; }
.filmstrip li:nth-child(4) { background-position: 75% 0; }
.filmstrip li:nth-child(5) { background-position: 100% 0; }
.filmstrip li.is-on { opacity: 1; outline-color: var(--cyan); }
html:not(.js) .filmstrip li { opacity: 1; }
.stage-note { max-width: 300px; }
@media (min-width: 960px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) 380px; padding-top: var(--s7); padding-bottom: var(--s5); }
  .home-hero .stage { justify-content: center; }
  .platforms { justify-content: flex-start; }
  .filmstrip { left: -56px; }
  .filmstrip li { width: 44px; }
  .stage-chip { right: -34px; font-size: 14px; }
}
/* phones: the chip and the filmstrip stay inside the 16 px gutters; the badges sit under the clip */
@media (max-width: 959px) {
  .home-hero .stage { order: 1; margin-top: 18px; }
  .home-hero .platforms { order: 2; margin-top: 2px; }
  .stage-chip { top: -13px; right: -30px; padding: 5px 10px; font-size: 12.5px; }
  .filmstrip { left: -36px; padding: 4px; gap: 4px; border-radius: 10px; }
  .filmstrip li { width: 26px; border-radius: 4px; }
}
/* Windows high contrast: the picked starting point keeps a visible mark */
@media (forced-colors: active) { .src-opt[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; } }
