:root {
  color: #1f211d;
  background: #f8f6f2;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

#foh-widget-root:not([data-talk-visible="true"]) {
  visibility: hidden;
  pointer-events: none;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(198, 220, 186, 0.28), transparent 34rem),
    #f8f6f2;
  display: grid;
  grid-template-rows: 1fr auto;
}

main {
  width: min(42rem, calc(100% - 2.5rem));
  margin: auto;
  padding: 4rem 0 2rem;
  text-align: center;
}

.mark {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 2.25rem;
  border: 1px solid rgba(31, 33, 29, 0.16);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: #49624e;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 10vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.lede {
  max-width: 31rem;
  margin: 1.5rem auto 2.5rem;
  color: #62645e;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.55;
}

.start {
  width: min(27rem, 100%);
  min-height: 6.25rem;
  border: 1px solid rgba(31, 33, 29, 0.12);
  border-radius: 1.4rem;
  background: #fffdf9;
  box-shadow: 0 1.5rem 4rem rgba(31, 33, 29, 0.08);
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.start:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 1.75rem 4.5rem rgba(31, 33, 29, 0.12);
}

.start:focus-visible { outline: 3px solid rgba(73, 98, 78, 0.32); outline-offset: 4px; }
.start:disabled { cursor: wait; opacity: 0.62; }

.mic {
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #dce9d5;
  display: grid;
  place-items: center;
}

.mic svg {
  width: 1.55rem;
  fill: none;
  stroke: #24422e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.start strong, .start small { display: block; }
.start strong { font-size: 1rem; font-weight: 650; }
.start small { margin-top: 0.32rem; color: #74766f; font-size: 0.78rem; }

.status { min-height: 1.25rem; margin: 1.15rem 0 0; color: #74766f; font-size: 0.78rem; }

footer {
  padding: 1.5rem;
  color: #777971;
  font-size: 0.72rem;
  text-align: center;
}

.dot {
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #6f9675;
  display: inline-block;
  vertical-align: 0.04rem;
}

@media (max-width: 38rem) {
  main { padding-top: 2.5rem; }
  .mark { margin-bottom: 1.75rem; }
  .start { min-height: 5.75rem; }
  footer { padding-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .start { transition: none; }
}
