: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,
.footer-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;
  overflow-wrap: break-word;
  text-wrap: balance;
  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.buy {
  background: var(--gold);
  border-color: var(--ink);
  color: var(--ink);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button.quiet {
  background: transparent;
}

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

.button:disabled:hover {
  box-shadow: none;
  transform: none;
}

.checkout-form {
  display: grid;
  grid-template-columns: minmax(220px, 320px) max-content;
  gap: 12px;
  margin-top: 18px;
  max-width: min(100%, 540px);
}

.checkout-form input {
  width: 100%;
  min-height: 52px;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  padding: 12px 14px;
  font: 800 16px/1 var(--body);
}

.checkout-form input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, var(--ink));
}

.checkout-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--night);
  font: 800 14px/1.3 var(--body);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.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;
}

.setup-steps {
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 10px 0 34px;
}

.step-panel {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 72%, transparent);
}

.step-panel:last-of-type {
  border-bottom: 0;
}

.step-number {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--cream);
  font: 900 28px/1 var(--display);
}

.step-panel h2 {
  font-size: 2.4rem;
  line-height: 1;
}

.step-panel p {
  color: var(--muted);
  font-size: 1.2rem;
  margin: 12px 0 0;
}

.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;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.x-button {
  width: 42px;
  background: var(--ink);
  color: var(--cream);
}

.tithe-button {
  min-width: 94px;
  padding: 11px 14px;
  background: var(--gold);
}

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

@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: 58px;
    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;
  }

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

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

  .main {
    padding-top: 44px;
  }

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

  h1,
  h2,
  h3,
  p {
    overflow-wrap: anywhere;
    text-wrap: auto;
  }

  h1 {
    font-size: 2rem;
  }

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

  h3 {
    font-size: 1.1rem;
  }

  .sub,
  .step-panel p {
    font-size: 1.05rem;
  }

  .hero-copy,
  .checkout-form,
  .benefits > .section-kicker,
  .benefits > h2,
  .benefit-grid,
  .panel,
  .setup-steps,
  .step-panel {
    min-width: 0;
    max-width: calc(100vw - 32px);
  }

  .benefits > .section-kicker,
  .benefits > h2,
  .benefit-grid,
  .setup-steps {
    width: calc(100vw - 32px);
  }

  .panel {
    overflow: hidden;
  }

  .actions,
  .checkout-form,
  .actions .button {
    width: 100%;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: auto;
  }

  .step-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-number {
    width: 48px;
    height: 48px;
  }

  .main.doc {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-width: 0;
  }

  .doc .copy-block {
    max-width: 100%;
  }
}
