:root {
  color-scheme: light;
  --ink: #07111f;
  --night: #0f1b2f;
  --paper: #f6efe2;
  --cream: #fffaf0;
  --bone: #e8d8bd;
  --muted: #596273;
  --line: #172033;
  --red: #b82024;
  --red-dark: #861619;
  --gold: #b9914b;
  --blue: #243956;
  --display: "Avenir Next Condensed", "DIN Condensed", "Franklin Gothic Condensed", Impact, sans-serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  font-family: var(--body);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    repeating-linear-gradient(90deg, rgba(7, 17, 31, 0.045) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(184, 145, 75, 0.08) 0 1px, transparent 1px 64px),
    var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
}

a {
  color: inherit;
}

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

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.top,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top {
  padding: 18px 0 14px;
  border-bottom: 3px solid var(--ink);
}

.brand {
  background: var(--ink);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  text-decoration: none;
  text-transform: uppercase;
  font: 900 22px/1 var(--display);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
  color: var(--night);
  font: 800 14px/1.2 var(--body);
  text-transform: uppercase;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  text-decoration: none;
}

.nav a:hover {
  border-color: var(--red);
}

.main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.main.landing {
  width: 100%;
  padding: 0 0 80px;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: min(680px, calc(100svh - 112px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 48px 0 112px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  inset: 44px 0 auto auto;
  width: 58%;
  height: 58%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(184, 145, 75, 0.52) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(184, 145, 75, 0.52) 48% 52%, transparent 52%);
}

.hero::after {
  right: -80px;
  bottom: 74px;
  width: min(560px, 48%);
  height: 46px;
  background: var(--red);
  box-shadow: -34px -26px 0 var(--ink), 22px 24px 0 var(--gold);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  max-width: 650px;
}

.hero-art {
  position: absolute;
  z-index: 1;
  right: -38px;
  top: 22px;
  width: min(620px, 53%);
  height: auto;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font: 900 16px/1 var(--body);
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 610px;
  color: var(--ink);
  font-size: 4.1rem;
  line-height: 0.92;
}

h1 span {
  display: block;
}

h2 {
  font-size: 3rem;
  line-height: 0.98;
}

h3 {
  font-size: 2rem;
  line-height: 1;
}

p {
  max-width: 700px;
}

.sub {
  color: var(--night);
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 26px 0 0;
  max-width: min(580px, 100%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  max-width: 100%;
}

.button {
  border: 2px solid var(--ink);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  text-decoration: none;
  text-transform: uppercase;
  font: 900 16px/1 var(--body);
}

.button.primary {
  background: var(--ink);
  color: var(--cream);
}

.button.pro {
  background: var(--red);
  border-color: var(--red-dark);
  color: var(--cream);
}

.button.quiet {
  background: transparent;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--gold);
}

.proof-strip {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 93%, var(--cream));
}

.proof-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: var(--ink);
  font: 900 17px/1.1 var(--body);
  text-transform: uppercase;
}

.proof-strip span + span {
  border-left: 2px solid var(--ink);
}

.benefits {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0;
}

.benefits > .section-kicker,
.benefits > h2,
.benefit-grid {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

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

.benefits h2 {
  max-width: 900px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.panel {
  position: relative;
  min-height: 270px;
  background: var(--cream);
  border: 2px solid var(--bone);
  border-radius: 8px;
  color: var(--ink);
  padding: 26px;
}

.panel-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  background: var(--red);
  color: var(--cream);
  font: 900 16px/1 var(--body);
}

.panel h3 {
  color: var(--ink);
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel p {
  margin: 18px 0 0;
}

.closing-band {
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 42px 0 46px;
}

.closing-band h2 {
  max-width: 780px;
}

.closing-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}

.copy-block {
  background: var(--cream);
  border: 2px solid var(--line);
  color: var(--ink);
  display: block;
  margin: 24px 0;
  overflow-x: auto;
  padding: 18px;
  white-space: pre;
}

.doc {
  max-width: 820px;
}

.doc h1 {
  font-size: 4.6rem;
  line-height: 0.95;
}

.doc h2 {
  border-top: 2px solid var(--line);
  font-size: 2rem;
  margin-top: 40px;
  padding-top: 28px;
}

.doc li + li {
  margin-top: 8px;
}

.footer {
  border-top: 3px solid var(--ink);
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0;
}

@media (min-width: 900px) {
  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 4rem;
  }
}

@media (max-width: 880px) {
  .top,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 36px 0 28px;
  }

  .hero-art {
    right: -104px;
    top: 150px;
    width: min(520px, 115%);
    opacity: 0.32;
  }

  .hero::before {
    width: 90%;
    height: 48%;
  }

  .hero::after {
    right: -44px;
    bottom: 118px;
    width: 70%;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2,
  .doc h1 {
    font-size: 2.8rem;
  }

  .sub {
    font-size: 1.2rem;
    max-width: 350px;
  }

  .proof-strip {
    position: relative;
    bottom: auto;
    margin-top: 36px;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .proof-strip span + span {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

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

@media (max-width: 520px) {
  .nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 8px 14px;
    justify-content: start;
    width: 100%;
  }

  .main {
    padding-top: 44px;
  }

  .hero {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 2.35rem;
  }

  h2,
  .doc h1 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .panel {
    min-height: auto;
  }
}
