:root {
  color-scheme: light;
  --bg: #fffdf9;
  --surface: #ffffff;
  --surface-muted: #f4f6f4;
  --text: #202326;
  --muted: #5e656b;
  --line: #ddd8ce;
  --accent: #2f6f62;
  --accent-soft: #eef7f4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--accent);
}

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 18px 36px;
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #ece8e0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher a {
  min-width: 36px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
}

.language-switcher .is-active {
  background: var(--accent);
  color: white;
}

.hero {
  display: grid;
  gap: 16px;
  padding-top: 20px;
}

.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.rabbit-card {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e7e2;
  border-radius: 22px;
  background: var(--accent-soft);
}

.rabbit-card img {
  width: 62px;
  height: 62px;
}

.steps {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 10px;
  background: var(--surface-muted);
  color: #42484d;
  font-size: 14px;
}

.steps strong {
  color: var(--accent);
}

.submission-form {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #e4e1dc;
  border-radius: 12px;
  background: var(--surface);
}

.submission-form label {
  display: grid;
  gap: 6px;
  color: #3e4449;
  font-size: 13px;
}

.submission-form input,
.submission-form textarea {
  width: 100%;
  border: 1px solid #cfd5da;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #f8f9fa;
}

.submission-form textarea {
  resize: vertical;
}

.submission-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
}

.form-error {
  padding: 10px 12px;
  border: 1px solid #f0c4bd;
  border-radius: 8px;
  background: #fff4f2;
  color: #8a2f20;
  font-size: 14px;
}

.consent {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 0;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-shell--text {
  max-width: 760px;
}

.text-page,
.success-panel {
  display: grid;
  gap: 16px;
  padding: 28px 0;
}

.success-panel__mark {
  width: 84px;
  height: 84px;
}

@media (min-width: 820px) {
  .page-shell {
    padding-inline: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: start;
    padding-top: 54px;
  }

  .hero__intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .rabbit-card {
    width: 150px;
    height: 150px;
    border-radius: 34px;
    order: -1;
  }

  .rabbit-card img {
    width: 128px;
    height: 128px;
  }

  .steps {
    grid-column: 1;
  }

  .submission-form {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: 24px;
  }
}
