:root {
  --ink: #161616;
  --white: #fff;
  --soft: rgba(255, 255, 255, 0.78);
  --faint: rgba(255, 255, 255, 0.56);
  --glass: rgba(14, 14, 18, 0.55);
  --glass-line: rgba(255, 255, 255, 0.16);
  --chip: rgba(255, 255, 255, 0.08);
  --chip-line: rgba(255, 255, 255, 0.22);
  --muted: #5e5e5e;
  --line: #e4e4e0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: transparent;
}
body {
  margin: 0;
  color: var(--white);
  background: transparent;
  font: 17px/1.45 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, p { margin: 0; }
button, input { font: inherit; }
.wrap { width: min(880px, calc(100% - 40px)); margin: 0 auto; }

.cover { padding: 72px 0 56px; }
.kicker { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
h1 {
  margin-top: 16px;
  max-width: 14ch;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.lead { margin-top: 22px; max-width: 36ch; font-size: 20px; color: var(--soft); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-1px); background: #ececec; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover,
.btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.quiz { padding: 8px 0 80px; scroll-margin-top: 24px; }
.quiz-card {
  padding: 36px;
  border: 1px solid var(--glass-line);
  border-radius: 28px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.quiz h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  font-weight: 650;
  color: var(--white);
}
.ask { margin-top: 30px; }
.ask-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 600;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  border: 1px solid var(--chip-line);
  background: var(--chip);
  color: var(--white);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.choice:hover,
.choice:focus-visible { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.16); color: var(--white); }
.choice[aria-pressed="true"],
.choice[aria-pressed="true"]:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-line);
}
.fields input {
  min-height: 56px;
  border: 1px solid var(--chip-line);
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
}
.fields input::placeholder { color: var(--faint); }
.fields input:focus { border-color: var(--white); background: rgba(255, 255, 255, 0.12); }
.ok { margin-top: 14px; font-weight: 650; color: var(--white); }
.ok[hidden] { display: none; }

.foot { background: var(--ink); color: #fff; padding: 36px 0; }
.foot a { color: #fff; }
.foot p + p { margin-top: 6px; }
.foot .muted { color: #bdbdbd; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 5;
}
.modal-card { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 22px; color: var(--ink); }
.modal-card h2 { font-size: 28px; letter-spacing: -0.03em; color: var(--ink); }
.modal-card p { margin: 8px 0 14px; color: var(--muted); }
.modal-card label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.modal-card input { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--ink); }
.modal-card .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal-card .btn:hover,
.modal-card .btn:focus-visible { background: #2c2c2c; color: #fff; }
.modal-card .ok { color: var(--ink); }
.modal-x { float: right; border: 0; background: transparent; font-size: 24px; cursor: pointer; line-height: 1; color: var(--ink); padding: 0 !important; }

body.elementor-page { margin: 0; background: transparent; }
.elementor-page .elementor-widget-html > .elementor-widget-container {
  background: transparent;
}
.elementor-widget-html { position: relative; z-index: 1; }
.elementor-widget-html > .elementor-widget-container { padding: 0; margin: 0; }

@media (max-width: 700px) {
  .cover { padding-top: 40px; }
  .actions, .fields { grid-template-columns: 1fr; }
  .fields .btn { width: 100%; }
  .quiz-card { padding: 24px 18px; border-radius: 22px; }
  .choice { padding: 0 16px; }
}
