:root {
  --background: #ffffff;
  --foreground: #171717;
  --muted: #71717a;
  --soft: #a1a1aa;
  --line: #f4f4f5;
  --line-strong: #e4e4e7;
  --panel: #fafafa;
  --ink: #18181b;
  --accent: #23614c;
  --accent-soft: #eef7f3;
  --warm: #a43b2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #52525b;
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--foreground);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 70px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--foreground);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  color: var(--foreground);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 750;
}

h3 {
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.hero-lede {
  max-width: 610px;
  color: #52525b;
  font-size: 18px;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.primary:hover {
  background: #3f3f46;
  border-color: #3f3f46;
}

.secondary {
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #3f3f46;
}

.secondary:hover {
  border-color: #a1a1aa;
  color: var(--foreground);
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(24, 24, 27, 0.08);
}

.hero-photo {
  justify-self: end;
  width: 70%;
  min-width: 320px;
}

.hero-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 46%;
}

.link-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 78px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.link-card:hover {
  border-color: #a1a1aa;
  transform: translateY(-2px);
}

.link-label {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.link-value {
  color: var(--foreground);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.band {
  padding: 76px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.section {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-header {
  max-width: 620px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 0;
}

.publication-list {
  border-top: 1px solid var(--line-strong);
}

.publication {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}

.publication h3 {
  margin-bottom: 8px;
}

.publication p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.publication a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.publication a:hover {
  color: var(--warm);
}

.pub-year {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
  width: min(1000px, 100%);
  margin: 0 auto;
}

.split .section-header {
  margin: 0;
  text-align: left;
}

.software-list {
  display: grid;
  gap: 14px;
}

.software-item {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
}

a.software-item {
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

a.software-item:hover {
  border-color: #a1a1aa;
  transform: translateY(-2px);
}

.software-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--foreground);
  font-size: 15px;
  font-weight: 750;
}

.software-item p {
  margin-bottom: 0;
  color: #60606a;
  font-size: 14px;
  line-height: 1.6;
}

.contact-section {
  text-align: center;
}

.contact-section h2 {
  max-width: 680px;
  margin: 0 auto;
}

.centered {
  justify-content: center;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 24px;
  color: var(--soft);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 62px;
  }

  .hero-visual {
    max-width: 380px;
  }

  .hero-photo {
    justify-self: center;
    width: 70%;
    min-width: 0;
  }

  .link-strip,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 24px;
  }

  .site-nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .hero,
  .link-strip,
  .section {
    width: min(100% - 40px, 920px);
  }

  .hero {
    gap: 26px;
    padding: 42px 0 34px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 25px;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.6;
  }

  .actions {
    gap: 8px;
    margin-top: 24px;
  }

  .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-visual {
    max-width: 230px;
    margin: 0 auto;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
    object-position: 50% 34%;
  }

  .band,
  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pub-year {
    margin-bottom: 0;
  }
}
