/* Fitwright Software Development */

/* Typefaces are served from this site, not from Google, so visitors' browsers
   never contact a third party. Licensed under the SIL Open Font License (fonts/README.txt). */
@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-variable.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Layout idea: a desk of paper forms. Left-aligned type, one tilted work order
     in the hero, blue-ruled ledgers and triplicate copies below. Single light theme by choice. */
  color-scheme: light;

  --ground: #ECEEE7;       /* desk */
  --sheet: #FFFFFF;        /* paper */
  --ink: #17202E;          /* printed text */
  --muted: #4D5868;        /* secondary text */
  --pen: #1B3FA8;          /* ballpoint blue: links, buttons, handwriting */
  --pen-deep: #132E7E;
  --rule: #B4C4EA;         /* form rules */
  --rule-soft: #DCE3F4;
  --serial: #BF2418;       /* red serial numbers, errors */
  --canary: #FFF0A3;       /* second copy */
  --pink: #F9D4DB;         /* third copy */
  --field: #F6F8FD;

  --font-display: "Chivo", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;
  --font-pen: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.9rem, 1.2rem + 2.6vw, 2.75rem);
  --t-hero: clamp(2.5rem, 1.2rem + 5.2vw, 4.6rem);

  --wrap: 70rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
  --shadow-sheet: 0 1px 0 rgba(23, 32, 46, 0.08), 0 14px 30px -14px rgba(23, 32, 46, 0.28);
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-hero);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1;
}

h2 {
  font-size: var(--t-2xl);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: -0.005em;
}

h4 {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

a { color: var(--pen); text-underline-offset: 0.18em; }
a:hover { color: var(--pen-deep); }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #FFFFFF; }

/* Shared marks */

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pen);
}

.pen {
  font-family: var(--font-pen);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--pen);
}

.tick {
  position: relative;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--sheet);
}
.tick::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: -0.42rem;
  width: 0.45rem;
  height: 1rem;
  border: solid var(--pen);
  border-width: 0 3px 3px 0;
  border-radius: 1px;
  transform: rotate(40deg);
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--pen);
  border-radius: var(--radius);
  background: var(--pen);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--pen-deep); border-color: var(--pen-deep); color: #FFFFFF; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.btn--small { min-height: 2.5rem; padding: 0.45rem 0.95rem; font-size: var(--t-sm); white-space: nowrap; }

.btn--ghost { background: transparent; color: var(--pen); }
.btn--ghost:hover { background: var(--pen); color: #FFFFFF; }

.text-link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pen);
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--pen); }
.text-link--button {
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-size: var(--t-base);
  cursor: pointer;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.75rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand__tag {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  padding-top: 0.3rem;
  white-space: nowrap;
}
.site-nav { display: none; gap: 1.75rem; }
.site-nav a {
  color: var(--ink);
  font-size: var(--t-sm);
  text-decoration: none;
  padding: 0.4rem 0;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--pen); text-decoration: underline; }

@media (min-width: 52rem) {
  .site-nav { display: flex; }
}
@media (min-width: 52rem) and (max-width: 64rem) {
  .site-nav { gap: 1.25rem; }
  .brand__tag { display: none; }
}
@media (max-width: 36rem) {
  .brand__tag { display: none; }
}

/* Hero */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
}
.lede {
  max-width: 34rem;
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 0.4rem;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__facts li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--serial);
}

.hero__sample {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
}
.sample-picker { display: flex; flex-direction: column; gap: 0.6rem; }
.sample-picker__label {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.sample-picker__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--sheet); }
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

/* The work order ticket */

