:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --red: #ef4444;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.main { flex: 1; }
.wrap-5 { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.wrap-3 { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }

.site-header { background: #fff; border-bottom: 1px solid var(--slate-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; padding-bottom: .75rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.125rem; text-decoration: none; }
.brand .accent { color: var(--blue); }
.nav { display: none; gap: 1.25rem; font-size: .875rem; color: var(--slate-600); align-items: center; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav-cta { color: var(--blue); font-weight: 600; }
@media (min-width: 640px) { .nav { display: flex; } }

.hero { max-width: 64rem; margin: 0 auto; padding: 2.5rem 1rem 1.5rem; text-align: center; }
.hero h1 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.hero .sub { margin: .75rem 0 0; font-size: 1.125rem; color: var(--slate-600); }
.hero .sub2 { margin: .25rem 0 0; color: var(--slate-500); }
@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }

.panel { background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); padding: 1.5rem; }
.panel h2 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.panel .muted { color: var(--slate-500); font-size: .9rem; margin: .35rem 0 0; }
.panel-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .panel-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.panel-links { margin-top: .85rem; display: flex; flex-wrap: wrap; gap: .75rem; font-size: .9rem; }

.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); padding: 1.5rem; }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-full { grid-column: 1 / -1; }
.field { margin-block: 0; }
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--slate-300); border-radius: .5rem;
  padding: .5rem .75rem; font-size: 1rem; font-family: inherit; color: var(--slate-900); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.hint { font-size: .75rem; color: var(--slate-500); margin: .25rem 0 0; }
.req { color: var(--red); }
.price-row { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin: 1.25rem 0 1rem; }
.price-total { font-size: 1.35rem; }

.btn { display: inline-block; border: 0; cursor: pointer; border-radius: .5rem; font-weight: 600; font-size: .95rem; padding: .5rem 1.25rem; text-decoration: none; text-align: center; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-dark { background: var(--slate-900); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-line { background: #fff; border: 1px solid var(--slate-300); color: var(--slate-900); }
.btn-line:hover { background: var(--slate-50); }
.btn-block { display: block; width: 100%; padding: .75rem 1.25rem; font-size: 1rem; }
.btn-row { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } .btn-row .btn { flex: 1; } }

.order-result { margin-top: 1rem; border-radius: .75rem; padding: .85rem 1rem; font-size: .95rem; }
.order-result.ok { background: #ecfdf5; border: 1px solid #a7f3d0; }
.order-result.err { background: #fef2f2; border: 1px solid #fecaca; }
.order-result .pin { font-size: 1.6rem; font-weight: 800; letter-spacing: .12em; }
.order-result .dialin { font-weight: 700; }

.small { font-size: .82rem; }
.muted { color: var(--slate-500); }
.center { text-align: center; }

.steps { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eff6ff; color: var(--blue); font-weight: 800; margin-bottom: .4rem; }

.faq { background: #fff; border: 1px solid var(--slate-200); border-radius: .75rem; padding: .85rem 1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: .55rem 0 .1rem; color: var(--slate-600); }

.prose h2 { margin-top: 2rem; }
.prose p { color: var(--slate-700); }

.section { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1rem; }

.site-footer { margin-top: 3rem; border-top: 1px solid var(--slate-200); background: #fff; }.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding: 1.5rem 1rem; font-size: .875rem; color: var(--slate-500); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; color: var(--slate-500); }
.footer-links a:hover { color: var(--blue); }

/* Host dashboard */
.host-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.badge-status { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--slate-100); color: var(--slate-600); }
.badge-status.live { background: #ecfdf5; color: #047857; }
.badge-status.done { background: var(--slate-100); color: var(--slate-500); }
.host-creds { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 1.25rem 0; }
@media (min-width: 640px) { .host-creds { grid-template-columns: repeat(3, 1fr); } }
.host-creds > div { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: .75rem; padding: .7rem .9rem; }
.creds-val { font-size: 1.25rem; font-weight: 800; letter-spacing: .08em; }
.host-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.host-participants { margin-top: .75rem; display: grid; gap: .6rem; }
.participant { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid var(--slate-200); border-radius: .75rem; padding: .6rem .8rem; }
.participant .who { font-weight: 600; }
.participant .p-actions { display: flex; gap: .5rem; }
.participant .btn { padding: .3rem .7rem; font-size: .82rem; }
.participant.muted .who::after { content: " · muted"; color: var(--slate-500); font-weight: 500; }

/* Captcha */
.captcha-row { display: flex; gap: .75rem; align-items: flex-start; flex-wrap: wrap; }
.captcha-row img { border: 1px solid var(--slate-200); border-radius: .5rem; background: #fff; width: 180px; height: 64px; }
.captcha-input { display: flex; gap: .5rem; align-items: center; flex: 1; min-width: 220px; }
.captcha-input input { flex: 1; }
