:root {
  color-scheme: light;
  --paper: #e3e8df;
  --chalk: #f7f7f0;
  --ink: #10110f;
  --muted: #5c6059;
  --signal: #ff2d2f;
  --line: 2px solid var(--ink);
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--chalk);
  transform: translateY(-150%);
}

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

.site-shell {
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 46px) 34px;
}

.site-header {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: var(--line);
}

.wordmark {
  width: max-content;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -1.3px;
  text-decoration: none;
  text-transform: uppercase;
}

.edition-mark {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.header-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.header-links a {
  text-underline-offset: 4px;
}

.main-grid {
  min-height: calc(100svh - 95px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  border-bottom: var(--line);
}

.hero {
  position: relative;
  min-width: 0;
  padding: clamp(42px, 6vw, 88px) clamp(28px, 4.2vw, 68px) 34px 0;
  overflow: hidden;
  border-right: var(--line);
}

.eyebrow,
.panel-index {
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 16px 0 20px;
  font-size: clamp(54px, 6.7vw, 112px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.hero h1 em {
  font-family: var(--serif);
  font-size: 0.69em;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: none;
}

.hero-deck {
  position: relative;
  z-index: 2;
  width: min(500px, 78%);
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.35;
}

.hero-figure {
  position: relative;
  height: clamp(215px, 29vw, 405px);
  margin-top: clamp(12px, 2vw, 32px);
  color: var(--signal);
  font-size: clamp(230px, 29vw, 455px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.115em;
  user-select: none;
  white-space: nowrap;
}

.hero-zero,
.hero-seven {
  display: inline-block;
}

.figure-note {
  position: absolute;
  top: 42%;
  left: 3%;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 35px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: normal;
}

.hero-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: var(--line);
}

.hero-facts div {
  padding: 14px 14px 0 0;
}

.hero-facts div + div {
  padding-left: 14px;
  border-left: 1px solid var(--ink);
}

.hero-facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.2;
}

.signup-panel {
  align-self: start;
  margin: clamp(28px, 2.5vw, 40px) 0 clamp(26px, 4vw, 62px) clamp(28px, 4vw, 72px);
  border: var(--line);
  background: var(--chalk);
  box-shadow: 11px 11px 0 var(--ink);
}

.panel-header {
  min-height: 118px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--signal);
}

.panel-header h2,
.success-view h2 {
  max-width: 430px;
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.05vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.panel-mon {
  align-self: flex-end;
  margin: 0 -8px -12px 0;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.11em;
}

.panel-body,
.success-view {
  padding: clamp(19px, 1.8vw, 27px);
}

.field-group {
  margin-bottom: 17px;
}

.field-group > label,
.field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.field-hint {
  margin: -1px 0 10px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.35;
}

.field-group input[type="email"],
.topic-entry input,
.delivery-settings select {
  width: 100%;
  min-height: 43px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  outline: none;
}

.field-group input:focus,
.delivery-settings select:focus {
  border-bottom-color: var(--signal);
  box-shadow: 0 3px 0 var(--signal);
}

.field-group input::placeholder {
  color: #7b7e78;
  opacity: 1;
}

.topic-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.add-topic {
  min-width: 68px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  cursor: pointer;
}

.add-topic:hover,
.add-topic:focus-visible {
  background: var(--ink);
  color: var(--chalk);
}

.selected-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px 7px 11px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--chalk);
  font-size: 12px;
  font-weight: 700;
}

.topic-chip small {
  color: #c9cec5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.65px;
  text-transform: uppercase;
}

.topic-chip button {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--chalk);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.quick-picks button {
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.quick-picks button:hover {
  color: var(--signal);
}

.quick-picks button:disabled {
  opacity: 0.35;
  cursor: default;
  text-decoration: line-through;
}

.delivery-group {
  position: relative;
  padding: 9px 0;
  border-top: 1px solid #b9bdb5;
  border-bottom: 1px solid #b9bdb5;
}

.delivery-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 22px;
}

.delivery-row .field-label {
  margin-bottom: 4px;
  color: var(--muted);
}

.delivery-row strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.delivery-row details {
  min-width: 72px;
  text-align: right;
}

.delivery-row summary {
  padding: 3px 0;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

.delivery-row summary::-webkit-details-marker {
  display: none;
}

.delivery-settings {
  position: absolute;
  z-index: 5;
  right: 0;
  width: min(360px, calc(100vw - 44px));
  margin-top: 10px;
  padding: 18px;
  border: var(--line);
  background: var(--chalk);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: left;
}

.delivery-settings label {
  display: block;
  margin: 0 0 5px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.delivery-settings select {
  min-height: 40px;
  margin-bottom: 14px;
  font-size: 14px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 13px;
  color: #444741;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--signal);
}

.form-error {
  min-height: 16px;
  margin: 0 0 6px;
  color: #b00016;
  font-size: 12px;
  font-weight: 700;
}

.primary-button {
  width: 100%;
  min-height: 53px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--chalk);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.05px;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-button:hover:not(:disabled) {
  background: var(--signal);
  color: var(--ink);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.privacy-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.privacy-note a {
  text-underline-offset: 2px;
}

.success-view {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.success-view[hidden] {
  display: none;
}

.success-view h2 {
  margin: 12px 0 17px;
}

.success-view > p:not(.panel-index) {
  max-width: 44ch;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
}

.demo-confirm {
  display: inline-block;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--signal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
}

.demo-confirm[hidden] {
  display: none;
}

.text-button {
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.how-it-works {
  padding: clamp(56px, 7vw, 100px) 0;
  border-bottom: var(--line);
}

.how-it-works h2 {
  max-width: 820px;
  margin: 13px 0 38px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 78px);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.how-it-works ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: var(--line);
  list-style: none;
}

.how-it-works li {
  min-height: 170px;
  padding: 18px 24px 10px 0;
}

.how-it-works li + li {
  padding-left: 24px;
  border-left: var(--line);
}

.how-it-works li > span {
  display: block;
  margin-bottom: 32px;
  color: var(--signal);
  font-size: 36px;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -3px;
}

.how-it-works strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 21px;
}

.how-it-works li p {
  max-width: 35ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.footer-lockup {
  font-size: 13px;
  font-weight: 900;
}

.footer-lockup span {
  color: var(--muted);
  font-weight: 400;
}

.site-footer p {
  color: var(--muted);
  text-align: center;
}

.site-footer > div:last-child {
  justify-self: end;
  display: flex;
  gap: 18px;
}

.noscript {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 20;
  padding: 14px;
  border: var(--line);
  background: var(--signal);
  font-weight: 700;
  text-align: center;
}

.legal-page {
  width: min(820px, calc(100% - 36px));
  margin: 32px auto;
  border: var(--line);
  background: var(--chalk);
}

.legal-header {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: var(--line);
  background: var(--signal);
}

.legal-header a {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-content {
  padding: clamp(28px, 6vw, 62px);
}

.legal-content h1 {
  margin: 8px 0 26px;
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 70px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  }

  .hero {
    padding-right: 30px;
  }

  .signup-panel {
    margin-left: 30px;
  }

  .hero-deck {
    width: 92%;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .edition-mark {
    display: none;
  }

  .main-grid {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-right: 0;
    border-right: 0;
    border-bottom: var(--line);
  }

  .hero h1 {
    font-size: clamp(60px, 13.5vw, 110px);
  }

  .hero-figure {
    height: clamp(220px, 50vw, 390px);
    font-size: clamp(250px, 54vw, 450px);
  }

  .signup-panel {
    margin: 40px 10px 50px 0;
  }
}

@media (max-width: 620px) {
  .site-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header {
    min-height: 80px;
  }

  .header-links {
    gap: 13px;
  }

  .header-links a:first-child {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    margin-top: 13px;
    font-size: clamp(49px, 15vw, 78px);
  }

  .hero-deck {
    width: 100%;
    font-size: 18px;
  }

  .hero-figure {
    height: 205px;
    margin-top: 28px;
    font-size: 230px;
  }

  .figure-note {
    top: 38%;
    font-size: 20px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    padding-top: 4px;
  }

  .hero-facts div,
  .hero-facts div + div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    border-left: 0;
    border-bottom: 1px solid var(--ink);
  }

  .hero-facts dt {
    margin: 0;
  }

  .signup-panel {
    margin: 30px 7px 40px 0;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .panel-header {
    min-height: 132px;
    padding: 18px;
  }

  .panel-header h2 {
    font-size: 31px;
  }

  .panel-mon {
    font-size: 47px;
  }

  .panel-body,
  .success-view {
    padding: 22px 18px;
  }

  .delivery-row {
    gap: 10px;
  }

  .delivery-row strong {
    font-size: 15px;
  }

  .delivery-settings {
    right: 28px;
  }

  .how-it-works ol {
    display: block;
  }

  .how-it-works li,
  .how-it-works li + li {
    min-height: 0;
    padding: 18px 0 24px;
    border-left: 0;
    border-bottom: 1px solid var(--ink);
  }

  .how-it-works li > span {
    margin-bottom: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 24px 0;
  }

  .site-footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-figure {
    animation: settle-in 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .primary-button,
  .add-topic {
    transition: background-color 140ms ease, color 140ms ease;
  }

  @keyframes settle-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
