/* Brew Leads pages (/brew-leads/ and /brew-leads/watch/). Matches the commercial: near-black
   with a cool center glow, warm orange accents from the app icon, tight white headlines. */
:root {
  --bg: #050607;
  --bg-2: #0b0f12;
  --panel: #111417;
  --panel-2: #171a1e;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f2ee;
  --muted: #b3b6bb;
  --dim: #858990;
  --accent: #ee9a5c;
  --accent-2: #e3843f;
  --accent-ink: #1b0f06;
  --ok: #7fcf9a;
  --err: #ff9a8a;
  --grad: linear-gradient(135deg, #e79a3c 0%, #c1532b 55%, #c23a4a 100%);
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(231, 154, 60, 0.09), transparent 60%),
    radial-gradient(50rem 50rem at 50% 38%, #0c1115, transparent 70%),
    var(--bg);
  background-attachment: fixed, scroll, scroll;
  color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--text); color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(5, 6, 7, 0.72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; white-space: nowrap; min-width: 0; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { font-weight: 650; letter-spacing: -0.02em; font-size: 17px; }
.brand span { color: var(--dim); font-size: 13px; margin-left: 2px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--text); }
@media (max-width: 760px) { .top nav { display: none; } .brand span { display: none; } }
@media (max-width: 359px) { .top .btn-small { padding: 0 12px; font-size: 14px; } .brand b { font-size: 16px; } }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f3aa71; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Type */
h1, h2, h3 { font-weight: 650; letter-spacing: -0.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 84px); }
h2 { font-size: clamp(34px, 4.8vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; max-width: 34em; text-wrap: pretty; }
.kicker { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.note { color: var(--dim); font-size: 14px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin: 14px 0 22px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .terms { margin-top: 18px; color: var(--dim); font-size: 15px; max-width: 32em; }
.status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(238, 154, 92, 0.16); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .film-col { order: 2; }
}

/* Film player */
/* Fits the window height too, so the whole film is visible on short screens. */
.film { position: relative; width: min(100%, 372px, max(200px, (100svh - 150px) * 0.5625)); margin-inline: auto; }
.film::before { content: ""; position: absolute; inset: 12% -18% -6%; background: radial-gradient(closest-side, rgba(225, 118, 60, 0.30), transparent); filter: blur(30px); z-index: -1; }
.player { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.025); }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player .start { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 14%; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55)); color: var(--text); cursor: pointer; font: inherit; }
.player .start span { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 999px; background: rgba(12, 14, 16, 0.72); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: 16px; transition: transform 0.15s ease; }
.player .start:hover span { transform: scale(1.03); }
.player .start i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); }
.player .start i::before { content: ""; margin-left: 4px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.player .bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 26px 14px 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)); opacity: 0; transition: opacity 0.2s ease; }
.player.playing .bar, .player.paused .bar, .player:focus-within .bar { opacity: 1; }
.player.playing:not(:hover):not(:focus-within) .bar { opacity: 0; transition-delay: 1.2s; }
@media (hover: none) { .player.playing .bar { opacity: 1; } }
.player .ctl { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; flex: none; }
.player .ctl svg { width: 18px; height: 18px; }
.player .time { font-size: 13px; font-variant-numeric: tabular-nums; color: #dcdcdc; flex: none; min-width: 36px; }
.player input[type="range"] { flex: 1; min-width: 0; height: 24px; margin: 0; background: transparent; accent-color: var(--accent); cursor: pointer; }
.player .end { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: rgba(5, 6, 7, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.player.ended .end { display: flex; }
.player.ended .bar { opacity: 0; pointer-events: none; }
.player .end p { font-weight: 650; font-size: 22px; letter-spacing: -0.02em; }
.film figcaption { margin-top: 14px; text-align: center; color: var(--dim); font-size: 13px; }

/* Sections */
section { scroll-margin-top: 72px; }
.band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { margin: 10px 0 16px; }
.head .lede { font-size: 19px; }

/* Feature rows with UI recreations */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 96px); }
.feature:nth-of-type(even) .copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; margin: 10px 0 14px; }
.feature p { color: var(--muted); max-width: 30em; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); }
.feature li { padding-left: 22px; position: relative; margin-top: 8px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 0.68em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature:nth-of-type(even) .copy { order: 0; } }

