:root {
  --night: #07080c;
  --ink: #f6f1e8;
  --muted: #b7b0a4;
  --gold: #e2b657;
  --gold-deep: #a6792d;
  --red: #ff4b55;
  --red-deep: #c81e32;
  --card: rgba(18, 20, 26, .78);
  --line: rgba(246, 241, 232, .12);
  --paper: #f6f1e8;
  --paper-ink: #16181d;
  --green: #8fd9b0;
  --width: 1180px;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(226, 182, 87, .16), transparent 60%),
    radial-gradient(700px 480px at -10% 30%, rgba(255, 75, 85, .14), transparent 55%),
    var(--night);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--width), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: 12px; top: -40px; z-index: 50;
  background: var(--gold); color: #111; padding: 8px 12px;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
}
.brand-logo { display: block; height: 52px; width: auto; }
nav { display: flex; align-items: center; gap: 18px; }
nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid transparent; background: var(--red); color: #fff;
  text-decoration: none; font-weight: 700; letter-spacing: -.01em;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--red-deep); }
.btn.cta {
  background: linear-gradient(180deg, #ff5d66, var(--red-deep));
  box-shadow: 0 12px 30px rgba(255, 75, 85, .28);
}
.btn.ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn.ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold); }
nav .btn { min-height: 42px; padding: 8px 16px; }

.hero { position: relative; overflow: hidden; padding: 72px 0 36px; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(30px); pointer-events: none;
}
.orb-gold { width: 280px; height: 280px; right: 8%; top: 40px; background: rgba(226, 182, 87, .2); animation: drift 12s ease-in-out infinite; }
.orb-red { width: 220px; height: 220px; left: -40px; bottom: 20px; background: rgba(255, 75, 85, .16); animation: drift 16s ease-in-out infinite reverse; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 48px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 12px 6px 8px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 75, 85, .7);
  animation: ping 1.8s ease-out infinite;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); max-width: 12ch; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); }
h3 { font-size: 1.35rem; }
.lead { font-size: 1.15rem; max-width: 38rem; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.eyebrow {
  margin: 0 0 12px; color: var(--gold); font-family: var(--sans);
  font-size: .75rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase;
}

.stage { position: relative; min-height: 460px; display: grid; place-items: center; }
.radar { position: absolute; inset: 8% 10%; }
.radar span {
  position: absolute; inset: 0; border: 1px solid rgba(226, 182, 87, .35); border-radius: 50%;
  animation: sonar 3.6s ease-out infinite;
}
.radar span:nth-child(2) { animation-delay: 1.2s; }
.radar span:nth-child(3) { animation-delay: 2.4s; }
.phone {
  position: relative; width: min(100%, 380px);
  padding: 22px 22px 18px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 31, 38, .95), rgba(12, 13, 16, .95));
  border: 1px solid rgba(226, 182, 87, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.phone[data-state="0"] { animation: shake .7s ease-in-out; }
.phone-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.phone-top time { margin-left: auto; }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  animation: ping 1.6s ease-out infinite;
}
.phone[data-state="3"] .pulse-dot { background: var(--green); animation: none; }
.phone-kicker { margin: 18px 0 0; letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; color: var(--gold); }
.phone-title { margin-top: 6px; font-size: 1.7rem; }
.phone-line { min-height: 3.2em; color: var(--ink); }
.bars { display: flex; align-items: end; gap: 5px; height: 36px; margin: 8px 0 4px; }
.bars span {
  display: block; width: 6px; height: 100%; border-radius: 99px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  transform-origin: bottom; animation: eq 1s ease-in-out infinite;
}
.bars span:nth-child(2) { animation-delay: .1s; }
.bars span:nth-child(3) { animation-delay: .2s; }
.bars span:nth-child(4) { animation-delay: .05s; }
.bars span:nth-child(5) { animation-delay: .25s; }
.bars span:nth-child(6) { animation-delay: .15s; }
.bars span:nth-child(7) { animation-delay: .3s; }
.sms {
  margin: 8px 0 12px; padding: 12px 14px; border-radius: 16px 16px 16px 4px;
  background: rgba(143, 217, 176, .12); border: 1px solid rgba(143, 217, 176, .35);
  animation: rise .45s ease;
}
.sms strong { display: block; color: var(--green); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.sms span { color: var(--ink); }
.outcome {
  margin: 8px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--green); font-weight: 700;
}

.marquee { overflow: hidden; border-block: 1px solid var(--line); margin-top: 28px; }
.marquee-track {
  display: flex; gap: 42px; width: max-content; padding: 16px 0;
  animation: march 28s linear infinite;
}
.marquee span {
  color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem;
}
.marquee span::before { content: "✦"; color: var(--gold); margin-right: 42px; }

.section { padding: 92px 0; }
.loss-grid, .try-grid, .why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.loss-cards, .steps, .next-grid { display: grid; gap: 16px; }
.loss-cards { grid-template-columns: 1fr; }
.loss-cards article, .next-card, .card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
}
.num, .steps span, .next-card > span {
  display: block; color: var(--gold); font-size: .78rem; letter-spacing: .14em;
}
.loss-cards p, .steps p, .next-card p { color: var(--muted); }

.how { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .03), transparent); }
.section-intro { max-width: 720px; margin-bottom: 34px; }
.steps { grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; }
.steps li {
  list-style: none; margin: 0; padding: 22px 18px 8px;
  border-top: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(226, 182, 87, .08), transparent 70%);
}
.steps span { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 12px; }
.how-note { max-width: 46rem; color: var(--muted); }

