:root {
  --bg: #ccdbee;
  --ink: #1a202c;
  --muted: #4a5568;
  --line: rgba(0, 0, 0, 0.12);
  --red: #c53030;
  --red-dark: #9b2c2c;
  --blue: #2b6cb0;
  --blue-dark: #2c5282;
  --card: rgba(255, 255, 255, 0.45);
  --error: #c53030;
  --ok: #276749;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.55;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .wrap { grid-template-columns: 1fr 1fr; padding: 96px 24px; }
  .wrap > .main { border-right: 1px solid var(--line); padding-right: 40px; }
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin: 0 0 12px; line-height: 1.15; }
h2 { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.center { text-align: center; }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-top: 18px; }
label .req { color: var(--red); }
input[type='text'], input[type='email'], input[type='tel'] {
  width: 100%;
  font: inherit;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid #718096;
  background: transparent;
  outline: none;
}
input:focus { border-bottom: 2px solid var(--blue); }
input.invalid { border-bottom: 2px solid var(--error); }
.field-error { color: var(--error); font-size: 0.85rem; min-height: 1em; margin-top: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 6px;
  padding: 10px 22px;
  margin-top: 20px;
  cursor: pointer;
  background: #e2e8f0;
  color: var(--ink);
}
button:hover { background: #cbd5e0; }
button.red { background: var(--red); color: #fff; }
button.red:hover { background: var(--red-dark); }
button.blue { background: var(--blue); color: #fff; }
button.blue:hover { background: var(--blue-dark); }
button:disabled { opacity: 0.6; cursor: wait; }
.notice {
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 0.95rem;
}
.notice.error { background: #fed7d7; color: #742a2a; }
.notice.ok { background: #c6f6d5; color: #22543d; }
.hidden { display: none !important; }

/* Watch page */
.picker {
  margin: 40px auto;
  max-width: 420px;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.picker button { width: 240px; padding: 18px; margin: 0; font-size: 1.1rem; }
.player video { width: 100%; display: block; background: #000; border-radius: 4px; }
.progress { height: 10px; background: rgba(0, 0, 0, 0.1); }
.progress > div { height: 10px; width: 0; background: var(--blue); transition: width 0.25s linear; }
.controls { display: flex; justify-content: center; }
.controls button { width: 150px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 14px; }
.checks input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.fine { font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }
