/* orthodoxy.info landing — color themes via CSS variables (same palette as pokrov.info). */
:root {
  --bg: #f4f1ea;
  --ink: #241f17;
  --muted: #6b6355;
  --accent: #8a6d3b;
  --line: #e2dccf;
  --title-font: Georgia, "Times New Roman", serif;
}
:root[data-theme="dark"] {
  --bg: #14110c;
  --ink: #efe9dc;
  --muted: #a89f8c;
  --accent: #c9a45a;
  --line: #2a2419;
}
:root[data-theme="festal"] {
  --bg: #2a1e34;
  --ink: #f7efe0;
  --muted: #cbb8d6;
  --accent: #e5c15a;
  --line: #3d2c4a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background .3s ease, color .3s ease;
}

.controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
}
.controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.langs { display: flex; gap: 4px; }
.controls .lang-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.controls button:hover { border-color: var(--accent); }
.controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px 24px;
}
.cross {
  width: clamp(64px, 14vw, 104px);
  height: auto;
  fill: var(--accent);
  display: block;
  transition: fill .3s ease;
}
h1 {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.25;
  margin: 32px 0 0;
  max-width: 18ch;
}
.rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 24px 0 0;
}
.soon {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 2.4vw, 16px);
  letter-spacing: .14em;
  text-transform: uppercase;
}

footer {
  padding: 22px 20px 34px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: clamp(15px, 2.5vw, 18px);
}
