/* /ads — Offer 2 (AI ad creative). One job per screen: the booking form is open at the top, the work is below.
   Layout follows the focused apply-page pattern (schoolofscaling.io/applyrt): headline, step label, form, then proof. */
:root {
  --ink: #0b0e2c; --ink-2: #3f3f46; --ink-3: #71717a;
  --line: rgba(180, 165, 140, .42); --soft: #f3ecdf; --bg: #fbf6ee; --card: #fffdf9;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }

/* ---- first screen: headline + open form, nothing else; the work starts below the fold ---- */
.first { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 8px; }
/* ---- top: headline + promise ---- */
.hero { width: 100%; max-width: 760px; margin: 0 auto; padding: 44px 20px 0; text-align: center; }
.tag { display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fbf6ee; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
h1 { margin: 0; font-size: 56px; line-height: 1.08; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.promise { margin: 12px 0 0; font-size: 26px; line-height: 1.3; font-weight: 600; color: var(--ink-2); text-wrap: balance; }

/* ---- the form, open on arrival ---- */
.book { width: 100%; max-width: 600px; margin: 0 auto; padding: 28px 20px 8px; text-align: center; }
.step-label { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.card { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--card); box-shadow: 0 14px 38px rgba(11,14,44,.08); }
.card[hidden], fieldset[hidden], .result[hidden] { display: none; }
.progress { height: 4px; background: var(--soft); border-radius: 4px; overflow: hidden; margin-bottom: 20px; }
.progress span { display: block; height: 100%; width: 33%; background: var(--ink); transition: width .3s ease; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt { display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 17px; font-weight: 600; background: #fff; transition: border-color .15s, background .15s; }
.opt span::after { content: '→'; float: right; color: var(--ink-3); }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { border-color: var(--ink); background: var(--soft); }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; gap: 12px; margin-top: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.field input { font: 400 16px Inter, system-ui, sans-serif; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.field input:focus { outline: none; border-color: var(--ink); }
.phone { display: flex; gap: 8px; }
.cc { position: relative; flex: none; display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 92px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 500 16px Inter, system-ui, sans-serif; }
.cc::after { content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); rotate: 45deg; translate: 0 -2px; }
.cc select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cc:focus-within { border-color: var(--ink); }
.phone input { flex: 1; min-width: 0; }
.phone input.bad { border-color: #b42318; }
.hp { position: absolute; left: -9999px; }
.error { margin: 12px 0 0; color: #b42318; font-size: 14px; }
.nav { margin: 0; }
.back { margin-top: 14px; border: 0; background: none; padding: 0; color: var(--ink-3); font: 500 14px Inter, system-ui, sans-serif; cursor: pointer; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 18px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: 700 18px/1.3 Inter, system-ui, sans-serif; padding: 16px 24px; cursor: pointer; text-decoration: none; }
.cta:disabled { opacity: .6; cursor: default; }
.result h3 { margin: 0; font-size: 22px; }
.result p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.5; }
.cal { margin-top: 14px; }
.cal iframe { width: 100%; height: 640px; border: 0; border-radius: 10px; background: var(--bg); }
.cal .pending { padding: 16px; background: var(--soft); border-radius: 10px; color: var(--ink-2); }

/* ---- below the fold: the work ---- */
main { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.block { padding: 64px 0 0; }
.block h2 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-align: center; }
.lead { margin: 12px auto 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: var(--ink-2); text-align: center; }
#work { padding-top: 18px; }
#work h2 a { color: inherit; text-decoration: none; }
#work h2 span { color: var(--ink-3); font-weight: 600; }

.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 12px; }
.row-head h3 { margin: 0; font-size: 19px; }
.row-head p { margin: 0; font-size: 14px; color: var(--ink-3); text-align: right; }
/* one horizontal rail per kind of work: swipe on a phone, scroll on desktop */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.rail > * { flex: 0 0 auto; scroll-snap-align: start; }
.rail > img { width: 230px; height: auto; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); background: var(--soft); }
.rail figure { margin: 0; width: 210px; }
figcaption { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.clip { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #111; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.clip.sound { outline: 3px solid var(--ink); outline-offset: 3px; }

.ticks { list-style: none; margin: 26px auto 0; padding: 0; max-width: 560px; display: grid; gap: 10px; }
.ticks li { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.ticks b { color: var(--ink); }
.shot { width: 100%; margin-top: 26px; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.14); }

.flow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; max-width: 720px; }
.flow div { flex: 1; text-align: center; padding: 16px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.flow b { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.flow span { font-size: 15px; font-weight: 600; }
.flow i { font-style: normal; color: var(--ink-3); font-size: 20px; }

details { border-top: 1px solid var(--line); padding: 16px 0; max-width: 640px; margin: 0 auto; }
#faq h2 { margin-bottom: 20px; }
#faq details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--ink-3); }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.55; }

.end { text-align: center; max-width: 420px; margin: 0 auto; }
.foot { padding: 40px 20px 32px; text-align: center; font-size: 13px; color: var(--ink-3); }
.foot a { color: inherit; }

@media (max-width: 767px) {
  .first { min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); }
  .hero { padding: 22px 16px 0; }
  .tag { font-size: 12px; margin-bottom: 10px; padding: 6px 12px; }
  h1 { font-size: 34px; }
  .promise { font-size: 18px; margin-top: 8px; }
  .book { padding: 16px 16px 4px; }
  .step-label { font-size: 14px; margin-bottom: 8px; }
  .card { padding: 16px; }
  .progress { margin-bottom: 14px; }
  legend { font-size: 19px; }
  .opts { gap: 8px; margin-top: 12px; }
  .opt span { padding: 13px 15px; font-size: 16px; }
  #work { padding-top: 14px; }
  main { padding: 0 16px; }
  .block { padding: 48px 0 0; }
  .block h2 { font-size: 27px; }
  .lead { font-size: 16px; }
  .rail > img { width: 72vw; max-width: 280px; }
  .rail figure { width: 58vw; max-width: 240px; }
  .row-head { flex-direction: column; gap: 2px; }
  .row-head p { text-align: left; }
  .flow { flex-direction: column; align-items: stretch; }
  .flow i { transform: rotate(90deg); text-align: center; }
}

/* ---- creative-studio sales sections (2026-11-19): Brunson-style, one idea per section ---- */
.kicker { margin: 0 0 10px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 28px auto 0; }
.versus > div { text-align: center; padding: 22px 16px; border-radius: 16px; }
.vs-old { background: var(--soft); color: var(--ink-2); }
.vs-new { background: var(--ink); color: #fbf6ee; }
.versus span { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.versus b { display: block; margin: 6px 0 0; font-size: 64px; line-height: 1; font-weight: 800; }
.versus em { display: block; font-style: normal; font-size: 15px; font-weight: 600; }
.versus p { margin: 10px 0 0; font-size: 15px; line-height: 1.4; opacity: .85; }
.how { list-style: none; margin: 28px auto 0; padding: 0; max-width: 680px; display: grid; gap: 12px; }
.how li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.how li > b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; }
.how h3, .stack h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.how p, .stack p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.stack { max-width: 680px; margin: 28px auto 0; border: 2px solid var(--ink); border-radius: 18px; background: var(--card); overflow: hidden; }
.stack .item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-top: 1px solid var(--line); }
.stack .item:first-child { border-top: 0; }
.stack .item > i { flex: none; font-style: normal; font-size: 18px; font-weight: 800; color: var(--ok, #16794a); width: 24px; text-align: center; }
.stack .bonus { background: var(--soft); }
.cta.mid { display: flex; max-width: 680px; margin: 18px auto 0; }
.sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 640px; }
.sources span { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fbf6ee; font-size: 14px; font-weight: 600; }
.asks { list-style: none; margin: 20px auto 0; padding: 0; max-width: 560px; display: grid; gap: 8px; }
.asks li { padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; font-size: 16px; color: var(--ink); }
.seal { max-width: 680px; margin: 0 auto; padding: 30px 26px; border-radius: 20px; background: var(--ink); color: #fbf6ee; text-align: center; }
.seal .kicker { color: rgba(251,246,238,.7); }
.seal h2 { color: #fbf6ee; }
.seal h3 { margin: 22px 0 0; font-size: 21px; }
.seal p { margin: 10px auto 0; max-width: 520px; font-size: 16px; line-height: 1.5; color: rgba(251,246,238,.88); }
.fit { list-style: none; margin: 24px auto 0; padding: 0; max-width: 600px; display: grid; gap: 10px; }
.fit li { position: relative; padding: 14px 16px 14px 46px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.fit li::before { content: '✓'; position: absolute; left: 16px; top: 13px; font-weight: 800; color: #16794a; }
.fit b { color: var(--ink); }
.end h2 { margin-bottom: 4px; }
@media (max-width: 767px) {
  .versus b { font-size: 52px; }
  .versus > div { padding: 18px 10px; }
  .how li { padding: 16px; gap: 12px; }
  .stack .item { padding: 16px; }
  .seal { padding: 24px 18px; }
  .seal h3 { font-size: 19px; }
}

/* Slack screenshot: full size on desktop; on phones keep the text readable and let it scroll sideways */
.swipe-hint { display: none; }
@media (max-width: 767px) {
  .shot-scroll { overflow-x: auto; margin-top: 22px; border-radius: 14px; -webkit-overflow-scrolling: touch; }
  .shot-scroll .shot { width: 760px; max-width: none; margin-top: 0; border-radius: 0; box-shadow: none; }
  .swipe-hint { display: block; margin: 8px 0 0; text-align: right; font-size: 13px; color: var(--ink-3); }
}

.shot-note { margin: 10px auto 0; max-width: 640px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* SMS consent under the phone field (needed for US 10DLC texting registration, 2026-11-24) */
.sms-consent { margin: 6px 0 0; color: var(--ink-3); font-size: 13px; line-height: 1.4; }
