:root {
  --bg: #000000;
  --bg-top: #0a0a0a;
  --surface: #1c1c1e;
  --surface-elevated: #2c2c2e;
  --text: #ffffff;
  --text-secondary: #8e8e93;
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --border: #2c2c2e;
  --max-width: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 40%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: var(--surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

nav.links a {
  color: var(--text-secondary);
}

nav.links a[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

main h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

main h2:first-child {
  margin-top: 0;
}

main p,
main li {
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
}

main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

main li {
  margin-bottom: 0.35rem;
}

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

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

.contact-email {
  display: inline-block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--accent);
}

.meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

footer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 2rem;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: dark;
  }
}
