:root {
  --paper: #ebe2cf;
  --paper-deep: #ddd2b8;
  --ink: #1b1713;
  --muted: #5c5348;
  --rule: #c4b69a;
  --tab: #8c1f1a;
  --stamp: #b41f16;
  --field: #f7f1e4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.55;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.tab {
  position: fixed;
  top: 4.5rem;
  left: 0;
  z-index: 2;
  width: 2.1rem;
  padding: 0.85rem 0.2rem;
  background: var(--tab);
  color: #f3e6d4;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-align: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.tab span { display: block; }

.top, main, footer { position: relative; z-index: 1; }

.top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 8vw 0 10vw;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
}

.mark { margin: 0; color: var(--ink); }

.hero {
  padding: 4.5rem 8vw 3rem 10vw;
  max-width: 46rem;
}

.stamp {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.2rem 0.45rem;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead { margin: 0 0 0.8rem; max-width: 36rem; }

.not-for {
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1rem;
}

.cta {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.cta:hover { background: var(--tab); }

.cta[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.cta[aria-disabled="true"]:hover { background: var(--ink); }

.deadline { padding: 0 8vw 3rem 10vw; }

.deadline-box {
  max-width: 28rem;
  padding: 1.3rem 1.4rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.kicker {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.big {
  margin: 0.15rem 0 0.4rem;
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
}

.fine { margin: 0; font-size: 0.95rem; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  padding: 1rem 8vw 3rem 10vw;
  border-top: 1px solid var(--rule);
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
}

.dossier {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: d;
}

.dossier li {
  counter-increment: d;
  position: relative;
  padding: 0.75rem 0 0.75rem 2.4rem;
  border-bottom: 1px solid var(--rule);
}

.dossier li::before {
  content: counter(d, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--tab);
}

.paper {
  align-self: start;
  padding: 1.2rem 1.3rem;
  background: var(--field);
  border-left: 6px solid var(--tab);
  box-shadow: 0.4rem 0.4rem 0 rgba(27, 23, 19, 0.08);
}

.paper-label {
  margin: 0 0 0.5rem;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tab);
}

.price, .list { padding: 0 8vw 3rem 10vw; }

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 20rem);
  gap: 1rem;
}

.price article {
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid var(--ink);
}

.buy-legal {
  margin: 0.9rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.tier {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sum {
  margin: 0.2rem 0 0.4rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.list { max-width: 38rem; }

form label { display: block; font-size: 0.95rem; }

.row {
  display: flex;
  gap: 0.5rem;
  margin: 0.35rem 0 0.8rem;
}

input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--ink);
  background: var(--field);
  font: inherit;
}

button {
  padding: 0.65rem 0.9rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  cursor: pointer;
}

button:hover { background: var(--tab); }

.intent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-note { margin: 0.8rem 0 0; color: var(--tab); }

footer {
  padding: 1.4rem 8vw 2.2rem 10vw;
  border-top: 1px solid var(--rule);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

footer a { color: var(--ink); }

.legal {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding: 3rem 8vw 4rem 10vw;
}

.legal .mark a { color: inherit; text-decoration: none; }

.legal-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.15rem;
}

.legal section p { margin: 0 0 0.7rem; }

.legal ul {
  margin: 0 0 0.7rem;
  padding-left: 1.2rem;
}

.legal-form {
  padding: 1rem 1.1rem;
  background: var(--field);
  border: 1px solid var(--rule);
  font-size: 0.98rem;
}

@media (max-width: 760px) {
  .tab { display: none; }
  .top, .hero, .deadline, .split, .price, .list, footer, .legal {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }
  .split, .price-row, .row { grid-template-columns: 1fr; display: grid; }
  .row { display: flex; flex-direction: column; }
}
