:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5f6368;
  --line: #d9d7d0;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #18735d;
  --steel: #2f4050;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.status-panel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 700;
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 32px 0;
}

.product,
.checkout {
  border: 1px solid var(--line);
  background: var(--panel);
}

.product {
  display: grid;
  grid-template-rows: 170px 1fr;
}

.product > div:last-child {
  padding: 18px;
}

.product h2,
.checkout h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.product p,
.checkout p {
  color: var(--muted);
  line-height: 1.5;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #ece8df;
}

.product-media::before,
.product-media::after {
  content: "";
  position: absolute;
  display: block;
  transform-origin: center;
}

.product-media::before {
  width: 112px;
  height: 34px;
  left: 50%;
  top: 48%;
  background: var(--steel);
  transform: translate(-50%, -50%) rotate(-18deg);
}

.product-media::after {
  width: 22px;
  height: 150px;
  left: 51%;
  top: 50%;
  background: #b47b42;
  transform: translate(-50%, -8%) rotate(-18deg);
}

.framing {
  background: linear-gradient(135deg, #efe6d2, #dfe9e5);
}

.joinery {
  background: linear-gradient(135deg, #e1ebef, #f0e3d3);
}

.finish {
  background: linear-gradient(135deg, #f2eee5, #e2e6d8);
}

.checkout {
  padding: 22px;
}

button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.result {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 700;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 560px);
    padding: 28px 0;
  }

  .intro {
    display: block;
  }

  .status-panel {
    margin-top: 20px;
  }

  .catalog {
    grid-template-columns: 1fr;
  }
}
