:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #53645e;
  --green: #17392f;
  --green-deep: #102a23;
  --paper: #f7f8f5;
  --line: #dce3df;
  --blue: #365fd6;
  --coral: #e66a50;
  --lime: #b8e46b;
  --font-body: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --font-display: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100% - 64px, 1280px);
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  color: #fff;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.wordmark__symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--green-deep);
  background: var(--lime);
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.nav-github {
  padding: 9px 13px;
  border: 1px solid rgb(255 255 255 / 55%);
}

.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  min-height: min(760px, 82svh);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
  isolation: isolate;
}

.hero__photo,
.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__photo {
  object-fit: cover;
  object-position: center 48%;
}

.hero__shade {
  background: rgb(9 29 23 / 58%);
}

.hero__content {
  width: min(100% - 64px, 1280px);
  margin: 42px auto 88px;
  padding-top: 40px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: 76px;
  font-weight: 600;
}

.hero__period {
  color: var(--lime);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.24;
}

.hero__detail {
  max-width: 560px;
  margin-bottom: 26px;
  color: rgb(255 255 255 / 82%);
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease;
}

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

.button--light {
  color: var(--green-deep);
  background: var(--lime);
}

.button--outline {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 70%);
}

.hero__footer {
  display: flex;
  width: min(100% - 64px, 1280px);
  gap: 30px;
  margin: 0 auto 27px;
  padding-top: 17px;
  border-top: 1px solid rgb(255 255 255 / 38%);
  color: rgb(255 255 255 / 84%);
  font-size: 13px;
}

.hero__footer span + span::before {
  margin-right: 30px;
  color: var(--lime);
  content: "/";
}

.photo-credit {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgb(255 255 255 / 80%);
  font-size: 10px;
  text-decoration: none;
}

.section-wrap {
  width: min(100% - 64px, 1160px);
  margin: 0 auto;
}

.intro {
  padding-top: 92px;
  padding-bottom: 104px;
}

.section-kicker {
  color: var(--green);
}

.section-kicker span {
  color: var(--coral);
  font-family: var(--font-display);
}

.intro__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 0.8fr);
  gap: 70px;
  align-items: end;
  margin-top: 24px;
}

.intro h2,
.closing h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 44px;
}

.intro h2 span {
  color: var(--blue);
}

.intro__copy {
  max-width: 490px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 17px;
}

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

.principle {
  min-height: 185px;
  padding: 21px 27px 0 0;
}

.principle + .principle {
  padding-left: 27px;
  border-left: 1px solid var(--line);
}

.principle__index {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 17px;
  color: var(--green-deep);
  background: var(--lime);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.principle__index--blue {
  color: #fff;
  background: var(--blue);
}

.principle__index--coral {
  color: #fff;
  background: var(--coral);
}

.principle h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.principle p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.start {
  color: #fff;
  background: var(--green);
}

.start__inner {
  padding-top: 78px;
  padding-bottom: 38px;
}

.section-kicker--light {
  color: var(--lime);
}

.start__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(440px, 1fr);
  gap: 82px;
  align-items: center;
  padding: 27px 0 55px;
}

.start__copy h2 {
  max-width: 460px;
  margin-bottom: 16px;
  font-size: 38px;
}

.start__copy p {
  max-width: 390px;
  margin-bottom: 22px;
  color: rgb(255 255 255 / 77%);
}

