:root {
  font-family: system-ui, sans-serif;
  color: #142d3b;
  background: #edf4f5;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; padding: clamp(1rem, 5vw, 4rem); }
main {
  max-width: 43rem;
  margin: auto;
  background: #fff;
  padding: clamp(1.15rem, 5vw, 2.8rem);
  border: 1px solid #cedde1;
  border-radius: 1.35rem;
  box-shadow: 0 12px 40px #16364412;
}
.brand { color: #14665c; font-weight: 750; }
h1 { margin: .2rem 0 1rem; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.05em; }
h2 { margin: 0 0 .55rem; font-size: 1rem; }
p { line-height: 1.55; margin: 0 0 .8rem; }
.call { margin: 1.5rem 0; padding: 1.15rem; background: #f1f7f7; border-radius: .8rem; }
#state { font-weight: 700; }
#clock { color: #435e68; float: right; font-variant-numeric: tabular-nums; }
.language { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .85rem; }
.language select { font: inherit; color: inherit; background: #fff; border: 1px solid #a7c0c2; border-radius: .4rem; padding: .35rem .5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: .85rem 0; }
button {
  font: inherit;
  font-weight: 700;
  padding: .62rem 1rem;
  background: #126156;
  color: #fff;
  border: 1px solid #126156;
  border-radius: .5rem;
  cursor: pointer;
  min-height: 44px;
}
button.secondary { background: #fff; color: #126156; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, select:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #b9651a; outline-offset: 2px; }
.note { margin-bottom: 0; font-size: .88rem; color: #405861; }
section { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #dce6e9; }
ul { margin: 0; padding: 0; list-style: none; }
li { margin-bottom: .7rem; }
li p { margin: .15rem 0 0; font-size: .92rem; }
a { color: #125f54; font-weight: 650; }
textarea { display: block; width: 100%; margin-top: .35rem; padding: .65rem; font: inherit; color: inherit; border: 1px solid #a7c0c2; border-radius: .4rem; resize: vertical; }
#transcript { white-space: pre-wrap; overflow-wrap: anywhere; }
[data-demo="bente"] .language,
[data-demo="bente"] #examples,
[data-demo="bente"] #stop:disabled,
[data-demo="bente"] #start:disabled { display: none; }
@media (max-width: 480px) {
  .call .actions > button { flex: 1; }
  .language select { padding-block: .55rem; }
}
