* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-strong: #eef5f4;
  --text: #193331;
  --muted: #5f7774;
  --line: #d8e3e1;
  --primary: #5a7d7c;
  --primary-strong: #406261;
  --accent: #ff6b6b;
  --accent-soft: #ffe2e2;
  --shadow: 0 20px 60px rgba(25, 51, 49, 0.08);
  --radius: 22px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(90, 125, 124, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

body {
  padding: 32px 18px 48px;
}

a {
  color: var(--primary-strong);
}

.page {
  max-width: 980px;
  margin: 0 auto;
}

.hero,
.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 227, 225, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  padding: 32px;
  border-radius: 32px;
  margin-bottom: 22px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--primary-strong);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

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

.hero__notice {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-soft), #fff5ef);
  border: 1px solid rgba(255, 107, 107, 0.18);
  line-height: 1.55;
}

.card {
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
}

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

.card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.7;
}

.steps,
.list {
  margin: 0;
  padding-left: 20px;
}

.policy h2:not(:first-child) {
  margin-top: 28px;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(90, 125, 124, 0.14);
}

.field--checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
}

.field--checkbox input {
  margin-top: 4px;
}

.field--checkbox label {
  font-weight: 500;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(64, 98, 97, 0.24);
}

.button--ghost {
  background: transparent;
  color: var(--primary-strong);
  border: 1px solid var(--line);
}

@media (max-width: 720px) {
  body {
    padding: 18px 12px 32px;
  }

  .hero,
  .card {
    padding: 22px;
  }

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

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
