:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #111;
  --surface-2: #1a1a1a;
  --text: #f4f4f5;
  --soft: #c5c7ca;
  --muted: #8b8f93;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #00d4aa;
  --accent-2: #44f0cf;
  --ui: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 0, rgba(0, 212, 170, 0.16), transparent 30rem),
    linear-gradient(180deg, #0a0a0a, #0f1211 58%, #0a0a0a);
  color: var(--text);
  font-family: var(--ui);
  line-height: 1.68;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
  display: block;
}

header,
main,
footer {
  width: min(100% - 32px, 1160px);
  margin: 0 auto;
}

header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.brand {
  color: var(--text);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(0, 212, 170, 0.22));
}

.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

main {
  padding: 56px 0;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 1;
  margin: 14px 0 18px;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.14;
  margin: 42px 0 14px;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

p,
li {
  color: var(--soft);
}

.lead {
  max-width: 840px;
  font-size: 1.12rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
  align-items: center;
}

.hero-image,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  padding: 20px;
}

.card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.meta {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.note {
  border-left: 3px solid var(--accent);
  background: rgba(0, 212, 170, 0.08);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

.article-body {
  max-width: 860px;
}

.article-body img {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 26px 0;
}

.example {
  display: block;
  color: var(--accent-2);
  font-family: var(--mono);
  margin: 12px 0;
  overflow-wrap: anywhere;
}

.cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #071211;
  font-weight: 800;
  margin-top: 12px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
  color: var(--muted);
  display: grid;
  gap: 14px;
}

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

.footer-main {
  justify-content: space-between;
}

.footer-links {
  font-size: 0.94rem;
}

.footer-links a {
  color: var(--soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}
