:root {
  --floor: #e7edf1;
  --paper: #ffffff;
  --asphalt: #1c2430;
  --ink: #1c2430;
  --muted: #5c6b78;
  --line: #d5dde3;
  --amber: #e2a31a;
  --red: #b42318;
  --red-ink: #1c2430;
}

* { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--floor);
  color: var(--ink);
  font-family: "Golos Text", "Segoe UI", sans-serif;
  line-height: 1.45;
}

a { color: inherit; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem max(1.25rem, calc((100% - 46rem) / 2));
  background: var(--asphalt);
  color: #f4f7f8;
}

.brand {
  color: var(--ink);
  font-family: Tektur, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-nav a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

main { padding: 0 0 3rem; }

.hero {
  background: var(--asphalt);
  color: #f4f7f8;
  padding: 0.5rem max(1.25rem, calc((100% - 46rem) / 2)) 2.4rem;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0.15rem 0 0.7rem; }

.hero .lead { margin-top: 0; margin-bottom: 0.6rem; }

.eyebrow {
  margin: 0;
  color: var(--amber);
  font-family: Tektur, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.where { color: #c5d0d8; }

.stripe {
  height: 0.7rem;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--asphalt) 10px 20px);
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 46rem;
  margin: 1.4rem auto 0;
  padding: 0 1rem;
}

.offer {
  background: var(--paper);
  border-top: 3px solid var(--asphalt);
  padding: 0.9rem 1rem 1rem;
}

.offer h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }

.offer p { margin: 0.15rem 0 0; color: var(--muted); }

.offer .price {
  margin-top: 0.55rem;
  color: var(--ink);
  font-family: Tektur, sans-serif;
  font-size: 1.25rem;
}

.note {
  max-width: 46rem;
  margin: 0.9rem auto 0;
  padding: 0 1rem;
  color: var(--muted);
}

.fold {
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 0;
  padding-top: 0.4rem;
}

.fold summary {
  font-family: Tektur, sans-serif;
  cursor: pointer;
  min-height: 44px;
}

.fold .note {
  max-width: none;
  margin: 0.35rem 0 0.7rem;
  padding: 0;
}

.control { position: relative; }

.req { color: var(--red); }

.control > .req {
  position: absolute;
  top: 0.15rem;
  right: 0.45rem;
  pointer-events: none;
  line-height: 1;
}

.control input { padding-right: 1.4rem; }

a.back {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.2rem;
  padding: 0.55rem 1.1rem;
  background: var(--amber);
  color: var(--asphalt);
  font-family: Tektur, sans-serif;
  text-decoration: none;
}

.messages {
  max-width: 46rem;
  margin: 1rem auto;
  padding: 0 1rem;
  list-style: none;
}

.messages li {
  background: var(--paper);
  border-left: 4px solid var(--red);
  padding: 0.75rem 1rem;
}

.sheet {
  max-width: 46rem;
  margin: 1.25rem auto 0;
  background: var(--paper);
  border-top: 3px solid var(--amber);
  padding: 1.5rem 1.25rem 2rem;
}

.sheet.narrow { max-width: 28rem; }

h1, h2, h3 {
  font-family: Tektur, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2, h3 { margin-top: 2rem; }

h2[id], form[id], article[id] { scroll-margin-top: 1rem; }

.lead { font-size: 1.05rem; }

.meta, .label { color: var(--muted); }

.code {
  font-family: Tektur, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  margin: 0;
}

form { margin-top: 1rem; }

label, .label { display: block; margin: 0.9rem 0 0.3rem; }

input, select, textarea, button {
  font: inherit;
  color: inherit;
}

input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0;
}

.choice input,
.slot input,
.service input,
.consent input {
  width: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  padding: 0;
  flex: 0 0 auto;
}

textarea { min-height: 7rem; }

input:focus, select:focus, textarea:focus, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0 0;
  padding: 0.5rem 0 0;
}

legend {
  font-family: Tektur, sans-serif;
  padding: 0;
}

button {
  min-height: 44px;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  border: 0;
  background: var(--amber);
  color: var(--asphalt);
  cursor: pointer;
}

button.quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

button.linkish {
  min-height: 44px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
}

.choices, .slots, .services { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.slots[hidden],
[data-nick][hidden] {
  display: none;
}

.services { flex-direction: column; gap: 0; }

.service {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}

.service-price { font-variant-numeric: tabular-nums; }

.choice, .slot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
}

.choice.is-on, .slot:has(input:checked), .service:has(input:checked), .choice:has(input:checked) {
  border-color: var(--red);
  box-shadow: inset 3px 0 0 var(--red);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
  margin-top: 1rem;
}

.consent input { width: 1.25rem; min-height: 1.25rem; margin-top: 0.2rem; }

.error { color: var(--red); margin: 0.25rem 0 0; }

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.request {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.request header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.request .code { font-size: 1.2rem; }

.plain { list-style: none; padding: 0; }

.plain li { margin: 0.4rem 0; }

.plain form { display: inline; }

.stack { margin-bottom: 0.5rem; }

@media (max-width: 40rem) {
  .service { grid-template-columns: auto 1fr; }
  .service-price { grid-column: 2; }
  .offers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
