/*
  Minimal, fast, and readable styles for a single‑page site.
  System fonts, responsive, and dark‑mode aware.
*/

:root {
  --bg: #0b1017;
  --text: #e8eef6;
  --muted: #9fb2cc;
  --accent: #4f8cff; /* accessible on dark bg */
  --card: #0f1724;
  --line: rgba(128, 145, 171, 0.24);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --text: #101828;
    --muted: #475467;
    --accent: #1e56ff;
    --card: #f7f9fc;
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.layout {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 20px 88px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 0.95fr 1.35fr;
    column-gap: 40px;
  }
}

.sidebar {
  position: sticky;
  top: 32px;
  align-self: start;
}

.sidebar h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.tagline { margin: 0; color: var(--muted); font-size: 18px; }
.location { margin: 6px 0 16px; color: var(--muted); }

.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent), #2a5bff);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(79, 140, 255, 0.24);
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }

.content { min-width: 0; }

section { margin: 0 0 20px; background: transparent; }
section h2 {
  font-size: 14px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.card {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.intro p { margin: 0; font-size: 18px; }

ul { padding-left: 18px; margin: 8px 0 0; }
li { margin: 6px 0; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.link-list { display: grid; gap: 10px; }
.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.link-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(79, 140, 255, 0.06);
}
.link-card strong { display: block; font-weight: 650; }
.link-card .muted { display: block; color: var(--muted); font-size: 14px; }
.arrow { color: var(--accent); font-weight: 700; }

.site-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