.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem clamp(1.1rem, 4vw, 1.9rem) 1.4rem;
  background: var(--sheet);
  border-radius: 3px;
  box-shadow: var(--shadow-sheet);
}
/* Perforated top edge, like a sheet torn from a pad */
.ticket::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background: radial-gradient(circle at 9px 0, var(--ground) 4.5px, transparent 5px) 0 0 / 18px 9px repeat-x;
}
.ticket__head,
.sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 3px solid var(--ink);
}
.ticket__title,
.sheet__title {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.ticket__serial,
.sheet__serial {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--serial);
}
.ticket__fields { display: flex; flex-direction: column; gap: 0.75rem; }
.ticket__row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--rule);
}
.ticket dt,
.ticket__label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket__row dd { min-height: 1.75rem; }
.ticket__items { display: flex; flex-direction: column; gap: 0.55rem; margin-top: -0.5rem; }
.ticket__items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--rule);
}
.ticket__items .tick { margin-top: 0.2rem; }
.ticket__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  padding-top: 0.2rem;
}
.ticket__foot dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-base);
  line-height: 1.3;
}

@media (prefers-reduced-motion: no-preference) {
  .pen.is-writing { animation: write 0.5s cubic-bezier(0.3, 0.6, 0.3, 1) both; }
  .ticket__row:nth-child(2) .pen.is-writing { animation-delay: 0.1s; }
  .ticket__items li:nth-child(1) .pen.is-writing { animation-delay: 0.22s; }
  .ticket__items li:nth-child(2) .pen.is-writing { animation-delay: 0.32s; }
  .ticket__items li:nth-child(3) .pen.is-writing { animation-delay: 0.42s; }
}
@keyframes write {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .ticket { transform: rotate(-1.1deg); }
}

/* Sections */

.section { padding-block: var(--section); }
.section__head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section__head p,
.signs__head p,
.terms__head p,
.faq__head p,
.start__intro p { color: var(--muted); font-size: var(--t-lg); line-height: 1.5; }

/* Services and prices */

.prices {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  max-width: 58rem;
}
.prices__group { display: flex; flex-direction: column; }
.prices__group > h3 {
  padding-bottom: 0.7rem;
  border-bottom: 3px solid var(--ink);
  font-size: var(--t-xl);
  font-weight: 900;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1.5px solid var(--rule);
}
.price-row__what {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.price-row__what p { max-width: 36rem; color: var(--muted); }
.price-row__price {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  white-space: nowrap;
}
.price-row__price span {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--muted);
}
.price-row__price--from { font-size: var(--t-lg); font-weight: 700; }
.price-row .btn { min-width: 6.75rem; }
.price-row__renewal {
  grid-column: 1 / -1;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--pen);
  background: var(--rule-soft);
  font-size: var(--t-base);
  color: var(--ink);
}
.prices__help { margin-top: 2rem; }
.deposit-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--ink);
  background: var(--canary);
  color: var(--ink);
  font-weight: 700;
}
.start__intro .deposit-note { margin-top: 0; font-size: var(--t-base); color: var(--ink); }
@media (min-width: 40rem) {
  .price-row { grid-template-columns: minmax(0, 1fr) 8.5rem auto; }
  .price-row__what { grid-column: auto; }
  .price-row__price { text-align: right; }
}

/* Signs */