.scene-band { position: relative; height: 420px; overflow: hidden; }
.scene-band picture { display: block; height: 100%; }
.scene-band img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.scene-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 12, .82), rgba(7, 8, 12, .15) 60%, rgba(7, 8, 12, .55));
}
.scene-caption {
  position: absolute; z-index: 1; left: max(20px, calc((100% - var(--width)) / 2));
  bottom: 36px; display: grid; gap: 4px;
}
.scene-caption strong { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.scene-caption span { color: var(--gold); }

.sample { display: grid; gap: 10px; margin: 22px 0; }
.bubble {
  margin: 0; max-width: 92%; padding: 12px 14px; border-radius: 18px; color: var(--paper-ink);
}
.bubble.customer { background: #efe7da; border-bottom-left-radius: 4px; }
.bubble.assistant { justify-self: end; background: #f3d48a; border-bottom-right-radius: 4px; }
.ticks { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.ticks li { padding-left: 22px; position: relative; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.card label { display: block; font-weight: 700; margin-bottom: 8px; }
textarea, input, select {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, .35); padding: 12px 14px;
}
textarea { min-height: 120px; resize: vertical; }
.help, .status { color: var(--muted); font-size: .86rem; }
.status:empty { display: none; }
.status.error { color: #ffb4b8; }
.examples-label { margin: 16px 0 8px; font-weight: 700; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.example {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 12px; font-size: .82rem;
}
.example:hover { border-color: var(--gold); color: var(--gold); }
.card .btn { width: 100%; }
.answer {
  margin-top: 16px; padding: 14px; border-radius: 14px;
  background: rgba(143, 217, 176, .08); border-left: 3px solid var(--green);
}
.beta-nudge { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--gold); font-size: .82rem;
}
.portrait { margin: 0; }
.portrait picture { display: block; }
.portrait img { width: 100%; border-radius: 28px; aspect-ratio: 16/10; object-fit: cover; }
.portrait figcaption { display: grid; gap: 6px; margin-top: 14px; }
.portrait figcaption span { color: var(--muted); }

.next-grid { grid-template-columns: repeat(3, 1fr); }
.next-card { min-height: 100%; display: flex; flex-direction: column; gap: 8px; }
.next-card .btn { margin-top: auto; width: 100%; }

.closeout { padding: 20px 0 90px; }
.close-inner {
  padding: 42px 36px; border-radius: 32px;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(226, 182, 87, .25), transparent 60%),
    linear-gradient(135deg, #2a1216, #14161c 55%);
  border: 1px solid rgba(255, 75, 85, .35);
}
.close-inner h2 { max-width: 16ch; }

.success-wrap { padding: 80px 0; }
.success { max-width: 760px; margin: 0 auto; }
.success h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.success-mark {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: #102118; font-size: 1.4rem;
}

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.text-button {
  background: none; border: 0; padding: 0; color: var(--gold); text-decoration: underline; text-underline-offset: 3px;
}
.noscript { background: #3a2a12; color: var(--ink); padding: 12px 0; }
.asset-tools { padding: 20px 0 40px; color: var(--muted); }

dialog {
  width: min(560px, calc(100% - 28px));
  border: 0; border-radius: 22px; padding: 22px;
  background: var(--paper); color: var(--paper-ink);
}
dialog::backdrop { background: rgba(0, 0, 0, .72); }
dialog .muted, dialog .help, dialog .small { color: #5c564c; }
dialog input, dialog select, dialog textarea {
  background: #fff; color: var(--paper-ink); border-color: #ddd6c8;
}
dialog .btn { background: var(--red-deep); }
.dialog-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.dialog-head h2 { font-size: 1.7rem; }
.close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd6c8; background: transparent;
}
.field { margin-bottom: 16px; }
dialog details { border-top: 1px solid #e6e0d4; padding: 10px 0; }
dialog summary { cursor: pointer; font-weight: 700; }

.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { animation: rise .7s ease forwards; }
.js .bubble { opacity: 0; transform: translateY(12px); }
.js .sample.in .bubble { animation: rise .55s ease forwards; }
.js .sample.in .bubble:nth-child(2) { animation-delay: .12s; }
.js .sample.in .bubble:nth-child(3) { animation-delay: .24s; }
.js .sample.in .bubble:nth-child(4) { animation-delay: .36s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 85, .55); }
  100% { box-shadow: 0 0 0 12px rgba(255, 75, 85, 0); }
}
@keyframes sonar {
  from { transform: scale(.45); opacity: .7; }
  to { transform: scale(1); opacity: 0; }
}
@keyframes eq {
  0%, 100% { transform: scaleY(.3); }
  50% { transform: scaleY(1); }
}
@keyframes march { to { transform: translateX(-50%); } }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(20px, -16px, 0); }
}
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-1.2deg); }
  75% { transform: rotate(1.2deg); }
}

@media (max-width: 980px) {
  .hero-grid, .loss-grid, .try-grid, .why-grid, .steps, .next-grid { grid-template-columns: 1fr; }
  h1 { max-width: none; }
  .scene-band { height: 300px; }
  .header-row { flex-wrap: wrap; padding: 8px 0; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--width), calc(100% - 28px)); }
  .header-row { min-height: 68px; }
  .brand-logo { height: 40px; }
  .header-row { flex-wrap: nowrap; min-height: 64px; }
  .nav-consult { display: none; }
  nav { flex-wrap: nowrap; gap: 10px; }
  nav a { font-size: .8rem; }
  nav .btn { min-height: 36px; padding: 6px 12px; font-size: .82rem; }
  .hero { padding-top: 36px; }
  .actions .btn { width: 100%; }
  .close-inner { padding: 28px 20px; }
  .footer-row { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal, .js .bubble { opacity: 1; transform: none; }
}
