@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=IBM+Plex+Sans:wght@300;400;600&display=swap");

:root {
  --bg: #eef5fb;
  --ink: #1a1f2a;
  --accent: #4fa3e3;
  --accent-dark: #2f6fa8;
  --muted: #4a5a6d;
  --card: #f8fbff;
  --shadow: 0 18px 40px rgba(26, 31, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #d9efff 0%, var(--bg) 52%, #e6f0fb 100%);
  color: var(--ink);
}

.page {
  min-height: 100vh;
  padding: 48px 20px 80px;
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(79, 163, 227, 0.18);
  filter: blur(8px);
  z-index: 0;
}

.page::before {
  top: -120px;
  right: -120px;
}

.page::after {
  bottom: -160px;
  left: -80px;
}

.hero {
  max-width: 920px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease-out;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1 {
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.8rem);
  margin: 16px 0 12px;
}

.subtitle {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
}

.card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  position: relative;
  z-index: 1;
  animation: riseIn 0.8s ease-out 0.1s both;
}

.section + .section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(32, 31, 27, 0.08);
}

h2 {
  font-family: "DM Serif Display", "Georgia", serif;
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--muted);
}

.inline-check input {
  accent-color: var(--accent);
}

input,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(32, 31, 27, 0.18);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 122, 63, 0.25);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.footer {
  display: grid;
  gap: 16px;
}

.notice {
  font-size: 0.95rem;
  color: var(--muted);
}

.cta {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 18px;
  border-radius: 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 26px rgba(224, 122, 63, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

.cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(224, 122, 63, 0.45);
}

.status {
  min-height: 20px;
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

@media (max-width: 640px) {
  .card {
    padding: 24px;
  }

  .page {
    padding: 32px 16px 60px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
