:root {
  --bg: #f8f7f4;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-border: rgba(17, 17, 17, 0.08);
  --text: #171717;
  --muted: #616161;
  --line: rgba(17, 17, 17, 0.12);
  --accent: #111111;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(0, 0, 0, 0.04), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.site-menu {
  position: relative;
}

.site-menu[open] {
  z-index: 2;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  user-select: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-icon {
  font-size: 20px;
  line-height: 1;
}

.menu-label {
  font-size: 14px;
  font-weight: 600;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--panel-border);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.menu-panel a {
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

.menu-panel a[aria-current="page"],
.menu-panel a:hover {
  color: var(--text);
  background: rgba(17, 17, 17, 0.05);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: block;
  flex-shrink: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 16px;
  font-weight: 600;
}

.brand-tagline {
  font-size: 14px;
  color: var(--muted);
}

.hero,
.section {
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 32px;
  margin-bottom: 18px;
}

.hero-home {
  padding-right: min(32px, 6vw);
}

.section-grid,
.section-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.section-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eyebrow,
.section-eyebrow,
.updated-at {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow,
.updated-at {
  margin-bottom: 10px;
}

.updated-at {
  text-transform: none;
  letter-spacing: 0;
}

.section-eyebrow {
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.hero p,
.section p,
.section li {
  font-size: 16px;
  color: var(--muted);
}

.hero p + p,
.section p + p {
  margin-top: 14px;
}

.section {
  padding: 24px;
}

ul {
  padding-left: 20px;
  margin: 12px 0 0;
}

.inline-link {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.inline-link:hover {
  color: var(--text);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
  padding: 0 4px;
}

.footer-copy {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .section-grid-home {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 18px 16px 36px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-lockup {
    width: 100%;
  }

  .menu-panel {
    min-width: min(220px, calc(100vw - 48px));
  }

  .hero,
  .section {
    padding: 22px;
  }
}
