/* The two live blocks of the old homepage (real voice demo #dokimi, request form #epikoinonia), restyled in the
   new page's tokens. Their markup and their script (/assets/sws10.js) are the live ones, unchanged. */
.live-try [hidden], .live-form [hidden] { display: none !important; }
.live-try .sr, .live-form .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the live blocks grow with their content (ten answers, a call that runs): never a fixed screen that overflows */
main > .section.live-faq, main > .section.live-try, main > .section.live-form { height: auto; min-height: 100vh; min-height: 100svh; }

/* the demo */
.live-try .s-try-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-9, 64px); align-items: center; }
.live-try .s-try-copy { display: grid; gap: var(--s-5); align-content: start; }
.live-try h2 { margin: 0; }
.live-try .t-lead { margin: 0; }
.live-try .terms { margin: 0; display: grid; gap: var(--s-3); }
.live-try .terms div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.live-try .terms dt { color: var(--muted); }
.live-try .terms dd { margin: 0; }
.live-try .who-picks { margin: 0; color: var(--muted); }
.live-try .acts { margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.live-try .btn svg, .live-form .btn svg { width: 18px; height: 18px; fill: currentColor; margin-right: 8px; }
.live-try .d-box { display: grid; gap: var(--s-3); justify-items: center; }
.live-try .d-tag { margin: 0; font-size: 14px; color: var(--muted); }
.live-try .phone { width: min(100%, 400px); padding: 12px; border-radius: 40px; background: var(--stage); box-shadow: 0 30px 60px rgba(6, 48, 44, .25); }
.live-try .demo { inset: auto; left: auto; bottom: auto; width: auto; max-height: none; overflow: visible; z-index: auto; border: 0; position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 560px; padding: 18px 20px 22px; border-radius: 30px; background: #072a27; color: #f2f7f6; font-size: 15px; line-height: 1.45; }
.live-try .notch { width: 92px; height: 24px; margin: 0 auto 4px; border-radius: 14px; background: #000; }
.live-try .shop { display: grid; gap: 2px; text-align: center; }
.live-try .shop span { font-size: 13px; color: #a6c3be; }
.live-try .shop b { font-size: 20px; font-weight: 600; }
.live-try .pick { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.live-try .pick button { flex: 0 0 auto; width: auto; min-height: 40px; padding: 0 12px; border: 1px solid rgba(242, 247, 246, .22); border-radius: 10px; background: none; color: inherit; font: 500 14px/1 var(--font-text); cursor: pointer; }
.live-try .pick button[aria-checked="true"] { border-color: transparent; background: #f2a25a; color: #0a2b28; }
.live-try .idle { display: grid; gap: 14px; margin-top: auto; }
.live-try .talk { display: grid; justify-items: center; gap: 10px; width: 100%; padding: 22px 16px; border: 0; border-radius: 18px; background: #f2a25a; color: #0a2b28; font: 600 17px/1.25 var(--font-text); cursor: pointer; transition: transform .15s ease; }
.live-try .talk:hover { transform: translateY(-1px); }
.live-try .talk:active { transform: translateY(1px); }
.live-try .talk:disabled { opacity: .6; cursor: default; }
.live-try .mic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #0a2b28; color: #f2a25a; }
.live-try .mic svg { width: 30px; height: 30px; fill: currentColor; }
.live-try .try { margin: 0; color: #a6c3be; text-align: center; }
.live-try .try q { color: #f2f7f6; }
.live-try .typebtn, .live-try .end { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid rgba(242, 247, 246, .3); border-radius: 12px; background: none; color: inherit; font: 500 15px/1.2 var(--font-text); cursor: pointer; }
.live-try .fine { margin: 0; font-size: 12.5px; color: #a6c3be; }
.live-try .fine a { color: inherit; }
.live-try .live { display: flex; flex-direction: column; gap: 12px; flex: 1; outline: none; }
.live-try .state { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #a6c3be; }
.live-try .who { display: inline-flex; align-items: center; gap: 8px; }
.live-try .bars { display: inline-flex; gap: 2px; align-items: center; height: 14px; }
.live-try .bars i { width: 3px; height: 6px; border-radius: 2px; background: #f2a25a; }
.live-try .speaking .bars i { animation: sws-bar .9s ease-in-out infinite; }
.live-try .speaking .bars i:nth-child(2) { animation-delay: .15s; }
.live-try .speaking .bars i:nth-child(3) { animation-delay: .3s; }
.live-try .speaking .bars i:nth-child(4) { animation-delay: .45s; }
@keyframes sws-bar { 50% { height: 14px; } }
.live-try .log { flex: 1; min-height: 240px; max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.live-try .log p { align-self: flex-start; max-width: 90%; margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(242, 247, 246, .09); }
.live-try .log p.me { align-self: flex-end; background: rgba(242, 162, 90, .24); }
.live-try .say { display: flex; gap: 8px; }
.live-try .say input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; border: 1px solid rgba(242, 247, 246, .3); border-radius: 12px; background: transparent; color: inherit; font: 400 16px/1 var(--font-text); }
.live-try .say button { min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: #f2a25a; color: #0a2b28; font: 600 15px/1 var(--font-text); cursor: pointer; }
.live-try .err { margin: 0; color: #ffb9a8; font-size: 14px; }
.live-try .done { display: grid; gap: 12px; margin-top: auto; }
.live-try .slip { padding: 14px 16px; border-radius: 14px; background: #ffffff; color: #0a2b28; }
.live-try .slip .hd { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed #c4d3cf; font-size: 14px; }
.live-try .slip .body { white-space: pre-line; font-size: 15px; line-height: 1.5; }
.live-try .note { margin: 0; font-size: 14px; color: #a6c3be; }
.live-try .d-next { display: block; padding: 14px; border-radius: 12px; background: #f2a25a; color: #0a2b28; font-weight: 600; text-align: center; text-decoration: none; }
.live-try .swap { opacity: .4; transition: opacity .25s ease; }

/* the request form */
.live-form h2 { margin: 0 0 var(--s-3); }
.live-form .t-lead { margin: 0; }
.live-form .contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-9, 64px); margin-top: var(--s-7, 40px); align-items: start; }
.live-form .lead-form, .live-form .lead-done { display: grid; gap: var(--s-4); padding: var(--s-6, 32px); border-radius: var(--r-md); background: var(--surface); }
.live-form .lf-pad { display: none; }
.live-form .lead-form h3, .live-form .lead-done h3 { margin: 0; }
.live-form .lf-sub, .live-form .lf-fine { margin: 0; color: var(--muted); }
.live-form .lf-fine { font-size: 13px; }
.live-form .lf-fine a, .live-form .small a { color: inherit; }
.live-form .lf-f label { display: block; margin-bottom: 6px; font-weight: 500; }
.live-form .lf-f label span { color: var(--muted); font-weight: 400; }
.live-form .lf-f input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); color: var(--ink); font: 400 16px/1 var(--font-text); }
.live-form .lf-f input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.live-form .lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.live-form .lf-err { margin: 0; color: #ffb9a8; }
.live-form .contact-call { display: grid; gap: var(--s-3); align-content: start; }
.live-form .cc-k, .live-form .small { margin: 0; color: var(--muted); }
.live-form .number { font: 600 clamp(28px, 4vw, 44px)/1.1 var(--font-display); color: var(--ink); text-decoration: none; }

@media (max-width: 1023px) {
  .live-try .s-try-grid, .live-form .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7, 40px); }
  /* on a phone the microphone comes right after the heading: terms and other links after it */
  .live-try .s-try-grid { gap: var(--s-5); }
  .live-try .s-try-copy { display: contents; }
  .live-try h2 { order: 1; } .live-try .t-lead { order: 2; } .live-try .d-box { order: 3; }
  .live-try .terms { order: 4; } .live-try .who-picks { order: 5; } .live-try .acts { order: 6; }
}
@media (max-width: 639px) {
  .live-try .demo { min-height: 500px; }
  .live-try .terms div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .live-try .speaking .bars i { animation: none; } .live-try .talk { transition: none; } }

/* the owners' questions */
.live-faq .s-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-9, 64px); align-items: start; }
.live-faq h2 { margin: 0 0 var(--s-3); }
.live-faq .t-lead { margin: 0; }
.live-faq .faq { border-top: 1px solid var(--line); }
.live-faq details { border-bottom: 1px solid var(--line); }
.live-faq summary { display: block; padding: var(--s-3) 0 0; font-weight: 500; font-size: 18px; list-style: none; pointer-events: none; }   /* answers always open (kit rule): no toggle */
.live-faq summary::-webkit-details-marker { display: none; }
.live-faq details p { margin: 0 0 var(--s-4); max-width: 62ch; color: var(--muted); line-height: 1.55; }
.live-faq details p a { color: inherit; }
@media (max-width: 1023px) { .live-faq .s-faq-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6, 32px); } }

.live-form .contact-call .btn { justify-self: start; }
