:root {
  --page-bg: #ffffff;
  --text: #0b0b0c;
  --muted: #5b5f69;
  --accent: #0b0b0c;
  --card-bg: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --container: 1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--page-bg);
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--page-bg);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  z-index: 100;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: var(--accent);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav-links a:hover {
  border-color: var(--text);
  color: var(--text);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  border-color: var(--text);
  color: var(--text);
}

.hero {
  padding: 52px 0 18px;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: radial-gradient(900px 420px at 10% -10%, rgba(0, 0, 0, 0.08), transparent 55%),
    radial-gradient(700px 420px at 90% 0%, rgba(0, 0, 0, 0.05), transparent 55%), var(--card-bg);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 22px 0;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.card-pad {
  padding: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.btn:hover {
  text-decoration: none;
  border-color: rgba(0, 0, 0, 0.18);
}

.btn-primary {
  background: var(--text);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.04);
}

.post-date {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.blog-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.blog-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 750;
}

.prose {
  max-width: 78ch;
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 1.6em 0 0.6em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.prose p {
  margin: 0.9em 0;
}

.prose ul,
.prose ol {
  margin: 0.9em 0;
  padding-left: 1.2em;
}

.prose li {
  margin: 0.35em 0;
}

.prose a {
  text-decoration: underline;
}

.prose figure {
  margin: 1.2em 0;
}

.prose img {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.02);
}

.prose figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 18px;
}

@media (max-width: 640px) {
  .nav-links {
    justify-content: flex-start;
  }
}

