@font-face {
  font-family: Lack;
  src: url("/fonts/Lack-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lack Line";
  src: url("/fonts/Lack-Line-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #eef1f4;
  --bg-soft: #e6eaef;
  --ink: #111111;
  --muted: color-mix(in srgb, #111111 58%, transparent);
  --muted-2: color-mix(in srgb, #111111 48%, transparent);
  --dim: color-mix(in srgb, #111111 38%, transparent);
  --accent: #111111;
  --rule: rgba(0, 0, 0, 0.1);
  --soft-rule: rgba(255, 255, 255, 0.45);
  --maxw: 1080px;
  --reading: 720px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: Lack, "DM Sans", system-ui, sans-serif;
  --font-display-italic: "Lack Line", Lack, "DM Sans", system-ui, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Liquid Glass material tokens */
  --glass-blur: 28px;
  --glass-sat: 1.55;
  --glass-fill: rgba(255, 255, 255, 0.38);
  --glass-fill-strong: rgba(255, 255, 255, 0.55);
  --glass-fill-tint: rgba(245, 248, 252, 0.48);
  --glass-edge: rgba(255, 255, 255, 0.72);
  --glass-edge-soft: rgba(255, 255, 255, 0.4);
  --glass-rim: rgba(0, 0, 0, 0.06);
  --glass-highlight:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 1px 0 0 rgba(255, 255, 255, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.12);
  --glass-shadow:
    0 1px 1px rgba(255, 255, 255, 0.5),
    0 10px 40px rgba(30, 40, 55, 0.1),
    0 2px 10px rgba(30, 40, 55, 0.05);
  --glass-shadow-lift:
    0 1px 1px rgba(255, 255, 255, 0.6),
    0 18px 48px rgba(30, 40, 55, 0.14),
    0 6px 16px rgba(30, 40, 55, 0.08);
  --glass-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 48% at 92% -8%, rgba(120, 150, 180, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 42% at -8% 18%, rgba(190, 165, 140, 0.2), transparent 52%),
    radial-gradient(ellipse 45% 40% at 48% 72%, rgba(140, 155, 175, 0.14), transparent 62%),
    radial-gradient(ellipse 35% 30% at 78% 42%, rgba(210, 200, 185, 0.16), transparent 55%),
    linear-gradient(165deg, #f3f6f9 0%, #e8edf2 42%, #f2f0ec 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.35), transparent 24%);
  animation: atmosphere-drift 28s ease-in-out infinite alternate;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(0, 0, 0, 0.28);
  transition:
    color var(--ease),
    text-decoration-color var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    transform var(--ease-spring),
    opacity var(--ease),
    box-shadow var(--ease),
    backdrop-filter var(--ease),
    filter var(--ease);
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 14px 3% 0;
  background: transparent;
  border: none;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 14px 10px 18px;
  min-height: 58px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: var(--radius-pill);
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.brand-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.brand-links a:not(.logo) {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
}

.brand-links a:not(.logo):hover {
  color: var(--ink);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
  opacity: 0.72;
}

.logo img {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links {
  font-size: 0.95rem;
  margin-left: auto;
}

.nav-links .nav-cta {
  margin-left: 4px;
}

.nav-links a,
.nav-cta,
.footer-links a,
.footer-brand,
.text-link,
.primary,
.ghost {
  text-decoration: none;
}

.nav-links a:not(.nav-cta) {
  color: var(--muted);
  padding: 6px 2px;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta)[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.nav-cta:hover {
  color: #fff;
  background: rgba(34, 34, 34, 0.88);
  transform: scale(1.03);
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 3% 96px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 80px;
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero h1 .hero-brand {
  display: block;
}

.hero h1 .hero-brand,
.hero h1 .serif {
  min-height: 1.15em;
}

.hero h1 .serif.is-typing::after,
.hero h1 .hero-brand.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.06em;
  vertical-align: -0.05em;
  background: currentColor;
  animation: caret-blink 0.7s steps(1) infinite;
}

.eyebrow,
.card-kicker,
.article-meta,
.status-label {
  color: var(--dim);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  line-height: 1.1;
}

.serif,
.hero-line {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72em;
  letter-spacing: -0.02em;
  margin-top: 0.18em;
  line-height: 1.2;
}

.lead {
  max-width: 520px;
  font-size: 1.12rem;
  line-height: 1.55;
  margin-bottom: 28px;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
}

.primary {
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

.primary:hover {
  color: #fff;
  background: rgba(34, 34, 34, 0.9);
  transform: scale(1.035);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.2);
}

.ghost {
  color: var(--ink);
  border: 1px solid var(--glass-edge);
  background: var(--glass-fill);
  box-shadow: var(--glass-highlight), 0 6px 20px rgba(30, 40, 55, 0.06);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.ghost:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.62);
  transform: scale(1.035);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stat {
  display: grid;
  gap: 2px;
}

.stat dt {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.stat dd {
  font-size: 0.84rem;
  color: var(--dim);
}

.hero-card {
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--glass-edge);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
  background: var(--glass-fill-tint);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.12) 28%,
      transparent 48%,
      transparent 70%,
      rgba(255, 255, 255, 0.14) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-card > p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.pill {
  padding: 5px 12px;
  border: 1px solid var(--glass-edge-soft);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.88rem;
}

.card-grid strong,
.card-grid span {
  display: block;
}

.card-grid strong {
  font-weight: 500;
  margin-bottom: 2px;
}

.card-grid span {
  color: var(--dim);
}

.sticker {
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 224px;
  height: 224px;
  opacity: 0.92;
  transform: rotate(-8deg);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 18px 36px rgba(30, 40, 55, 0.18));
}

.section {
  padding: 72px 0 28px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.section-title {
  margin-bottom: 32px;
  max-width: 760px;
}

.section-title h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-title > p:last-child,
.section-title div > p:last-child {
  color: var(--muted-2);
  max-width: 540px;
}

.title-with-link {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.title-with-link > a {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  text-decoration: none;
}

.title-with-link > a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  transform: scale(1.03);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.research-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 300px;
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  transition:
    border-color var(--ease),
    transform var(--ease-spring),
    box-shadow var(--ease),
    background-color var(--ease);
}

.research-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.48) 0%,
    transparent 40%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.research-card > * {
  position: relative;
  z-index: 1;
}

.research-card:hover {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.02) translateY(-2px);
  box-shadow: var(--glass-highlight), var(--glass-shadow-lift);
}

.research-card h3 {
  font-size: 1.28rem;
  margin: 14px 0 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.research-card h3 a,
.feature h3 a,
.project-card h2 a {
  text-decoration: none;
}

.research-card > p:not(.card-kicker) {
  color: var(--muted-2);
}

.research-card .text-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 500;
}

.text-link span {
  color: inherit;
}

.feature-grid,
.vision-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature,
.vision-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--glass-edge-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: var(--glass-highlight), 0 8px 28px rgba(30, 40, 55, 0.06);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition:
    transform var(--ease-spring),
    box-shadow var(--ease),
    background-color var(--ease),
    border-color var(--ease);
}

.feature:hover,
.vision-card:hover {
  transform: scale(1.015);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.feature h3,
.vision-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.feature p,
.vision-card p {
  color: var(--muted-2);
}

.backer-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.backer-list li {
  min-width: 0;
  line-height: 1.35;
}

.backer-list strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.backer-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

.backer-list-more {
  color: var(--muted);
  font-style: italic;
  align-self: end;
}

.article-body .backer-list {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 16px 24px;
}

.article-body .backer-list li + li {
  margin-top: 0;
}

.values-row {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
  color: var(--muted);
}

.team-card {
  max-width: 700px;
  padding: 28px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--glass-edge);
  background: var(--glass-fill-tint);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.team-card h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.team-card > p {
  color: var(--muted-2);
  max-width: 560px;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto 28px;
  padding: 28px 3% 28px;
  border-top: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  color: var(--dim);
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--glass-highlight), 0 8px 28px rgba(30, 40, 55, 0.05);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  width: calc(100% - 6%);
}

.footer-brand {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 8px;
}

.footer-links {
  justify-content: flex-end;
  font-size: 0.9rem;
}

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

.footer-links a:hover {
  color: var(--ink);
}

/* Interior pages */
.breadcrumb {
  max-width: var(--reading);
  margin: 28px auto 24px;
  color: var(--dim);
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--dim);
}

.page-hero,
.article-header,
.article-body,
.article-footer {
  max-width: var(--reading);
  margin-left: auto;
  margin-right: auto;
}

.page-hero,
.article-header {
  padding: 28px 0 48px;
}

.page-hero h1,
.article-header h1 {
  font-size: clamp(2.35rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.page-hero .lead,
.article-header .lead {
  margin-bottom: 0;
  color: var(--muted);
}

.article-meta {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.article-body {
  font-size: 1.02rem;
  color: var(--muted);
}

.article-body > * + * {
  margin-top: 1.2em;
}

.article-body h2 {
  color: var(--ink);
  font-size: 1.85rem;
  padding-top: 1.15em;
  margin-top: 1.5em;
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  letter-spacing: -0.02em;
}

.article-body h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  padding-top: 0.65em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body strong {
  color: var(--ink);
  font-weight: 500;
}

.article-body a {
  color: var(--ink);
}

.article-body blockquote,
.note-box {
  border-left: 3px solid var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--glass-edge-soft);
  border-left-width: 3px;
  border-left-color: var(--ink);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.article-body table,
.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-body th,
.article-body td,
.api-table th,
.api-table td {
  padding: 10px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  text-align: left;
  vertical-align: top;
}

.article-body th,
.api-table th {
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
}

.article-body code,
.api-table code,
.code-block {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
}

.code-block {
  overflow-x: auto;
  background: rgba(23, 23, 23, 0.92);
  color: #f0f0f0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: pre;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.article-footer {
  border-top: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  margin-top: 56px;
  padding-top: 28px;
}

.byline-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.byline-card img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--glass-edge);
  box-shadow: 0 4px 14px rgba(30, 40, 55, 0.12);
}

.project-grid {
  grid-template-columns: 1fr;
  max-width: var(--reading);
  margin: 0 auto;
}

.project-card {
  border-top: none;
  margin-bottom: 14px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight), 0 8px 28px rgba(30, 40, 55, 0.05);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  transition:
    transform var(--ease-spring),
    box-shadow var(--ease),
    background-color var(--ease);
}

.project-card:hover {
  transform: scale(1.01);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}

.project-card h2 {
  font-size: 1.85rem;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

.project-card p {
  max-width: 650px;
  color: var(--muted-2);
}

.project-card .text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 500;
}

.about-grid {
  max-width: var(--reading);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-grid section {
  border-top: none;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.about-grid h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.about-grid p {
  color: var(--muted-2);
}

.about-grid p + p {
  margin-top: 12px;
}

.about-grid a {
  color: var(--ink);
}

.api-list {
  max-width: var(--reading);
  margin: 0 auto;
}

.api-list section {
  padding: 28px 24px;
  margin-bottom: 14px;
  border-top: none;
  border-radius: var(--radius);
  border: 1px solid var(--glass-edge-soft);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.api-list h2 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.api-list p,
.api-list li {
  color: var(--muted-2);
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

@keyframes atmosphere-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 1.5%, 0) scale(1.04);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    top: auto;
    margin-top: 10px;
  }

  .nav {
    height: auto;
    padding: 14px 16px;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 24px;
    row-gap: 12px;
  }

  .brand-links {
    flex: 1 1 100%;
    gap: 12px 14px;
  }

  .nav-links {
    order: 3;
    flex: 1 1 100%;
    gap: 10px 12px;
    margin-left: 0;
    flex-wrap: nowrap;
  }

  .nav-links a:not(.nav-cta) {
    white-space: nowrap;
  }

  .nav-links .nav-cta {
    margin-left: auto;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 56px;
  }

  .hero-card {
    max-width: 560px;
  }

  .sticker {
    right: 8px;
    bottom: -36px;
    width: 176px;
    height: 176px;
  }

  .research-grid,
  .feature-grid,
  .vision-grid,
  .backer-list {
    grid-template-columns: 1fr;
  }

  .research-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 17px;
  }

  .nav-cta {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .hero h1,
  .page-hero h1,
  .article-header h1 {
    font-size: 2.25rem;
  }

  .title-with-link,
  .site-footer {
    display: block;
  }

  .title-with-link > a {
    display: inline-block;
    margin-top: 14px;
  }

  .site-footer .footer-links {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .card-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .sticker {
    position: static;
    display: block;
    width: 192px;
    height: 192px;
    margin-top: 20px;
    transform: rotate(-6deg);
    animation: none;
  }

  .article-body table,
  .api-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    animation: none;
  }

  .hero h1 .serif.is-typing::after,
  .hero h1 .hero-brand.is-typing::after {
    content: none;
    animation: none;
  }

  a,
  .research-card,
  .feature,
  .vision-card,
  .project-card,
  .primary,
  .ghost,
  .nav-cta,
  .title-with-link > a {
    transition: none;
  }

  .research-card:hover,
  .feature:hover,
  .vision-card:hover,
  .project-card:hover,
  .primary:hover,
  .ghost:hover,
  .nav-cta:hover,
  .title-with-link > a:hover {
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav,
  .hero-card,
  .research-card,
  .feature,
  .vision-card,
  .team-card,
  .site-footer,
  .ghost,
  .primary,
  .nav-cta,
  .project-card,
  .about-grid section,
  .api-list section,
  .backer-list,
  .byline-card,
  .title-with-link > a {
    background: rgba(255, 255, 255, 0.88);
  }

  .primary,
  .nav-cta {
    background: #111;
  }
}
