/* Boost this launch */

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #17130f;
  --muted: #6b645c;
  --line: #e7e1d9;
  --accent: #ff5a1f;
  --accent-hover: #e94c13;
  --accent-ink: #ffffff;
  --soft: #fff1ea;
  --ok: #1f8a4c;
  --ok-soft: #e8f5ed;
  --warn: #b54708;
  --warn-soft: #fef3e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(23 19 15 / 0.06), 0 8px 24px rgb(23 19 15 / 0.06);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14110e;
    --surface: #1d1915;
    --ink: #f4efe9;
    --muted: #a89f95;
    --line: #322b25;
    --accent: #ff6a33;
    --accent-hover: #ff8352;
    --soft: #2a1a12;
    --ok: #4cc27f;
    --ok-soft: #13261b;
    --warn: #f59e4b;
    --warn-soft: #2b1e10;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 760; }
h2 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.eyebrow { color: var(--accent); font-weight: 650; font-size: 0.9rem; letter-spacing: 0.02em; margin-bottom: 0.75rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

.dev-banner {
  background: #2b2116; color: #ffd9b8; font-size: 0.85rem; text-align: center; padding: 6px 16px;
}

/* ---- chrome ---- */
.topbar { max-width: 1120px; margin: 0 auto; padding: 20px 16px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 720; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M11 22 21 10M13 10h8v8' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}
.foot { max-width: 1120px; margin: 64px auto 0; padding: 24px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0; max-width: 44rem; }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.narrow { max-width: 680px; padding-top: 32px; }

/* ---- buttons & fields ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  padding: 14px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); padding: 9px 14px; font-size: 0.9rem; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-ghost[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-big { font-size: 1.1rem; padding: 18px 26px; width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

input[type="text"], input[type="url"], input[type="email"], input[type="number"], input[type="date"], textarea, select {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
label { display: block; font-weight: 600; font-size: 0.95rem; }
label > input, label > textarea, label > .input-prefix { margin-top: 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
label.check input { margin-top: 0.3em; accent-color: var(--accent); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
legend { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; width: 100%; }
.field-row { display: flex; gap: 10px; margin-top: 8px; }
.field-row input { flex: 1; font-size: 1.05rem; padding: 15px 16px; }
.form-error { color: var(--warn); font-weight: 600; font-size: 0.92rem; margin: 10px 0 0; }
.stack { display: grid; gap: 14px; }
.details-skip { margin-top: 12px; }
.notice { background: var(--soft); border-radius: var(--radius); padding: 14px 18px; }
.notice p { margin: 0; }
.notice-ok { background: var(--ok-soft); }
/* "Email me the link" on the waiting page and the finished preview */
.email-me { margin-top: 28px; }
.email-me-form label { font-weight: 600; }
details.email-me { margin-top: 14px; }
details.email-me summary { cursor: pointer; color: var(--muted); font-size: 0.92rem; }
details.email-me[open] summary { margin-bottom: 10px; }

@media (max-width: 640px) {
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
}

/* ---- home ---- */
.hero { padding: 48px 0 32px; max-width: 760px; }
.front-door {
  margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow);
}
.front-door label { font-size: 1.05rem; }
.price-line { margin-top: 18px; font-size: 0.98rem; }
.steps ol { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps h2 { font-size: 1.05rem; margin: 10px 0 6px; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.step-n, .sec-n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--soft); color: var(--accent); font-weight: 750; font-size: 0.9rem; letter-spacing: 0;
}
.pricing { max-width: 680px; }
.pricing h2 { font-size: 1.1rem; }
@media (max-width: 900px) { .steps ol { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps ol { grid-template-columns: 1fr; } }

/* ---- pending ---- */
.stages { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.stages li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.stages li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none;
}
.stages li.done { color: var(--ink); }
.stages li.done::before { background: var(--ok); border-color: var(--ok); }
.stages li.active { color: var(--ink); font-weight: 650; }
.stages li.active::before { border-color: var(--accent); border-top-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stages li.active::before { animation: none; border-top-color: var(--accent); } }

/* ---- preview ---- */
.pv-intro { padding: 32px 0 8px; }
.pv-intro h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pv-section { margin: 36px 0; }
.pv-section > h2 { display: flex; align-items: center; gap: 12px; }
.h-small { font-size: 1.05rem; }

.ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 860px) { .ad-grid { grid-template-columns: 1fr; } }

.ad-option {
  background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 18px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ad-option.is-chosen { border-color: var(--accent); box-shadow: var(--shadow); }
.ad-option-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pick { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; }
.pick input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.channel-tag { font-size: 0.8rem; font-weight: 650; background: var(--soft); color: var(--accent); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ad-meta { margin-top: 16px; font-size: 0.95rem; }
.ad-meta p { margin: 0 0 8px; }
.chips { list-style: none; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.82rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.ad-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.char-count.over { color: var(--warn); font-weight: 650; }

.own-ad { margin-top: 16px; }
.own-ad summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.own-ad .stack { margin-top: 12px; max-width: 520px; }

.plan-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; margin-bottom: 14px; }
@media (max-width: 520px) { .plan-controls { grid-template-columns: 1fr 1fr; } }
.input-prefix { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding-left: 14px; }
.input-prefix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input-prefix input { border: 0; box-shadow: none !important; padding-left: 4px; margin: 0; }
.second-channel { margin: 4px 0 16px; max-width: 46rem; }

.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: opacity 120ms ease; }
.plan.is-loading { opacity: 0.55; }
.plan-summary { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 740; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 6px; }
.plan-sub { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.check-icon {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  font-size: 0.8rem; font-weight: 800;
}
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li p { margin: 2px 0 0; color: var(--muted); font-size: 0.93rem; }
.checks li b { font-size: 0.98rem; }
.is-ok .check-icon { background: var(--ok-soft); color: var(--ok); }
.is-warn .check-icon { background: var(--warn-soft); color: var(--warn); }
.is-pending .check-icon { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }

.funnel { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.funnel li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 0.95rem; }
.funnel li + li::before { content: "→"; color: var(--muted); margin-right: 12px; margin-left: -4px; font-weight: 400; }
.pv-section > p { max-width: 46rem; color: var(--muted); }
.gaps ul { margin: 0 0 8px; padding-left: 1.2em; color: var(--muted); }

.approve { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; max-width: 680px; box-shadow: var(--shadow); }
.approve-fields { display: grid; gap: 18px; margin-bottom: 20px; }
.fine { color: var(--muted); font-size: 0.86rem; margin: 14px 0 0; }

/* ---- approved ---- */
.next-steps { padding-left: 1.2em; display: grid; gap: 10px; margin: 20px 0 28px; }
.approved-ad { max-width: 420px; margin-bottom: 24px; }

/* ---- ad mockups (fixed palettes, independent of the app theme) ---- */
.mock { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; overflow: hidden; }
.mock .muted { color: #65676b; }
.mock [contenteditable="true"] { outline: 2px dashed var(--accent); outline-offset: 2px; border-radius: 4px; cursor: text; }
.ad-avatar {
  position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--brand, #ff5a1f); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
.ad-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.ad-media { position: relative; overflow: hidden; background: var(--brand, #ff5a1f); }
.ad-media-wide { aspect-ratio: 1.91 / 1; }
.ad-media-square { aspect-ratio: 1 / 1; }
.ad-media-portrait { aspect-ratio: 4 / 5; }
.ad-media-tall { position: absolute; inset: 0; }
.ad-media img, .ad-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-media-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 20px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand, #ff5a1f) 75%, #fff) 0%, var(--brand, #ff5a1f) 55%, color-mix(in srgb, var(--brand, #ff5a1f) 70%, #000) 100%);
  color: #fff;
}
.fallback-name { font-size: 0.85rem; font-weight: 700; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.06em; }
.fallback-line { font-size: 1.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

.mock-btn { background: #e4e6eb; color: #050505; font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }

.mock-meta { background: #fff; color: #050505; border: 1px solid #dddfe2; border-radius: 10px; }
.mm-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 8px; }
.mm-who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; font-size: 0.92rem; }
.mm-who .muted { font-size: 0.8rem; }
.mm-text { padding: 0 12px 10px; margin: 0; font-size: 0.95rem; line-height: 1.4; }
.mm-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #f0f2f5; }
.mm-foot-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mm-domain { font-size: 0.75rem; color: #65676b; }
.mm-foot b { font-size: 0.98rem; }

.mock-reddit { background: #fff; color: #1a1a1b; border: 1px solid #edeff1; border-radius: 10px; padding: 12px; }
.mr-head { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; margin-bottom: 8px; }
.mr-head .ad-avatar { width: 24px; height: 24px; font-size: 0.7rem; }
.mock-reddit .muted { color: #787c7e; }
.mr-title { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; color: #1a1a1b; }
.mr-text { font-size: 0.92rem; margin: 0 0 10px; color: #1a1a1b; line-height: 1.4; }
.mock-reddit .ad-media { border-radius: 8px; }
.mr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 8px 10px; background: #f6f7f8; border-radius: 8px; font-size: 0.85rem; }
.mr-domain { color: #0079d3; }
.mock-reddit .mock-btn { background: #0079d3; color: #fff; border-radius: 999px; }
.mr-actions { display: flex; gap: 18px; color: #878a8c; font-size: 0.8rem; font-weight: 600; margin-top: 10px; }

.mock-tiktok {
  position: relative; aspect-ratio: 9 / 16; max-width: 320px; margin: 0 auto; border-radius: 14px; background: #000; color: #fff;
}
.mt-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 45%, rgb(0 0 0 / 0.75) 100%); pointer-events: none; }
.mt-caption {
  position: absolute; top: 18%; left: 16px; right: 64px; margin: 0;
  font-size: 1.35rem; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 8px rgb(0 0 0 / 0.5);
}
.mt-rail { position: absolute; right: 10px; bottom: 120px; display: grid; gap: 16px; justify-items: center; font-size: 1.2rem; }
.mt-rail .ad-avatar { border: 2px solid #fff; }
.mt-bottom { position: absolute; left: 14px; right: 60px; bottom: 14px; font-size: 0.88rem; }
.mt-bottom p { margin: 6px 0 10px; line-height: 1.35; }
.mt-tag { font-size: 0.72rem; background: rgb(255 255 255 / 0.2); padding: 2px 6px; border-radius: 4px; }
.mt-cta { display: block; text-align: center; background: #fe2c55; color: #fff; font-weight: 700; padding: 9px; border-radius: 6px; }
.ad-media-tall .ad-media-fallback { justify-content: center; }
.ad-media-tall .fallback-line { display: none; }
/* Once the real image or clip has loaded, the fallback's text goes (its colour stays behind
   transparent images). */
.ad-media.has-media .ad-media-fallback span { display: none; }
/* Tall frame, wide image: the whole image, centred, over a blurred copy of itself. */
.ad-media.is-letterbox img[data-media], .ad-media.is-letterbox video[data-media] { object-fit: contain; }
.ad-media .media-blur { filter: blur(24px) saturate(1.2); transform: scale(1.2); opacity: 0.85; }

/* ---- admin ---- */
.admin { padding-top: 16px; }
.admin h1 { font-size: 2rem; }
.admin h2 { margin-top: 36px; font-size: 1.15rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.table td a { word-break: break-all; }
.is-stale td { background: var(--warn-soft); }
.verdict { font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.verdict-go { background: var(--ok-soft); color: var(--ok); }
.verdict-stop { background: var(--warn-soft); color: var(--warn); }
.verdict-between { background: var(--soft); color: var(--accent); }
.verdict-none { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 24px 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.stat-label { font-size: 0.8rem; color: var(--muted); }
.stat-value { font-size: 1.2rem; font-weight: 700; }
.admin-form { display: grid; gap: 6px; min-width: 180px; }
.admin-form input, .admin-form select { padding: 6px 8px; font-size: 0.85rem; }
.admin-form label { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; }
.admin-form label input { margin: 0; }
@media (max-width: 760px) { .admin .table { display: block; overflow-x: auto; } }

/* ---- campaign page and launch kit ---- */
.campaign h3, .launch h3 { font-size: 1rem; margin: 22px 0 8px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--soft); padding: 1px 5px; border-radius: 6px; overflow-wrap: anywhere; }
.code-box { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.code-box pre { margin: 0; flex: 1; min-width: 0; white-space: pre-wrap; word-break: break-all; }
.code-box pre code { background: none; padding: 0; }
.steps-form .step-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; display: grid; gap: 8px; background: var(--surface); }
.steps-form legend { font-weight: 700; font-size: 0.9rem; padding: 0 4px; }
.steps-form label { display: grid; gap: 4px; }
.steps-form input { width: 100%; }
.steps-form label .small { font-weight: 400; }
.setup-done { margin: 36px 0; }
.setup-done > summary { cursor: pointer; font-weight: 700; color: var(--ok); }
.next-move { border-radius: var(--radius); padding: 14px 18px; background: var(--soft); margin: 8px 0 4px; }
.next-move p { margin: 4px 0; }
.next-move .eyebrow { margin: 0; }
.next-move.tone-wait { background: var(--surface); border: 1px solid var(--line); }
.next-move.tone-fix { background: var(--warn-soft); }
.next-move.tone-ok { background: var(--ok-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table tr.total td { font-weight: 700; }
.launch-card { margin: 18px 0; }
.kv th { width: 150px; text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--muted); }
.kv td:last-child { width: 1%; white-space: nowrap; }
.kv-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.timer { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 16px 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form label { display: grid; gap: 4px; font-size: 0.85rem; }
.stats-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; align-items: start; }
.stats-forms label { display: grid; gap: 4px; font-size: 0.85rem; }
.stats-forms textarea { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
.launch-steps { padding-left: 20px; display: grid; gap: 8px; }
.launch-steps .verdict { margin-right: 6px; }
@media (max-width: 640px) {
  .kv th { width: auto; display: block; border-bottom: 0; padding-bottom: 0; }
  .kv td { display: block; }
  .kv td:last-child { width: auto; }
  .code-box { flex-direction: column; }
}
.mail { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.mail > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.mail[open] > summary { margin-bottom: 10px; }
.mail .code-box { margin: 8px 0; }
.mail pre { font-size: 0.85rem; }
.live-link { margin: 4px 0 28px; align-items: end; }
.live-link > span { flex-basis: 100%; }
.access-item { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 12px; }
.access-item h3 { margin: 6px 0; }
.access-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.access-line .inline-form { margin: 0; }
.ops { margin: 8px 0 32px; }
.ops h1 { font-size: 1.5rem; margin-bottom: 8px; }
.ops-list { padding-left: 18px; display: grid; gap: 6px; }
.topnav { margin-left: auto; font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.topnav:hover { color: var(--ink); }
.campaign-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.campaign-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pricing-promise { margin: 6px 0 0; font-weight: 600; color: var(--ink); }
.plan .pricing-promise { font-size: 0.95rem; margin: 2px 0 8px; }
/* Planned creative (src/creative/director.ts) */
/* The text card uses the bundled face the server draws the real ad with (src/creative/card.ts). */
@font-face { font-family: "Inter Variable"; src: url("/fonts/@fontsource-variable/inter/files/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.ad-media.is-cutout { background: color-mix(in srgb, var(--brand, #24272c) 22%, #fff); }
.ad-media.is-cutout img { object-fit: contain; padding: 6%; }
.ad-designed { background: linear-gradient(150deg, color-mix(in srgb, var(--brand, #ff5a1f) 82%, #fff) 0%, var(--brand, #ff5a1f) 45%, color-mix(in srgb, var(--brand, #ff5a1f) 62%, #000) 100%); color: #fff; display: flex;  font-family: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.ad-designed .designed-inner { margin: auto 0 0; padding: 7% 7% 8%; display: grid; gap: 10px; }
.ad-media-tall.ad-designed .designed-inner { margin: 0; padding: 30% 9% 0; }
.designed-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.designed-line { font-size: clamp(1.4rem, 5.2vw, 2.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.ad-media-wide.ad-designed .designed-line { font-size: clamp(1.3rem, 3.4vw, 1.9rem); }
.ad-media-tall.is-composed { background: linear-gradient(170deg, color-mix(in srgb, var(--brand, #ff5a1f) 85%, #fff), color-mix(in srgb, var(--brand, #ff5a1f) 70%, #000)); }
.ad-media-tall.is-composed .composed-card { position: absolute; left: 7%; right: 7%; top: 31%; width: 86%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 12px 28px rgb(0 0 0 / 0.35); }
.mock-tiktok .ad-designed.shows-headline ~ .mt-caption { display: none; }
.ad-media-tall.ad-designed:not(.shows-headline) .designed-inner { margin: auto 0; padding: 0 9% 12%; }
.kit-thumb { display: block; max-width: 180px; max-height: 180px; border-radius: 8px; border: 1px solid var(--line, #e5e2dc); margin-bottom: 6px; }
.copy-fix { margin: 8px 2px 0; }
.ad-media.is-finished img { object-fit: cover; }
.mock-tiktok.has-finished .mt-caption { display: none; }
.ad-blocking { margin: 8px 2px 0; }
.picture-note { margin: 8px 2px 0; }
.picture-note.is-ok { color: var(--ok, #1f7a4d); }
.improve-picture { margin: 8px 2px 0; }
.improve-picture summary { cursor: pointer; font-size: 14px; color: var(--muted, #6b6560); width: fit-content; }
.improve-picture summary:hover { color: inherit; }
.improve-picture form { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.improve-picture form p { margin: 0 0 8px; }
.improve-picture .small { margin: 8px 0 0; }
.ask-picture-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ask-picture-row input[type=file] { max-width: 100%; font-size: 14px; }
