@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/commissioner-700.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
  --paper: #e6eeea;
  --ink: #13201b;
  --quiet: #31463d;
  --line: #c3d0c9;
  --field: #f4f8f6;
  --edge: #8ea099;
  --danger: #8d2b24;
  --rail: 23rem;
  --pad: clamp(1.25rem, 3vw, 2.75rem);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 5;
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.shell {
  min-height: 100vh;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: var(--pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  margin: 0;
}

.mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 2.22em;
  margin: 0;
  font-family: "Commissioner", "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(4.4rem, 20vw, 6.2rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.sub {
  display: block;
  margin-top: 0.9rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.rail-contact {
  display: grid;
  gap: 0.3rem;
}

.rail-contact a {
  color: var(--ink);
  text-underline-offset: 0.16em;
}

.main {
  padding: var(--pad);
  padding-bottom: 4.5rem;
}

.intro {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.offers {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  max-width: 46rem;
}

.offers a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.offers li:last-child a {
  border-bottom: 1px solid var(--line);
}

.offers-name {
  font-family: "Commissioner", "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.offers-gloss {
  color: var(--quiet);
  font-size: 1.05rem;
  line-height: 1.35;
}

.offers a:hover .offers-name,
.offers a:focus-visible .offers-name {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.block {
  margin-top: 5.25rem;
  max-width: 46rem;
}

.block h2,
.steps h3 {
  margin: 0 0 0.7rem;
  font-family: "Commissioner", "Arial Narrow", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.block h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.block p,
.steps p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.block p + p {
  margin-top: 0.85rem;
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
}

.steps h3 {
  font-size: 1.35rem;
}

.steps p {
  max-width: none;
}

.direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0 0 1.35rem;
}

.direct a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 0.16em;
}

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

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--quiet);
}

input,
select,
textarea {
  width: 100%;
  margin: 0;
  padding: 0.72rem 0.75rem;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-error {
  min-height: 1.4em;
  margin: 0;
  color: var(--danger);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

button {
  min-height: 2.75rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: transparent;
  color: var(--ink);
}

.colophon {
  margin: 4.5rem 0 0;
  color: var(--quiet);
  font-size: 1rem;
}

@media (min-width: 780px) {
  .offers a {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: baseline;
    padding: 1.05rem 0;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
}

@media (min-width: 960px) {
  .shell {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    align-items: start;
  }

  .rail {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .mark {
    font-size: 6.6rem;
  }

  .rail-contact {
    margin-top: auto;
  }

  .main {
    padding: 2.75rem 4.25rem 5.5rem;
  }
}

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

  .offers a {
    transition: none;
  }
}
