:root {
  --paper: #FAFAF8;
  --ink: #161616;
  --accent: #C4552A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.wordmark,
h1,
h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
}

.wordmark {
  font-size: 14px;
  letter-spacing: -0.04em;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  border-bottom: 1px solid transparent;
}

nav a:hover {
  border-bottom-color: var(--ink);
}

.section-shell {
  width: min(1120px, 90vw);
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}

.steps {
  min-height: 100vh;
  padding-top: 142px;
  border-top: 0;
}

.section-mark {
  margin-bottom: 66px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-copy {
  width: min(720px, 100%);
  margin-left: 14%;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.065em;
}

.intro-copy p {
  max-width: 540px;
  margin-bottom: 26px;
  font-size: 17px;
}

.accent-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.step-list {
  width: min(530px, 100%);
  margin: 104px 0 0 auto;
}

.step-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
}

.step-item:last-child {
  border-bottom: 1px solid var(--ink);
}

.step-item span,
.row-index {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.step-item p {
  margin-bottom: 0;
  font-size: 14px;
}

.index-rows,
.form-section,
.refusal,
.hours,
.contact {
  padding-top: 42px;
  padding-bottom: 92px;
}

.rows {
  margin-left: 14%;
}

.service-row {
  display: grid;
  grid-template-columns: 88px minmax(170px, 1fr) minmax(220px, 1.3fr);
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--ink);
}

.service-row:last-child {
  border-bottom: 1px solid var(--ink);
}

.service-row h2,
.form-layout h2,
.single-statement h2 {
  margin-bottom: 0;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.service-row p {
  margin-bottom: 0;
  font-size: 14px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(290px, 1fr);
  gap: 12vw;
  margin-left: 14%;
}

.form-layout p {
  max-width: 300px;
  margin-top: 14px;
  font-size: 14px;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

label:first-child {
  margin-top: 0;
}

input,
textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 300;
  resize: vertical;
}

button {
  align-self: flex-start;
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 300;
}

.form-status {
  min-height: 22px;
  margin-bottom: 0;
}

.single-statement {
  width: min(620px, 100%);
  margin-left: 36%;
}

.single-statement p {
  margin: 14px 0 0;
  font-size: 16px;
}

.hours-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-left: 14%;
  border-bottom: 1px solid var(--ink);
  font-size: 16px;
}

.hours-line p {
  margin-bottom: 18px;
}

.contact {
  padding-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

address {
  font-style: normal;
}

.contact-grid a:not([href^="tel:"]) {
  border-bottom: 1px solid var(--ink);
  justify-self: end;
}

.privacy-policy {
  max-width: 680px;
  margin-top: 22px;
  font-size: 12px;
}

.privacy-policy summary {
  cursor: pointer;
  letter-spacing: 0.05em;
}

.privacy-policy p {
  margin: 14px 0 0;
}

@media (max-width: 700px) {
  .topbar {
    padding: 0 5vw;
  }

  nav {
    gap: 10px;
    font-size: 8px;
  }

  .steps {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 72px;
  }

  .section-mark {
    margin-bottom: 44px;
  }

  .intro-copy,
  .rows,
  .form-layout,
  .single-statement,
  .hours-line {
    margin-left: 0;
  }

  .step-list {
    margin-top: 70px;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 6px 14px;
  }

  .service-row p {
    grid-column: 2;
  }

  .form-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hours-line,
  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hours-line p {
    margin-bottom: 0;
  }

  .contact-grid a:not([href^="tel:"]) {
    justify-self: auto;
  }
}
