/* ===========================================================================
   Orgworks — www.orgworks.cc

   The design is built from the physical ancestor of the product: the interoffice
   route slip. Its materials are the palette.

     ink        near-black with a green cast — the ledger's printed rule
     paper      the white band of continuous-feed paper
     bar        the pale green band of greenbar computer paper
     rule       the band edge / ruled line
     stamp      rubber-stamp red — decisions
     ballpoint  ink blue — signatures and links

   Greenbar is reserved for tabular records (the slip, the vocabulary table, the
   timeline). It is never used as section decoration — on real paper it means
   "rows you have to read across".
   =========================================================================== */

:root {
  --ink: #111a16;
  --ink-2: #38473f;
  --ink-3: #6d7d74;
  --paper: #fbfcfa;
  --paper-2: #f2f4ef;
  --bar: #d8e8d5;
  --rule: #a9bca6;
  --rule-soft: #d3dcd0;
  --stamp: #b3242b;
  --stamp-soft: #f6e6e4;
  --ballpoint: #2b4c9b;

  --display: "Archivo", "Helvetica Neue", sans-serif;
  --body: "Archivo", "Helvetica Neue", sans-serif;
  --slip: "Courier Prime", "Courier New", monospace;

  --wide: 125;
  --narrow: 92;

  --gap: clamp(3.5rem, 7vw, 6.5rem);
  --measure: 62ch;
}

/* --- reset ---------------------------------------------------------------- */

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

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
blockquote,
table {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  max-width: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* the masthead is sticky, so anchor targets must clear it */
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--stamp);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-family: var(--slip);
}

.skip:focus {
  left: 0;
}

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

/* --- type ----------------------------------------------------------------- */

/* The type idea: one family, split across its width axis. Display is Archivo at
   wdth 125 (the wide, official heading of a form); body is Archivo at normal
   width. The contrast is width, not serif-vs-sans. */

h1,
h2,
h3,
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wide);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Caps are deliberately conservative: readers with a larger default font size get a
   root well above 16px, and a generous rem cap turns into a headline that blows out
   its column. The vw term does the scaling; the rem cap is only a ceiling. */
h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.1875rem;
  font-variation-settings: "wdth" 108;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--ballpoint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

b,
strong {
  font-weight: 700;
}

/* The structural device: a form's field caption. Used only where the block below
   really is a labelled section of a document. */
.field-label {
  font-family: var(--slip);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 1.75rem;
}

.wrap {
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}

.lede {
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--slip);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn:hover {
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.btn-stamp {
  background: var(--stamp);
  border-color: var(--stamp);
  color: #fff;
}

.btn-stamp:hover {
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

/* --- masthead ------------------------------------------------------------- */

.masthead {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wide);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.wordmark:hover {
  color: var(--paper);
}

/* Three ruled lines, the last one stamped: the mark is a route slip. */
.wordmark-marks {
  display: inline-grid;
  gap: 3px;
  width: 20px;
}

.wordmark-marks i {
  display: block;
  height: 3px;
  background: var(--bar);
}

.wordmark-marks i.is-stamp {
  width: 60%;
  background: var(--stamp);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  color: var(--bar);
  border-bottom-color: var(--bar);
}

.nav-list a[aria-current="page"] {
  border-bottom-color: var(--stamp);
}

.nav-cta a {
  border-bottom: none;
}

.nav-cta a:hover {
  border-bottom: none;
}

.navtoggle,
.navtoggle-btn {
  display: none;
}

@media (max-width: 62rem) {
  .navtoggle-btn {
    display: block;
    font-family: var(--slip);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
    border: 1.5px solid var(--ink-3);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
  }

  .nav {
    display: none;
    flex-basis: 100%;
  }

  .navtoggle:checked ~ .nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 1rem;
  }

  .nav-list li {
    width: 100%;
    border-top: 1px solid var(--ink-2);
  }

  .nav-list a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    padding-top: 1rem;
    border-top: none;
  }
}

/* --- hero ----------------------------------------------------------------- */

.hero {
  padding-block: clamp(3rem, 6vw, 5.5rem) var(--gap);
  border-bottom: 1px solid var(--rule-soft);
}

.hero-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 62rem) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 4.5rem;
  }
}

/* The two-line break is set by hand in the markup, so balancing must stay out of it —
   text-wrap: balance re-breaks around the <br> and produces four ragged lines. */
.hero-title {
  font-size: clamp(2.25rem, 4.3vw, 3.5rem);
  text-wrap: normal;
}

.hero-lede {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34ch;
}

.hero-act {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scale {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--slip);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 44ch;
}

.hero-scale b {
  color: var(--ink);
}

/* --- the slip ------------------------------------------------------------- */

.slip {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--bar);
  container-type: inline-size;
}

.slip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1.5px solid var(--ink);
}

.slip-kicker {
  font-family: var(--slip);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.slip-title {
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.slip-id {
  font-family: var(--slip);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-3);
  white-space: nowrap;
}

.slip-clip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--slip);
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.slip-clip-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--ink-3);
  flex: none;
}