.section--signs { background: var(--ink); color: #FFFFFF; }
.section--signs h2 { color: #FFFFFF; }
.section--signs .signs__head p { color: #C6CFDE; }
.signs { display: grid; gap: 2rem clamp(2rem, 6vw, 5rem); }
.signs__head { display: flex; flex-direction: column; gap: 0.8rem; }
.signs__list { display: flex; flex-direction: column; }
.signs__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(180, 196, 234, 0.35);
  font-size: var(--t-lg);
  line-height: 1.4;
}
.signs__list li:first-child { padding-top: 0; }
.signs__list .tick { margin-top: 0.25rem; border-color: #FFFFFF; background: transparent; }
.signs__list .tick::after { border-color: var(--canary); }
@media (min-width: 52rem) {
  .signs { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

/* Process: the three copies */

.copies { display: grid; gap: 1.5rem; }
.copy {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem 1.5rem 0;
  border-radius: 3px;
  box-shadow: var(--shadow-sheet);
}
.copy--white { background: var(--sheet); }
.copy--canary { background: var(--canary); }
.copy--pink { background: var(--pink); }
.copy--pink .copy__step { color: #A81F14; } /* keeps 4.5:1 contrast on pink */
.copy__step {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--serial);
}
.copy h3 { font-size: var(--t-xl); font-weight: 900; }
.copy__foot {
  margin-top: auto;
  padding: 0.75rem 0 0.85rem;
  border-top: 1.5px solid rgba(23, 32, 46, 0.3);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.copy > p:not(.copy__step):not(.copy__foot) { padding-bottom: 0.9rem; }
@media (min-width: 52rem) {
  .copies { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
  .copy--white { transform: rotate(-0.7deg); }
  .copy--canary { transform: rotate(0.5deg) translateY(0.6rem); }
  .copy--pink { transform: rotate(-0.4deg); }
}

/* Promises */

.section--terms { background: var(--sheet); border-block: 1px solid var(--rule); }
.terms { display: grid; gap: 2rem clamp(2rem, 6vw, 5rem); }
.terms__head { display: flex; flex-direction: column; gap: 0.8rem; }
.terms__list { border-top: 3px solid var(--ink); }
.terms__item {
  display: grid;
  gap: 0.25rem 2rem;
  padding: 1.15rem 0;
  border-bottom: 1.5px solid var(--rule);
}
.terms__item dt {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.25;
}
.terms__item dd { color: var(--muted); max-width: 34rem; }
@media (min-width: 40rem) {
  .terms__item { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; }
}
@media (min-width: 60rem) {
  .terms { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .terms__head { position: sticky; top: 6.5rem; align-self: start; }
}

/* FAQ */

.faq { display: grid; gap: 2rem clamp(2rem, 6vw, 5rem); }
.faq__head { display: flex; flex-direction: column; gap: 0.8rem; }
.faq__list { border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--pen);
  border-radius: 50%;
  color: var(--pen);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; background: var(--pen); color: #FFFFFF; }
.faq summary:hover { color: var(--pen); }
.faq details p { max-width: 38rem; padding: 0 2.75rem 1.3rem 0; color: var(--muted); }
@media (min-width: 60rem) {
  .faq { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
}

/* Intake form */

.section--start { background: var(--rule-soft); border-top: 1px solid var(--rule); }
.start { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.start__intro { display: flex; flex-direction: column; gap: 1rem; }
.start__intro .start__alt { font-size: var(--t-base); color: var(--ink); }
.contact-email { font-weight: 700; overflow-wrap: anywhere; }

.sheet {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--sheet);
  border-radius: 3px;
  box-shadow: var(--shadow-sheet);
}
.form { display: flex; flex-direction: column; gap: 1.5rem; }
.form__grid { display: grid; gap: 1.2rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label,
.result__label {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.optional {
  margin-left: 0.3rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.field__hint { font-size: var(--t-sm); color: var(--muted); }
.field input,
.field select,
.field textarea,
.result__brief {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid var(--rule);
  border-bottom: 2px solid var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--field);
  color: var(--pen-deep);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.5;
}
.field textarea,
.result__brief { resize: vertical; min-height: 9rem; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--pen); border-bottom-color: var(--ink); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.result__brief:focus-visible { outline: 3px solid var(--pen); outline-offset: 1px; background: #FFFFFF; }
.field [aria-invalid="true"] { border-color: var(--serial); border-bottom-color: var(--serial); background: #FFF6F5; }
.field__error {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--serial);
}
.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__error-summary,
.notice--error {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--serial);
  background: #FFF6F5;
  color: var(--ink);
  font-weight: 700;
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.form__privacy { flex: 1 1 16rem; font-size: var(--t-sm); color: var(--muted); }

.result { display: flex; flex-direction: column; gap: 1rem; }
.result h3 { font-size: var(--t-xl); font-weight: 900; }
.result:focus { outline: none; }
.result__address { overflow-wrap: anywhere; }
.result__brief { font-size: var(--t-sm); background: var(--field); }
.result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.result__status { min-height: 1.5rem; font-size: var(--t-sm); font-weight: 700; color: var(--pen-deep); }
.result__ref { font-size: var(--t-sm); color: var(--muted); }
.result__ref strong { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.result__pay { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.steps { display: flex; flex-direction: column; gap: 1.5rem; counter-reset: step; }
.steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0 0 1.5rem 3rem;
  border-bottom: 1.5px solid var(--rule);
  counter-increment: step;
}
.steps__item:last-child { padding-bottom: 0; border-bottom: 0; }
.steps__item::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.15rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
}
.steps__item > .result__brief,
.steps__item > .result__label { align-self: stretch; }

@media (min-width: 40rem) {
  .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}
@media (min-width: 62rem) {
  .start { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); }
  .start__intro { position: sticky; top: 6.5rem; }
}

/* Privacy */

.section--privacy { padding-block: clamp(2.5rem, 6vw, 4rem); }
.privacy { display: flex; flex-direction: column; gap: 1.5rem; }
.privacy h2 { font-size: var(--t-xl); }
.privacy__list {
  display: grid;
  gap: 1.25rem 2.5rem;
  font-size: var(--t-sm);
}
.privacy__list div { display: flex; flex-direction: column; gap: 0.3rem; }
.privacy__list dt {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.privacy__list dd { color: var(--muted); }
@media (min-width: 40rem) { .privacy__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .privacy__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  background: var(--ink);
  color: #C6CFDE;
  font-size: var(--t-sm);
}
.site-footer__inner {
  display: grid;
  gap: 1.75rem 3rem;
}
.site-footer__name {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 900;
  color: #FFFFFF;
}
.site-footer__nav { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.site-footer a { color: #FFFFFF; }
.site-footer a:hover { color: var(--canary); }
.site-footer :focus-visible { outline-color: var(--canary); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 48rem) {
  .site-footer__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  .site-footer__contact { text-align: right; align-items: flex-end; }
}

/* Simple page (404) */

.plain {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
  padding-block: var(--section);
}
.plain p { max-width: 34rem; font-size: var(--t-lg); color: var(--muted); }

.privacy__more { max-width: 44rem; color: var(--muted); }
.deposit-note a { color: var(--ink); }

/* Policy pages */

.doc {
  max-width: calc(48rem + var(--gutter) * 2);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section);
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.doc__head { display: flex; flex-direction: column; gap: 0.9rem; padding-bottom: 1.75rem; border-bottom: 3px solid var(--ink); }
.doc__meta {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--serial);
}
.doc__lede { font-size: var(--t-lg); line-height: 1.5; color: var(--muted); }
.doc__section { display: flex; flex-direction: column; gap: 0.8rem; scroll-margin-top: 6rem; }
.doc__section h2 { font-size: var(--t-xl); }
.doc__section h3 { font-size: var(--t-lg); margin-top: 0.8rem; scroll-margin-top: 6rem; }
.doc__section p, .doc__section li { max-width: 42rem; }
.doc__section ul { display: flex; flex-direction: column; gap: 0.6rem; padding-left: 1.25rem; list-style: disc; }
.doc__section li::marker { color: var(--pen); }

.thanks { align-items: flex-start; }
.thanks__note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 40rem;
  margin-top: 0.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--sheet);
  border-radius: 3px;
  box-shadow: var(--shadow-sheet);
}
.thanks__note h2 { font-size: var(--t-lg); }
.thanks__note p { font-size: var(--t-base); }
.thanks .thanks__help { font-size: var(--t-base); color: var(--ink); }

@media print {
  .site-header, .sample-picker, .skip-link { display: none; }
  body { background: #FFFFFF; }
}
