:root {
  --ink: #17211c;
  --muted: #3e4c44;
  --paper: #f3efe6;
  --sheet: #fffaf3;
  --green: #1e4d3a;
  --green-deep: #10281e;
  --line: #d7cec0;
  --clay: #9a4a2a;
  --error: #8e1e16;
  --focus: #1e4d3a;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top left, rgba(154, 74, 42, 0.09), transparent 46%),
    var(--paper);
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

h1, h2, h3, .wordmark, .thanks h2 {
  font-family: "Noto Serif", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 650;
  letter-spacing: -0.03em;
}

h1, h2, h3, p {
  margin-top: 0;
}

a {
  color: var(--green);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--clay);
}

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

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

.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  background: var(--sheet);
  color: var(--ink);
}

.wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--green-deep);
  color: #f3efe6;
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: 68px;
  padding: 12px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f3efe6;
  text-decoration: none;
  font-size: 1.15rem;
}

.wordmark:hover {
  color: #f3efe6;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 239, 230, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.account-links {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.account-links a {
  color: #f3efe6;
  text-decoration: none;
  font-size: 0.95rem;
}

.account-links a:hover {
  color: #f0d2c4;
}

main {
  padding: 32px 0 20px;
}

.eyebrow {
  margin-bottom: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.35rem, 8vw, 4.4rem);
  line-height: 0.98;
  max-width: 12ch;
}

.deck {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.social-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gets h2 {
  margin: 28px 0 4px;
  font-size: 1.55rem;
}

.gets ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: get;
}

.gets li {
  counter-increment: get;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.gets li::before {
  content: counter(get, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  color: var(--clay);
  padding-top: 0.35rem;
}

.gets h3,
.gets p {
  grid-column: 2;
  min-width: 0;
}

.gets h3 {
  grid-row: 1;
}

.gets p {
  grid-row: 2;
}

.gets h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.gets p {
  margin-bottom: 0;
  color: var(--muted);
}

.sheet {
  background: var(--sheet);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--green);
  padding: 22px 18px 20px;
}

.sheet h2 {
  margin-bottom: 6px;
  font-size: 1.85rem;
}

.sheet-lead,
.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
}

.field label {
  font-size: 0.95rem;
}

.opt {
  color: var(--muted);
  font-weight: 450;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c9bfb1;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

input::placeholder {
  color: #7d7468;
}

.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex: none;
}

.check label {
  font-size: 0.95rem;
  line-height: 1.4;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  background: var(--green);
  color: #f3efe6;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

a.btn:hover,
button.btn:hover {
  background: var(--green-deep);
  color: #f3efe6;
}

.form-error {
  margin: 0 0 12px;
  color: var(--error);
  font-weight: 650;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.deposit {
  margin-top: 18px;
  padding: 16px;
  border: 1.5px dashed #b7aea0;
  background: rgba(255, 250, 243, 0.55);
}

.deposit h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.deposit p {
  color: var(--muted);
}

.stamp {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  border: 1px solid var(--clay);
  color: var(--clay);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deposit button {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b7aea0;
  background: transparent;
  color: #5c675f;
  font: inherit;
  cursor: not-allowed;
}

.thanks[hidden],
#form-panel[hidden],
[hidden] {
  display: none !important;
}

.preview-note {
  margin-bottom: 10px;
  color: var(--clay);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thanks .btn {
  margin: 6px 0 8px;
}

.site-footer {
  padding: 8px 0 36px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-row p {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  main {
    padding-top: 48px;
  }

  .layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 56px;
    align-items: start;
  }

  .intro {
    position: sticky;
    top: 28px;
  }

  .sheet {
    padding: 28px 26px 24px;
  }

  .signup {
    padding-bottom: 12px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: min(1040px, calc(100% - 24px));
  }

  h1 {
    font-size: 2.15rem;
  }
}
