:root {
  --ink: #eaf4f2;
  --line: rgba(150, 197, 198, 0.16);
  --panel: #0d1820;
  --deep: #061017;
  --teal: #2adfc4;
  --blue: #5e91ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.hero {
  min-height: 660px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 76% 32%, rgba(34, 217, 194, 0.13), transparent 28%),
    radial-gradient(circle at 92% 68%, rgba(62, 111, 255, 0.13), transparent 31%),
    linear-gradient(145deg, #07131b 0%, #08131d 54%, #07101a 100%);
  border-bottom: 1px solid var(--line);
}

nav,
.hero-content,
.content-grid,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: block;
  overflow: hidden;
  background: #07131b;
  box-shadow: 0 0 30px rgba(42, 223, 196, 0.2);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-link {
  color: #b9c8cb;
  text-underline-offset: 5px;
  font-size: 0.9rem;
}

.hero-content {
  padding: 92px 0 112px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font: 650 0.72rem ui-monospace, SFMono-Regular, Consolas, monospace;
  margin: 0 0 22px;
}

h1 {
  margin: 0 0 30px;
  max-width: 760px;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: -0.072em;
  font-weight: 680;
}

h1 span {
  display: block;
  margin-top: 17px;
  color: #829397;
  font-size: 0.31em;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 430;
}

.lede {
  margin: 0;
  max-width: 650px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #c5d2d3;
}

.lede.secondary {
  margin-top: 8px;
  color: #809195;
  font-size: 1rem;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #c7f8ef;
  background: rgba(42, 223, 196, 0.08);
  border: 1px solid rgba(42, 223, 196, 0.2);
  font-size: 0.88rem;
}

.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
}

.effective {
  color: #77898e;
  font: 0.78rem ui-monospace, SFMono-Regular, Consolas, monospace;
}

.strings {
  position: absolute;
  width: 54vw;
  height: 430px;
  right: -10vw;
  top: 130px;
  opacity: 0.46;
  transform: rotate(-7deg);
}

.strings span {
  position: absolute;
  inset-inline: 0;
  height: 1px;
  top: calc(var(--i) * 58px);
  background: linear-gradient(90deg, transparent, var(--teal), var(--blue));
  box-shadow: 0 0 12px rgba(42, 223, 196, 0.22);
  border-radius: 50%;
}

.strings span:nth-child(1) { --i: 1; }
.strings span:nth-child(2) { --i: 2; }
.strings span:nth-child(3) { --i: 3; }
.strings span:nth-child(4) { --i: 4; }
.strings span:nth-child(5) { --i: 5; }
.strings span:nth-child(6) { --i: 6; }

.content-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 92px;
  padding: 96px 0 120px;
}

aside {
  align-self: start;
  position: sticky;
  top: 30px;
}

aside > p {
  margin: 0 0 17px;
  color: #61747a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font: 0.68rem ui-monospace, SFMono-Regular, Consolas, monospace;
}

aside ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside li + li {
  margin-top: 8px;
}

aside a {
  color: #88999d;
  text-decoration: none;
  font-size: 0.86rem;
}

aside a:hover {
  color: var(--teal);
}

aside a span {
  display: inline-block;
  width: 29px;
  color: #4b6167;
  font: 0.68rem ui-monospace, SFMono-Regular, Consolas, monospace;
}

article > section {
  scroll-margin-top: 30px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 0 0 58px;
  margin-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  padding-top: 9px;
  color: var(--teal);
  font: 0.7rem ui-monospace, SFMono-Regular, Consolas, monospace;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 650;
}

h3 {
  margin: 7px 0 25px;
  color: #6e8186;
  font-size: 0.96rem;
  font-weight: 450;
}

article p {
  margin: 0 0 16px;
  color: #aebdc0;
  font-size: 1.01rem;
}

article p[lang="es"] {
  color: #75878b;
}

article .contact-card {
  padding: 34px 32px 38px;
  border: 1px solid rgba(42, 223, 196, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(42, 223, 196, 0.09), transparent 44%),
    var(--panel);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: var(--teal);
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.github-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

footer {
  padding: 27px 0 42px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #62757a;
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .hero {
    min-height: 610px;
  }

  nav,
  .hero-content,
  .content-grid,
  footer {
    width: min(100% - 32px, 680px);
  }

  nav {
    height: 76px;
  }

  .hero-content {
    padding: 76px 0 90px;
  }

  .strings {
    opacity: 0.22;
    width: 90vw;
    right: -38vw;
    top: 210px;
  }

  .content-grid {
    display: block;
    padding: 65px 0 82px;
  }

  aside {
    display: none;
  }

  article > section {
    grid-template-columns: 32px 1fr;
    gap: 11px;
    padding-bottom: 42px;
    margin-bottom: 42px;
  }

  article .contact-card {
    padding: 27px 20px 31px;
  }
}

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