@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f4ec;
  --ink: #0b1020;
  --muted: #676d62;
  --rule: #a8aa9f;
  --green: #5a8f32;
  --green-dark: #2c5032;
  --orange: #ea580c;
  --panel: #fbfaf5;
  --error: #a52a1f;
  --max: 1896px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(11, 16, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 16, 32, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

.paperzilla-link,
.paperzilla-link:hover,
.paperzilla-link:focus-visible {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.site-header {
  min-height: 116px;
  padding: 0 52px;
  border-bottom: 2px solid rgba(11, 16, 32, 0.78);
}

.site-footer {
  min-height: 92px;
  padding: 0 52px;
  border-top: 2px solid rgba(11, 16, 32, 0.78);
  color: rgba(11, 16, 32, 0.5);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 1.18rem;
  line-height: 1;
  text-transform: none;
}

.brand-dot {
  color: var(--orange);
  font-size: 1.13em;
  line-height: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 54px;
}

.hero,
.index-section {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
}

.hero {
  container-type: inline-size;
  min-height: calc(100vh - 210px);
  padding: 119px 0 82px;
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 2px solid rgba(11, 16, 32, 0.28);
  color: rgba(11, 16, 32, 0.45);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker span:first-child {
  color: var(--green);
  font-weight: 900;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  display: flex;
  align-items: baseline;
  margin: 54px 0 66px;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: clamp(1rem, 13.4vw, 17rem);
  line-height: 0.88;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-dot {
  display: inline-block;
  color: var(--orange);
  font-size: 1.13em;
  line-height: inherit;
}

@supports (font-size: 1cqw) {
  h1 {
    font-size: clamp(1rem, 13.95cqw, 17rem);
  }
}

.hero-footer {
  padding-top: 26px;
  border-top: 2px solid rgba(11, 16, 32, 0.28);
}

.micro-label {
  margin-bottom: 10px;
  color: rgba(11, 16, 32, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-line {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.06;
}

.hero-support {
  max-width: 980px;
  margin: 18px 0 0;
  color: #25291f;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.58;
}

.marked-copy {
  position: relative;
  padding-left: 24px;
}

.marked-copy::before {
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
  content: "";
  transform: translateY(-50%);
}

.index-section {
  padding: 94px 0 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.58fr);
  gap: 72px;
  padding: 46px 0 0;
}

.section-grid > *,
.feature-list > *,
.topics-grid > *,
.form-row > * {
  min-width: 0;
}

h2 {
  max-width: 830px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.98;
}

.section-copy {
  display: grid;
  gap: 22px;
  color: #25291f;
  font-size: 1.14rem;
  line-height: 1.58;
}

.section-copy strong {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-list > div {
  border-top: 5px solid var(--green);
  padding-top: 16px;
}

.feature-list p {
  margin-top: 10px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.topic-card {
  min-height: 182px;
  padding: 20px;
  border: 2px solid rgba(11, 16, 32, 0.28);
  border-top-color: rgba(11, 16, 32, 0.58);
  border-radius: 4px;
  background: rgba(251, 250, 245, 0.72);
}

.topic-card span {
  display: block;
  min-height: 58px;
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.06;
}

.topic-card p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.early-access-section {
  padding-bottom: 116px;
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-form label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
}

.waitlist-form input,
.waitlist-form button {
  min-height: 58px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
}

.waitlist-form input {
  width: 100%;
  padding: 0 16px;
  background: var(--panel);
  color: var(--ink);
}

.waitlist-form input:focus {
  outline: 4px solid rgba(90, 143, 50, 0.22);
  outline-offset: 2px;
}

.waitlist-form button {
  padding: 0 24px;
  background: var(--green-dark);
  color: #fffaf0;
  cursor: pointer;
  font-weight: 800;
}

.waitlist-form button:hover {
  background: var(--orange);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.privacy-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.form-status {
  min-height: 34px;
  padding: 0;
  color: var(--green-dark);
  font-size: 0.98rem;
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: var(--error);
}

@media (max-width: 1250px) {
  .section-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 90px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    padding: 0 22px;
  }

  .site-header {
    align-items: flex-start;
    min-height: 132px;
    padding-top: 28px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .hero,
  .index-section {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
    padding: 92px 0 62px;
  }

  .section-kicker {
    font-size: 0.74rem;
  }

  h1 {
    margin: 38px 0 46px;
    line-height: 0.94;
  }

  .section-grid,
  .topics-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-line {
    font-size: 1.64rem;
  }

  .hero-support {
    max-width: none;
    font-size: 1.04rem;
  }

  .index-section {
    padding-top: 70px;
  }

  .section-grid {
    gap: 32px;
    padding-top: 32px;
  }

  h2 {
    font-size: 2.18rem;
  }

  .section-copy {
    font-size: 1.04rem;
  }

  .topic-card {
    min-height: 158px;
  }

  .waitlist-form button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }
}
