/* shared styling for the static pages (about / contact / terms) */
:root {
  --bg: #171e1e;
  --panel: #1b2322;
  --panel-border: rgba(211, 196, 161, .18);
  --text: #f4f0e7;
  --text-dim: #b4b8af;
  --accent: #dfc18b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Noto Sans Hebrew', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 22px 80px;
}
.back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 28px;
}
.back:hover { text-decoration: underline; }
/* inline SVG icons: sized by the local font-size, painted with currentColor */
.svg-ico {
  width: 1em; height: 1em;
  display: inline-block; vertical-align: -0.125em;
}
h1 {
  color: var(--accent);
  font-size: 36px;
  margin: 18px 0 12px;
}
h2 { color: var(--text); font-size: 21px; margin: 28px 0 12px; }
p, li { color: var(--text); font-size: 15px; margin-bottom: 12px; }
ol { padding-inline-start: 22px; }
a { color: var(--accent); }
hr {
  border: none; border-top: 1px solid var(--panel-border);
  margin: 40px 0;
}
.big { font-size: 20px; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 28px 30px 26px;
  margin: 22px 0 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.contact-form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .field { margin-bottom: 18px; }
.contact-form .grid .field { margin-bottom: 0; }
.contact-form label {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form select {
  width: 100%;
  height: 44px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 0 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 14px 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 212, 94, 0.15);
}
.contact-form .hint {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 10px;
  margin-bottom: 0;
}
.contact-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  color: #1a1406;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 30px;
  box-shadow: 0 6px 24px rgba(255, 212, 94, 0.35);
  transition: filter 0.15s, transform 0.15s;
}
.contact-form button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.contact-form button:active { transform: translateY(0); }
.form-note {
  color: var(--text-dim);
  font-size: 13px;
  margin: 14px 0 0;
}
@media (max-width: 560px) {
  .contact-form { padding: 22px 20px 20px; }
  .contact-form .grid { grid-template-columns: 1fr; gap: 0; }
}
