/* Set Aside — shared site styles */

:root {
  --bg: #050505;
  --surface: #0e0e0e;
  --border: #1e1e1e;
  --accent: #58eb92;
  --text: #f5f5f5;
  --text-muted: #9a9a9a;
  --max-width: 40rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--accent);
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 1.5rem;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: clamp(1.0625rem, 3vw, 1.25rem);
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
}

.button-primary {
  background: var(--accent);
  color: #04150a;
  border-color: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible {
  opacity: 0.9;
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.page h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.page .updated {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0;
}

.page h2 {
  font-size: 1.25rem;
  margin-top: 2.25rem;
  color: var(--text);
}

.page h3 {
  font-size: 1.0625rem;
  margin-top: 1.5rem;
}

.page p,
.page li {
  color: #d6d6d6;
}

.page ul {
  padding-left: 1.25rem;
}

.page strong {
  color: var(--text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem 1.5rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}
