/* The Pro preview page: the home page's stages and paper, with gold as the lead colour. */
.pro-page .brand-word .gold { font-family: var(--display); font-style: normal; margin-left: 4px; }
.gold-eyebrow { color: var(--gold); }
.pro-page h2 em, .pro-page h1 em { color: var(--gold); font-style: italic; }
.pro-page .paper h2 em { color: var(--amber); }

/* ------------------------------------------------------------------ hero */
.pro-hero { padding-block: clamp(120px, 14vw, 180px) clamp(70px, 9vw, 120px); }
.pro-hero-grid { display: grid; gap: 40px; }
.pro-hero-copy { max-width: 820px; }
.pro-title { font-size: clamp(44px, 7vw, 104px); margin-bottom: 26px; }
.pro-hero .lead { margin-bottom: 30px; }
.pro-form input:focus { border-color: var(--gold); }
.pro-hero .early-note { margin-top: 12px; }
.pro-film { margin: clamp(50px, 7vw, 90px) 0 0; }
.pro-film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; background: #080908; box-shadow: 0 0 0 1px rgba(227, 179, 92, 0.25), 0 60px 140px rgba(0, 0, 0, 0.6), 0 0 120px rgba(227, 179, 92, 0.12); }
.pro-film figcaption { margin-top: 16px; color: var(--dim); font-size: 14.5px; text-align: center; }
.paper .pro-film { margin-bottom: clamp(40px, 6vw, 70px); }
.paper .pro-film figcaption { color: var(--text-2); }

/* ------------------------------------------------------------------ crew */
.pro-crew { background: #0d0e0c; }
.pro-crew .lead { margin: 18px 0 clamp(40px, 5vw, 60px); }
.pro-bots { margin-bottom: clamp(60px, 8vw, 100px); }
.pro-bots .perm { align-self: flex-start; margin: 10px 0 4px; font-size: 12.5px; color: var(--gold); border: 1px solid rgba(227, 179, 92, 0.5); background: rgba(227, 179, 92, 0.08); border-radius: 999px; padding: 4px 12px; }
.relay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.relay-steps li { position: relative; padding: 24px 22px 26px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line-dark); }
.relay-steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -17px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.relay-steps h3.display { font-size: 26px; margin: 16px 0 10px; }
.relay-steps p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
.relay-steps b { color: var(--cream); font-weight: 600; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #fff1cf, var(--gold)); color: #1a1408; font-size: 15px; font-weight: 500; }

/* ------------------------------------------------------------------ crew view features (paper) */
.pro-view h2.display { max-width: 18ch; margin-bottom: clamp(40px, 6vw, 70px); }
.pfeat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pfeat { padding: 26px 24px; border-radius: 22px; background: var(--raised); border: 1px solid var(--line-paper); box-shadow: 0 18px 40px rgba(28, 27, 24, 0.06); }
.pfeat h3.display { font-size: 26px; margin: 14px 0 10px; color: var(--text); }
.pfeat p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.pfeat b { color: var(--text); }
.f-icon { font-size: 13px; letter-spacing: 0.14em; color: var(--amber); border: 1px solid rgba(183, 121, 31, 0.4); border-radius: 8px; padding: 3px 8px; }

/* ------------------------------------------------------------------ pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.price { padding: 32px 30px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)); border: 1px solid var(--line-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.4); }
.price.featured { border: 1.5px solid var(--gold); box-shadow: 0 0 80px rgba(227, 179, 92, 0.18), 0 30px 70px rgba(0, 0, 0, 0.4); }
.price p { margin: 0; color: var(--dim); font-size: 17px; }
.price-name { font-size: 13px !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.featured .price-name { color: var(--gold); }
.trial .price-name { color: var(--mint); }
.price-num { font-size: clamp(54px, 6vw, 84px) !important; line-height: 1; color: var(--cream) !important; margin: 22px 0 26px !important; letter-spacing: -0.03em; }
.price-num span { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--dim); margin-left: 10px; }
.featured .price-num { color: #fff1cf !important; }
.trial .price-num { font-size: clamp(44px, 4.6vw, 64px) !important; }
.price-notes { margin: 26px 0 0; color: var(--dim); font-size: 15px; }

/* ------------------------------------------------------------------ join */
.join-mark { width: clamp(80px, 9vw, 110px); height: auto; aspect-ratio: 424 / 560; --fold-a: url(#foldGold); --fold-b: url(#foldGold); --fold-turn: #b7791f; filter: drop-shadow(0 20px 60px rgba(227, 179, 92, 0.4)); }
.pro-join .early-form { justify-content: center; }
.free-note { margin: 18px 0 0; color: var(--dim); font-size: 15px; }
.free-note a { color: var(--mint); }

@media (max-width: 1020px) {
  .relay-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .relay-steps li::after { display: none; }
  .pfeat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .relay-steps, .pfeat-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .pro-page .nav-links { display: none; }
  .pro-page .brand-word { font-size: 19px; white-space: nowrap; }
  .pro-page .nav .btn-small { padding-inline: 14px; font-size: 14px; }
}
.pro-download { align-items: flex-start; margin-top: 8px; }
.pro-download .verify { text-align: left; }

/* ===================================================== Bots (beta.3): lineup, try-it demo, meet your bot */
.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; }
.hero-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-pills .pill-gold { margin: 0; }
.pill-new { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; color: var(--cream); background: rgba(158, 230, 196, 0.1); border: 1px solid rgba(158, 230, 196, 0.35); text-decoration: none; transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.pill-new:hover { background: rgba(158, 230, 196, 0.18); transform: translateY(-1px); }
.pill-new span { color: var(--mint); }

.pro-bots-stage { position: relative; padding-block: clamp(90px, 11vw, 150px); overflow: hidden; }
.bots-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 64px); }
.bots-head .lead { margin-inline: auto; }
.bots-head h2.display { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; margin: 10px 0 18px; }
.bots-lineup { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 18px); margin-bottom: 30px; }
.bots-lineup span { width: clamp(46px, 6vw, 72px); aspect-ratio: 1; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); animation: bd-bob 4.6s var(--ease-in-out) infinite; }
.bots-lineup span:nth-child(2n) { animation-delay: -1.4s; }
.bots-lineup span:nth-child(3n) { animation-delay: -2.6s; }
@keyframes bd-bob { 50% { translate: 0 -8px; } }

