:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #4a4a4a;
  --border: #e0e0e0;
  --field-bg: #f0f0f0;
  --accent: #0b5fff;
  --button-bg: #111111;
  --button-text: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

h2 {
  font-size: 1.15rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

p {
  color: var(--text);
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 2em;
}

label.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="tel"] {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  background: var(--field-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}

.consent-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 24px 0;
}

.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
}

.consent-row label {
  color: var(--text);
}

.detail {
  margin: 1.1em 0;
}

.detail strong {
  display: inline;
}

.links {
  margin: 2em 0 1.5em;
}

.links a {
  color: var(--accent);
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.links .sep {
  color: var(--border);
  margin: 0 10px;
}

button.submit {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button.submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.confirmation {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: #eef7ee;
  color: #205020;
  border: 1px solid #cfe8cf;
}

.confirmation.visible {
  display: block;
}

nav.crumbs {
  margin-bottom: 2em;
}

nav.crumbs a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

footer.contact {
  margin-top: 3em;
  padding-top: 1.5em;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}
