.cue-customer {
  color-scheme: dark;
  background: radial-gradient(ellipse 1000px 780px at 50% -240px, #30255b 0%, #151529 52%, #0a0c16 100%);
  color: #f5f3fb;
  --muted: #b4b5cc;
  --line: #302e47;
  --green: #d7c9ff;
  --panel: #121523;
  --accent: #cabbff;
  --ink: #0a0c16;
}
.cue-customer .customer-shell { max-width: 1336px; padding: 0 clamp(18px, 4vw, 52px) 40px; }
.cue-customer .customer-head { min-height: 82px; padding: 14px 0; align-items: center; }
.cue-wordmark { color: inherit !important; text-decoration: none; font-size: 26px; font-weight: 720; }
.cue-wordmark img { width: 37px; height: 37px; }
.customer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.5vw, 32px); }
.customer-nav a { color: #d9d7e7; font-size: 13px; font-weight: 630; text-decoration: none; }
.customer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.cue-customer :is(.primary,.secondary) {
  display: inline-flex; justify-content: center; align-items: center; gap: 11px;
  min-height: 42px; padding: 11px 18px; border-radius: 8px;
  white-space: normal; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700;
}
.cue-customer .primary { background: var(--accent); color: #171129; border: 1px solid var(--accent); }
.cue-customer .primary:hover { background: #e2d9ff; border-color: #e2d9ff; }
.cue-customer .secondary { background: #ffffff06; border: 1px solid #ffffff35; color: #eeebf8; }
.cue-customer .secondary:hover { background: #ffffff15; }
.cue-customer :is(button,a,input,select,textarea,summary):focus-visible { outline: 2px solid #dcd0ff; outline-offset: 4px; }
.cue-customer :is(#account-auth,#account-dashboard,#account-orders-section,#preview,#features,#why-cue,#use-cases,#pricing,#faq) { scroll-margin-top: 24px; }

.cue-hero { padding-top: clamp(46px, 6vw, 88px); }
.cue-hero-copy { max-width: 1040px; text-align: center; margin: 0 auto; }
.cue-kicker { color: #d5c9fc; font-size: 11px; line-height: 1.5; font-weight: 740; letter-spacing: .17em; text-transform: uppercase; }
.cue-kicker > span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #cabcff; margin-right: 6px; box-shadow: 0 0 15px #be9aff; }
.cue-hero h1 {
  font-weight: 700; font-size: clamp(40px, 6.05vw, 87px); line-height: 1;
  letter-spacing: -.072em; margin: clamp(14px, 2vw, 24px) auto 0;
}
.cue-hero h1 em { color: #c5b3ff; font-style: normal; }
.cue-hero-copy > p:not(.cue-kicker) { max-width: 730px; margin: 22px auto 0; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; }
.hero-actions { justify-content: center; margin: 24px 0 0; }
.hero-actions :is(.primary,.secondary) { padding: 13px 22px; min-height: 48px; font-size: 15px; }
.cue-hero-visual {
  margin: 40px 0 0;
  border: 1px solid #bba7ff4a; border-radius: 22px;
  overflow: hidden; background: #111321; box-shadow: 0 20px 100px #7549d01c;
}
.hero-scene { position: relative; }
.hero-scene .campaign-image { display: block; width: 100%; height: auto; }
.cue-float {
  display: block; position: absolute; height: auto; opacity: .5;
  transform: translate(-50%,-50%);
}
/* Each position is relative to the center of the display in its photograph. */
.hero-screen {
  left: 63%; top: 39.4%; width: min(33%,410px);
}
.cue-float.projected {
  top: 0; left: 0; width: 760px; height: 240px;
  max-width: none; transform-origin: 0 0;
}
.hero-caption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding: 14px 18px; font-size: 15px; color: #ebe6f9;
}
.hero-caption > span { flex: 1; min-width: 140px; font-weight: 720; }
.hero-caption small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 500; }
.cue-customer .hero-caption label { margin: 0; grid-template-columns: auto auto; align-items: center; gap: 6px; font-size: 13px; }
.hero-caption :is(select,input) { grid-column: 1/-1; }
.hero-caption select { padding: 6px 9px; min-width: 140px; }
.hero-caption output { font-variant-numeric: tabular-nums; }
.hero-caption #demo-opacity { min-width: 116px; margin: 4px 0; padding: 0; background: transparent; border: 0; accent-color: var(--accent); }
.cue-capabilities { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 34px; list-style: none; margin: 0; padding: 20px 0 0; color: #dcd9ec; }
.cue-capabilities li { display: flex; align-items: center; gap: 7px; font-size: 15px; }
.cue-capabilities li span { color: #c7b4ff; font-size: 17px; }

.cue-section { margin: clamp(58px, 8vw, 105px) 0; }
.cue-section-heading { max-width: 880px; margin-bottom: 26px; }
.cue-section-heading h2 { margin-top: 8px; font-size: clamp(34px, 4.6vw, 61px); line-height: 1.06; letter-spacing: -.06em; font-weight: 700; }
.cue-section-heading > p:last-child:not(.cue-kicker) { margin-top: 14px; max-width: 690px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; }
.cue-feature-grid, .cue-advantages, .faq-grid { display: grid; gap: 18px; }
.cue-feature-grid, .faq-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cue-feature { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); }
.feature-media { position: relative; aspect-ratio: 1.5; overflow: hidden; background: #211a30; }
.feature-media > img:not(.cue-float) { position: absolute; width: 200%; height: auto; top: 0; left: 0; display: block; }
.feature-media.feature-second > img:not(.cue-float) { left: -100%; }
.feature-media .cue-float:not(.projected) { width: 30%; }
.feature-interview .cue-float:not(.projected) { left: 29%; top: 38%; }
.feature-technical .cue-float:not(.projected) { left: 68%; top: 39%; }
.feature-team .cue-float:not(.projected) { left: 58%; top: 36%; }
.feature-copy { padding: clamp(17px, 2.5vw, 30px); }
.feature-copy h3 { font-size: clamp(24px, 2.9vw, 38px); line-height: 1.1; font-weight: 710; letter-spacing: -.055em; }
.feature-copy p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; margin-top: 10px; }
.cue-advantages { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cue-advantages article { padding: clamp(17px, 2.2vw, 31px); border: 1px solid var(--line); border-radius: 15px; background: #10131f; }
.cue-advantages .advantage-cue { border-color: #a28acb; background: linear-gradient(140deg,#292042,#17172a); }
.cue-advantages h3 { font-size: clamp(19px, 2vw, 27px); line-height: 1.15; font-weight: 690; letter-spacing: -.035em; }
.cue-advantages p { margin-top: 9px; font-size: 16px; line-height: 1.55; }

.cue-compare, .cue-stories { display: grid; gap: 16px; }
.cue-compare { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cue-stories { grid-template-columns: repeat(3,minmax(0,1fr)); }
.compare-card, .cue-story { min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); overflow: hidden; }
.compare-with { border-color: #8b72d5aa; }
.comparison-media, .story-media { position: relative; overflow: hidden; background: #17172b; }
.comparison-media { aspect-ratio: 1; }
.story-media { aspect-ratio: 1.35; }
.comparison-photo, .story-media img { position: absolute; top: 0; left: 0; height: auto; display: block; max-width: none; }
.comparison-photo { width: 200%; }
.compare-with .comparison-photo { left: -100%; }
.story-media img { width: 300%; }
.story-media img.story-second { left: -100%; }
.story-media img.story-third { left: -200%; }
.compare-label {
  position: absolute; top: 12px; left: 12px; padding: 6px 10px; border: 1px solid #ffffff50;
  background: #111321e0; color: #fff; border-radius: 6px; font-size: 11px; font-weight: 680;
}
.compare-with .compare-label { background: #cabbff; color: #1c1531; border-color: #cabbff; }
.comparison-ui {
  top: 40%; left: 65.2%; width: 33%;
}
.compare-copy, .story-copy { padding: 18px 20px 22px; }
.compare-copy h3, .story-copy h3 { font-size: clamp(21px, 2.2vw, 29px); font-weight: 690; letter-spacing: -.035em; }
.compare-copy p, .story-copy p { font-size: 16px; line-height: 1.6; margin-top: 7px; }
.scene-note { margin-top: 12px; font-size: 12px; }

.cue-start {
  padding: clamp(23px, 4vw, 48px); border: 1px solid #413759; border-radius: 20px;
  background: linear-gradient(115deg, #25203b, #131726 72%);
}
.cue-start ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; counter-reset: step; padding: 0; margin: 26px 0; gap: 14px; }
.cue-start li { counter-increment: step; padding: 16px; border: 1px solid #ffffff20; border-radius: 12px; background: #0c0e1952; }
.cue-start li::before { content: counter(step); display: grid; place-items: center; border: 1px solid #aa96f37a; color: #e2d6ff; border-radius: 50%; width: 25px; height: 25px; margin-bottom: 12px; font-size: 12px; }
.cue-start li strong { display: block; font-size: 15px; }
.cue-start li span { display: block; margin-top: 6px; line-height: 1.55; color: var(--muted); }
.faq-grid { align-items: start; }
.faq-group { padding: 18px clamp(14px, 2.1vw, 26px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.faq-group h3 { color: #e7dcff; font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.cue-faq details { border-top: 1px solid var(--line); }
.cue-faq summary { cursor: pointer; padding: 13px 0; font-size: 16px; font-weight: 670; line-height: 1.45; }
.cue-faq summary:hover, .cue-faq details[open] summary { color: #dccbff; }
.cue-faq details p { padding: 0 0 14px; font-size: 15px; line-height: 1.6; }

.cue-customer #account-auth { max-width: 610px; margin: 44px auto; }
.auth-password-field { display: grid; gap: 6px; }
.auth-password-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.auth-password-control input { min-width: 0; }
.auth-password-control button { white-space: nowrap; }
.auth-provider { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cue-customer .google-signin {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  padding: 0 12px; border: 1px solid #747775; border-radius: 6px;
  background: #fff; color: #1f1f1f; font: 500 14px/20px "Google Sans", Roboto, Arial, sans-serif;
}
.cue-customer .google-signin:hover { background: #f2f5fa; }
.cue-customer .google-signin img { display: block; flex: 0 0 18px; }
.auth-provider .fine { margin-bottom: 8px; }
.cue-customer .account-heading { margin-top: 28px; }
.account-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 18px;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid #514361;
  border-radius: 14px;
  background: #19172b;
}
.account-next > div { flex: 1 1 300px; min-width: 0; }
.account-next h3 { margin-bottom: 5px; font-size: 18px; }
.account-next p { line-height: 1.6; }
#link-form { scroll-margin-top: 24px; }
.cue-customer :is(input,select,textarea) { color: #f0ecfb; background: #0e101d; border-color: #514865; }
.cue-customer label { color: #e1dcf0; font-size: 13px; }
.cue-customer .fine { font-size: 13px; }
.cue-customer .plan-cards { margin-bottom: 20px; }
.cue-customer .plan-card { display: flex; flex-direction: column; min-width: 0; }
.cue-customer .plan-card > button { margin-top: auto; }
.cue-customer .plan-card h3 { font-size: 19px; }
.cue-customer .plan-card .price { margin: 12px 0 4px; font-size: 43px; font-weight: 680; letter-spacing: -.045em; }
.cue-customer .plan-card .fine { margin-top: 0; }
.cue-customer .plan-card p { font-size: 14px; }
.wallet-picker { display: grid; grid-template-columns: minmax(76px,.7fr) minmax(0,1.3fr); gap: 10px; margin: 0 0 16px; }
.wallet-picker label { margin: 0; min-width: 0; }
.wallet-picker select { text-overflow: ellipsis; }
#live-captions-setup { margin-top: 48px; scroll-margin-top: 24px; }
#live-captions-setup p { max-width: 74ch; line-height: 1.6; }
#live-captions-setup .customer-actions { margin-top: 18px; }
#test-setup { margin-top: 22px; scroll-margin-top: 24px; }
.invoice-card {
  padding: clamp(16px, 3vw, 30px);
  scroll-margin-top: 24px;
}
.invoice-card[data-status="quoted"] { border-color: #66548b; background: #151525; }
.invoice-header { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.invoice-header h3 { font-size: clamp(18px, 2.5vw, 24px); }
.invoice-header p { margin: 4px 0 0; font-size: 13px; }
.invoice-status { padding: 5px 11px; border-radius: 99px; background: #24233b; color: #e0d6ff; font-size: 12px; }
.invoice-card[data-status="expired"] .invoice-status,
.invoice-card[data-status="rejected"] .invoice-status { color: #ffddba; background: #412a26; }
.invoice-card[data-status="confirmed"] .invoice-status { color: #c0f2d8; background: #17372e; }
.invoice-timing {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
  margin: 18px 0; padding: 10px 14px; border-radius: 10px;
  background: #282240; color: #ede5ff; font-size: 13px;
}
.invoice-clock { font-size: 26px; font-variant-numeric: tabular-nums; }
.invoice-timing small { margin-inline-start: auto; color: #d9cdee; }
.invoice-instructions { display: grid; grid-template-columns: minmax(0,1fr) minmax(135px,190px); gap: 16px; align-items: start; }
.invoice-fields { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.invoice-field { padding: 12px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.invoice-field + .invoice-field { border-top: 1px solid var(--line); }
.invoice-field-label { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.invoice-field strong { display: block; font: 600 13px/1.5 ui-monospace, Consolas, monospace; user-select: all; }
.invoice-field button { min-height: 32px; padding: 5px 9px; font-size: 12px; }
.invoice-qr { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.invoice-qr img { display: block; width: min(100%, 148px); height: auto; margin: 0 auto 8px; background: white; image-rendering: pixelated; }
.invoice-qr figcaption { color: var(--muted); font-size: 11px; line-height: 1.55; }
.invoice-receipt { display: flex; align-items: end; flex-wrap: wrap; gap: 8px 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.invoice-receipt label { flex: 1 1 300px; margin: 0; }
.invoice-card .invoice-receipt button { margin: 0; }
.invoice-recovery { margin: 12px 0; }
.invoice-recovery summary { width: fit-content; color: var(--accent); cursor: pointer; }
.invoice-card .invoice-reference { margin-bottom: 0; font-size: 11px; }
@media (max-width: 650px) {
  .invoice-instructions { grid-template-columns: minmax(0,1fr); }
  .invoice-qr { max-width: 190px; }
  .invoice-timing small { margin-inline-start: 0; }
}
.target-bots-promo {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 64px);
  margin-top: 48px;
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid #4e4269;
  border-radius: 20px;
  background: linear-gradient(135deg, #211b36, #141729);
}
.target-bots-promo h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.target-bots-promo p { line-height: 1.6; }
.target-bots-promo .customer-actions { margin: 20px 0 0; }
.target-bots-example {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f1221;
}
.target-bots-example figcaption { color: var(--muted); font-size: 13px; }
.target-bots-example p {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-inline-start: 3px solid #a9e8cf;
  border-radius: 8px;
  background: #1b292f;
  color: #e0f0ea;
}
@media (max-width: 720px) {
  .target-bots-promo { grid-template-columns: minmax(0, 1fr); }
}
.cue-customer .customer-footer { font-size: 12px; margin-top: 60px; }

@media (max-width: 850px) {
  .cue-customer .customer-head { flex-wrap: wrap; gap: 12px; }
  .customer-nav { order: 3; flex: 0 0 100%; padding-block: 3px; }
}
@media (max-width: 620px) {
  .cue-customer .customer-head .customer-actions { gap: 6px; }
  .cue-customer .customer-head :is(.primary,.secondary) { font-size: 12px; padding-inline: 9px; min-height: 38px; }
  .cue-wordmark { font-size: 23px; }
  .cue-wordmark img { width: 33px; height: 33px; }
  .cue-hero { padding-top: 38px; }
  .cue-hero h1 { font-size: clamp(36px, 9.5vw, 55px); }
  .cue-hero-copy > p:not(.cue-kicker) { margin-top: 16px; }
  .cue-hero-visual { margin-top: 28px; border-radius: 14px; }
  .hero-scene .campaign-image { min-height: 196px; object-fit: cover; }
  /* The landscape photo is cropped equally on both sides when it fills this height. */
  .hero-screen:not(.projected) { left: calc(50% + max(13%,61px)); width: min(40%,180px); }
  .hero-caption { padding: 10px 11px; gap: 10px 12px; }
  .hero-caption > span { flex-basis: 100%; }
  .hero-caption select { min-width: 130px; }
  .hero-caption #demo-opacity { min-width: 95px; }
  .cue-capabilities { gap: 9px 20px; }
  .cue-capabilities li { font-size: 13px; }
  .cue-feature-grid, .cue-advantages, .cue-compare, .cue-stories, .cue-start ol, .faq-grid { grid-template-columns: 1fr; }
}
