@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;1,600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --ink: #151515;
  --paper: #f3f1e9;
  --field: #dfe7df;
  --red: #e3412f;
  --blue: #2459a6;
  --yellow: #e4ad2f;
  --tan: #c99563;
  --muted: #625f57;
  --line: 3px solid var(--ink);
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Barlow", Arial, sans-serif;
  --utility: "IBM Plex Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--red);
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

.utility {
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.masthead {
  background: var(--paper);
  border-bottom: var(--line);
}

.masthead__row {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.masthead__tag {
  border: 2px solid var(--ink);
  padding: 7px 12px 6px;
  transform: rotate(-1deg);
}

.masthead__links {
  justify-self: end;
  display: flex;
  gap: 22px;
}

.hero {
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--paper);
}

.hero__grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
}

.hero__copy {
  padding: 88px 54px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.issue-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.issue-label::before {
  content: "";
  width: 52px;
  height: 11px;
  background: var(--red);
  border: 2px solid var(--ink);
}

.hero h1 {
  max-width: 8.5ch;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 .wear {
  display: inline-block;
  color: var(--blue);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.hero__deck {
  max-width: 32rem;
  margin-bottom: 28px;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 500;
  line-height: 1.35;
}

.status-line {
  display: flex;
  align-items: stretch;
  width: fit-content;
  border: var(--line);
  box-shadow: 7px 7px 0 var(--ink);
}

.status-line__main,
.status-line__flag {
  padding: 13px 16px;
}

.status-line__main {
  flex: 1;
  background: var(--yellow);
  font-weight: 700;
}

.status-line__flag {
  background: var(--ink);
  color: var(--paper);
}

.hero__visual {
  position: relative;
  min-width: 0;
  padding: 56px 0 56px 54px;
  display: flex;
  align-items: center;
  border-left: var(--line);
  background: var(--blue);
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  border: var(--line);
}

.hero__visual::before {
  width: 175px;
  height: 175px;
  top: -38px;
  right: 44px;
  border-radius: 50%;
  background: var(--yellow);
}

.hero__visual::after {
  width: 84px;
  height: 360px;
  right: -24px;
  bottom: -70px;
  background: var(--red);
  transform: rotate(18deg);
}

.workboard {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  background: var(--paper);
  border: var(--line);
  box-shadow: 13px 13px 0 var(--ink);
  transform: rotate(1deg);
}

.workboard__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: var(--line);
  background: var(--tan);
}

.workboard__lights {
  display: flex;
  gap: 7px;
}

.workboard__lights span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.workboard__body {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 460px;
}

.tool-rail {
  padding: 18px 12px;
  border-right: var(--line);
  background: var(--ink);
  color: var(--paper);
}

.tool-rail__mark {
  width: 62px;
  margin: 0 auto 28px;
}

.tool-rail__item {
  margin: 0 -12px;
  padding: 12px;
  border-top: 1px solid #4a4a4a;
  color: #aaa9a4;
}

.tool-rail__item:last-child {
  border-bottom: 1px solid #4a4a4a;
}

.tool-rail__item.is-active {
  background: var(--red);
  color: white;
}

.upload-sheet {
  min-width: 0;
  padding: 22px;
}

.upload-sheet__title {
  margin-bottom: 5px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.upload-sheet__file {
  margin-bottom: 20px;
  color: var(--muted);
}

.fake-field {
  min-height: 56px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  background: white;
  font-weight: 600;
}

.assist {
  border: 2px solid var(--ink);
  background: #fff;
}

.assist__head {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

.suggestion {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #c9c6bc;
  font-size: 0.92rem;
}

.suggestion:last-child {
  border-bottom: 0;
}

.suggestion__n {
  font-family: var(--utility);
  color: var(--red);
}

.suggestion__use {
  padding: 4px 7px;
  border: 1px solid var(--ink);
  background: var(--field);
}

.field-tab {
  position: absolute;
  z-index: 3;
  top: 38px;
  left: 24px;
  padding: 13px 16px;
  border: var(--line);
  background: var(--red);
  color: white;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-5deg);
}

.band {
  border-bottom: var(--line);
  background: var(--yellow);
}

.band__row {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.band__statement {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.band__note {
  max-width: 43ch;
  margin: 0;
  text-align: right;
}

.intro {
  padding: 112px 0 96px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.section-marker {
  position: sticky;
  top: 24px;
  width: fit-content;
  padding: 10px 13px;
  border: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.intro h2,
.feature h2,
.privacy h2,
.about h2,
.final h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.intro h2 {
  max-width: 12ch;
  margin-bottom: 32px;
}

.intro__lede {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  line-height: 1.38;
}

.features {
  border-top: var(--line);
}

.feature {
  position: relative;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--paper);
}

.feature__grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature__copy {
  min-width: 0;
  padding: 78px 70px 72px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature:nth-child(even) .feature__copy {
  order: 2;
  padding-right: 0;
  padding-left: 70px;
}

.feature__copy h2 {
  max-width: 10ch;
  margin-bottom: 25px;
}

.feature__copy p {
  max-width: 31rem;
  margin-bottom: 0;
  font-size: 1.18rem;
}

.feature__visual {
  position: relative;
  min-width: 0;
  padding: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: var(--line);
  overflow: visible;
}
.feature__visual::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 50vw;
  background: inherit;
}


.feature:nth-child(even) .feature__visual {
  order: 1;
  border-left: 0;
  border-right: var(--line);
}
.feature:nth-child(even) .feature__visual::before {
  right: 100%;
  left: auto;
}


.feature--red .feature__visual {
  background: var(--red);
}

.feature--yellow .feature__visual {
  background: var(--yellow);
}

.feature--blue .feature__visual {
  background: var(--blue);
}

.ticket {
  position: relative;
  width: min(480px, 100%);
  border: var(--line);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

.ticket__head {
  padding: 11px 15px;
  border-bottom: var(--line);
  display: flex;
  justify-content: space-between;
}

.ticket__main {
  padding: 22px;
}

.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
}

.stat {
  padding: 16px;
}

.stat:first-child {
  border-right: 2px solid var(--ink);
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
}

.stat small {
  font-family: var(--utility);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.outlier {
  margin-top: 16px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--red);
  color: white;
  font-family: var(--display);
  text-transform: uppercase;
}

.keyword-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 2px solid var(--ink);
  font-weight: 600;
}

.keyword-line:first-child {
  padding-top: 0;
}

.keyword-line:last-child {
  border-bottom: 0;
}

.score {
  min-width: 54px;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  text-align: center;
  font-family: var(--utility);
}

.score--high {
  background: var(--yellow);
}

.rank-stamp {
  position: absolute;
  right: -24px;
  bottom: -21px;
  padding: 12px 16px;
  border: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  transform: rotate(-4deg);
}

.local-sheet {
  width: min(480px, 100%);
  padding: 25px;
  border: var(--line);
  background: var(--ink);
  color: white;
  box-shadow: 10px 10px 0 var(--yellow);
}

.local-sheet__head {
  padding-bottom: 18px;
  border-bottom: 2px solid var(--yellow);
}

.local-sheet__head span,
.local-sheet__head strong {
  display: block;
}

.local-sheet__head strong {
  max-width: 12ch;
  margin-top: 9px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.local-sheet__line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #565656;
}

.local-sheet__line:last-child {
  border-bottom: 0;
}

.local-sheet__yes {
  color: #f1bd43;
  font-family: var(--utility);
}

.privacy {
  padding: 106px 0;
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--paper);
}

.privacy__top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: end;
}

.privacy h2 {
  max-width: 10ch;
  margin-bottom: 0;
  color: var(--yellow);
}

.privacy__lede {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.privacy__ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border: 2px solid #77736b;
}

.privacy__item {
  min-height: 175px;
  padding: 20px;
  border-right: 2px solid #77736b;
}

.privacy__item:last-child {
  border-right: 0;
}

.privacy__item b {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-family: var(--utility);
}

.about {
  padding: 100px 0;
  border-bottom: var(--line);
  background: var(--tan);
}

.about__grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 64px;
  align-items: center;
}

.about__photo {
  position: relative;
}

.about__photo::before {
  content: "The one-man shop";
  position: absolute;
  top: -19px;
  left: -20px;
  z-index: 2;
  padding: 9px 12px;
  border: var(--line);
  background: var(--yellow);
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.about__photo img {
  width: 100%;
  border: var(--line);
  box-shadow: 10px 10px 0 var(--ink);
  filter: saturate(0.75) contrast(1.08);
}

.about h2 {
  max-width: 9ch;
  margin-bottom: 28px;
}

.about__body {
  max-width: 690px;
  font-size: 1.2rem;
}

.about__body p:last-child {
  margin-bottom: 0;
}

.final {
  padding: 106px 0;
  background: var(--red);
  color: white;
  text-align: center;
}

.final h2 {
  max-width: 12ch;
  margin: 0 auto 28px;
}

.final__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: var(--line);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.colophon {
  padding: 30px 0;
  border-top: var(--line);
  background: var(--paper);
}

.colophon__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
}

.colophon .brand img {
  width: 36px;
  height: 36px;
}

.colophon__links {
  display: flex;
  gap: 22px;
  font-family: var(--utility);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.colophon__note {
  margin: 0;
  text-align: right;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages */
.legal-shell {
  background: var(--paper);
}

.legal-masthead {
  border-bottom: var(--line);
  background: var(--yellow);
}

.legal-masthead .masthead__row {
  grid-template-columns: 1fr auto;
}

.legal-back {
  font-family: var(--utility);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.doc {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

.doc h1 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.doc .updated {
  margin-bottom: 55px;
  font-family: var(--utility);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.doc h2 {
  margin: 52px 0 12px;
  padding-top: 15px;
  border-top: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.doc p,
.doc li {
  font-size: 1.06rem;
}

.doc ul {
  padding-left: 1.25em;
}

.doc li {
  margin-bottom: 8px;
}

.doc .short-version {
  padding: 22px 24px;
  border: var(--line);
  background: var(--field);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 1.22rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .masthead__row {
    grid-template-columns: 1fr auto;
  }

  .masthead__tag {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding: 72px 0;
  }

  .hero__visual {
    min-height: 650px;
    padding: 70px 48px;
    border-top: var(--line);
    border-left: 0;
  }

  .intro__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-marker {
    position: static;
  }

  .feature__grid {
    grid-template-columns: 1fr;
  }

  .feature__copy,
  .feature:nth-child(even) .feature__copy {
    order: 1;
    padding: 70px 0;
  }

  .feature__visual,
  .feature:nth-child(even) .feature__visual {
    order: 2;
    min-height: 520px;
    border: 0;
    border-top: var(--line);
  }

  .feature__visual::before {
    display: none;
  }

  .privacy__top,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .privacy__ledger {
    grid-template-columns: 1fr 1fr;
  }

  .privacy__item:nth-child(2) {
    border-right: 0;
  }

  .privacy__item:nth-child(-n + 2) {
    border-bottom: 2px solid #77736b;
  }

  .about__photo {
    max-width: 350px;
  }

  .colophon__row {
    grid-template-columns: 1fr auto;
  }

  .colophon__note {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .doc {
    width: min(100% - 28px, 1180px);
  }

  .masthead__row {
    min-height: 70px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .masthead__links a:first-child {
    display: none;
  }

  .hero__copy {
    padding: 56px 0 62px;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 18vw, 5.1rem);
  }

  .status-line {
    width: 100%;
  }

  .status-line__main,
  .status-line__flag {
    padding: 11px 10px;
  }

  .hero__visual {
    min-height: 490px;
    padding: 45px 14px 48px;
  }

  .hero__visual::before {
    width: 110px;
    height: 110px;
    right: 8px;
  }

  .workboard__body {
    grid-template-columns: 76px 1fr;
    min-height: 350px;
  }

  .tool-rail {
    padding: 12px 8px;
  }

  .tool-rail__mark {
    width: 48px;
    margin-bottom: 18px;
  }

  .tool-rail__item {
    margin: 0 -8px;
    padding: 9px 7px;
    font-size: 0.58rem;
  }

  .upload-sheet {
    padding: 14px;
  }

  .upload-sheet__title {
    font-size: 1rem;
  }

  .upload-sheet__file {
    font-size: 0.58rem;
  }

  .fake-field {
    min-height: 45px;
    font-size: 0.72rem;
  }

  .assist__head,
  .suggestion {
    font-size: 0.64rem;
  }

  .suggestion {
    grid-template-columns: 16px 1fr;
  }

  .suggestion__use {
    display: none;
  }

  .field-tab {
    top: 20px;
    left: 5px;
    padding: 8px 10px;
    font-size: 0.58rem;
  }

  .band__row {
    padding: 20px 0;
    display: block;
  }

  .band__note {
    margin-top: 12px;
    text-align: left;
  }

  .intro {
    padding: 76px 0 68px;
  }

  .feature__copy,
  .feature:nth-child(even) .feature__copy {
    padding: 60px 0;
  }

  .feature__visual,
  .feature:nth-child(even) .feature__visual {
    min-height: 420px;
    padding: 44px 24px;
  }

  .stat b {
    font-size: 2rem;
  }

  .rank-stamp {
    right: -8px;
  }

  .privacy {
    padding: 76px 0;
  }

  .privacy__top {
    gap: 36px;
  }

  .privacy__ledger {
    grid-template-columns: 1fr;
  }

  .privacy__item,
  .privacy__item:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 2px solid #77736b;
  }

  .privacy__item:last-child {
    border-bottom: 0;
  }

  .privacy__item b {
    margin-bottom: 12px;
  }

  .about {
    padding: 78px 0;
  }

  .about__grid {
    gap: 45px;
  }

  .final {
    padding: 78px 0;
  }

  .colophon__row,
  .legal-masthead .masthead__row {
    grid-template-columns: 1fr;
  }

  .colophon__links {
    flex-wrap: wrap;
  }

  .doc {
    padding: 65px 0 80px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
