:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --paper-light: #fffdf8;
  --ink: #1e211c;
  --muted: #5e625a;
  --rule: #d4ccbb;
  --accent: #a34a32;
  --accent-dark: #853b29;
  --accent-wash: #efe2d7;
  --error: #9d3025;
  --error-wash: #f7e9e4;
  --success: #355940;
  --success-wash: #e8eee5;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --content: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(76, 68, 50, 0.045) 50%, transparent calc(50% + 0.5px)),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--accent);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--paper-light);
  transform: translateY(-160%);
}

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

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

.site-header,
.site-footer,
.hero,
.how-it-works {
  width: min(100% - (2 * var(--gutter)), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 2.2rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.header-link {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.72fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: min(49rem, calc(100vh - 7rem));
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 43rem;
}

.eyebrow,
.sheet-kicker,
.sheet-number {
  margin: 0 0 1.3rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.standfirst {
  max-width: 39rem;
  margin: 2.25rem 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.62;
}

.text-link {
  display: inline-block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration-color: var(--accent);
}

.brief-sheet {
  position: relative;
  padding: clamp(1.7rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  background: var(--paper-light);
  box-shadow: 13px 13px 0 var(--accent-wash);
}

.brief-sheet::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 3rem;
  height: 3rem;
  border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  background: linear-gradient(225deg, var(--paper) 0 49%, var(--rule) 50% 51%, var(--paper-light) 52%);
  content: "";
}

.sheet-heading {
  display: flex;
  justify-content: space-between;
  padding-right: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.sheet-kicker,
.sheet-number {
  margin-bottom: 0.8rem;
}

.sheet-number {
  color: var(--muted);
  font-weight: 600;
}

.brief-sheet h2 {
  max-width: 14ch;
  margin: 1.55rem 0 0.6rem;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.form-intro {
  margin: 0 0 1.7rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.field-group {
  margin-bottom: 1.05rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.79rem;
  font-weight: 720;
  letter-spacing: 0.015em;
}

input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #bdb5a5;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input::placeholder {
  color: #74766f;
  opacity: 1;
}

input:hover {
  border-color: #817a6d;
}

input:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

input[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-wash);
}

.field-error {
  min-height: 1.15rem;
  margin: 0.28rem 0 0;
  color: var(--error);
  font-size: 0.76rem;
  line-height: 1.4;
}

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

.submit-button {
  display: flex;
  width: 100%;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0.78rem 1rem 0.78rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper-light);
  cursor: pointer;
  font: inherit;
  font-size: 0.91rem;
  font-weight: 750;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.submit-button:hover:not(:disabled) {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.submit-button:active:not(:disabled) {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.button-arrow {
  font-size: 1.15rem;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-status {
  margin-top: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status:not(:empty) {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--error);
  background: var(--error-wash);
  color: var(--error);
}

.form-status.success:not(:empty) {
  border-color: var(--success);
  background: var(--success-wash);
  color: var(--success);
}

.how-it-works {
  display: grid;
  grid-template-columns: minmax(15rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-top: 1px solid var(--rule);
}

.section-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

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

.steps li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  padding: 1.4rem 0 1.55rem;
  border-top: 1px solid var(--rule);
}

.steps li:last-child {
  border-bottom: 1px solid var(--rule);
}

.step-number {
  grid-row: 1 / span 2;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 1.4vw, 1.42rem);
  line-height: 1.25;
}

.steps p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 8rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.privacy-content {
  width: min(100% - (2 * var(--gutter)), 44rem);
  margin: 0 auto;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.privacy-content h1 {
  max-width: 13ch;
  margin-bottom: 2rem;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.privacy-content p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.privacy-content .text-link {
  margin-top: 1.5rem;
  color: var(--ink);
}

@media (max-width: 820px) {
  body {
    background: var(--paper);
  }

  .site-header {
    min-height: 5.5rem;
  }

  .header-link {
    display: none;
  }

  .hero,
  .how-it-works {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 3.5rem;
    min-height: auto;
    padding-block: 3.5rem 5rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3.2rem, 13.3vw, 5rem);
  }

  .brief-sheet {
    max-width: 34rem;
    box-shadow: 9px 9px 0 var(--accent-wash);
  }

  .how-it-works {
    gap: 2.8rem;
  }
}

@media (max-width: 520px) {
  .wordmark-mark {
    width: 2rem;
    height: 2.35rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .standfirst {
    margin-top: 1.7rem;
  }

  .brief-sheet {
    margin-right: 6px;
    padding: 1.45rem;
  }

  .brief-sheet::before {
    width: 2.5rem;
    height: 2.5rem;
  }

  .sheet-heading {
    padding-right: 1.8rem;
  }

  .steps li {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }

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

  .footer-links {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
