/* Shared production design. Prototype pages load their own independent styles. */
:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #65655f;
  --line: #deded8;
  --paper: #f6f6f2;
  --accent: #ffb000;
}
* { box-sizing: border-box; }
html { background: #fff; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }
button, input, select, textarea { font: inherit; max-width: 100%; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(40px, 5.4vw, 72px); margin: 0 0 30px; max-width: 1050px; }
h2 { font-size: clamp(28px, 3vw, 40px); margin: 56px 0 22px; }
h3 { font-size: 25px; margin: 36px 0 18px; }
p { margin: 0 0 20px; }
hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
ul, ol { padding-left: 0; list-style: none; margin: 24px 0; }
li { padding: 14px 0; border-bottom: 1px solid var(--line); }
li:last-child { border-bottom: 0; }
ol { counter-reset: item; }
ol > li { counter-increment: item; padding-left: 40px; position: relative; }
ol > li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; color: var(--muted); font-size: 13px; line-height: 26px; }
pre, code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 14px; }
code { overflow-wrap: anywhere; }
pre { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 24px; overflow-x: auto; margin: 24px 0; line-height: 1.7; }
pre.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
button {
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
button:hover { background: #f0a600; border-color: #f0a600; }
button:disabled { cursor: not-allowed; opacity: .55; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea {
  border: 1px solid #c8c8c1;
  border-radius: 4px;
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
}
input[type=checkbox], input[type=radio] { accent-color: var(--ink); }
textarea { width: 100%; resize: vertical; }
label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.small { letter-spacing: normal; font-size: 14px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.err { color: #a32320; }
.ok { color: #28603e; }
.price { color: inherit; font-weight: 600; }
.linkbutton { border: 0; border-radius: 0; background: none; padding: 0; color: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 4px; }
.linkbutton:hover { background: none; text-decoration-color: var(--accent); }
.site-content { width: calc(100% - 96px); max-width: 1280px; margin: 0 auto; padding: 70px 0 100px; min-height: 52vh; }
.site-content > p { max-width: 900px; }

/* Navigation preserves the native checkout form and works without a menu script. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 104px; padding: 24px 0; width: calc(100% - 96px); max-width: 1360px; margin: 0 auto; border-bottom: 1px solid var(--line); }
#masthead { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex-shrink: 0; }
#masthead .logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 27px; line-height: 1; letter-spacing: -.06em; font-weight: 700; text-decoration: none; }
#masthead .logo svg { width: 25px; height: 25px; }
#masthead .bc { color: var(--muted); font-size: 11px; line-height: 1.4; }
#topnav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; flex-wrap: wrap; font-size: 13px; line-height: 1.3; }
#topnav a { text-decoration: none; white-space: nowrap; padding: 8px 0; }
#topnav a:hover, #topnav a[aria-current=page] { text-decoration: underline; text-underline-offset: 6px; }
#topnav .navform { display: inline; margin: 0; }
#topnav .navform button { padding: 12px 19px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
#topnav .navform button:hover { background: #333; border-color: #333; }
footer { border-top: 1px solid var(--line); background: var(--paper); padding: 46px 0 30px; color: var(--muted); font-size: 13px; }
.footer-inner { width: calc(100% - 96px); max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer-brand { font-size: 28px; font-weight: 700; letter-spacing: -.06em; color: var(--ink); text-decoration: none; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-meta { grid-column: 1 / -1; display: flex; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-socials { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.footer-socials a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.footer-socials a:hover { text-decoration: underline; }
.footer-socials svg { flex: none; }
footer .rss-link svg { vertical-align: -.125em; }

/* Reusable forms and setup panels. Hidden prompts stay hidden until requested. */
.box, .notice { padding: 28px; margin: 28px 0; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.box > :first-child, .notice > :first-child { margin-top: 0; }
.box > :last-child, .notice > :last-child { margin-bottom: 0; }
.callout { background: var(--paper); }
.copyblock { margin: 24px 0; }
.copyblock .copy-prompt { border: 1px solid var(--ink); border-radius: 4px; padding: 12px 18px; font-size: 13px; font-weight: 600; text-decoration: none; }
.copyblock .copy-prompt:hover { background: var(--paper); }
.copyblock textarea:not([hidden]) { display: block; width: 100%; margin-top: 14px; padding: 22px; background: var(--paper); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: 13px; line-height: 1.7; }
.server-url { overflow-wrap: anywhere; }
.key { padding: 4px 8px; background: #fff0cc; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; }
.cols { display: flex; flex-wrap: wrap; gap: 48px; }
.cols > div { flex: 1 1 280px; min-width: 0; }
.cols h3 { margin-top: 0; }
.buy { margin: 24px 0; }
.buy input[type=text], .buy input[type=email] { width: 260px; }
.buy .amount { width: 100px; }
.check { display: block; margin: 16px 0; color: var(--muted); font-size: 13px; font-weight: 400; }
.check input { margin: 0 6px 0 0; vertical-align: -.1em; }
form.inline { margin: 18px 0; }
.inline-form { display: inline; }
.form { max-width: 680px; }
.form .row { margin: 18px 0; }
.form input[type=text], .form input[type=email] { width: 360px; }
.form .actions { margin-top: 22px; }

/* Account and directory tables retain their structure on small screens. */
table { width: 100%; border-collapse: collapse; margin: 24px 0; }
td, th { text-align: left; padding: 17px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 12px; font-weight: 500; background: var(--paper); }
td { font-size: 14px; }
.rows td:first-child, .rows th:first-child { padding-left: 16px; }
.rows tr:hover td { background: #fafaf7; }
.rows .d { color: var(--muted); white-space: nowrap; font-size: 13px; }
.rows .n, .stats th.n, .stats td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; white-space: nowrap; background: var(--paper); }
.st-completed { color: #28603e; background: #eef5ef; border-color: #cddfce; }
.st-failed, .st-busy, .st-no_answer, .st-canceled { color: #a32320; background: #fff2ef; border-color: #efd5ce; }
.st-dialing, .st-in_progress, .st-queued { color: #785214; background: #fff4d8; border-color: #eddfb9; }
.page-account .site-content { max-width: 1120px; }
.page-account .buy { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.page-account .buy > label:first-child { margin-top: 0; }
.page-account .buy select { max-width: min(100%, 650px); }
.page-account .site-content > h2 { border-top: 1px solid var(--line); padding-top: 42px; }
.page-call h1 .small { display: block; margin-top: 16px; font-weight: 400; }
.page-call .site-content, .page-mcp .site-content, .page-welcome .site-content, .page-key .site-content { max-width: 960px; }
.page-login .site-content, .page-consent .site-content { max-width: 680px; padding-top: 90px; padding-bottom: 120px; }
.page-login h1, .page-consent h1 { font-size: clamp(40px, 5vw, 60px); }
.page-login form.inline button { min-width: 260px; }
.page-login details { margin: 30px 0; }
.page-login details form { display: grid; gap: 12px; margin-top: 16px; }
.page-privacy .site-content, .page-terms .site-content, .page-rules .site-content, .page-support .site-content { max-width: 900px; }
.page-privacy h2 { font-size: 30px; }
.page-companies .site-content > main > p { max-width: 850px; }
.page-companies section { margin-top: 52px; }

/* Native recordings, transcript disclosures and status information. */
.transcript { max-width: 900px; margin-top: 24px; border-top: 1px solid var(--line); }
.transcript p { padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
.transcript .who { display: inline-block; color: var(--muted); min-width: 5em; font-size: 13px; font-weight: 600; }
.transcript .q, .page-call p.q { background: var(--paper); padding: 18px; border-left: 2px solid var(--accent); }
.sample { color: var(--muted); font-style: italic; }
audio { width: 100%; display: block; }
.recording { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; margin: 24px 0; }
.recording audio { max-width: 650px; margin: 0 0 14px; }
.recording p { margin-bottom: 0; }
.examples { max-width: 1040px; margin: 0 auto; }
.examples > p { max-width: 840px; }
.example { border: 1px solid var(--line); border-radius: 5px; padding: 36px; margin: 28px 0; background: var(--paper); scroll-margin-top: 24px; }
.example h2 { margin-top: 0; font-size: clamp(27px, 3vw, 36px); }
.example audio { max-width: 680px; margin: 24px 0 16px; }
.example details { margin: 24px 0 0; border-top: 1px solid var(--line); }
.example summary { padding-top: 18px; font-size: 14px; }
.example-transcript { margin-top: 20px; }
.example-transcript p { margin: 14px 0; }
.example-transcript .example-cut { color: var(--muted); padding-left: 16px; border-left: 2px solid #c6c6bd; }
.page-voices .examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.page-voices .examples > :not(.example) { grid-column: 1 / -1; }
.page-voices .example { padding: 28px; margin: 20px 0 4px; }
.page-voices .example audio { margin: 0 0 22px; }
.page-voices .example p { margin-bottom: 8px; }
.page-voices .example audio:last-child { margin-bottom: 0; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; margin-left: 20px; font-size: 20px; line-height: 1.2; font-weight: 400; }
details[open] > summary::after { content: '−'; }
#faq { margin-top: 64px; }
.faq details { padding: 24px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-size: 18px; font-weight: 500; padding-right: 4px; }
.faq details p { max-width: 850px; color: var(--muted); margin: 20px 36px 0 0; }

@media (max-width: 1100px) {
  .site-header { gap: 24px; }
  #topnav { gap: 14px; font-size: 12px; }
  #masthead .bc { max-width: 170px; }
  #topnav .navform button { padding: 11px 14px; font-size: 12px; }
}
@media (max-width: 850px) {
  .site-header { flex-wrap: wrap; padding: 24px 0 20px; gap: 22px; }
  #masthead { flex-direction: row; align-items: center; gap: 18px; }
  #masthead .bc { max-width: none; }
  #topnav { width: 100%; justify-content: flex-start; gap: 12px 22px; }
  #topnav .navform { margin-left: auto; }
  .site-content { padding-top: 52px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .page-voices .examples { grid-template-columns: 1fr; }
  .page-account .buy select { display: block; margin-bottom: 12px; }
}
@media (max-width: 600px) {
  .site-header, .site-content, .footer-inner { width: calc(100% - 40px); }
  .site-header { padding-top: 22px; gap: 18px; }
  #masthead { flex-wrap: wrap; max-width: 100%; gap: 8px 18px; }
  #masthead .logo { font-size: 26px; }
  #masthead .bc { font-size: 10px; max-width: 170px; }
  #topnav { gap: 10px 18px; }
  #topnav a { padding: 5px 0; }
  #topnav .navform { margin-left: 0; }
  #topnav .navform button { padding: 9px 13px; }
  .site-content { padding: 44px 0 64px; }
  h1 { font-size: 42px; margin-bottom: 24px; }
  h2 { margin-top: 40px; font-size: 30px; }
  h3 { font-size: 24px; }
  pre { padding: 18px; }
  .cols { gap: 28px; }
  .box, .notice, .page-account .buy, .example, .page-voices .example { padding: 22px; }
  .copyblock .copy-prompt { text-align: left; }
  .copyblock textarea:not([hidden]) { padding: 16px; font-size: 12px; }
  .buy input[type=text], .buy input[type=email] { width: 100%; margin-bottom: 12px; }
  .buy input.amount { width: 90px; margin-bottom: 0; }
  .buy button { padding-left: 15px; padding-right: 15px; }
  .form input[type=text], .form input[type=email] { width: 100%; }
  .page-login .site-content, .page-consent .site-content { padding-top: 50px; padding-bottom: 70px; }
  .page-login form.inline button { width: 100%; }
  .rows, .rows tbody, .rows tr, .rows td { display: block; width: 100%; }
  .rows thead { display: none; }
  .rows tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .rows td, .rows td:first-child { padding: 5px 0; border: 0; text-align: left; overflow-wrap: anywhere; }
  .rows .n, .stats td.n { text-align: left; white-space: normal; }
  .rows td:first-child { font-weight: 600; }
  .rows td:empty { display: none; }
  .rows .inline-form button { margin-top: 6px; }
  .example { margin: 22px 0; }
  .example h2 { font-size: 28px; }
  .faq details { padding: 21px 0; }
  .faq summary { font-size: 16px; }
  .faq details p { margin-right: 0; font-size: 15px; }
  .footer-links { gap: 14px 23px; }
  .footer-meta { padding-top: 24px; gap: 12px; }
  .footer-socials { width: 100%; margin: 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
