@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  color-scheme: light;
  --bg: #f6f5ee;
  --ink: #16352f;
  --muted: #4e625b;
  --stroke: #c3cdc2;
  --paper: #fffef8;
  --accent: #bbf392;
  --deep: #173e35;
  --mono: 'IBM Plex Mono', Consolas, monospace;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.55 Manrope,
    Arial,
    sans-serif;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #347aca;
  outline-offset: 3px;
}
input[type='checkbox'] {
  accent-color: #286346;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 3px 0;
}
.frame {
  max-width: 1280px;
  margin: auto;
  padding: 0 clamp(16px, 5vw, 76px);
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 8px;
}
.skip:focus {
  top: 0;
}
.top,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top {
  border-bottom: 1px solid var(--stroke);
  padding: 19px 0;
  font-weight: 700;
}
.top a {
  text-decoration: none;
}
.top a:hover {
  text-decoration: underline;
}
.top a:last-child {
  padding: 7px 12px;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  font: 500 0.78rem var(--mono);
}
.intro {
  padding: clamp(34px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
}
.eyebrow {
  margin: 0 0 12px;
  font: 600 0.76rem/1.5 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.6rem, 6.6vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 1.04;
  margin-bottom: 16px;
  text-wrap: balance;
}
.intro > p:last-child {
  max-width: 66ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 0;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(295px, 1fr);
  gap: clamp(20px, 4.2vw, 66px);
  align-items: start;
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 12px;
}
.filters label,
.quantity {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 700;
  font-size: 0.82rem;
}
.filters input,
.filters select,
.quantity input {
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  background: white;
  color: var(--ink);
  border: 1px solid #82968b;
  border-radius: 7px;
}
.service-group {
  margin: 32px 0 40px;
}
.service-group h2 {
  font-size: clamp(1.45rem, 2.1vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.group-note,
.row-copy span,
.scope-note,
.secondary {
  color: var(--muted);
  font-size: 0.9rem;
}
.group-note {
  margin-bottom: 16px;
}
.rows {
  border-top: 1px solid var(--stroke);
}
.service-row {
  border-bottom: 1px solid var(--stroke);
}
.service-row:has(:checked) {
  background: #e8f1dc;
}
.choice {
  padding: 16px 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  cursor: pointer;
  align-items: start;
}
.choice:hover {
  background: #e9ede2;
}
.row-copy strong,
.row-copy span {
  display: block;
}
.row-copy strong {
  line-height: 1.3;
}
.row-copy span {
  margin-top: 4px;
  line-height: 1.45;
}
.price {
  font: 600 0.86rem/1.6 var(--mono);
  white-space: nowrap;
  letter-spacing: -0.04em;
}
.quantity {
  padding: 0 10px 12px 40px;
  align-items: center;
  flex-direction: row;
}
.quantity input {
  width: 72px;
}
aside {
  position: sticky;
  top: 18px;
  background: var(--deep);
  color: #fffef6;
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 34px);
  box-shadow: 0 10px 30px #1c362512;
}
aside .eyebrow {
  color: var(--accent);
  margin-bottom: 6px;
}
aside h2 {
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.amount {
  font: 500 clamp(1.65rem, 3vw, 2.8rem)/1.15 var(--mono);
  color: var(--accent);
  overflow-wrap: anywhere;
  letter-spacing: -0.075em;
}
.scope-note,
.secondary {
  color: #d0dfd4;
  margin: 13px 0;
  font-size: 0.84rem;
}
.selected-list {
  border-block: 1px solid #577268;
  margin: 18px 0;
  max-height: 24vh;
  overflow: auto;
  padding: 8px 0;
}
.selected-list p {
  margin: 4px 0;
  color: #e3e9de;
  font-size: 0.9rem;
}
.selected-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.selected-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.84rem;
}
.selected-list li span:last-child {
  white-space: nowrap;
}
.primary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  border-radius: 7px;
}
.primary:hover {
  background: white;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
}
.tools button {
  color: white;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 9px 0;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.84rem;
}
.tools button:disabled {
  opacity: 0.52;
}
#feedback {
  font-size: 0.83rem;
  margin: 4px 0;
}
#manual-copy {
  width: 100%;
  min-height: 100px;
}
.secondary {
  margin-bottom: 0;
}
footer {
  border-top: 1px solid var(--stroke);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 0.86rem;
}
.mobile-summary {
  display: none;
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  aside {
    position: static;
  }
  .service-group {
    margin: 25px 0;
  }
  .mobile-summary:not([hidden]) {
    display: flex;
    gap: 12px;
    position: fixed;
    bottom: max(10px, env(safe-area-inset-bottom));
    right: 12px;
    align-items: center;
    background: var(--deep);
    color: white;
    border: 1px solid #849d89;
    padding: 10px 16px;
    min-height: 44px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 3px 14px #0003;
  }
  .mobile-summary span {
    font-family: var(--mono);
    color: var(--accent);
  }
  footer {
    margin-top: 24px;
    padding-bottom: 75px;
  }
  .selected-list {
    max-height: 42vh;
  }
}
@media (max-width: 500px) {
  .filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .choice {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 10px;
    padding: 14px 4px;
  }
  .price {
    grid-column: 2;
    margin-top: 5px;
  }
  .intro {
    padding-top: 32px;
  }
}
@media (max-height: 700px) and (min-width: 801px) {
  aside {
    position: static;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
