:root {
  color-scheme: light dark;
  --page: #f3efe7;
  --surface: rgba(252, 249, 243, 0.88);
  --surface-strong: #fcf9f3;
  --ink: #292d2b;
  --muted: #69706c;
  --line: rgba(41, 45, 43, 0.14);
  --accent: #9a574f;
  --accent-soft: rgba(154, 87, 79, 0.12);
  --sage: #60766a;
  --shadow: 0 24px 70px rgba(43, 46, 44, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #1e1f22;
    --surface: rgba(45, 47, 51, 0.9);
    --surface-strong: #2b2d31;
    --ink: #f1f2f3;
    --muted: #b5b8bd;
    --line: rgba(255, 255, 255, 0.11);
    --accent: #d58b82;
    --accent-soft: rgba(213, 139, 130, 0.12);
    --sage: #9bb0a4;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, var(--accent-soft), transparent 31rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.68;
}

a { color: var(--accent); text-underline-offset: 0.2em; }

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 5px var(--accent-soft);
}

.mark::before,
.mark::after {
  content: "";
  position: absolute;
  border: 2px solid var(--sage);
  border-radius: 50%;
}

.mark::before { inset: 8px 6px 10px 8px; transform: rotate(-18deg); }
.mark::after { inset: 11px 10px 7px 7px; border-color: var(--accent); transform: rotate(24deg); }

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-switch button {
  min-width: 48px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--page);
}

.hero { margin-bottom: 26px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.card {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.document section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 4px 16px 16px 4px;
  background: var(--accent-soft);
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.action {
  display: block;
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.action:hover { transform: translateY(-3px); border-color: var(--accent); }
.action strong { display: block; margin-bottom: 7px; }
.action span { color: var(--muted); font-size: 0.9rem; }

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.84rem;
}

[data-lang] { display: none; }
html[data-language="tr"] [data-lang="tr"],
html[data-language="en"] [data-lang="en"] { display: block; }

@media (max-width: 680px) {
  .shell { width: min(100% - 22px, 920px); padding-top: 18px; }
  .topbar { margin-bottom: 34px; }
  .brand span:last-child { max-width: 170px; line-height: 1.08; }
  .card { border-radius: 22px; }
  .actions { grid-template-columns: 1fr; }
  .action { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action { transition: none; }
}
