@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap");

:root {
  --black: #0b0b0b;
  --deep-black: #070707;
  --white: #fff;
  --orange: #f65a18;
  --light-rule: rgba(255, 255, 255, .28);
  --dark-rule: rgba(11, 11, 11, .18);
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--black); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  text-transform: uppercase;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0 clamp(20px, 4vw, 64px);
  padding: 18px 0 15px;
  border-bottom: 1px solid var(--light-rule);
}

.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.48rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 42px);
}

.site-nav a,
.site-footer nav a {
  font-family: "DM Mono", monospace;
  font-size: .67rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.site-nav a { color: rgba(255, 255, 255, .82); }
.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible { color: var(--orange); }

.store-button {
  display: inline-flex;
  width: 150px;
  height: 45px;
  align-items: center;
  justify-self: end;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid var(--orange);
  color: var(--white);
  background: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.store-button:hover,
.store-button:focus-visible {
  color: var(--orange);
  background: transparent;
}

.chrome-logo-image {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: currentColor;
  -webkit-mask: url("/chrome-logo-user.svg") center / contain no-repeat;
  mask: url("/chrome-logo-user.svg") center / contain no-repeat;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 51vw, 720px);
  overflow: hidden;
  padding: 150px clamp(24px, 7.5vw, 120px) 90px;
  background: var(--deep-black);
}

.page-hero__copy {
  width: min(100%, 730px);
  padding-top: clamp(35px, 5vw, 78px);
}

.section-number {
  display: block;
  margin-bottom: 17px;
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: .76rem;
  letter-spacing: .06em;
}

.orange-rule {
  display: block;
  width: 65px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--orange);
}

.page-hero h1 {
  max-width: 710px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4.2rem, 7.2vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: .94;
}

.page-hero p {
  max-width: 510px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .69);
  font-size: 1rem;
  line-height: 1.68;
}

.page-content {
  color: var(--black);
  background: var(--white);
}

.page-content article {
  display: grid;
  grid-template-columns: minmax(58px, .24fr) minmax(250px, .72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 86px);
  align-items: start;
  padding: 48px clamp(24px, 7.5vw, 120px) 52px;
  border-top: 1px solid var(--dark-rule);
}

.page-content article:first-child { border-top: 0; }

.entry-number {
  padding-top: 7px;
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: .68rem;
  letter-spacing: .1em;
}

.page-content h2 {
  max-width: 450px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.15vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -.008em;
  line-height: 1.08;
}

.entry-copy { max-width: 660px; }
.page-content p,
.page-content li {
  color: rgba(11, 11, 11, .64);
  font-size: .98rem;
  line-height: 1.72;
}

.page-content p { margin: 7px 0 0; }
.page-content ul {
  display: grid;
  gap: 12px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.page-content li {
  position: relative;
  padding-left: 22px;
}

.page-content li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--orange);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr);
  gap: 40px;
  align-items: end;
  padding: 42px clamp(24px, 5.5vw, 88px);
  border-top: 1px solid var(--light-rule);
  background: var(--black);
}

.site-footer__brand { display: grid; gap: 12px; }
.site-footer p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, .52);
  font-family: "Playfair Display", Georgia, serif;
  font-size: .98rem;
  line-height: 1.5;
}

.site-footer nav {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.site-footer nav a { color: rgba(255, 255, 255, .7); }
.site-footer nav a[aria-current="page"] { color: var(--orange); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .page-content article {
    grid-template-columns: 50px minmax(220px, .75fr) minmax(260px, 1fr);
    gap: 25px;
  }
}

@media (max-width: 700px) {
  .site-header { margin: 0 22px; }
  .wordmark { font-size: 1.25rem; }
  .store-button { width: 146px; height: 43px; font-size: .64rem; }

  .page-hero {
    min-height: 650px;
    padding: 118px 24px 66px;
  }

  .page-hero__copy { padding-top: 22px; }
  .page-hero h1 { font-size: clamp(3.45rem, 15vw, 4.75rem); line-height: .97; }
  .page-hero p { max-width: 350px; margin-top: 24px; font-size: .92rem; line-height: 1.62; }

  .page-content article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 34px 24px 38px;
  }
  .entry-number { grid-row: 1 / span 2; padding-top: 4px; }
  .page-content h2 { font-size: clamp(2rem, 9.5vw, 2.7rem); }
  .entry-copy { grid-column: 2; }
  .page-content p,
  .page-content li { font-size: .9rem; line-height: 1.65; }

  .site-footer { grid-template-columns: 1fr; align-items: start; padding: 32px 24px; }
  .site-footer nav { justify-content: flex-start; gap: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