.slip-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--slip);
  font-size: 0.875rem;
}

.slip-table th {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.slip-table td {
  padding: 0.7rem 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--rule-soft);
}

/* Greenbar: the alternating band. This is why the table is readable across. */
.slip-table tbody tr:nth-child(odd) td {
  background: var(--bar);
}

.slip-table .col-n {
  width: 2.25rem;
  color: var(--ink-3);
  font-weight: 700;
  text-align: center;
}

.slip-table .col-day {
  width: 4.25rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.who-name {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.who-rule {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.slip-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.25rem;
  border-top: 1.5px solid var(--ink);
  font-family: var(--slip);
  font-size: 0.75rem;
  color: var(--ink-3);
}

/* marks in the action column */

.mark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mark-stamp {
  color: var(--stamp);
  border: 2px solid var(--stamp);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
  transform: rotate(-3.5deg);
  transform-origin: center;
}

.mark-sign {
  color: var(--ballpoint);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-style: italic;
  font-size: 0.8125rem;
}

.mark-wait {
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.mark-wait::after {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 1em;
  margin-left: 0.3rem;
  background: var(--ink-2);
  vertical-align: -0.15em;
  animation: blink 1.1s steps(2, start) infinite;
}

.mark-idle {
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.slip-table tr.is-future td {
  opacity: 0.55;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

/* The orchestrated moment: rows stamp down the chain on load. JS adds .is-live to
   the slip and then .is-in to each row in turn. No JS => finished slip, which is
   also the correct static state. */

.slip.is-live tbody tr[data-row] {
  opacity: 0;
}

.slip.is-live tbody tr[data-row].is-in {
  opacity: 1;
  animation: row-in 0.34s ease both;
}

.slip.is-live tbody tr[data-row].is-in .mark-stamp {
  animation: stamp-down 0.36s cubic-bezier(0.2, 1.6, 0.4, 1) both;
  animation-delay: 0.16s;
}

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

@keyframes stamp-down {
  0% {
    opacity: 0;
    transform: scale(2.1) rotate(9deg);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-3.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slip.is-live tbody tr[data-row],
  .slip.is-live tbody tr[data-row].is-in {
    opacity: 1;
    animation: none;
  }

  .slip.is-live tbody tr[data-row].is-in .mark-stamp {
    animation: none;
  }

  .mark-wait::after {
    animation: none;
  }
}

@container (max-width: 30rem) {
  .slip-table .col-day {
    display: none;
  }

  .slip-table td,
  .slip-table th {
    padding-inline: 0.5rem;
  }
}

/* --- generic section ------------------------------------------------------ */

.section {
  padding-block: var(--gap);
  border-bottom: 1px solid var(--rule-soft);
}

.section-ink {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
}

.section-ink h2,
.section-ink h3 {
  color: var(--paper);
}

.section-ink .field-label {
  color: var(--rule);
  border-bottom-color: var(--ink-2);
}

.section-ink p {
  color: var(--rule-soft);
}

.section-head {
  max-width: var(--measure);
  margin-bottom: 3rem;
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-2);
}

.section-ink .section-head p {
  color: var(--rule-soft);
}

/* --- vocabulary (greenbar table) ------------------------------------------ */

.vocab {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--ink);
  text-align: left;
}

.vocab th {
  font-family: var(--slip);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0.6rem 1rem;
  border-bottom: 1.5px solid var(--ink);
}

.vocab td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}

.vocab tbody tr:nth-child(odd) td {
  background: var(--bar);
}

.vocab tbody tr:last-child td {
  border-bottom: none;
}

.vocab .term {
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  white-space: nowrap;
  width: 9rem;
}

.vocab .said {
  font-family: var(--slip);
  font-size: 0.8125rem;
  color: var(--ink-2);
  width: 22ch;
}

@media (max-width: 48rem) {
  .vocab,
  .vocab tbody,
  .vocab tr,
  .vocab td {
    display: block;
    width: auto;
  }

  .vocab thead {
    display: none;
  }

  .vocab tr {
    border-bottom: 1px solid var(--rule);
  }

  .vocab td {
    border-bottom: none;
    padding-block: 0.25rem;
  }

  .vocab td:first-child {
    padding-top: 0.9rem;
  }

  .vocab td:last-child {
    padding-bottom: 0.9rem;
  }

  .vocab .term {
    font-size: 1.125rem;
  }
}

/* --- card grids ----------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 44rem) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-num {
  font-family: var(--slip);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--stamp);
  text-transform: uppercase;
}

.card p {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.card ul {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.card li {
  padding-left: 1.1rem;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.5rem;
  height: 1.5px;
  background: var(--rule);
}

.section-ink .card {
  background: transparent;
  border-color: var(--ink-2);
}

.section-ink .card p,
.section-ink .card ul {
  color: var(--rule-soft);
}

.section-ink .card li::before {
  background: var(--ink-3);
}

/* --- step chain (how it works) -------------------------------------------- */

.chain {
  display: grid;
  gap: 0;
  border: 1.5px solid var(--ink);
}

.chain-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--rule-soft);
}

.chain-item:last-child {
  border-bottom: none;
}

.chain-item:nth-child(odd) {
  background: var(--bar);
}

.chain-n {
  font-family: var(--slip);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--ink-3);
  border-right: 1px solid var(--rule);
  text-align: center;
  padding-right: 0.5rem;
}

