/* Naomi: the commercials page's look (her commercials behind, the pitch beside a phone),
   with a bigger phone that is the call itself: tap it to talk, and it flashes with her voice. */
:root {
  --bg: #0b1f24;
  --panel: #10292f;
  --line: #1d3d44;
  --text: #e8f1f2;
  --muted: #9db4b8;
  --accent: #5fd3c4;
  --accent-ink: #062226;
  --level: 0;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
a { color: var(--accent); }

.bg-reel { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-reel video { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.9); pointer-events: none; }
.bg-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,36,.5) 0%, rgba(11,31,36,.2) 45%, rgba(11,31,36,.75) 100%); }

.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { color: var(--text); text-decoration: none; font: 700 13px/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; display: flex; align-items: center; gap: 10px; }
.logo { background: var(--accent); color: var(--accent-ink); border-radius: 6px; padding: 6px 5px; font-size: 12px; }
.own { font-weight: 600; text-decoration: none; }

.hero { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 32px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pitch { text-shadow: 0 2px 14px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.chip { display: inline-block; margin: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 700 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; color: var(--accent); text-shadow: none; background: rgba(11,31,36,.5); }
h1 { font: 700 clamp(40px, 6vw, 68px)/1.05 Georgia, "Times New Roman", serif; margin: 18px 0 14px; }
h1 em { color: var(--accent); }
.lead { max-width: 480px; color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 10px; padding: 15px 24px; font-weight: 700; text-decoration: none; text-shadow: none; }
.note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* The phone: bigger than the commercials sample, and it is the call. */
.phone-wrap { margin: 0; justify-self: center; display: grid; justify-items: center; gap: 16px; }
.phone { position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 44px; border: 10px solid #050c0e; background: #050c0e; overflow: hidden; cursor: pointer; outline: none;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 1px var(--line), 0 0 calc(var(--level) * 80px) calc(var(--level) * 10px) rgba(95,211,196,calc(var(--level) * .75));
  transition: box-shadow .08s linear, transform .2s ease; }
.phone:focus-visible { box-shadow: 0 0 0 3px #fff, 0 24px 70px rgba(0,0,0,.55); }
.phone:hover { transform: translateY(-2px); }
.phone::before { content: ""; position: absolute; z-index: 4; top: 10px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #050c0e; }
.naomi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity .05s linear; pointer-events: none; }
.naomi.on { opacity: 1; }
.naomi::-webkit-media-controls, .naomi::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
/* The flash: the screen brightens and the rim glows with every word she says. */
.flash { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 85%, rgba(185,255,244,.45), rgba(95,211,196,0) 65%); box-shadow: inset 0 0 calc(10px + var(--level) * 50px) rgba(95,211,196,.9); transition: opacity .08s linear; }
body[data-state="speaking"] .flash { opacity: calc(.25 + var(--level) * 1.2); }
body[data-state="listening"] .flash { opacity: calc(var(--level) * .8); }
.tap { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 12px 22px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 30px rgba(0,0,0,.4); animation: beckon 2.2s ease-in-out infinite; }
@keyframes beckon { 50% { transform: translateX(-50%) scale(1.06); } }
body:not([data-state="idle"]) .tap { display: none; }
.status { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.status:empty { display: none; }
.selfie { position: absolute; z-index: 3; top: 46px; right: 12px; width: 78px; height: 104px; object-fit: cover; border-radius: 12px; border: 2px solid rgba(255,255,255,.75); transform: scaleX(-1); background: #000; }

.dock { display: flex; gap: 18px; }
.dock[hidden] { display: none; }
.round { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,31,36,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.round svg { width: 24px; height: 24px; fill: currentColor; }
.round[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.round.end { background: #d64545; border-color: #d64545; }
.round:focus-visible, .offer:focus-visible, .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.offer { width: min(340px, 86vw); display: grid; gap: 4px; text-decoration: none; color: var(--text); background: rgba(11,31,36,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--accent); border-radius: 16px; padding: 14px 16px; animation: rise .35s ease; }
.offer[hidden] { display: none; }
.offer-tag { font: 700 11px/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; color: var(--accent); }
.offer-title { font: 700 19px/1.25 Georgia, "Times New Roman", serif; }
.offer-go { font-weight: 700; color: var(--accent); }
/* Lamar, live: the one-tap Call button when someone asks for a person. */
.offer.human { border-color: #3ddc84; background: rgba(8,40,22,.88); }
.offer.human .offer-tag, .offer.human .offer-go { color: #3ddc84; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }

.fine { padding: 14px 16px 22px; color: rgba(232,241,242,.55); font-size: 12px; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.fine a { color: rgba(232,241,242,.8); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Phones: the phone comes first and fills most of the screen; the pitch is short below it. */
@media (max-width: 820px) {
  .top { padding: 12px 16px; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .phone-wrap { order: -1; }
  .phone { width: min(300px, 74vw); border-width: 8px; border-radius: 38px; }
  .pitch { text-align: center; }
  .chip { display: none; }
  h1 { font-size: 34px; margin: 0 0 6px; }
  .lead { font-size: 15px; margin: 0 auto 14px; }
  .btn { display: block; }
  .note { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tap { animation: none; } .naomi, .offer { transition: none; animation: none; } }
/* The question they tapped on the industry page (?ask=), waiting for her answer. */
.ask-line { max-width: 480px; margin: -8px 0 20px; padding: 12px 14px; border-left: 3px solid var(--accent); background: rgba(11,31,36,.6); border-radius: 8px; font-size: 16px; }
