:root {
  --ink: #0c1730;
  --paper: #f6f7f2;
  --surface: #ffffff;
  --muted: #647283;
  --line: #dce3dc;
  --accent: #bffc74;
  --accent-ink: #3f744b;
  --accent-glow: rgba(191, 252, 116, .2);
  --sans: 'Manrope', 'Avenir Next', Avenir, sans-serif;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --serif: Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1136px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.8px;
}

.brand-dot {
  color: var(--accent-ink);
}

.brand-mark {
  position: relative;
  width: 23px;
  height: 23px;
  transform: rotate(30deg);
}

.brand-mark i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent-ink);
}

.brand-mark i:nth-child(1) {
  top: 0;
  left: 0;
}

.brand-mark i:nth-child(2) {
  top: 0;
  right: 0;
  background: #6eb9be;
}

.brand-mark i:nth-child(3) {
  bottom: 0;
  left: 0;
  background: #8e89d0;
}

.breadcrumb {
  color: #7c8896;
  font: 12px var(--mono);
}

.breadcrumb span {
  padding: 0 7px;
  color: #a3acae;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  color: #58687a;
  font-size: 14px;
  font-weight: 700;
}

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

.site-nav a:last-child {
  display: inline-flex;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}

.site-nav a:last-child:hover {
  border-color: var(--accent-ink);
}

.site-nav a:last-child span {
  color: var(--accent-ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 83px;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(90deg, black, transparent 90%);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 500px;
  height: 500px;
  top: -270px;
  right: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 66%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  align-items: center;
  gap: 70px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--accent);
  font: 700 10px var(--mono);
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.hero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px var(--accent-glow);
}

.hero h1 {
  max-width: 680px;
  margin: 17px 0 18px;
  font-size: clamp(45px, 5vw, 70px);
  line-height: 1.03;
  letter-spacing: -3.6px;
}

.hero h1 em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
}

.hero-copy {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #d8ffab;
}

.plain-link {
  color: rgba(255, 255, 255, .77);
  font-size: 12px;
  font-weight: 800;
}

.plain-link span {
  padding-left: 8px;
  color: var(--accent);
}

.terminal-card {
  min-width: 500px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(17, 33, 64, .75);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .26);
  backdrop-filter: blur(8px);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 43px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.terminal-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
}

.terminal-top i:first-child {
  background: #ffb98f;
}

.terminal-top i:nth-child(2) {
  background: var(--accent);
}

.terminal-top i:nth-child(3) {
  background: #79ddd7;
}

.terminal-top span {
  margin-left: auto;
  color: rgba(255, 255, 255, .38);
  font: 9px var(--mono);
}

.terminal-body {
  min-height: 185px;
  padding: 27px;
  font: 14px/1.85 var(--mono);
}

.code-comment {
  color: #7f8da5;
}

.code-key {
  color: #b6aaff;
}

.code-type {
  color: #7ee5df;
}

.code-string {
  color: var(--accent);
}

.terminal-foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
  font: 9px var(--mono);
}

.terminal-foot b {
  color: var(--accent);
  font-weight: 400;
}

.resources {
  padding: 94px 0 80px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 29px;
}

.section-heading p {
  margin: 0;
  color: var(--accent-ink);
  font: 700 10px var(--mono);
  letter-spacing: 1.1px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.section-heading>span {
  max-width: 315px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.resource-card {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-ink) 60%, var(--line));
  box-shadow: 0 14px 30px rgba(12, 23, 48, .08);
}

.resource-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 38%, white);
  color: var(--accent-ink);
  font: 14px var(--mono);
}

.resource-card h3 {
  margin: 22px 0 6px;
  font-size: 18px;
  letter-spacing: -.5px;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.resource-card>span:last-child {
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 800;
}

.resource-card>span:last-child i {
  padding-left: 7px;
  font-style: normal;
}

.api-collection {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}

.collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.collection-heading .eyebrow {
  margin: 0;
  color: var(--accent-ink);
  font: 700 10px var(--mono);
  letter-spacing: 1.1px;
}

.collection-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(31px, 3.6vw, 49px);
  line-height: 1.1;
  letter-spacing: -2.2px;
}

.collection-heading>a {
  padding-bottom: 5px;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
}

.collection-heading>a span {
  padding-left: 8px;
}

.api-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.api-group {
  padding: 25px;
  border-radius: 7px;
  background: #edf1ea;
}

.api-group.groupdocs {
  background: #edf1f3;
}

.api-group h3 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -.6px;
}

.api-group>p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
}

.api-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.api-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid rgba(12, 23, 48, .1);
  border-radius: 4px;
  background: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.api-list a:hover {
  background: #fff;
  transform: translateX(3px);
}

.api-list a span {
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 400;
}

.python-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.python-feature {
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.python-feature b {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.python-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.python-feature a {
  display: inline-flex;
  gap: 8px;
  margin-top: 21px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
}

.closing {
  padding: 67px 0;
  background: var(--ink);
  color: #fff;
}

.closing-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing p {
  margin: 0;
  color: var(--accent);
  font: 700 10px var(--mono);
  letter-spacing: 1.1px;
}

.closing h2 {
  margin: 11px 0 0;
  font-size: clamp(28px, 3.4vw, 45px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.closing h2 em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
}

.button-light {
  flex-shrink: 0;
  background: #fff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  color: #7b8897;
  font: 9px var(--mono);
}

.site-footer a {
  color: var(--accent-ink);
}

.page-java {
  --accent: #bffb79;
  --accent-ink: #337c72;
  --accent-glow: rgba(117, 230, 220, .22);
}

.page-net {
  --accent: #c1b2ff;
  --accent-ink: #6251aa;
  --accent-glow: rgba(177, 165, 255, .25);
}

.page-python {
  --accent: #8ae8f9;
  --accent-ink: #40707e;
  --accent-glow: rgba(138, 210, 249, 0.2);
}

@media (max-width: 850px) {
  .hero-layout {
    grid-template-columns: 1fr 300px;
    gap: 35px;
  }

  .terminal-body {
    padding: 22px;
    font-size: 10px;
  }

  .resource-grid,
  .python-features {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 142px;
  }

  .resource-card h3 {
    margin-top: 16px;
  }

  .api-groups {
    grid-template-columns: 1fr;
  }

  .api-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 32px, 1136px);
  }

  .site-header {
    height: 69px;
    gap: 18px;
  }

  .brand {
    font-size: 15px;
  }

  .breadcrumb {
    display: none;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 10px;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .site-nav a:last-child {
    padding: 7px 9px;
  }

  .hero {
    padding: 61px 0 66px;
  }

  .hero-layout {
    display: block;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
    letter-spacing: -2.8px;
  }

  .hero-copy {
    font-size: 12px;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .terminal-card {
    display: none;
  }

  .resources,
  .api-collection {
    padding: 63px 0;
  }

  .section-heading,
  .collection-heading,
  .closing-content {
    display: block;
  }

  .section-heading>span {
    display: block;
    margin-top: 13px;
  }

  .collection-heading>a {
    display: inline-block;
    margin-top: 14px;
    padding-bottom: 0;
  }

  .api-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .api-group {
    padding: 19px;
  }

  .closing {
    padding: 52px 0;
  }

  .closing h2 {
    margin-bottom: 23px;
  }

  .site-footer {
    gap: 16px;
    font-size: 8px;
  }

  .site-footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}