.chain-body p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: var(--measure);
}

.chain-body code {
  font-family: var(--slip);
  font-size: 0.8125rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.05rem 0.3rem;
  white-space: nowrap;
}

.chain-item:nth-child(even) .chain-body code {
  background: var(--paper-2);
}

/* --- policy / rule list --------------------------------------------------- */

.defs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.def {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

@media (min-width: 48rem) {
  .def {
    grid-template-columns: 15rem 1fr;
    align-items: baseline;
  }
}

.def-term {
  font-family: var(--slip);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink);
}

.def-desc {
  color: var(--ink-2);
  max-width: var(--measure);
}

.def-desc em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}

/* --- timeline ------------------------------------------------------------- */

.timeline {
  border: 1.5px solid var(--ink);
  font-family: var(--slip);
  font-size: 0.8125rem;
}

.timeline-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--rule-soft);
}

.timeline-row:nth-child(odd) {
  background: var(--bar);
}

.timeline-row:last-child {
  border-bottom: none;
}

.timeline-when {
  color: var(--ink-3);
  white-space: nowrap;
}

.timeline-what b {
  color: var(--ink);
}

.timeline-what {
  color: var(--ink-2);
}

@media (max-width: 40rem) {
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* --- use case sheets ------------------------------------------------------ */

.sheet {
  display: grid;
  gap: 2rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}

.sheet:last-of-type {
  border-bottom: none;
}

@media (min-width: 62rem) {
  .sheet {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3.5rem;
  }
}

.sheet-who {
  font-family: var(--slip);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 0.75rem;
}

.sheet-body p {
  margin-top: 1rem;
  color: var(--ink-2);
  max-width: var(--measure);
}

.sheet-pulls {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pull {
  font-family: var(--slip);
  font-size: 0.75rem;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  color: var(--ink-2);
  padding: 0.2rem 0.5rem;
}

/* --- pricing -------------------------------------------------------------- */

.plan {
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--bar);
  background: var(--paper);
  max-width: 44rem;
}

.plan-head {
  padding: 2rem;
  border-bottom: 1.5px solid var(--ink);
}

.plan-name {
  font-family: var(--slip);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.plan-price {
  font-family: var(--display);
  font-variation-settings: "wdth" var(--wide);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  margin-top: 0.5rem;
}

.plan-sub {
  margin-top: 0.75rem;
  color: var(--ink-2);
  max-width: 46ch;
}

.plan-body {
  padding: 2rem;
}

.plan-list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 44rem) {
  .plan-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plan-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.plan-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--stamp);
  font-weight: 700;
}

.plan-foot {
  padding: 0 2rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.plan-foot p {
  font-family: var(--slip);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* --- form ----------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-family: var(--slip);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.form input,
.form textarea,
.form select {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--ink-3);
}

.form-hint {
  font-family: var(--slip);
  font-size: 0.75rem;
  color: var(--ink-3);
}

.form-act {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* --- pagehead ------------------------------------------------------------- */

.pagehead {
  padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--rule-soft);
}

.pagehead-title {
  max-width: 20ch;
}

.pagehead-lede {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: var(--measure);
}

/* --- cta ------------------------------------------------------------------ */

.cta {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--gap);
}

.cta-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
  }
}

.cta-title {
  color: var(--paper);
  max-width: 16ch;
}

.cta-copy {
  margin-top: 1rem;
  color: var(--rule-soft);
  max-width: 52ch;
}

.cta-act {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.cta .btn-stamp:hover {
  box-shadow: 3px 3px 0 var(--bar);
}

.cta-note {
  font-family: var(--slip);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* --- colophon ------------------------------------------------------------- */

.colophon {
  background: var(--ink);
  color: var(--rule-soft);
  border-top: 1px solid var(--ink-2);
  padding-block: 3.5rem 2rem;
}

.colophon-inner {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 56rem) {
  .colophon-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.colophon-line {
  margin-top: 1rem;
  max-width: 42ch;
  font-size: 0.9375rem;
}

.colophon-contact {
  margin-top: 1rem;
  font-family: var(--slip);
  font-size: 0.875rem;
}

.colophon a {
  color: var(--bar);
}

.colophon a:hover {
  color: #fff;
}

.colophon-nav ul {
  display: grid;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.colophon-nav a {
  text-decoration: none;
}

.colophon-nav a:hover {
  text-decoration: underline;
}

.colophon-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-2);
  font-family: var(--slip);
  font-size: 0.75rem;
  color: var(--ink-3);
}
