:root {
  --bg: #101211;
  --paper: #181c1b;
  --ink: #f4f1ea;
  --muted: #a8b0ac;
  --soft: #202524;
  --line: #303836;
  --accent: #69d6c2;
  --accent-dark: #a8f5e2;
  --accent-soft: #142f2b;
  --warm: #f0b35c;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: inherit;
  margin: 0;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.page {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding-top: 28px;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 780;
  text-decoration: none;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

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

.page {
  display: grid;
  gap: 72px;
  padding-bottom: 84px;
  padding-top: 66px;
}

.hero {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  min-height: 460px;
}

.hero h1,
.article h1 {
  font-size: clamp(3.35rem, 9vw, 7.15rem);
  font-weight: 790;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  overflow-wrap: anywhere;
}

.eyebrow {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.lede {
  color: var(--ink);
  font-size: clamp(1.42rem, 3vw, 2.2rem);
  font-weight: 640;
  line-height: 1.12;
  margin: 22px 0 0;
  max-width: 720px;
}

.summary {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 22px 0 0;
  max-width: 750px;
}

.actions,
.link-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.link-row a,
.text-link {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 720;
  min-height: 44px;
  text-decoration: none;
}

.button,
.link-row a {
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0 18px;
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button:hover,
.link-row a:hover {
  border-color: var(--ink);
}

.button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.text-link {
  color: var(--accent-dark);
  gap: 8px;
  padding: 0;
}

.text-link::after {
  content: "->";
}

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

.profile-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  padding: 24px;
}

.profile-card img {
  border-radius: 8px;
  display: block;
  height: 112px;
  object-fit: cover;
  width: 112px;
}

.profile-card strong {
  display: block;
  font-size: 1.08rem;
}

.profile-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;
}

.section {
  display: grid;
  gap: 24px;
}

.section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.section h2,
.article h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.1;
  margin: 0;
}

.section-head p,
.section-split p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0;
}

.grid-3 {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 22px 24px 24px 0;
}

.card + .card {
  padding-left: 24px;
}

.card h3,
.product-card h3,
.project strong {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}

.card p,
.product-card p,
.project p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

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

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 22px;
}

.product-card h3 a {
  text-decoration: none;
}

.product-card h3 a:hover {
  color: var(--accent-dark);
}

.product-icon {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(105, 214, 194, 0.22);
  border-radius: 8px;
  display: grid;
  height: 72px;
  justify-items: center;
  object-fit: cover;
  width: 72px;
}

.product-icon span {
  color: var(--accent-dark);
  font-size: 1.85rem;
  font-weight: 800;
}

.meta,
.status {
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 760;
  margin: 0;
}

.status {
  margin-top: 10px;
}

.link-row a {
  background: var(--soft);
  min-height: 38px;
  padding: 0 12px;
}

.section-split {
  align-items: end;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  gap: 24px;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  padding: 36px 0;
}

.projects,
.domains,
.lists {
  border-top: 1px solid var(--line);
  display: grid;
}

.project,
.domain,
.list-card {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  padding: 18px 0;
  text-decoration: none;
}

.project:hover strong,
.domain:hover strong,
.list-card:hover strong {
  color: var(--accent-dark);
}

.article {
  display: grid;
  gap: 22px;
  max-width: 820px;
  padding-top: 20px;
}

.article h1 {
  font-size: clamp(3rem, 8vw, 5.7rem);
}

.article h2 {
  margin-top: 24px;
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.article p {
  margin: 0;
}

.article ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article a {
  color: var(--accent-dark);
  font-weight: 680;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 32px;
  padding-top: 24px;
}

@media (max-width: 820px) {
  .hero,
  .products,
  .grid-3,
  .section-split,
  .project,
  .domain,
  .list-card {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
  }

  .card,
  .card + .card {
    padding-left: 0;
    padding-right: 0;
  }

  .page {
    gap: 52px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 14px;
  }

  .page {
    padding-top: 48px;
  }

  .hero h1,
  .article h1 {
    font-size: 3rem;
  }

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

  .actions,
  .link-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .link-row a {
    justify-content: center;
    width: 100%;
  }
}
