@font-face {
  font-family: "Cookie";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/cookie-latin.woff2") format("woff2");
}

:root {
  --accent: #C6287D;
  --bg: #ffffff;
  --fg: #111111;
  --muted: #666666;
  --surface: #f4f4f4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #E131E0;
    --bg: #0e0e10;
    --fg: #f4f4f4;
    --muted: #999999;
    --surface: #1c1c1f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
header h1 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: -0.01em;
}
header h1 a {
  color: inherit;
  text-decoration: none;
}
.lang {
  display: flex;
  gap: .25rem;
  font-size: .85rem;
  font-weight: 600;
}
.lang a, .lang span {
  padding: .2rem .55rem;
  border-radius: 999px;
  text-decoration: none;
}
.lang span {
  background: var(--accent);
  color: var(--bg);
}
.lang a {
  color: var(--muted);
  border: 1px solid var(--surface);
}
.lang a:hover, .lang a:focus { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  margin: 0 0 .75rem;
}
.hero .sub {
  font-size: .95rem;
  color: var(--muted);
}
h2 {
  font-size: 1.25rem;
  color: var(--accent);
  border-bottom: 1px solid var(--surface);
  padding-bottom: .25rem;
  margin: 2.5rem 0 1rem;
}
ul {
  padding-left: 1.25rem;
}
ul li { margin: .35rem 0; }
a {
  color: var(--accent);
  text-underline-offset: 3px;
}

/* Buttons */
.btn {
  display: block;
  padding: .85rem 1rem;
  margin: .5rem 0;
  border: 1px solid var(--accent);
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.btn:hover, .btn:focus {
  background: var(--accent);
  color: var(--bg);
}
.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: .5rem 0;
}
@media (max-width: 480px) {
  .support { grid-template-columns: 1fr; }
}
.brand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 60px;
  padding: 0 1.25rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.brand-btn:hover, .brand-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
/* Buy Me a Coffee — official yellow button */
.bmc {
  background: #FFDD00;
  color: #000000;
  border-radius: 10px;
  font-family: "Cookie", cursive;
  font-size: 28px;
  line-height: 1;
}
.bmc img { height: 34px; width: auto; }
/* Suppi — brand violet with white wordmark */
.suppi {
  background: #6457FF;
  border-radius: 4px;
}
.suppi img { height: 28px; width: auto; }

.contact p { margin: .5rem 0; }

/* Privacy policy */
main h1 {
  font-size: 1.6rem;
  margin: 1rem 0 .25rem;
}
.updated {
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
main h2 {
  font-size: 1.15rem;
  margin: 2rem 0 .75rem;
}
main p { margin: .5rem 0; }
main ul li { margin: .25rem 0; }

footer {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 3rem;
  border-top: 1px solid var(--surface);
  padding-top: 1rem;
}
footer a { color: var(--muted); }
