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

@font-face {
  font-family: "Courier Prime";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/courier-prime-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Courier Prime";
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/courier-prime-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/space-grotesk-latin-400.woff2") format("woff2");
}

:root {
  --ink: #16140f;
  --paper: #faf9f5;
  --workspace: #eceae4;
  --stage: #e4e2db;
  --muted: #625d55;
  --accent: #d42a1f;
  --mascot-orange: #e5553b;
  --yellow: #f3c35a;
  --blue: #8ac6df;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(90deg, rgba(22, 20, 15, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(22, 20, 15, 0.045) 1px, transparent 1px),
    var(--workspace);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

.guide-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(22px, 5vw, 64px);
}

.guide-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  margin-bottom: clamp(44px, 8vw, 92px);
}

.guide-wordmark,
.guide-nav a {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-wordmark {
  background: var(--paper);
  border: var(--line);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 10px 14px;
  text-decoration: none;
}

.guide-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.guide-hero {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin-bottom: clamp(48px, 7vw, 92px);
}

.guide-kicker {
  background: var(--blue);
  border: var(--line);
  box-shadow: var(--shadow);
  display: inline-block;
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin: 0 0 24px;
  max-width: 520px;
  padding: 10px 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.9;
  margin: 0;
  max-width: 780px;
}

.guide-summary {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.32;
  margin: 24px 0 0;
  max-width: 690px;
}

.guide-cta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.guide-cta {
  background: var(--yellow);
  border: var(--line);
  box-shadow: var(--shadow);
  display: inline-flex;
  font-family: "Courier Prime", monospace;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.07em;
  min-height: 58px;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
  align-items: center;
}

.guide-cta:hover,
.guide-cta:focus-visible {
  background: #e9b949;
}

.guide-hero-card,
.guide-panel,
.guide-step,
.guide-window {
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow);
}

.guide-hero-card {
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.guide-paper-stack {
  height: 100%;
  min-height: 360px;
  position: relative;
}

.guide-paper {
  background: var(--paper);
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
  height: 220px;
  position: absolute;
  width: 158px;
}

.guide-paper-a {
  left: 22%;
  top: 18%;
  transform: rotate(-9deg);
}

.guide-paper-b {
  background:
    linear-gradient(90deg, transparent 48%, rgba(22, 20, 15, 0.28) 49%, rgba(22, 20, 15, 0.28) 51%, transparent 52%),
    var(--paper);
  left: 39%;
  top: 10%;
  transform: rotate(7deg);
}

.guide-paper-c {
  background:
    linear-gradient(rgba(22, 20, 15, 0.16) 1px, transparent 1px),
    #ead9d5;
  background-size: 100% 24px;
  left: 13%;
  top: 34%;
  transform: rotate(11deg);
}

.guide-stamp {
  background: var(--accent);
  border: var(--line);
  bottom: 28px;
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--paper);
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 14px;
  position: absolute;
  right: 24px;
  text-transform: uppercase;
}

.guide-content {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
}

.guide-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-two {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.guide-panel,
.guide-step {
  padding: clamp(18px, 3vw, 28px);
}

.guide-panel h2,
.guide-step h2,
.guide-window h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.95;
  margin: 0 0 14px;
}

.guide-panel h3 {
  font-size: 26px;
  line-height: 1;
  margin: 0 0 10px;
}

.guide-panel p,
.guide-step p,
.guide-panel li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
}

.guide-panel p,
.guide-step p {
  margin: 0;
}

.guide-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.guide-steps {
  counter-reset: guide-step;
  display: grid;
  gap: 18px;
}

.guide-step {
  display: grid;
  gap: 12px;
  grid-template-columns: 68px minmax(0, 1fr);
}

.guide-step::before {
  align-items: center;
  background: var(--yellow);
  border: var(--line);
  content: counter(guide-step);
  counter-increment: guide-step;
  display: flex;
  font-family: "Anton", Impact, sans-serif;
  font-size: 42px;
  justify-content: center;
  min-height: 62px;
}

.guide-step h2,
.guide-step p {
  grid-column: 2;
}

.guide-window {
  overflow: hidden;
}

.guide-window img {
  border-bottom: var(--line);
  display: block;
  height: auto;
  width: 100%;
}

.guide-window-copy {
  padding: 18px;
}

.fold-map {
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 240px;
}

.fold-cell {
  align-items: center;
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  display: flex;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(36px, 6vw, 70px);
  justify-content: center;
  line-height: 1;
  min-height: 120px;
  position: relative;
}

.fold-cell:nth-child(4n) {
  border-right: 0;
}

.fold-cell:nth-child(n + 5) {
  border-bottom: 0;
}

.fold-cell.fold-cover {
  background: var(--yellow);
}

