/* Shared styles. No build step, no dependencies — drop the folder on any static host. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #16181a;
  --muted: #5c6360;
  --faint: #8b918e;
  --accent: #2e7a5c;
  --accent-ink: #1a4a37;
  --line: #e6e3dc;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1211;
    --surface: #171b19;
    --text: #f2f0ea;
    --muted: #a6ada9;
    --faint: #767d79;
    --accent: #5fae8b;
    --accent-ink: #8fd0b1;
    --line: #262b28;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 640;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand img { width: 34px; height: 34px; border-radius: 8px; display: block; }

nav { float: right; padding-top: 6px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}
nav a:hover { color: var(--accent); }

/* Type */

h1 {
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 48px 0 16px;
  font-weight: 680;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.012em;
  margin: 44px 0 12px;
  font-weight: 640;
}

h3 { font-size: 17px; margin: 28px 0 8px; font-weight: 640; }

p { margin: 0 0 16px; }

.lead { font-size: 20px; color: var(--muted); line-height: 1.55; margin-bottom: 28px; }

a { color: var(--accent); }

ul { padding-left: 20px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

code {
  font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace;
  background: color-mix(in srgb, var(--accent) 11%, transparent);
  padding: 2px 6px;
  border-radius: 5px;
}

.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Blocks */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 22px 0;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.shots img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  margin: 8px 0 4px;
}
.cta:hover { background: var(--accent-ink); color: #fff; }

table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

/* Footer */

footer {
  margin-top: 72px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
footer a { color: var(--faint); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  nav { float: none; display: block; padding-top: 14px; }
  nav a { margin: 0 18px 0 0; }
}
