/* Home Challenge: support and privacy pages. No web fonts, no trackers. */
:root {
  --night: #0d1b4c;
  --night-2: #1a3aa8;
  --gold: #f5c04a;
  --gold-deep: #d58a12;
  --cream: #fff6df;
  --ink: #1b1d2b;
  --muted: #535a73;
  --card: #ffffff;
  --line: #e3e6f0;
  --link: #1b4fd6;
  --page: #f3f4fa;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef0f8;
    --muted: #a9afc6;
    --card: #17203f;
    --line: #2a3666;
    --link: #8fb0ff;
    --page: #0b1433;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; }

.top {
  background: radial-gradient(120% 90% at 50% 0%, #4f6cf2 0%, var(--night-2) 45%, var(--night) 100%);
  color: #fff;
  padding: 20px 16px 28px;
}
.top-inner, main, footer { max-width: 760px; margin: 0 auto; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.brand b { font-weight: 900; letter-spacing: .02em; font-size: 18px; text-transform: uppercase; }
.lang { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid rgba(255,255,255,.55); border-radius: 999px; padding: 4px 12px; }
.top h1 {
  margin: 26px 0 6px;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.1;
  font-weight: 900;
  color: var(--cream);
  text-shadow: 0 3px 0 #000, 0 0 1px #000;
  -webkit-text-stroke: 1px #000;
}
.top p { margin: 0; color: rgba(255,255,255,.85); }

main { padding: 24px 16px 8px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 0 0 18px;
  box-shadow: 0 3px 0 rgba(13,27,76,.12);
}
h2 { font-size: 21px; line-height: 1.25; margin: 0 0 8px; font-weight: 800; }
h3 { font-size: 17px; margin: 18px 0 4px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
.meta { color: var(--muted); font-size: 15px; }
.pill {
  display: inline-block; background: var(--gold); color: #2a1a00; font-weight: 800;
  border-radius: 999px; padding: 2px 10px; font-size: 14px; border: 2px solid #000;
}

/* Landing */
.hero {
  position: relative; overflow: hidden; border-radius: 22px; border: 3px solid #000;
  box-shadow: 0 5px 0 #000; margin: 0 0 22px; background: #2b1a52;
}
.hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 62%; }
.hero .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 700;
}
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 22px; }
.btn {
  flex: 1 1 200px; text-align: center; text-decoration: none; font-weight: 900; font-size: 18px;
  color: #2a1a00; background: linear-gradient(#ffd56a, var(--gold-deep)); border: 3px solid #000;
  border-radius: 16px; padding: 14px 16px; box-shadow: 0 4px 0 #000;
}
.btn.alt { background: linear-gradient(#7fa0ff, #2d55d8); color: #fff; text-shadow: 0 1px 0 #000; }
details { border-top: 1px solid var(--line); padding: 10px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 700; }

footer { padding: 12px 16px 40px; color: var(--muted); font-size: 14px; }
footer a { color: inherit; }