.fold-cell.fold-cut::after {
  background: var(--accent);
  content: "";
  height: 5px;
  left: 15%;
  position: absolute;
  right: 15%;
  top: 50%;
}

zineroo-home-footer {
  display: block;
  margin-top: clamp(48px, 7vw, 88px);
}

.home-footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-footer-links a:hover,
.home-footer-links a:focus-visible {
  color: var(--ink);
}

.home-footer {
  color: var(--muted);
  display: flex;
  font-family: "Courier Prime", monospace;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  justify-content: center;
  padding: 28px 16px 16px;
  text-align: center;
}

.home-footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.home-footer > .home-footer-links > button,
.home-footer .home-footer-contact-trigger {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline;
  font: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.2;
  min-height: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}

.home-footer > .home-footer-links > button:hover,
.home-footer > .home-footer-links > button:focus-visible,
.home-footer .home-footer-contact-trigger:hover,
.home-footer .home-footer-contact-trigger:focus-visible {
  background: transparent;
  color: var(--ink);
}

.home-footer .home-footer-roadmap-link:hover,
.home-footer .home-footer-roadmap-link:focus-visible {
  color: #a24f68;
}

.home-footer .home-footer-privacy-link:hover,
.home-footer .home-footer-privacy-link:focus-visible {
  color: #9a6500;
}

.home-footer .home-footer-contact-trigger:hover,
.home-footer .home-footer-contact-trigger:focus-visible {
  color: #286e5b;
}

.home-footer-contact {
  position: relative;
}

.home-footer-contact .home-contact-form {
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  left: 50%;
  margin: 0;
  padding: 16px;
  position: absolute;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  width: min(360px, calc(100vw - 32px));
}

.home-footer-contact .home-contact-form[hidden] {
  display: none;
}

.home-contact-form label {
  color: var(--ink);
  display: grid;
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-weight: 700;
  gap: 4px;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.home-contact-field-label {
  display: inline;
}

.home-contact-form input,
.home-contact-form textarea {
  background: var(--workspace);
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font: 400 16px/1.35 "Space Grotesk", system-ui, sans-serif;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

.home-contact-form textarea {
  min-height: 128px;
}

.home-contact-captcha {
  min-height: 68px;
}

.home-contact-status,
.home-contact-privacy {
  font: 400 12px/1.35 "Space Grotesk", system-ui, sans-serif;
  margin: 0;
}

.home-contact-status-error {
  color: var(--accent);
}

.home-contact-status-sent {
  color: #286e5b;
}

.home-contact-privacy {
  color: var(--muted);
}

.home-contact-privacy a {
  color: inherit;
}

.home-contact-form button {
  align-items: center;
  background: var(--accent);
  border: var(--line);
  box-shadow: 5px 5px 0 var(--mascot-orange);
  color: var(--paper);
  cursor: pointer;
  display: flex;
  font-family: "Courier Prime", monospace;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  justify-self: center;
  letter-spacing: 0.08em;
  min-height: 44px;
  padding: 0 20px;
  text-transform: uppercase;
  width: auto;
}

.home-contact-form button:disabled {
  box-shadow: none;
}

.home-contact-form button:hover,
.home-contact-form button:focus-visible {
  background: #e9b949;
  color: var(--ink);
}

.home-info-modal-backdrop {
  align-items: center;
  background: rgba(22, 20, 15, 0.48);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 100;
}

.home-info-modal-backdrop[hidden] {
  display: none;
}

.home-info-modal {
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 32px);
  max-width: 620px;
  overflow: auto;
  width: 100%;
}

.home-info-modal-header {
  align-items: center;
  border-bottom: var(--line);
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}

.home-info-modal-header-roadmap {
  background: #ead9d5;
}

.home-info-modal-header-privacy {
  background: #f3c35a;
}

.home-info-modal-header h2 {
  font-family: "Anton", Impact, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.home-info-modal-header button {
  align-items: center;
  background: var(--paper);
  border: var(--line);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: "Courier Prime", monospace;
  font-size: 26px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.home-info-modal-content {
  color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.45;
  padding: 16px;
}

.home-info-modal-content p {
  margin: 0 0 12px;
}

.home-info-modal-content p:last-child {
  margin-bottom: 0;
}

.home-info-modal-kicker {
  font-family: "Courier Prime", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-info-modal-content ul {
  margin: 0;
  padding-left: 1.25em;
}

.home-roadmap-contact {
  margin: 16px 0 0;
}

.home-roadmap-contact button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-roadmap-contact button:hover,
.home-roadmap-contact button:focus-visible {
  color: #a24f68;
}

@media (max-width: 820px) {
  .guide-hero,
  .guide-two,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-step {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .fold-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .fold-cell,
  .fold-cell:nth-child(4n),
  .fold-cell:nth-child(n + 5) {
    border: 1px solid var(--ink);
  }
}
