:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --border: #e4e4e4;
  --accent: #000;
  --radius: 1rem;
  --muted: #666;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.container { max-width: 820px; width: 100%; }

.header { text-align: center; margin-bottom: 2rem; }
.logo { width: 72px; height: 72px; border-radius: 50%; margin-bottom: .75rem; }
h1 { font-size: 1.6rem; margin: .25rem 0; }
.tagline { color: var(--muted); font-size: .95rem; margin: .25rem 0 1rem; }

.navbar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: 1.25rem;
}
.navbar a {
  text-decoration: none; color: var(--accent);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.navbar a:hover { border-color: var(--accent); }

.links {
  max-width: 420px; margin: 0 auto 2rem; display: flex; flex-direction: column; gap: .75rem;
}
.link-btn {
  display: block; text-align: center; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1rem; text-decoration: none; color: var(--fg);
  font-weight: 500; transition: background .2s, transform .1s;
}
.link-btn:hover { background: #f3f3f3; transform: translateY(-1px); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1rem;
}
.card h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.card p { margin: .5rem 0; color: #333; line-height: 1.5; }
ul { margin: .4rem 0 .8rem 1.1rem; }
small, .meta { color: #777; font-size: .82rem; }

.form { display: flex; flex-direction: column; gap: .75rem; }
.form label { font-size: .9rem; display: flex; flex-direction: column; gap: .25rem; }
.form input, .form textarea {
  padding: .6rem .8rem; border-radius: .5rem; border: 1px solid var(--border); font: inherit; resize: vertical;
}
.form button {
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius);
  padding: .9rem; font-weight: 600; cursor: pointer; transition: opacity .2s, transform .1s;
}
.form button:hover { opacity: .9; transform: translateY(-1px); }
.honeypot { display: none; }

/* Fix checkbox alignment inside the consent label */
.consent {
  display: flex;
  align-items: flex-start;     /* align tops rather than centers */
  gap: 0.5rem;                 /* small space between box and text */
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

.consent input[type="checkbox"] {
  margin-top: 0.15rem;         /* minor visual tweak to align box top */
  flex-shrink: 0;              /* prevents box from stretching */
}

.consent a {
  color: var(--accent);
  text-decoration: underline;
}

.footer { text-align: center; font-size: .85rem; color: #666; margin-top: 2rem; }
.footer a { color: var(--accent); text-decoration: none; }
.footer .sep { color: #aaa; margin: 0 .25rem; }