.text-link {
  display: inline-flex;
  gap: 9px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.terminal {
  overflow: hidden;
  color: #ecf1ed;
  background: #10231f;
  border: 1px solid rgb(255 255 255 / 18%);
}

.terminal__bar {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: rgb(255 255 255 / 60%);
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  font-size: 11px;
}

.terminal__lights {
  display: flex;
  gap: 5px;
}

.terminal__lights i {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

.terminal__lights i:nth-child(2) {
  background: #f1c95d;
}

.terminal__lights i:nth-child(3) {
  background: var(--lime);
}

.terminal__language {
  color: var(--lime);
}

.terminal pre {
  overflow-x: auto;
  margin: 0;
  padding: 23px 20px 27px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.85;
  tab-size: 2;
}

.terminal code {
  white-space: pre;
}

.code-muted {
  color: #91a69d;
}

.request-example {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.request-example > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
}

.request-example__label {
  color: rgb(255 255 255 / 68%);
  font-size: 12px;
}

.request-example code {
  padding: 6px 8px;
  color: var(--green-deep);
  background: var(--lime);
  font-size: 12px;
}

.request-example > a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.request-example > a:hover {
  text-decoration: underline;
}

.closing {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.closing__mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--green-deep);
  background: var(--coral);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
}

.closing .section-kicker {
  margin-bottom: 11px;
}

.closing h2 {
  font-size: 32px;
}

.closing__copy > p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.button--dark {
  color: #fff;
  background: var(--blue);
}

.button--dark:hover {
  background: #274dbd;
}

.site-footer {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(32px, calc((100% - 1160px) / 2));
  color: #fff;
  background: var(--green-deep);
}

.wordmark--footer {
  font-size: 15px;
}

.wordmark--footer .wordmark__symbol {
  width: 26px;
  height: 26px;
  font-size: 15px;
}

.site-footer p {
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 19px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 760px) {
  .site-header,
  .hero__content,
  .hero__footer,
  .section-wrap {
    width: min(100% - 40px, 1160px);
  }

  .site-header {
    min-height: 70px;
  }

  .site-nav {
    gap: 17px;
    font-size: 12px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .nav-github {
    padding: 7px 9px;
  }

  .hero {
    min-height: 720px;
    min-height: min(760px, 84svh);
  }

  .hero__photo {
    object-position: 58% center;
  }

  .hero__shade {
    background: rgb(9 29 23 / 64%);
  }

  .hero__content {
    margin-top: 70px;
    margin-bottom: 85px;
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero__lead {
    max-width: 500px;
    font-size: 27px;
  }

  .hero__detail {
    font-size: 15px;
  }

  .hero__footer {
    flex-wrap: wrap;
    gap: 11px 18px;
    font-size: 12px;
  }

  .hero__footer span + span::before {
    margin-right: 18px;
  }

  .intro {
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .intro__body {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .intro h2 {
    font-size: 36px;
  }

  .intro__copy {
    font-size: 15px;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 39px;
  }

  .principle,
  .principle + .principle {
    min-height: auto;
    padding: 19px 0 20px;
  }

  .principle + .principle {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .principle__index {
    margin-bottom: 11px;
  }

  .start__inner {
    padding-top: 60px;
    padding-bottom: 25px;
  }

  .start__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 23px;
    padding-bottom: 35px;
  }

  .start__copy h2 {
    font-size: 34px;
  }

  .terminal pre {
    padding: 18px 13px 21px;
    font-size: 10px;
  }

  .request-example {
    align-items: flex-start;
  }

  .request-example > div {
    display: grid;
    gap: 8px;
  }

  .request-example code {
    font-size: 10px;
  }

  .closing {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding-top: 53px;
    padding-bottom: 53px;
  }

  .closing__mark {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .closing h2 {
    font-size: 26px;
  }

  .closing__copy > p:last-child {
    font-size: 13px;
  }

  .closing .button {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    min-height: 0;
    flex-wrap: wrap;
    padding: 24px 20px;
  }
}

@media (max-width: 420px) {
  .wordmark {
    gap: 7px;
    font-size: 16px;
  }

  .wordmark__symbol {
    width: 28px;
    height: 28px;
  }

  .site-nav {
    gap: 12px;
    font-size: 11px;
  }

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

  .hero__content,
  .hero__footer,
  .site-header,
  .section-wrap {
    width: min(100% - 32px, 1160px);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero__lead {
    font-size: 24px;
  }

  .hero__actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .hero__footer {
    gap: 8px 12px;
  }

  .hero__footer span + span::before {
    margin-right: 12px;
  }

  .photo-credit {
    right: 10px;
    font-size: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
