:root {
  --bg: #000;
  --text: #f0f0f0;
  --muted: #a3a3a3;
  --faint: #737373;
  --line: #262626;
  --card: #0d0d0d;
  --accent: #6aa6ff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); }
a { color: var(--text); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--text); }
.nav a[aria-current="page"] { color: var(--accent); }

/* Content */
main { padding: 56px 0 72px; }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.2; font-weight: 400; margin: 0 0 28px; }
h2 { font-size: 22px; font-weight: 600; margin: 36px 0 10px; }
p { margin: 0 0 18px; }
.disclaimer { color: var(--text); }
.lead-in { margin-top: 32px; }

/* Tool cards */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 20px; }
.tool { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.tool:hover, .tool:focus-visible { border-color: #4b5563; transform: translateY(-2px); }
.tool img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; border-bottom: 1px solid var(--line); }
.tool-body { padding: 18px 20px 20px; }
.tool-title { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.tool-desc { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.tool-lock { font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 6px; }

/* Policy page */
.policy { max-width: 780px; }
.policy .updated { color: var(--muted); font-size: 15px; }
.policy ul { padding-left: 22px; margin: 0 0 18px; }
.policy li { margin-bottom: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 0; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-bottom: 36px; }
.footer-cols h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 0 0 10px; }
.footer-cols p { margin: 0 0 4px; color: var(--muted); }
.footer-cols a { color: var(--muted); text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-brand .brand img { height: 32px; }
.footer-brand p { margin-top: 12px; }
.footer-note { border-top: 1px solid var(--line); padding: 18px 0 24px; font-size: 13px; color: var(--faint); text-align: center; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 34px; }
  .site-header .wrap { min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
  .nav { gap: 18px; font-size: 14px; }
  main { padding: 36px 0 52px; }
}
