﻿:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #000000;
  --muted: #4a4a4a;
  --border: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(900px, 92%);
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
  letter-spacing: 0.03em;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
}

main {
  padding: 34px 0 50px;
  flex: 1;
}

section + section {
  margin-top: 34px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

p {
  margin: 0 0 14px;
}

.support-box {
  border: 1px solid var(--border);
  padding: 18px;
}

.form-row {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: inherit;
}

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

button {
  border: 1px solid var(--border);
  background: #000;
  color: #fff;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}

button:hover,
button:focus {
  background: #fff;
  color: #000;
}

.message {
  border: 1px solid var(--border);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.message.error {
  background: #f3f3f3;
}

footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.footer-left {
  justify-self: start;
  color: var(--muted);
  margin: 0;
}

.footer-center {
  justify-self: center;
}

.footer-right {
  justify-self: end;
}

a {
  color: #000;
}

.policy-content {
  border: 1px solid var(--border);
  padding: 20px;
}

.policy-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
}

.policy-content h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
}

.policy-section {
  max-width: 760px;
  margin: 0 auto 24px;
}

.policy-section h2 {
  text-align: center;
  margin-bottom: 12px;
}

.policy-section h3 {
  text-align: center;
  margin-top: 14px;
}

.policy-section ul {
  margin: 0 0 14px;
  padding-left: 24px;
}

.policy-section li {
  margin-bottom: 8px;
}

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

@media (max-width: 640px) {
  header {
    padding: 22px 0;
  }

  main {
    padding-top: 26px;
  }

  .support-box,
  .policy-content {
    padding: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
  }

  .footer-right {
    display: none;
  }
}
