:root {
  color-scheme: dark;
  --ink: #f7f4ef;
  --muted: #a9a7ad;
  --panel: rgba(25, 23, 31, 0.82);
  --line: rgba(255, 255, 255, 0.09);
  --gold: #d6aa5c;
  --gold-pale: #ffe3a5;
  --red: #df5a60;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(93, 61, 116, .34), transparent 32rem),
    radial-gradient(circle at 82% 92%, rgba(129, 85, 34, .22), transparent 31rem),
    #0d0c11;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
}
.shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 48px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.brand-mark {
  display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255,227,165,.55);
  color: var(--gold-pale); font-family: Georgia, serif; font-size: 25px; border-radius: 50%;
  box-shadow: inset 0 0 0 5px #141119, 0 0 30px rgba(214,170,92,.12);
}
.eyebrow { margin: 0 0 1px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(23px, 4vw, 31px); font-weight: 500; letter-spacing: -.02em; }
.prototype { margin-left: auto; padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; font-size: 12px; }
.call-card {
  position: relative; overflow: hidden; min-height: 435px; display: flex; flex-direction: column; align-items: center;
  padding: 44px 24px 28px; text-align: center; border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(145deg, rgba(36,31,43,.92), var(--panel));
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.call-card::after { content: ""; position: absolute; inset: auto -10% -50% 40%; height: 300px; background: rgba(214,170,92,.06); filter: blur(70px); }
.orb-wrap { position: relative; display: grid; place-items: center; width: 166px; height: 166px; margin-bottom: 24px; }
.orb-wrap::before { content: ""; position: absolute; width: 100%; height: 100%; border: 1px solid rgba(214,170,92,.22); border-radius: 50%; }
.nora-voice-avatar { width: 142px; height: 142px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255,227,165,.62); box-shadow: 0 18px 44px rgba(0,0,0,.46); }
.orb {
  position: absolute; right: -2px; bottom: 3px; width: 54px; height: 54px; display: flex; justify-content: center; align-items: center; gap: 3px;
  border-radius: 50%; background: radial-gradient(circle at 36% 28%, #7c5e87, #322639 60%, #211b28);
  border: 2px solid #1c1721; box-shadow: 0 0 0 6px rgba(98,75,109,.16), 0 10px 25px rgba(0,0,0,.46);
}
.orb span { display: block; width: 3px; height: 9px; border-radius: 4px; background: var(--gold-pale); opacity: .82; transition: height .2s; }
.orb span:nth-child(2), .orb span:nth-child(4) { height: 16px; }
.orb span:nth-child(3) { height: 24px; }
.orb.active span { animation: voice .85s ease-in-out infinite alternate; }
.orb.active span:nth-child(2) { animation-delay: -.3s; }.orb.active span:nth-child(3) { animation-delay: -.6s; }.orb.active span:nth-child(4) { animation-delay: -.2s; }.orb.active span:nth-child(5) { animation-delay: -.45s; }
@keyframes voice { to { height: 28px; } }
.status-label { margin: 0 0 7px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(25px, 5vw, 38px); font-weight: 500; }
.status { min-height: 48px; max-width: 560px; margin: 12px auto 20px; color: var(--muted); line-height: 1.55; }
.actions { position: relative; z-index: 1; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.button { min-width: 158px; border: 0; border-radius: 999px; padding: 14px 20px; color: #171116; font: inherit; font-weight: 800; cursor: pointer; transition: transform .18s, opacity .18s, box-shadow .18s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.button:disabled { opacity: .35; cursor: not-allowed; }
.button-primary { background: linear-gradient(135deg, var(--gold-pale), var(--gold)); box-shadow: 0 12px 28px rgba(214,170,92,.18); }
.button-danger { color: white; background: rgba(223,90,96,.8); }
.phone-icon { font-size: 10px; margin-right: 6px; }
.timer { margin-top: 18px; color: #77747d; font-variant-numeric: tabular-nums; font-size: 13px; letter-spacing: .1em; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 15px; }
.info-grid article { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 15px; border: 1px solid var(--line); background: rgba(23,21,28,.66); border-radius: 16px; }
.info-icon { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 10px; color: var(--gold-pale); background: rgba(214,170,92,.1); font-weight: 800; font-size: 12px; }
h3 { margin: 0 0 4px; font-size: 13px; }.info-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.notice { margin-top: 14px; padding: 13px 16px; color: #99969e; border-left: 2px solid var(--gold); background: rgba(255,255,255,.025); font-size: 12px; line-height: 1.55; }
.notice strong { color: #d5d1d8; }
.chat-launch { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 16px 18px; border: 1px solid rgba(214,170,92,.28); border-radius: 16px; color: var(--gold-pale); background: rgba(214,170,92,.07); text-decoration: none; }
.chat-launch:hover { background: rgba(214,170,92,.11); }
.chat-launch strong, .chat-launch small { display: block; }.chat-launch small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.transcript-card, .test-card { margin-top: 15px; padding: 22px; border: 1px solid var(--line); background: rgba(23,21,28,.78); border-radius: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2 { font-size: 25px; }
.transcript-actions { display: flex; gap: 8px; }
.small-button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--ink); background: rgba(255,255,255,.05); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.small-button:disabled { opacity: .35; cursor: not-allowed; }
.privacy-note { margin: 10px 0 14px; color: var(--muted); font-size: 12px; }
.transcript { min-height: 120px; max-height: 360px; overflow-y: auto; padding: 15px; border-radius: 14px; background: rgba(5,5,8,.38); }
.empty-transcript { margin: 32px 0; color: #77747d; text-align: center; font-size: 13px; }
.turn { display: grid; grid-template-columns: 88px 1fr; gap: 10px; margin: 0 0 12px; line-height: 1.5; font-size: 14px; }
.turn:last-child { margin-bottom: 0; }.turn-speaker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.turn.assistant .turn-speaker { color: #bda7d0; }.turn-text { color: #dedbe2; white-space: pre-wrap; }
.scenario { margin: 14px 0 17px; padding: 14px; color: #c9c5cd; background: rgba(214,170,92,.06); border-radius: 12px; font-size: 13px; line-height: 1.55; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }.checklist label { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.4; }.checklist input { margin-top: 2px; accent-color: var(--gold); }
audio { display: none; }
@media (max-width: 700px) { .info-grid, .checklist { grid-template-columns: 1fr; } .prototype { display: none; } .call-card { min-height: 420px; padding-inline: 16px; } .section-heading { align-items: flex-start; flex-direction: column; }.turn { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
