:root {
  color-scheme: dark;
  --ink: #f7f4ef;
  --ink-2: #c9c3b8;
  --ink-3: #8d887e;
  --ground: #16130f;
  --ground-2: #201b15;
  --edge: #322a21;
  --accent: #ffb23f;
  --accent-ink: #2a1c05;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: env(safe-area-inset-top, 0px) 20px env(safe-area-inset-bottom, 0px);
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
/* One language at a time; the other is removed from the page, not just hidden. */
.page[data-lang="en"] [lang="tr"], .page[data-lang="tr"] [lang="en"] { display: none; }
.page {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 28px 32px;
}
.top { display: flex; justify-content: flex-end; }
.switch { display: flex; gap: 4px; }
.switch button {
  font: 600 13px/1 'Instrument Sans', system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.switch button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main { display: flex; flex-direction: column; gap: 22px; flex: 1; justify-content: center; }
h1 {
  font-family: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.tagline { font-size: clamp(1.05rem, 3.4vw, 1.35rem); color: var(--ink); margin: 0; max-width: 32ch; }
.body { color: var(--ink-2); margin: 0; max-width: 56ch; }
.state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  background: var(--ground-2);
  border: 1px solid var(--edge);
  border-radius: 999px;
  padding: 7px 14px 7px 11px;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.state .dot {
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 2px;
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .state .dot { animation: none; } }
footer {
  border-top: 1px solid var(--edge);
  padding-top: 16px;
  color: var(--ink-3);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
}
