@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-Variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --purple: #8c52a7;
  --purple-dark: #5e2f86;
  --ink: #2b2b2b;
  --muted: #6b6475;
  --card: #ffffff;
  --edge: #d8cbe4;
  --light: #efe7f6;
  --yellow: #f2c14e;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, #9a5cc4 0%, #5e2f86 60%, #4a2369 100%) fixed;
}

a { color: var(--purple); }

.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; }

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

header.top .brand img { height: 100px; width: auto; display: block; }

.langs { display: flex; gap: 6px; }
.langs button {
  font: inherit;
  font-weight: 900;
  font-size: 14px;
  border: 0;
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
html:not([data-lang="en"]) .langs [data-set-lang="tr"],
html[data-lang="en"] .langs [data-set-lang="en"] {
  background: var(--yellow);
  color: #3b2a07;
}

nav.pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
nav.pages a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 6px 12px;
}
nav.pages a[aria-current="page"] { background: rgba(255, 255, 255, 0.32); }

main.card {
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--edge);
  padding: 28px 24px;
}

h1 { font-size: 28px; line-height: 1.2; font-weight: 900; color: var(--purple-dark); margin: 0 0 6px; }
h2 { font-size: 19px; font-weight: 900; color: var(--purple-dark); margin: 26px 0 6px; }
p, li { font-size: 16px; }
ul { padding-left: 22px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.lead { font-size: 18px; }

.hero { text-align: center; }
.hero img.logo { width: min(280px, 70%); height: auto; }
.hero .tagline { font-size: 20px; font-weight: 900; color: var(--purple-dark); margin: 6px 0 14px; }
.badge {
  display: inline-block;
  background: var(--light);
  color: var(--purple-dark);
  border-radius: 12px;
  padding: 6px 14px;
  font-weight: 900;
}
.mail {
  display: inline-block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
}

footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  margin-top: 22px;
}
footer a { color: #fff; }

/* One language at a time; both without JavaScript (see the noscript style). */
html:not([data-lang="en"]) .en { display: none; }
html[data-lang="en"] .tr { display: none; }

@media (max-width: 480px) {
  main.card { padding: 22px 18px; border-radius: 22px; }
  h1 { font-size: 24px; }
  header.top .brand img { height: 84px; }
}