/* Portraits (SVG from bots-demo.js) */
.pb { width: 100%; height: 100%; display: block; overflow: visible; }
.pb-lid { transform-box: fill-box; transform-origin: center; animation: pb-blink 3s infinite; }
.pb-look { animation: pb-look 3.4s var(--ease-in-out) infinite; }
.pb-working .pb-look { animation-duration: 1.3s; }
.pb-scan { animation: pb-scan 1.8s var(--ease-in-out) infinite alternate; }
.pb-tip { fill: #fff4cf; animation: pb-tip 2.2s infinite; }
.pb-working .pb-tip { fill: #9ee6c4; animation-duration: 0.8s; }
.pb-waiting .pb-orb { filter: drop-shadow(0 0 14px rgba(227, 179, 92, 0.75)); }
.pb-ask { transform-box: fill-box; transform-origin: center; animation: pb-pop 0.35s var(--ease-out) both; }
@keyframes pb-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.12); } }
@keyframes pb-look { 0%, 100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }
@keyframes pb-scan { to { transform: translateX(38px); } }
@keyframes pb-tip { 50% { opacity: 0.35; } }
@keyframes pb-pop { from { transform: scale(0.3); opacity: 0; } }

.bots-play { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 22px; align-items: stretch; margin-bottom: clamp(50px, 7vw, 80px); }

