.build-stage {
  margin: 18px var(--pad) 72px;
  padding: 36px 36px 32px;
  border-radius: 36px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(215, 243, 236, 0.9), transparent 64%),
    radial-gradient(320px 200px at 0% 100%, rgba(246, 234, 211, 0.75), transparent 70%),
    linear-gradient(155deg, #d4eaf8 0%, #e8f4fb 52%, #f6fafc 100%);
}
.build-head h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.15; font-weight: 500; }
.build-head .lede { margin-top: 12px; color: var(--muted); }
.builder {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 36px;
  align-items: start;
  margin-top: 28px;
}
.builder > * { min-width: 0; }
.field {
  padding: 22px 0;
  border-top: 1px solid rgba(22, 50, 74, 0.12);
  background: transparent;
}
.field h2 { font-size: 15px; letter-spacing: 0.08em; color: var(--muted); font-weight: 400; }
.field .lede { margin-top: 6px; color: var(--muted); font-size: 14px; }
.field .field { border: 0; padding: 16px 0 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.choice button, .tier-pick {
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
  padding: 10px 16px;
  cursor: pointer;
  color: var(--muted);
  text-align: left;
  font: inherit;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.choice button:hover, .tier-pick:hover { background: rgba(255, 255, 255, 0.72); color: var(--ink); }
.tier-pick { min-width: 148px; font-size: 20px; line-height: 1.35; }
.choice button.is-on, .tier-pick.is-on {
  background: #fff;
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(24, 117, 243, 0.16);
}
.quote {
  position: sticky;
  top: 96px;
  min-width: 0;
  padding: 16px 20px 22px;
  border-radius: 28px;
  background: linear-gradient(200deg, #f6ead3 0%, #fbf6ea 100%);
}
.quote figure {
  margin: 0 0 18px;
  min-width: 0;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
}
.quote img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 12px;
}
.quote-meta { margin: 0 0 8px; }
.quote-meta div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(22, 50, 74, 0.1);
  font-size: 13px;
}
.quote-meta dt { color: var(--muted); }
.quote-meta dd { margin: 0; }
#quote-lines { margin-top: 8px; }
#quote-lines p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
}
#quote-lines b { color: var(--price); font-weight: 500; }
.quote > p { color: var(--muted); font-size: 14px; }
.quote-month {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 0;
  font-size: 14px;
}
.quote-month strong { font-size: 14px; font-weight: 500; color: var(--price); }
#quote-due { display: block; margin-top: 4px; font-size: clamp(40px, 4vw, 56px); font-weight: 500; letter-spacing: -0.05em; color: var(--price); line-height: 1; }
.tier-pick .money { color: var(--price); }
.quote .lede { color: var(--muted); margin-top: 16px; font-size: 14px; }
.build .pick { display: inline-block; vertical-align: top; margin-top: 14px; }
.build .pick.is-open { z-index: 8; }
.build .pick-list {
  left: 0;
  right: auto;
  min-width: 380px;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
  border-radius: 18px;
}
.build .pick-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}
.build .pick-list button:hover,
.build .pick-list button[aria-current="true"] { background: #eef6fb; }
.build .pick-list .os-price { color: var(--muted); font-size: 13px; }
.ip-step {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.ip-step button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}
.ip-step button:hover { background: #eef6fb; }
#extra-ips {
  width: 56px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.quote-pay { margin-top: 18px; }
#gateway-list { display: grid; gap: 8px; margin-top: 10px; }
.gateway {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px 10px 40px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.gateway input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.gateway::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 50, 74, 0.35);
  transform: translateY(-50%);
  background: #fff;
}
.gateway.is-on {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(24, 117, 243, 0.12);
}
.gateway.is-on::before {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 8px var(--accent);
}
.gateway img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
#checkout-btn { margin-top: 22px; }
@media (max-width: 900px) {
  .build-stage { margin: 12px 18px 48px; padding: 24px 18px; }
  .builder { grid-template-columns: 1fr; gap: 20px; }
  .quote { position: static; }
  .quote img { height: 180px; }
  .build .pick-list { min-width: 0; width: min(380px, calc(100vw - 48px)); }
  .build .pick-list button { white-space: normal; }
}
