:root {
  color-scheme: dark;
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #f8f6ff;
  background: #0d0b12;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(192, 44, 119, 0.2), transparent 36rem),
    radial-gradient(circle at 94% 24%, rgba(112, 63, 209, 0.18), transparent 34rem),
    #0d0b12;
}

.page-shell {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.form-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: rgba(24, 20, 31, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.form-header,
.intro-copy,
.hero-image,
form,
.success-panel {
  padding-right: clamp(22px, 6vw, 56px);
  padding-left: clamp(22px, 6vw, 56px);
}

.form-header {
  padding-top: 52px;
  padding-bottom: 32px;
  border-top: 7px solid #e84393;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff79b9;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.required-note {
  margin: 22px 0 0;
  color: #aaa2b6;
  font-size: 0.86rem;
}

.required-note span,
.question span {
  color: #ff6eae;
}

.intro-copy {
  padding-top: 28px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ddd8e5;
  font-size: 1rem;
  line-height: 1.78;
}

.intro-copy p {
  margin: 0;
}

.hero-image {
  margin: 0;
  padding-bottom: 42px;
}

.hero-image figcaption {
  margin-bottom: 14px;
  color: #f4effa;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #221b2b;
}

form {
  padding-bottom: 56px;
}

.question {
  min-width: 0;
  margin: 0 0 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.question > label,
.question legend {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: #f8f6ff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

input[type="text"] {
  width: 100%;
  padding: 13px 2px 11px;
  border: 0;
  border-bottom: 1px solid #706a78;
  border-radius: 0;
  outline: none;
  color: #fff;
  background: transparent;
  font: inherit;
  transition: border-color 160ms ease;
}

input[type="text"]:focus {
  border-bottom: 2px solid #ff67ab;
}

.options {
  display: grid;
  gap: 12px;
}

.inline-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option {
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 11px;
  cursor: pointer;
}

.option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #ff67ab;
}

.option span {
  color: #e8e3ed;
}

button {
  min-width: 136px;
  min-height: 50px;
  margin-top: 10px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #dd3386, #8756e8);
  box-shadow: 0 12px 28px rgba(211, 46, 131, 0.24);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #c9c2d1;
  font-size: 0.9rem;
}

.success-panel {
  padding-top: 64px;
  padding-bottom: 72px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #dd3386, #8756e8);
  font-size: 2rem;
  font-weight: 900;
}

.success-panel h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.success-panel p {
  margin: 0;
  color: #c9c2d1;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .page-shell {
    padding: 0;
  }

  .form-card {
    border: 0;
    border-radius: 0;
  }

  .form-header {
    padding-top: 36px;
  }

  .question {
    padding: 20px 18px;
  }

  .inline-options {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
