:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #242424;
  background: #faf9f6;
  --yellow: #ffcc00;
  --red: #d40511;
  --muted: #626262;
}
* { box-sizing: border-box; }
body { margin: 0; }
.masthead { min-height: 100px; padding: 25px max(5vw, 24px); background: var(--yellow); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-size: 46px; font-style: italic; font-weight: 900; letter-spacing: -4px; color: var(--red); text-decoration: none; }
.wordmark span { font-size: 23px; letter-spacing: -3px; }
.prototype { font-size: 10px; font-weight: 800; letter-spacing: 1.1px; border: 1px solid #ad8b00; border-radius: 30px; padding: 10px 15px; }
main { max-width: 1240px; margin: auto; padding: 64px 32px 38px; }
.eyebrow { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }
h1 { font-size: clamp(38px, 5vw, 65px); line-height: 1.06; letter-spacing: -2.6px; margin: 20px 0; }
.lead { max-width: 630px; color: var(--muted); line-height: 1.75; font-size: 17px; }
.experience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; margin-top: 55px; align-items: start; }
.call-panel { background: white; border: 1px solid #e8e5de; border-radius: 22px; padding: 30px; box-shadow: 0 15px 40px #27220c06; }
.section-heading { display: flex; align-items: center; gap: 11px; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; }
.step { display: grid; place-items: center; background: var(--yellow); width: 30px; height: 30px; border-radius: 50%; letter-spacing: 0; font-size: 11px; }
h2 { font-size: 29px; letter-spacing: -0.8px; margin: 18px 0 10px; }
.call-panel > p, .phone-caption { color: var(--muted); font-size: 14px; line-height: 1.7; }
.connection { display: flex; align-items: center; gap: 8px; font-size: 12px; margin: 25px 0 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #9c9b97; }
.dot.ready { background: #26804b; }
.dot.active { background: var(--red); box-shadow: 0 0 0 4px #d4051112; }
.dot.failed { background: #b94900; }
.widget-slot { min-height: 270px; border-radius: 15px; background: #faf9f6; padding: 15px; overflow: hidden; }
.hint { margin-top: 24px; padding: 17px; background: #fff9db; border-left: 3px solid var(--yellow); font-size: 12px; line-height: 1.7; border-radius: 0 8px 8px 0; }
.hint p { margin: 5px 0 0; }
.call-panel > .small { font-size: 11px; margin-top: 20px; }
.phone-panel { text-align: center; padding-top: 25px; }
.phone-panel > .section-heading { justify-content: center; }
.phone-caption { font-size: 12px; }
.phone { width: 310px; max-width: 100%; height: 565px; margin: 28px auto 20px; border: 8px solid #202020; border-radius: 46px; background: #f3f3f5; box-shadow: 0 28px 55px #24242420, inset 0 0 0 1px #999; position: relative; overflow: hidden; text-align: left; }
.phone-top { height: 45px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; font-size: 11px; font-weight: 700; position: relative; }
.island { background: #202020; width: 86px; height: 23px; border-radius: 20px; position: absolute; top: 5px; left: calc(50% - 43px); }
.messages-header { display: flex; flex-direction: column; align-items: center; gap: 5px; border-bottom: 1px solid #dedee2; padding: 3px 15px 15px; font-size: 13px; position: relative; }
.messages-header > span { position: absolute; left: 18px; top: 6px; font-size: 35px; color: var(--red); }
.contact-avatar { width: 43px; height: 43px; border-radius: 50%; background: var(--yellow); color: var(--red); display: grid; place-items: center; font-style: italic; font-weight: 900; font-size: 13px; }
.messages-header small { font-size: 8px; color: #777; letter-spacing: 1px; }
.inbox { height: 365px; overflow-y: auto; padding: 22px 15px; }
.empty-inbox { margin: 60px 12px 0; text-align: center; color: #7a7a82; font-size: 12px; line-height: 1.65; }
.empty-inbox strong { display: block; color: #515159; }
.envelope { display: block; font-size: 35px; color: #b1b1b8; margin-bottom: 14px; }
.message-time { text-align: center; font-size: 9px; color: #777; margin: 8px 0 12px; }
.sms-bubble { background: #e2e2e7; padding: 13px 15px; border-radius: 17px 17px 17px 4px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; margin-bottom: 14px; }
.sms-bubble a { color: #a4040d; display: inline-block; font-weight: 700; margin-top: 9px; }
.sms-bubble .expired { display: block; color: #626269; margin-top: 8px; font-size: 11px; }
.phone-bottom { position: absolute; bottom: 8px; left: 33%; width: 34%; height: 4px; border-radius: 5px; background: #202020; }
.form-status { font-size: 12px; color: #555; min-height: 20px; }
.secondary-button { border: 1px solid #ccc; border-radius: 6px; padding: 10px 16px; background: white; font: inherit; font-size: 12px; cursor: pointer; }
.secondary-button:disabled { opacity: .5; cursor: not-allowed; }
.email-panel { margin-top: 55px; border-top: 1px solid #e6e3da; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.email-panel h2 { font-size: 21px; margin-top: 8px; }
.email-panel p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.7; }
.status-pill { white-space: nowrap; border: 1px solid #ddd7bf; border-radius: 20px; background: #fff9df; padding: 10px 14px; color: #73601b; font-size: 10px; font-weight: 700; }
footer { max-width: 1176px; margin: auto; padding: 25px 0; border-top: 1px solid #e6e3da; display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #777; }
.error { padding: 12px; background: #fff0ef; border-radius: 6px; color: #a4040d !important; }
.flow-steps { margin-top: 20px; border-top: 1px solid #e6e3da; padding-top: 16px; }
.flow-steps h3 { font-size: 15px; margin: 0 0 8px; }
#flow-step-log { max-height: 230px; overflow-y: auto; }
.flow-step { padding: 10px 12px; border-radius: 6px; background: #f5f4f0; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.flow-step strong { display: block; font-size: 10px; color: #666; }
a:focus-visible, button:focus-visible { outline: 3px solid #005dab; outline-offset: 4px; }
.webrtc_widget_outer_wrapper { position: static !important; transform: none !important; width: 100% !important; min-height: 0 !important; padding: 0 !important; }
.webrtc_widget_container { width: 100% !important; min-width: 0 !important; box-shadow: none !important; }
.webrtc_widget_call_button { background: #d40511 !important; }
@media (max-width: 800px) {
  .masthead { flex-wrap: wrap; }
  .prototype { font-size: 8px; }
  main { padding: 35px 20px; }
  .experience { grid-template-columns: 1fr; gap: 20px; margin-top: 35px; }
  .call-panel { padding: 23px; }
  .email-panel { align-items: start; flex-direction: column; }
  footer { margin: 0 20px; flex-direction: column; }
}
