:root {
  color-scheme: light;
  --paper: #f7f1e1;
  --ink: #263f30;
  --muted: #586455;
  --line: #d7d4bf;
  --gold: #a16b29;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    18px/1.7 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: #78501e;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
header,
footer,
main {
  max-width: 1120px;
  margin: auto;
  padding: 28px 36px;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 650;
}
.brand img {
  width: 40px;
  height: 48px;
  object-fit: contain;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 52px 0 80px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}
h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.12;
  font-weight: 400;
}
h1 {
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing: -0.035em;
  margin: 18px 0 26px;
}
h2 {
  font-size: 38px;
  margin: 0 0 20px;
}
h3 {
  font-size: 25px;
}
p {
  max-width: 65ch;
}
p,
li {
  color: var(--muted);
}
.lead {
  font-size: 21px;
}
.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  margin-top: 12px;
}
.button:hover {
  background: #3b5840;
  color: white;
}
.screen {
  width: 100%;
  display: block;
  border-radius: 22px;
  box-shadow: 0 20px 65px #263f3024;
}
.hero .screen {
  width: min(100%, 310px);
  margin: auto;
  transform: rotate(3deg);
}
section {
  padding: 58px 0;
  border-top: 1px solid var(--line);
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story .screen {
  width: 250px;
  margin: auto;
}
.story.reverse .copy {
  order: 2;
}
.note {
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: #eeead9;
}
.small {
  font-size: 14px;
}
.article {
  max-width: 780px;
  padding-bottom: 80px;
}
.article h1 {
  font-size: 54px;
}
.article h2 {
  font-size: 29px;
  margin: 38px 0 12px;
}
.article h3 {
  font-size: 23px;
}
.article section {
  padding: 20px 0;
}
.article details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.article summary {
  cursor: pointer;
  font-weight: 600;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 14px;
  margin-top: 50px;
}
.pending {
  padding: 18px 22px;
  border: 1px dashed var(--gold);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 15px;
  top: 10px;
  z-index: 10;
  background: white;
  padding: 10px;
}
@media (max-width: 720px) {
  body {
    font-size: 17px;
  }
  header,
  footer,
  main {
    padding: 22px;
  }
  .hero,
  .story {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero {
    padding-top: 12px;
  }
  .hero .screen {
    width: 230px;
    transform: none;
  }
  .story.reverse .copy {
    order: 0;
  }
  header {
    align-items: flex-start;
  }
  nav {
    gap: 14px;
    font-size: 15px;
  }
  h2 {
    font-size: 32px;
  }
  .article h1 {
    font-size: 42px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
