:root {
  --surface-base: #ffffff;
  --surface-raised: #f8f9fa;
  --surface-blush: #fbeee8;
  --surface-deep: #261a1f;
  --text-strong: #24191d;
  --text-soft: #5f565a;
  --text-inverse: #f6eef1;
  --text-inverse-soft: #d9cfd3;
  --action-primary: #9a3350;
  --action-hover: #7f2741;
  --action-glow: rgba(154, 51, 80, 0.33);
  --action-glow-strong: rgba(154, 51, 80, 0.5);
  --accent-leaf: #5e7a4f;
  --accent-peach: #f0a988;
  --line-soft: #e7e1e3;
  --status-error: #a32020;
  --status-ok: #2f6b3a;
  --radius-card: 14px;
  --radius-control: 10px;
  --shadow-card: 0 8px 24px rgba(36, 25, 29, 0.1);
  --shadow-faq: 0 6px 20px rgba(36, 25, 29, 0.07);
  --content-width: 1180px;
  --strip-height: 44px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-strong);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: var(--strip-height);
}

body, button, input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3 {
  color: var(--text-strong);
  line-height: 1.2;
}

h1 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}

p {
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 14px;
}

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

a:hover {
  color: var(--action-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: var(--action-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--action-glow);
  transition: .2s;
}

.primary-action:hover {
  color: #fff;
  background: var(--action-hover);
  box-shadow: 0 10px 28px var(--action-glow-strong);
  transform: translateY(-2px);
}

.primary-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.quiet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--action-primary);
  border-radius: 10px;
  color: var(--action-primary);
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.quiet-action:hover {
  background: var(--action-primary);
  color: #fff;
}

.text-field {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfc5c9;
  border-radius: 10px;
  background: #fff;
  color: var(--text-strong);
  font-size: 16px;
}

.text-field:focus {
  outline: 2px solid var(--action-primary);
  outline-offset: 1px;
  border-color: var(--action-primary);
}

.input-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.input-wrapper {
  margin-bottom: 14px;
}

.consent-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.consent-line input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

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

.form-alert {
  display: none;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fbe9e9;
  color: var(--status-error);
  font-size: 15px;
}

.form-alert.is-shown {
  display: block;
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

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