.ui { position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9); font-size: 14px; }
.ui .ui-top { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.ui .ui-top b { font-size: 15px; font-weight: 600; }
.ui .ui-top span { color: var(--dim); font-size: 12px; }
.ui .row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.ui .row:last-child { border-bottom: 0; }
.ui .row .who { font-weight: 600; font-size: 15px; }
.ui .row .what { color: var(--dim); font-size: 13px; }
.ui .row .when { color: var(--dim); font-size: 12px; text-align: right; }
.ui .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #23272c; color: #d9d9d9; font-weight: 600; font-size: 13px; }
.ui .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #6f747b; }
.ui .row.hot { background: rgba(238, 154, 92, 0.08); border-radius: 10px; border-bottom-color: transparent; }
.ui .row.hot .dot { border-color: var(--accent); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tag.new { background: rgba(238, 154, 92, 0.16); color: #f6b585; }
.tag.muted { background: rgba(255, 255, 255, 0.08); color: #cfd2d6; }
.tag.ok { background: rgba(127, 207, 154, 0.14); color: var(--ok); }
.ui .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ui .stats div { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ui .stats b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.ui .stats span { color: var(--dim); font-size: 12px; }
.ui .draft { margin-top: 10px; padding: 14px; border-radius: 10px; background: #0c0e10; border: 1px solid var(--line); color: #d6d8db; font-size: 14px; line-height: 1.55; }
.ui .range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ui .range div { padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: #0c0e10; }
.ui .range span { display: block; color: var(--dim); font-size: 11px; }
.ui .check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: 13px; }
.ui .check i { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 4px; background: var(--accent); position: relative; }
.ui .check i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ui .approve { margin-top: 14px; width: 100%; min-height: 42px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-weight: 600; display: grid; place-items: center; font-size: 14px; }
.ui-label { margin-top: 10px; color: var(--dim); font-size: 12px; text-align: right; }

/* Workflow */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line-2); }
.steps li { position: relative; padding: 26px 22px 0 0; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--accent); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.steps li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }
.steps .who { display: block; margin-top: 12px; color: var(--dim); font-size: 13px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); }
  .steps li { padding: 0 0 34px 28px; }
  .steps li::after { top: 4px; left: -5px; }
  .steps li::before { margin-bottom: 8px; }
}

/* Scope: what's in, what's not */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope > div { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); background: rgba(255, 255, 255, 0.015); }
.scope h3 { margin-bottom: 16px; }
.scope ul { margin: 0; padding: 0; list-style: none; }
.scope li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.scope li:first-child { border-top: 0; }
.scope .yes li::before, .scope .no li::before { position: absolute; left: 2px; top: 11px; font-weight: 700; }
.scope .yes li::before { content: "✓"; color: var(--ok); }
.scope .no li::before { content: "–"; color: var(--dim); }
.scope .no { background: transparent; }
@media (max-width: 760px) { .scope { grid-template-columns: 1fr; } }

/* Pilot: terms + form */
.pilot .wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .pilot .wrap { grid-template-columns: 1fr; } }
.terms-list { margin: 26px 0 0; padding: 0; list-style: none; }
.terms-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.terms-list b { display: block; font-size: 17px; margin-bottom: 4px; }
.terms-list span { color: var(--muted); font-size: 16px; }
.who-for { margin-top: 26px; color: var(--muted); font-size: 16px; }

.card { background: linear-gradient(180deg, #13161a, #0e1013); border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9); }
.card h2 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 8px; }
.card > p { color: var(--muted); font-size: 16px; }
form { margin-top: 24px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; }
.field label small { font-weight: 400; color: var(--dim); font-size: 14px; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #0a0c0e; color: var(--text); font: inherit; font-size: 16px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3b6bb' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input::placeholder { color: #6c7077; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(238, 154, 92, 0.22); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err { color: var(--err); font-size: 14px; }
.field .err:empty { display: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts { min-height: 0; }
.form-msg { border-radius: 10px; padding: 12px 14px; font-size: 15px; background: rgba(255, 154, 138, 0.1); border: 1px solid rgba(255, 154, 138, 0.35); color: #ffd2ca; }
.form-msg:empty { display: none; }
.privacy { color: var(--dim); font-size: 14px; line-height: 1.55; }
.privacy a { color: var(--muted); }
.done { text-align: left; }
.done .mark { width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 20px; }
.done .mark::after { content: ""; width: 12px; height: 22px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -2px); }
.done h2 { margin-bottom: 12px; }
.done p { color: var(--muted); }
.done ol { color: var(--muted); padding-left: 20px; margin: 18px 0 0; }
.done li { margin-top: 6px; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 44em; }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: rgba(255, 255, 255, 0.02); }
.share p { color: var(--muted); }
.share b { color: var(--text); display: block; font-size: 18px; margin-bottom: 2px; }
.share .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.foot a { color: var(--muted); }

/* Watch page */
.watch { overflow-x: clip; min-height: 100svh; display: grid; place-items: center; padding: 40px 20px 56px; }
.watch .inner { width: min(100%, 420px); text-align: center; }
.watch .brand { justify-content: center; margin: 0 0 28px; }
.watch h1 { font-size: clamp(30px, 6vw, 40px); margin-bottom: 10px; }
.watch .lede { margin: 0 auto 28px; font-size: 17px; }
.watch .film { width: min(100%, 372px, max(240px, (100svh - 280px) * 0.5625)); }
.watch .cta-row { justify-content: center; margin-top: 28px; }
.watch .note { margin-top: 18px; }