/* The try-it desk: a paper card on the dark stage */
.bd-desk { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: var(--paper); color: var(--text); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(227, 179, 92, 0.25); overflow: hidden; min-height: 470px; }
.bd-top { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line-paper); background: linear-gradient(180deg, var(--raised), var(--paper)); }
.bd-face { width: 52px; height: 52px; flex: none; }
.bd-name { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.bd-status { margin: 3px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.bd-status[data-tone="working"], .bd-status[data-tone="done"] { color: var(--green); }
.bd-status[data-tone="waiting"] { color: var(--amber); }
.bd-try { margin-left: auto; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #2a1e06; background: linear-gradient(180deg, #fff1cf, var(--gold)); }
.bd-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); min-height: 0; }
.bd-thread { padding: 20px 20px 56px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 420px; }
.bd-thread > * { flex-shrink: 0; animation: bd-rise 0.4s var(--ease-out) both; }
@keyframes bd-rise { from { opacity: 0; transform: translateY(10px); } }
.bd-you { align-self: flex-end; max-width: 92%; padding: 10px 14px; border-radius: 16px 16px 5px 16px; background: var(--green); color: var(--cream); font-size: 14.5px; line-height: 1.5; }
.bd-steps { align-self: flex-start; font-size: 13px; color: var(--muted); padding-left: 4px; }
.bd-shimmer { background: linear-gradient(90deg, var(--muted) 0%, var(--muted) 38%, var(--text) 50%, var(--muted) 62%, var(--muted) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bd-shimmer 2s linear infinite; }
@keyframes bd-shimmer { from { background-position: 100% 0; } to { background-position: -160% 0; } }
.bd-letter { position: relative; display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--raised); border: 1px solid rgba(168, 116, 28, 0.45); box-shadow: 0 14px 30px rgba(200, 150, 46, 0.18); overflow: hidden; }
.bd-letter::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #f6dc9b, #d9a441); }
.bd-seal { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #2a1e06; background: linear-gradient(180deg, #fff1cf, var(--gold)); box-shadow: 0 0 0 4px rgba(227, 179, 92, 0.18); }
.bd-from { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a5f12; }
.bd-action { margin: 4px 0 2px; font-family: var(--display); font-size: 18px; line-height: 1.3; }
.bd-why { margin: 0; font-size: 13px; color: var(--text-2); }
.bd-buttons { display: flex; gap: 8px; margin-top: 12px; }
.bd-buttons button { font: 600 13.5px var(--sans); padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: transform 0.15s var(--ease-out); }
.bd-buttons button:hover { transform: translateY(-1px); }
.bd-allow { background: var(--green); color: var(--cream); border: 0; animation: bd-ping 1.8s infinite; }
.bd-deny { background: transparent; color: var(--text-2); border: 1px solid var(--line-paper); }
.bd-allow:focus-visible, .bd-deny:focus-visible, .bd-replay:focus-visible, .bd-reroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@keyframes bd-ping { 0% { box-shadow: 0 0 0 0 rgba(30, 107, 79, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(30, 107, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 107, 79, 0); } }
.bd-answered { font-size: 13px; color: var(--muted); }
.bd-letter.answered { box-shadow: none; }
.bd-reply b { font-family: var(--display); font-size: 15px; }
.bd-reply p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; }
.bd-replay { position: absolute; left: 20px; bottom: 16px; font: 600 13px var(--sans); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-paper); background: var(--raised); color: var(--text); cursor: pointer; }

/* Its computer, beside the conversation */
.bd-screen { margin: 16px 16px 16px 0; border-radius: 16px; padding: 7px; background: linear-gradient(180deg, #2a2823, #1a1915); display: flex; flex-direction: column; transition: opacity 0.4s var(--ease-out); }
.bd-screen[data-state="off"] { opacity: 0.45; }
.bd-screen-bar { display: flex; align-items: center; gap: 8px; padding: 4px 8px 8px; font-size: 12px; color: #e8e2d4; font-family: var(--display); }
.bd-rec { width: 7px; height: 7px; border-radius: 50%; background: #6b665c; }
.bd-screen:not([data-state="off"]) .bd-rec { background: #ee6f5e; box-shadow: 0 0 8px #ee6f5e; animation: pb-tip 1.2s infinite; }
.bd-page { flex: 1; border-radius: 10px; background: #fff; padding: 14px; font-family: Georgia, serif; color: #222; }
.bd-page p { margin: 0; }
.bd-page-url { margin-bottom: 12px !important; padding: 5px 10px; border-radius: 6px; background: #eef1f5; font: 11.5px var(--sans); color: #555; }
.bd-page-h { margin-bottom: 10px !important; font-size: 20px; font-weight: 700; }
.bd-page-row { font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bd-input { display: inline-block; min-width: 92px; height: 20px; padding: 1px 5px; border: 1px solid #777; font-size: 12px; }
.bd-input i { font-style: normal; opacity: 0; transition: opacity 0.3s; }
.bd-btn { padding: 2px 7px; border: 1px solid #888; border-radius: 3px; background: #f0f0f0; font: 12px var(--sans); }
.bd-page-out { margin-top: 14px !important; font-size: 13px; }
.bd-out-done { display: none; color: #1e6b4f; font-weight: 700; }
.bd-screen[data-state="typed"] .bd-input i, .bd-screen[data-state="posted"] .bd-input i { opacity: 1; }
.bd-screen[data-state="posted"] .bd-out-idle { display: none; }
.bd-screen[data-state="posted"] .bd-out-done { display: inline; animation: bd-rise 0.4s var(--ease-out); }

/* Meet your bot */
.bd-meet { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 26px; background: var(--glass); border: 1px solid var(--line-dark); }
.bd-meet .eyebrow { margin: 0; }
.bd-meet-lead { margin: 0; color: var(--dim); font-size: 15px; }
.bd-meet-field input { width: 100%; box-sizing: border-box; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(0, 0, 0, 0.3); color: var(--cream); font: 500 16px var(--sans); }
.bd-meet-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227, 179, 92, 0.15); }
.bd-card { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 26px 18px 20px; border-radius: 22px; background: var(--paper); color: var(--text); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.bd-card p { margin: 0; }
.bd-card-face { width: 108px; height: 108px; margin-bottom: 10px; }
.bd-card-face.pop { animation: pb-pop 0.45s var(--ease-out); }
.bd-card-name { font-family: var(--display); font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.bd-card-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bd-reroll { margin-top: 12px; font: 600 12.5px var(--sans); padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-paper); background: var(--raised); color: var(--text-2); cursor: pointer; }
.bd-reroll:hover { color: #8a5f12; border-color: rgba(168, 116, 28, 0.45); }
.bd-meet .btn { align-self: stretch; text-align: center; justify-content: center; }

.bots-film { margin-bottom: clamp(40px, 6vw, 70px); }
.bots-film figcaption { color: var(--dim); }

@media (max-width: 980px) {
  .bots-play { grid-template-columns: 1fr; }
  .bd-body { grid-template-columns: 1fr; }
  .bd-screen { margin: 0 16px 60px; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .bots-lineup span, .pb-lid, .pb-look, .pb-scan, .pb-tip, .bd-allow, .bd-shimmer { animation: none !important; }
}
