:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-deep: #e9e4d7;
  --ink: #171815;
  --muted: #6c6d65;
  --line: rgba(23, 24, 21, 0.15);
  --line-strong: rgba(23, 24, 21, 0.32);
  --acid: #c9f65b;
  --acid-deep: #a9dc36;
  --orange: #f9a66c;
  --blue: #aac9ff;
  --white: #fffdf8;
  --surface-subtle: #f7f5ee;
  --soft-surface: rgba(255, 255, 255, 0.24);
  --hover-surface: rgba(255, 255, 255, 0.58);
  --bg-start: #f7f4ec;
  --bg-end: #f1eee4;
  --bg-glow: rgba(255, 255, 255, 0.85);
  --shadow: 0 24px 70px rgba(39, 38, 31, 0.1);
  --serif: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Liberation Mono", monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0c0d0b;
  --paper-deep: #171814;
  --ink: #f2f2eb;
  --muted: #a1a39a;
  --line: rgba(242, 242, 235, 0.14);
  --line-strong: rgba(242, 242, 235, 0.3);
  --acid: #c9f65b;
  --acid-deep: #b9e946;
  --white: #141511;
  --surface-subtle: #181915;
  --soft-surface: rgba(255, 255, 255, 0.045);
  --hover-surface: rgba(255, 255, 255, 0.08);
  --bg-start: #0a0b09;
  --bg-end: #10110e;
  --bg-glow: rgba(201, 246, 91, 0.055);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, var(--bg-glow), transparent 28rem),
    linear-gradient(180deg, var(--bg-start) 0%, var(--paper) 32%, var(--bg-end) 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

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

:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--acid-deep);
  outline-offset: 3px;
}

.noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1440px, calc(100% - 64px));
  min-height: 94px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 44px;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  fill: var(--ink);
}

.brand-mark svg path:nth-child(2) {
  fill: var(--acid);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.brand-mark svg path:nth-child(3) {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.2em;
}

.brand-copy small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.step-nav i {
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  color: #96968d;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.step-link span {
  font-family: var(--mono);
  font-size: 9px;
}

.step-link.is-active {
  color: var(--ink);
}

.step-link.is-active::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid-deep);
  content: "";
}

.step-link.is-visited {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.currency-select {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 2px 0 12px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.currency-select select {
  height: 28px;
  padding: 0 24px 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.theme-toggle-icon {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.theme-toggle-icon::after {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.theme-toggle[aria-pressed="true"] .theme-toggle-icon {
  border-color: var(--acid-deep);
  background: var(--acid-deep);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-icon::after {
  display: none;
}

.quiet-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.quiet-button:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

main {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.step-panel {
  animation: screen-in 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes screen-in {
  from {
    opacity: 0.01;
  }
  to {
    opacity: 1;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(400px, 0.75fr);
  min-height: 570px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 62px 7vw 58px 3vw;
  border-right: 1px solid var(--line);
}

.eyebrow,
.section-index {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--ink);
}

.hero-copy h1 {
  margin: 28px 0 20px;
  font-family: var(--serif);
  font-size: clamp(76px, 8.5vw, 136px);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.hero-copy h1 em {
  position: relative;
  color: var(--ink);
  font-weight: 400;
}

.hero-copy h1 em::after {
  position: absolute;
  z-index: -1;
  right: -16px;
  bottom: 7px;
  left: 10px;
  height: 26%;
  background: var(--acid);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 590px;
  margin: 24px 0 38px;
  color: #464740;
  font-size: 16px;
  line-height: 1.85;
}

.hero-proof {
  display: flex;
  gap: 55px;
}

.hero-proof > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-proof strong {
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
}

.hero-proof span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.quote-orbit {
  position: relative;
  display: grid;
  min-height: 570px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(rgba(23, 24, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 21, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-ring-one {
  width: 390px;
  height: 390px;
  border-style: dashed;
  animation: orbit 36s linear infinite;
}

.orbit-ring-two {
  width: 290px;
  height: 290px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.orbit-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 196px;
  height: 218px;
  background: var(--ink);
  color: white;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.orbit-core::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: inherit;
  content: "";
}

.orbit-core span,
.orbit-core small {
  color: #bdbeb7;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.orbit-core strong {
  margin: 14px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.orbit-label {
  position: absolute;
  color: #8a8b82;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.orbit-label-top {
  top: 80px;
}

.orbit-label-right {
  right: 48px;
  top: 50%;
  transform: rotate(90deg);
}

.orbit-label-bottom {
  bottom: 80px;
}

.orbit-chip {
  position: absolute;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 50px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.chip-a {
  top: 74px;
  right: 84px;
  background: var(--acid);
}

.chip-b {
  top: 132px;
  left: 44px;
}

.chip-c {
  right: 54px;
  bottom: 104px;
  background: var(--orange);
}

.chip-d {
  bottom: 67px;
  left: 95px;
  background: var(--blue);
}

.consult-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  min-height: 390px;
  border-bottom: 1px solid var(--line);
}

.consult-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 6vw 50px 3vw;
  border-right: 1px solid var(--line);
}

.consult-copy h1 {
  margin: 24px 0 20px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.5vw, 98px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.consult-copy h1 em {
  position: relative;
  font-weight: 400;
}

.consult-copy h1 em::after {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: 2px;
  left: 5px;
  height: 25%;
  background: var(--acid);
  content: "";
  transform: rotate(-1deg);
}

.consult-copy > p:last-child {
  max-width: 620px;
  margin: 3px 0 0;
  color: #4c4d46;
  font-size: 14px;
  line-height: 1.8;
}

.consult-principles {
  display: grid;
  align-content: center;
  padding: 36px 4.5vw;
  background:
    linear-gradient(rgba(23, 24, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 24, 21, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.consult-principles > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.consult-principles > div:last-child {
  border-bottom: 0;
}

.consult-principles > div > span {
  display: grid;
  grid-row: span 2;
  width: 36px;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--mono);
  font-size: 8px;
  place-items: center;
}

.consult-principles strong {
  font-size: 13px;
}

.consult-principles p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.flow-screen {
  min-height: 680px;
  padding: 62px 3vw 72px;
}

.flow-page-head {
  display: grid;
  grid-template-columns: minmax(380px, 0.8fr) minmax(300px, 0.45fr);
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.flow-page-head .section-index {
  grid-column: 1 / -1;
}

.flow-page-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 5.4vw, 82px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.flow-page-head h1 em {
  position: relative;
  font-weight: 400;
}

.flow-page-head h1 em::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 3px;
  left: 3px;
  height: 23%;
  background: var(--acid);
  content: "";
  transform: rotate(-1deg);
}

.flow-page-head > p:last-child {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.flow-content {
  margin-top: 31px;
}

.flow-question-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 15px;
}

.flow-question-label span {
  display: inline-block;
  min-width: 85px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.flow-question-label strong {
  font-size: 13px;
}

.flow-question-label small {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}

.addon-policy {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: rgba(201, 246, 91, 0.18);
  color: var(--muted);
  font-size: 9px;
}

.addon-policy strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 9px;
}

.flow-fields {
  display: grid;
  border: 1px solid var(--line);
}

.flow-fields.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.flow-fields.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.flow-fields .field {
  border-bottom: 0;
}

.flow-fields .field:last-child {
  border-right: 0;
}

.contract-fields {
  margin-top: 22px;
}

.flow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.flow-footer > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.flow-footer > .text-button {
  padding: 8px 0;
}

.needs-form {
  padding: 66px 3vw 80px;
}

.form-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.form-heading h2,
.panel-heading h2,
.config-heading h2,
.quote-actions h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.form-heading > p {
  width: 260px;
  margin: 0;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.goal-card {
  position: relative;
  min-height: 164px;
  padding: 22px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft-surface);
  text-align: left;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.goal-card:hover {
  background: var(--hover-surface);
}

.goal-card.is-selected {
  background: var(--ink);
  color: var(--white);
}

.goal-card .goal-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
}

.goal-card strong {
  display: block;
  margin-top: 26px;
  font-size: 17px;
  font-weight: 650;
}

.goal-card > small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.goal-card.is-selected > small {
  color: #aaaba4;
}

.goal-check {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.goal-card.is-selected .goal-check {
  border-color: var(--acid);
  background: var(--acid);
}

.goal-card.is-selected .goal-check::after {
  position: absolute;
  top: 4px;
  left: 5px;
  width: 5px;
  height: 8px;
  border: solid var(--ink);
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: rotate(45deg);
}

.input-ribbon {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.8fr;
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--line);
}

.field {
  min-height: 112px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.field:last-child {
  border-right: 0;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.field-label small {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 24px;
}

.field input::placeholder {
  color: #aaa89f;
  font-family: var(--sans);
  font-size: 12px;
}

.input-with-unit {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.input-with-unit input {
  min-width: 0;
}

.input-with-unit small {
  color: var(--muted);
  font-size: 11px;
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.need-context-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
  border: 1px solid var(--line);
}

.need-context-row .field:first-child {
  border-right: 1px solid var(--line);
}

.need-context-row .field:last-child {
  border-right: 0;
}

.select-shell {
  position: relative;
}

.select-shell::after {
  position: absolute;
  top: 5px;
  right: 2px;
  content: "⌄";
  pointer-events: none;
}

.deployment-block {
  margin-top: 56px;
}

.form-subheading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-subheading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.deployment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.deployment-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 16px;
  min-height: 195px;
  padding: 24px;
  border-right: 1px solid var(--line);
  cursor: pointer;
  transition: background 180ms ease;
}

.deployment-number {
  display: none;
}

.deployment-card:last-child {
  border-right: 0;
}

.deployment-card:hover {
  background: rgba(255, 255, 255, 0.5);
}

.deployment-card.is-selected {
  background: var(--white);
}

.deployment-card::after {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--muted);
  content: "选择";
  font-size: 13px;
}

.deployment-card.is-selected::after {
  color: var(--acid);
  content: "已选";
  font-weight: 600;
}

.product-row:hover,
.service-toggle:hover,
.quantity-control:hover {
  border-color: var(--line-strong);
}

.deployment-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.deployment-number {
  position: absolute;
  top: 16px;
  right: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.deployment-icon {
  display: grid;
  grid-row: span 3;
  width: 52px;
  height: 58px;
  border: 1px solid var(--line);
  place-items: center;
  background: var(--paper);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.deployment-card.is-selected .deployment-icon {
  background: var(--acid);
}

.deployment-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.deployment-card strong {
  padding-right: 25px;
  font-size: 16px;
}

.deployment-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.deployment-card > small {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.notes-field {
  display: block;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--line);
}

.notes-field textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
  resize: vertical;
}

.notes-field textarea::placeholder {
  color: #aaa89f;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}

.form-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid-deep);
  box-shadow: 0 0 0 4px rgba(169, 220, 54, 0.14);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 0 22px 0 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 650;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.primary-button:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(-2px);
}

.primary-button:disabled {
  border-color: #c5c2b9;
  background: #c5c2b9;
  color: #77776f;
  cursor: not-allowed;
  transform: none;
}

.primary-button span {
  font-size: 16px;
}

.step-two,
.step-three {
  padding: 68px 3vw 86px;
}

.panel-heading,
.config-heading,
.quote-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.panel-heading-aside {
  width: 290px;
  padding-bottom: 4px;
}

.fit-kicker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.panel-heading-aside p {
  margin: 8px 0 12px;
  font-size: 12px;
  line-height: 1.6;
}

.text-button {
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.text-button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.28);
  text-align: left;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.recommend-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.recommend-card.is-selected {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.recommend-card.is-best {
  background: var(--ink);
  color: var(--white);
}

.recommend-card.is-best.is-selected {
  outline: 3px solid var(--acid);
  outline-offset: -8px;
}

.recommend-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.recommend-card:nth-child(2)::after {
  left: -80px;
  right: auto;
  top: -75px;
  bottom: auto;
  background: rgba(201, 246, 91, 0.32);
  border: 0;
}

.recommend-ranking {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.best-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.is-best .best-flag {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--acid);
}

.best-flag::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid-deep);
  content: "";
}

.recommend-card h3 {
  margin: 31px 0 20px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.recommend-description {
  min-height: 57px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.is-best .recommend-description {
  color: #b7b8b0;
}

.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 22px 0;
}

.product-pills span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 8px;
}

.is-best .product-pills span {
  border-color: rgba(255, 255, 255, 0.18);
}

.recommend-card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.is-best .recommend-card-footer {
  border-color: rgba(255, 255, 255, 0.15);
}

.recommend-estimate span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
}

.recommend-estimate strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.recommend-estimate small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 9px;
}

.choose-ring {
  display: grid;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
}

.is-best .choose-ring {
  border-color: rgba(255, 255, 255, 0.35);
}

.is-selected .choose-ring {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.is-best.is-selected .choose-ring {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.choose-ring::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
}

.is-selected .choose-ring::before {
  background: var(--acid);
}

.is-best.is-selected .choose-ring::before {
  background: var(--ink);
}

.selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 16px 16px 16px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.selection-bar > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.selection-bar span {
  color: var(--muted);
  font-size: 9px;
}

.selection-bar strong {
  font-size: 13px;
}

.recommendation-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.recommendation-note span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
  font-family: var(--serif);
  font-size: 12px;
}

.recommendation-note p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.config-heading {
  align-items: flex-end;
}

.decision-note {
  max-width: 230px;
  padding-bottom: 4px;
  text-align: right;
}

.decision-note span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.decision-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.recommendation-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(100deg, rgba(201, 246, 91, 0.3), transparent 38%),
    var(--surface-subtle);
}

.recommendation-stamp {
  display: grid;
  width: 66px;
  height: 72px;
  background: var(--ink);
  color: var(--acid);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  place-items: center;
}

.recommendation-main {
  min-width: 0;
}

.recommendation-main > strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.recommendation-stamp,
.recommendation-tags span,
.package-switcher select {
  font-family: var(--sans);
  font-size: 13px;
}

.recommendation-main > p {
  margin: 5px 0 9px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.recommendation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.recommendation-tags span {
  padding: 4px 6px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  font-family: var(--mono);
  font-size: 7px;
}

.package-switcher {
  min-width: 165px;
}

.package-switcher > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
}

.package-switcher select {
  width: 100%;
  height: 35px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  outline: 0;
  background: var(--white);
  font-size: 10px;
}

.recommendation-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: stretch;
  margin-top: 22px;
}

.recommendation-explanation {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
}

.recommendation-kicker {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.recommendation-explanation h3 {
  max-width: 620px;
  margin: 18px 0 13px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.recommendation-explanation > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.recommendation-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.recommendation-checklist > div {
  min-height: 100px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recommendation-checklist span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.recommendation-checklist strong {
  display: block;
  font-size: 12px;
  line-height: 1.55;
}

.recommendation-checklist small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.recommended-price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--ink);
  color: white;
}

.recommended-price-card > span {
  color: #9b9c94;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.recommended-price-card > strong {
  margin: 24px 0 5px;
  font-family: var(--serif);
  font-size: 45px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.recommended-price-card > small {
  color: #9b9c94;
  font-size: 9px;
}

.recommended-breakdown {
  margin: 24px 0;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.recommended-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 6px 0;
  color: #b0b1aa;
  font-size: 9px;
}

.recommended-breakdown-row strong {
  color: white;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.recommendation-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.recommendation-actions .quiet-button {
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.recommendation-actions .quiet-button:hover {
  background: white;
  color: var(--ink);
}

.recommendation-actions .primary-button {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.recommended-price-card > p {
  margin: 14px 0 0;
  color: #7b7d75;
  font-size: 8px;
  line-height: 1.55;
}

.live-estimate {
  min-width: 280px;
  text-align: right;
}

.live-estimate span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.live-estimate strong {
  display: block;
  margin: 7px 0 4px;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.live-estimate small {
  color: var(--muted);
  font-size: 9px;
}

.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 25px;
  align-items: start;
  margin-top: 47px;
}

.config-main {
  border-top: 1px solid var(--line-strong);
}

.config-section {
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
}

.config-section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.config-section-heading > span:first-child {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  font-family: var(--mono);
  font-size: 8px;
}

.config-section-heading h3 {
  margin: -2px 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.config-section-heading h3 small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.config-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.24);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.product-row.is-selected {
  border-color: var(--line-strong);
  background: var(--white);
}

.product-checkbox {
  position: absolute;
  opacity: 0;
}

.product-check {
  display: grid;
  width: 36px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  place-items: center;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.is-selected .product-check {
  background: var(--acid);
  border-color: var(--ink);
}

.product-copy {
  min-width: 0;
}

.product-copy strong {
  display: block;
  font-size: 12px;
}

.product-copy small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  cursor: pointer;
}

.ai-chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--acid);
}

.ai-chip.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.security-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.toggle-icon {
  display: grid;
  width: 36px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  place-items: center;
  font-family: var(--mono);
  font-size: 7px;
}

.security-toggle > span:nth-child(2) {
  flex: 1;
}

.security-toggle strong {
  display: block;
  font-size: 12px;
}

.security-toggle small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.security-toggle input {
  position: absolute;
  opacity: 0;
}

.security-toggle i {
  position: relative;
  width: 36px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #d8d5cc;
  transition: background 180ms ease;
}

.security-toggle i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  content: "";
  transition: transform 180ms ease;
}

.security-toggle input:checked + i {
  background: var(--acid);
}

.security-toggle input:checked + i::after {
  background: #ffffff;
  transform: translateX(16px);
}

.service-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-group-title {
  grid-column: 1 / -1;
  margin: 6px 0 1px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.service-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.service-toggle.is-on {
  border-color: var(--line-strong);
  background: var(--white);
}

.service-toggle strong {
  display: block;
  font-size: 11px;
}

.service-toggle small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.service-toggle input {
  position: absolute;
  opacity: 0;
}

.mini-check {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
}

.service-toggle input:checked + .mini-check {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--acid);
}

.service-toggle input:checked + .mini-check::after {
  width: 5px;
  height: 8px;
  border: solid var(--acid);
  border-width: 0 1.5px 1.5px 0;
  content: "";
  transform: rotate(45deg) translate(-1px, -1px);
}

.quantity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.quantity-control strong {
  display: block;
  font-size: 11px;
}

.quantity-control small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.stepper {
  display: flex;
  align-items: center;
  height: 35px;
  border: 1px solid var(--line);
  background: var(--white);
}

.stepper button {
  display: grid;
  width: 28px;
  height: 33px;
  padding: 0;
  background: transparent;
  place-items: center;
  font-size: 14px;
}

.stepper button:hover {
  background: var(--paper-deep);
}

.stepper input {
  width: 36px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.stepper > small {
  width: 30px;
  margin: 0;
  color: var(--muted);
  font-size: 8px;
}

.collapsible-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: transparent;
  text-align: left;
}

.collapse-arrow {
  display: grid !important;
  width: 25px !important;
  height: 25px !important;
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  transition: transform 180ms ease;
}

.collapsible-heading[aria-expanded="true"] .collapse-arrow {
  transform: rotate(180deg);
}

.usage-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.usage-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px;
  border: 1px solid var(--line);
}

.usage-field span strong {
  display: block;
  font-size: 10px;
}

.usage-field span small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.usage-field input {
  width: 72px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  outline: 0;
  background: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  text-align: right;
}

.usage-field input:focus {
  border-color: var(--ink);
}

.config-summary {
  position: sticky;
  top: 22px;
  padding: 25px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.config-summary::after {
  position: absolute;
  z-index: 0;
  top: -100px;
  right: -100px;
  width: 240px;
  height: 220px;
  background: rgba(201, 246, 91, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  content: "";
}

.config-summary > * {
  position: relative;
  z-index: 1;
}

.summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-label {
  color: #999a93;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.summary-mode {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: var(--acid);
  font-size: 8px;
}

.summary-price {
  padding: 29px 0 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.summary-price strong {
  display: block;
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.summary-price small {
  display: block;
  margin-top: 7px;
  color: #999a93;
  font-size: 9px;
}

.summary-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.summary-facts span,
.summary-facts strong {
  display: block;
}

.summary-facts span {
  margin-bottom: 6px;
  color: #888a83;
  font-size: 8px;
}

.summary-facts strong {
  font-size: 10px;
}

.summary-stack {
  padding: 14px 0 16px;
}

.summary-stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  font-size: 9px;
}

.summary-stack-row span {
  overflow: hidden;
  color: #b4b5ae;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-stack-row strong {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.primary-button-light {
  width: 100%;
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.primary-button-light:hover {
  background: white;
}

.config-summary .text-button {
  display: block;
  margin: 14px auto 0;
  color: #a5a69f;
  text-align: center;
}

.config-summary .summary-disclaimer {
  margin: 17px 0 0;
  color: #777972;
  font-size: 8px;
  line-height: 1.65;
}

.step-three {
  position: relative;
}

.quote-actions {
  margin-bottom: 36px;
}

.quote-actions h2 {
  font-size: 54px;
}

.quote-action-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quote-sheet {
  position: relative;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-sheet::after {
  position: absolute;
  z-index: 0;
  right: 48px;
  bottom: 90px;
  color: rgba(23, 24, 21, 0.028);
  content: "HIVE";
  font-family: var(--mono);
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.quote-sheet > * {
  position: relative;
  z-index: 1;
}

.quote-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--ink);
}

.quote-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-brand-mark {
  display: grid;
  width: 47px;
  height: 52px;
  background: var(--ink);
  color: var(--acid);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  place-items: center;
}

.quote-brand strong {
  display: block;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.22em;
}

.quote-brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.quote-title {
  text-align: right;
}

.quote-title p {
  margin: 0 0 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.quote-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.quote-meta {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 0.7fr;
  margin: 28px 0 38px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quote-meta.quote-meta-three {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.quote-meta > div {
  min-height: 74px;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.quote-meta strong {
  display: block;
  font-size: 11px;
  line-height: 1.5;
}

.quote-meta small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.quote-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 31px 0 12px;
}

.quote-section-title h3 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.quote-section-title span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.quote-table th {
  padding: 9px 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
}

.quote-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.quote-group-row td {
  padding: 14px 10px 7px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface-subtle);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.quote-table .align-right {
  text-align: right;
}

.line-title strong {
  display: block;
  font-size: 10px;
}

.line-title small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.billing-pill {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 7px;
}

.line-quantity small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
}

.line-total {
  font-family: var(--mono);
  font-weight: 600;
}

.quote-total-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 34px;
  margin-top: 30px;
}

.quote-notes h4 {
  margin: 0 0 11px;
  font-size: 10px;
}

.quote-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-notes li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 12px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.quote-notes li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
}

.quote-totals {
  border-top: 2px solid var(--ink);
}

.quote-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.quote-total-row span {
  color: var(--muted);
}

.quote-total-row strong {
  font-family: var(--mono);
  font-size: 9px;
}

.quote-grand-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 17px 0 9px;
}

.quote-grand-total span {
  font-size: 11px;
  font-weight: 700;
}

.quote-grand-total strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.quote-tax-note {
  color: var(--muted);
  font-size: 7px;
  text-align: right;
}

.quote-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 7px;
}

.quote-footer strong {
  color: var(--ink);
  font-weight: 600;
}

.post-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 25px;
  padding: 25px 28px;
  background: var(--acid);
}

.post-quote span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.post-quote h3 {
  margin: 6px 0 5px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.post-quote p {
  margin: 0;
  font-size: 9px;
}

.post-quote .primary-button {
  flex: 0 0 auto;
}

.demo-disclaimer {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 8px;
  text-align: right;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer p {
  margin: 0;
}

.site-footer > p {
  text-align: right;
}

.footer-mark {
  display: grid;
  width: 29px;
  height: 32px;
  background: var(--ink);
  color: var(--acid);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-family: var(--mono);
  font-size: 10px;
  place-items: center;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  max-width: 320px;
  padding: 13px 18px;
  border-radius: 3px;
  background: var(--ink);
  color: white;
  font-size: 11px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .step-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.72fr;
  }

  .hero-copy {
    padding-right: 5vw;
  }

  .quote-orbit {
    transform: scale(0.9);
  }

  .goal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommendation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommend-card:nth-child(3) {
    grid-column: span 2;
  }

  .config-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .product-list,
  .service-controls {
    grid-template-columns: 1fr;
  }

  .quote-sheet {
    padding: 34px;
  }
}

@media (max-width: 820px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    min-height: 78px;
  }

  .currency-select span,
  #resetButton {
    display: none;
  }

  .currency-select {
    padding-left: 0;
    border: 0;
  }

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

  .consult-intro {
    grid-template-columns: 1fr;
  }

  .flow-page-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .flow-page-head h1 {
    font-size: clamp(48px, 10vw, 70px);
  }

  .flow-page-head > p:last-child {
    max-width: 600px;
  }

  .flow-fields.three-up,
  .flow-fields.two-up {
    grid-template-columns: 1fr;
  }

  .flow-fields .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-fields .field:last-child {
    border-bottom: 0;
  }

  .consult-copy {
    padding: 48px 0 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .consult-principles {
    padding: 25px 3vw;
  }

  .hero-copy {
    min-height: 470px;
    padding: 50px 0;
    border-right: 0;
  }

  .hero-copy h1 {
    font-size: clamp(72px, 19vw, 112px);
  }

  .quote-orbit {
    min-height: 430px;
    border-top: 1px solid var(--line);
    transform: scale(0.88);
  }

  .needs-form,
  .step-two,
  .step-three {
    padding-right: 0;
    padding-left: 0;
  }

  .form-heading,
  .panel-heading,
  .config-heading,
  .quote-actions {
    display: block;
  }

  .form-heading > p,
  .panel-heading-aside {
    width: auto;
    margin-top: 16px;
  }

  .input-ribbon {
    grid-template-columns: 1fr 1fr;
  }

  .field-wide {
    grid-column: span 2;
    border-top: 1px solid var(--line);
  }

  .field:nth-child(2) {
    border-right: 0;
  }

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

  .deployment-card {
    min-height: 125px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .deployment-card:last-child {
    border-bottom: 0;
  }

  .deployment-icon {
    height: 75px;
  }

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

  .recommend-card:nth-child(3) {
    grid-column: auto;
  }

  .recommend-card {
    min-height: 400px;
  }

  .selection-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }

  .selection-bar > div {
    justify-content: space-between;
  }

  .config-layout {
    grid-template-columns: 1fr;
  }

  .recommendation-overview {
    grid-template-columns: 1fr;
  }

  .recommendation-strip {
    grid-template-columns: auto 1fr;
  }

  .package-switcher {
    grid-column: 2;
  }

  .recommendation-strip > .text-button {
    grid-column: 2;
    justify-self: start;
  }

  .config-summary {
    position: relative;
    top: auto;
  }

  .live-estimate {
    margin-top: 20px;
    text-align: left;
  }

  .quote-meta {
    grid-template-columns: 1fr 1fr;
  }

  .quote-total-grid {
    grid-template-columns: 1fr;
  }

  .quote-actions {
    gap: 22px;
  }

  .quote-action-buttons {
    margin-top: 22px;
    flex-wrap: wrap;
  }

  .post-quote {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 24px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 32px;
    height: 36px;
  }

  .hero-copy {
    min-height: 420px;
  }

  .hero-copy h1 {
    margin-top: 23px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-proof {
    gap: 25px;
  }

  .hero-proof > div {
    gap: 8px;
  }

  .hero-proof strong {
    font-size: 28px;
  }

  .quote-orbit {
    min-height: 365px;
    transform: scale(0.72);
  }

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

  .flow-screen {
    min-height: 0;
    padding: 39px 0 55px;
  }

  .flow-question-label {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .flow-question-label small {
    margin-left: 0;
  }

  .flow-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-footer .primary-button {
    width: 100%;
  }

  .flow-footer > .text-button {
    align-self: flex-start;
  }

  .goal-card {
    min-height: 112px;
  }

  .goal-card strong {
    margin-top: 14px;
  }

  .goal-symbol {
    width: 32px !important;
    height: 32px !important;
  }

  .input-ribbon {
    grid-template-columns: 1fr;
  }

  .need-context-row {
    grid-template-columns: 1fr;
  }

  .need-context-row .field:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .field-wide {
    grid-column: auto;
    border-top: 0;
  }

  .field:last-child {
    border-bottom: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .primary-button {
    width: 100%;
  }

  .selection-bar .primary-button {
    width: 100%;
  }

  .product-list,
  .quantity-grid,
  .usage-fields {
    grid-template-columns: 1fr;
  }

  .service-controls {
    grid-template-columns: 1fr 1fr;
  }

  .service-toggle {
    min-height: 76px;
  }

  .recommendation-strip {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 15px;
  }

  .recommendation-stamp {
    width: 48px;
    height: 54px;
    font-size: 7px;
  }

  .recommendation-main > strong {
    font-size: 21px;
  }

  .recommendation-explanation {
    padding: 23px 18px;
  }

  .recommendation-explanation h3 {
    font-size: 27px;
  }

  .recommendation-checklist {
    grid-template-columns: 1fr;
  }

  .recommended-price-card {
    padding: 22px 18px;
  }

  .quote-sheet {
    padding: 22px 16px;
  }

  .quote-top {
    gap: 15px;
  }

  .quote-title h2 {
    font-size: 34px;
  }

  .quote-brand-mark {
    width: 38px;
    height: 42px;
  }

  .quote-meta {
    margin-bottom: 26px;
  }

  .quote-table {
    min-width: 620px;
  }

  .quote-table-wrap {
    overflow-x: auto;
  }

  .quote-action-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .quote-action-buttons .quiet-button,
  .quote-action-buttons .primary-button {
    width: 100%;
  }

  .post-quote .primary-button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .site-footer > p {
    text-align: left;
  }
}

/* Product interface: restrained typography, strict alignment, one accent. */
:root {
  --paper: #ffffff;
  --paper-deep: #f1f1f1;
  --ink: #111111;
  --muted: #555b6e;
  --line: #e6e8ee;
  --line-strong: #c7cbd6;
  --acid: #2e55d4;
  --acid-deep: #2347b8;
  --accent-soft: #eef3ff;
  --white: #ffffff;
  --surface-subtle: #f3f4f8;
  --soft-surface: #f8f8fa;
  --hover-surface: #f3f4f8;
  --bg-start: #ffffff;
  --bg-end: #ffffff;
  --bg-glow: transparent;
  --shadow: none;
  --serif: var(--sans);
  --mono: var(--sans);
  --font-size-body: 15px;
  --font-size-small: 13px;
  --space-page: 48px;
  --radius-control: 999px;
  --radius-card: 20px;
  --container: 1200px;
}

html[data-theme="dark"] {
  --paper: #0a0a0a;
  --paper-deep: #171717;
  --ink: #f5f5f5;
  --muted: #a3a3a3;
  --line: #292929;
  --line-strong: #484848;
  --acid: #4568ea;
  --acid-deep: #3657d8;
  --accent-soft: #111936;
  --white: #101010;
  --surface-subtle: #121212;
  --soft-surface: #111111;
  --hover-surface: #181818;
  --bg-start: #0a0a0a;
  --bg-end: #0a0a0a;
  --bg-glow: transparent;
}

html {
  background: var(--paper);
  overflow-anchor: none;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--font-size-body);
  font-variant-numeric: tabular-nums;
  overflow-anchor: none;
}

.noise {
  display: none;
}

.site-header,
main,
.site-footer {
  width: min(var(--container), calc(100% - 48px));
}

.site-header {
  grid-template-columns: auto minmax(190px, 1fr) auto;
  gap: 36px;
  min-height: 72px;
}

.brand {
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 34px;
}

.brand-mark svg path:first-child {
  fill: var(--ink);
}

.brand-mark svg path:nth-child(2) {
  fill: var(--paper);
  stroke: var(--ink);
}

.brand-mark svg path:nth-child(3) {
  stroke: var(--ink);
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.progress-summary {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  width: min(100%, 320px);
}

.progress-summary > span:first-child {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.progress-track i {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--ink);
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.step-nav,
.footer-mark,
.section-index,
.goal-symbol,
.addon-policy,
.status-dot {
  display: none !important;
}

.more-menu {
  position: relative;
  justify-self: end;
}

.more-menu summary {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.06em;
  list-style: none;
  place-items: center;
}

.more-menu summary::-webkit-details-marker {
  display: none;
}

.more-menu summary:hover {
  border-color: var(--line-strong);
}

.more-menu-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.menu-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.menu-field select {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
  font-size: 13px;
}

.menu-action {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  text-align: left;
}

.menu-action:hover {
  background: var(--surface-subtle);
}

.flow-screen,
.step-two,
.step-three {
  min-height: auto;
  padding: 32px 0 48px;
}

.flow-page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  min-height: 0;
  margin: 0 auto;
  padding: 4px 0 30px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.flow-page-head h1,
.config-heading h2,
.quote-actions h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(40px, 4vw, 56px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.flow-page-head h1 em {
  position: static;
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}

.flow-page-head h1 em::after {
  display: none;
}

.flow-page-head > p:last-child {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.flow-content {
  margin-top: 24px;
}

.flow-question-label {
  align-items: center;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  text-align: center;
}

.flow-question-label span {
  display: none;
}

.flow-question-label strong {
  font-size: 14px;
  font-weight: 600;
}

.flow-question-label small {
  margin-left: 0;
  color: var(--muted);
  font-size: 13px;
}

.goal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
}

.goal-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.goal-card:hover {
  border-color: var(--line-strong);
  background: var(--hover-surface);
  transform: none;
}

.goal-card.is-selected {
  border-color: var(--acid);
  background: var(--accent-soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--acid);
}

.goal-copy {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding-right: 0;
}

.goal-card strong {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.goal-card > small,
.goal-copy small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.goal-card.is-selected > small,
.goal-card.is-selected .goal-copy small {
  color: var(--muted);
}

.goal-state {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-card:hover .goal-state,
.goal-card:focus-visible .goal-state,
.goal-card.is-selected .goal-state {
  opacity: 1;
  transform: translateY(0);
}

.goal-state svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.goal-state-check {
  display: none;
}

.goal-card.is-selected .goal-state {
  color: var(--acid);
}

.goal-card.is-selected .goal-state-add {
  display: none;
}

.goal-card.is-selected .goal-state-check {
  display: block;
}

.enhancement-group {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.addon-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.addon-grid .goal-card {
  min-height: 112px;
}

.flow-fields {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: visible;
  background: var(--white);
}

.field {
  min-height: 104px;
  padding: 20px;
  background: transparent;
}

.field-label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field-label small,
.field-hint {
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field select {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}

.select-shell {
  position: relative;
  display: block;
}

.select-shell select {
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 14px;
  border: 0;
  border-radius: var(--radius-control);
  outline: 0;
  appearance: none;
  background: var(--surface-subtle);
}

.select-shell::after {
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: none;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface-subtle);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.custom-select-trigger:hover {
  border-color: var(--line-strong);
}

.custom-select-trigger svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-select-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 230px;
  margin-top: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.08);
}

.custom-select-menu [role="option"] {
  position: relative;
  width: 100%;
  min-height: 42px;
  padding: 0 36px 0 13px;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
}

.custom-select-menu [role="option"]:hover,
.custom-select-menu [role="option"]:focus-visible {
  background: var(--surface-subtle);
}

.custom-select-menu [role="option"][aria-selected="true"] {
  background: var(--accent-soft);
  color: var(--acid);
}

.custom-select-menu [role="option"][aria-selected="true"]::after {
  position: absolute;
  top: 50%;
  right: 14px;
  content: "✓";
  transform: translateY(-50%);
}

.field input::placeholder {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
}

.field-error,
.form-error {
  display: block;
  margin: 9px 0 0;
  color: #b42318;
  font-size: 13px;
  line-height: 1.5;
}

html[data-theme="dark"] .field-error,
html[data-theme="dark"] .form-error {
  color: #ff9b8f;
}

.field.has-error {
  background: rgba(180, 35, 24, 0.045);
}

.goal-grid.has-error .goal-card,
.deployment-grid.has-error .deployment-card {
  border-color: #b42318;
}

.deployment-grid {
  gap: 10px;
  border: 0;
}

.deployment-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.deployment-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  clip-path: none;
}

.deployment-icon svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.deployment-card:hover {
  border-color: var(--line-strong);
  background: var(--hover-surface);
}

.deployment-card.is-selected {
  border-color: var(--acid);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--acid);
}

.deployment-card.is-selected .deployment-icon {
  border-color: var(--acid);
  background: var(--paper);
}

.deployment-card strong {
  font-size: 15px;
  font-weight: 600;
}

.deployment-card p,
.deployment-card > small {
  color: var(--muted);
  font-size: 13px;
}

.flow-fields .field {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.flow-fields .field:last-child {
  border-right: 0;
}

.notes-field {
  margin-top: 10px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.notes-field textarea {
  font-size: 14px;
}

.flow-footer {
  position: relative;
  z-index: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  min-height: 64px;
  margin: 28px 0 0;
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.flow-footer > p,
.flow-footer .text-button {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.primary-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--acid);
  border-radius: var(--radius-control);
  background: var(--acid);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.primary-button:hover {
  border-color: var(--acid-deep);
  background: var(--acid-deep);
  color: #ffffff;
  transform: none;
}

.primary-button span {
  display: none;
}

.primary-button::after {
  margin-left: 6px;
  content: "→";
}

.quiet-button,
.text-button {
  font-size: 14px;
}

.quiet-button {
  min-height: 44px;
  color: var(--acid);
  border-color: var(--acid);
}

.quiet-button:hover {
  color: #ffffff;
  border-color: var(--acid-deep);
  background: var(--acid-deep);
}

.text-button {
  color: var(--acid);
}

.site-footer {
  display: block;
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer > p {
  margin: 0;
  text-align: left;
}

/* Recommendation and final quote typography */
.step-two,
.step-three {
  padding-top: 40px;
}

.config-heading,
.quote-actions {
  align-items: flex-start;
}

.decision-note {
  max-width: 260px;
}

.decision-note span,
.recommendation-kicker,
.recommended-price-card > span,
.recommendation-checklist span {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.decision-note p,
.recommendation-main > p,
.recommendation-explanation > p,
.recommendation-checklist small,
.recommended-price-card > small,
.recommended-price-card > p,
.recommended-breakdown-row,
.recommended-breakdown-row strong,
.recommendation-actions,
.package-switcher > span {
  font-size: 13px;
}

.recommendation-main > strong {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
}

.recommendation-strip,
.recommendation-explanation,
.recommended-price-card {
  border-radius: 8px;
}

.recommendation-strip {
  background: var(--surface-subtle);
}

.recommendation-stamp {
  color: var(--paper);
  background: var(--ink);
}

.recommendation-explanation h3 {
  font-family: var(--sans);
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
}

.recommendation-checklist strong {
  font-size: 14px;
}

.recommended-price-card > strong,
.quote-grand-total strong {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.quote-sheet {
  border-radius: 8px;
  box-shadow: none;
}

.quote-sheet::after {
  display: none;
}

.money-pair {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.money-pair > span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.money-pair small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.money-pair b {
  font: inherit;
}

.money-pair-stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.recommended-price-card .money-pair-stacked {
  align-items: flex-start;
}

.recommended-price-card .money-pair-stacked b {
  font-size: 30px;
  line-height: 1.15;
}

.recommended-price-card .money-pair-stacked small {
  color: #a8aaa2;
}

.recommendation-decision-bar .money-pair {
  justify-content: flex-end;
}

.quote-table .money-pair {
  align-items: flex-end;
  flex-direction: column;
  gap: 3px;
}

.recommendation-decision-bar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(960px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.recommendation-decision-bar > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.recommendation-decision-bar span {
  color: var(--muted);
  font-size: 13px;
}

.recommendation-decision-bar strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.recommendation-decision-bar > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-five {
  padding-top: 40px;
  padding-bottom: 48px;
}

.quote-builder-page {
  padding-top: 40px;
  padding-bottom: 48px;
}

.recommendation-products-page {
  padding-top: 40px;
  padding-bottom: 48px;
}

.recommendation-product-section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.config-page-head {
  margin-bottom: 24px;
}

.config-layout {
  display: block;
  margin-top: 0;
}

.config-main {
  border-top: 1px solid var(--line-strong);
}

.config-section {
  padding: 24px 0;
}

.config-section-heading h3 {
  font-size: 16px;
  font-weight: 600;
}

.config-section-heading p {
  font-size: 13px;
}

.config-section-heading > span:first-child {
  font-size: 13px;
}

.product-list {
  display: block;
  gap: 8px;
}

.product-grid,
.service-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.selection-group + .selection-group {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.selection-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.selection-group-title h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.selection-group-title span {
  display: grid;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  place-items: center;
}

.selection-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  font-size: 13px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  background: var(--white);
}

.product-row.is-selected {
  border-color: var(--acid);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--acid);
}

.product-check,
.mini-check {
  display: none;
}

.product-copy {
  display: block;
  min-width: 0;
}

.product-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.product-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.product-copy small {
  margin-top: 5px;
  overflow: visible;
  color: var(--muted);
  font-size: 13px;
  text-overflow: clip;
  white-space: normal;
}

.product-select-state,
.service-state {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.module-seat-control {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.module-seat-control input {
  width: 54px;
  height: 36px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  outline: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.module-seat-control input:focus {
  border-color: var(--ink);
}

.module-seat-control small {
  color: var(--muted);
  font-size: 13px;
}

.module-seat-control input {
  -moz-appearance: textfield;
}

.module-seat-control input::-webkit-outer-spin-button,
.module-seat-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.product-row.is-selected .product-select-state,
.service-toggle.is-on .service-state {
  color: var(--acid);
  font-weight: 600;
}

.ai-chip {
  align-self: center;
  height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 13px;
}

.ai-chip.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ai-chip.is-disabled {
  opacity: 0.35;
}

.product-ai {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.product-ai.is-disabled {
  opacity: 0.38;
}

.ai-toggle {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.ai-toggle.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ai-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.ai-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ai-switch i {
  position: relative;
  display: block;
  width: 34px;
  height: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--paper-deep);
  transition:
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  content: "";
  transition:
    background 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ai-switch input:checked + i {
  border-color: var(--acid);
  background: var(--acid);
}

.ai-switch input:checked + i::after {
  background: var(--paper);
  transform: translateX(14px);
}

.ai-switch input:disabled + i {
  opacity: 0.38;
}

.ai-seat-stepper {
  display: flex;
  align-items: center;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--paper);
}

.ai-seat-stepper > button {
  width: 32px;
  height: 36px;
  padding: 0;
  background: transparent;
  color: var(--muted);
}

.ai-seat-stepper > button:hover {
  color: var(--ink);
  background: var(--surface-subtle);
}

.ai-seat-stepper label {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 5px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.ai-seat-stepper input {
  width: 38px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
}

.ai-seat-stepper input::-webkit-outer-spin-button,
.ai-seat-stepper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ai-source-state {
  color: var(--muted);
  font-size: 13px;
}

.security-toggle {
  padding: 14px 16px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.security-toggle .toggle-icon {
  display: none;
}

.security-toggle strong {
  font-size: 14px;
}

.security-toggle small {
  font-size: 13px;
}

.service-controls {
  display: block;
  gap: 8px;
}

.service-group-title {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.service-toggle {
  min-height: 70px;
  padding: 14px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.service-toggle.is-on {
  border-color: var(--acid);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--acid);
}

.service-toggle strong {
  font-size: 14px;
}

.service-toggle small {
  font-size: 13px;
}

.quantity-grid {
  gap: 8px;
}

.quantity-control {
  min-height: 78px;
  padding: 14px;
  border-radius: var(--radius-card);
  background: var(--white);
}

.quantity-control strong {
  font-size: 14px;
}

.quantity-control small,
.stepper > small,
.usage-field span small {
  font-size: 13px;
}

.quantity-state {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.quantity-control.is-on {
  border-color: var(--acid);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--acid);
}

.quantity-control.is-on .quantity-state {
  color: var(--acid);
  font-weight: 600;
}

.stepper {
  height: 40px;
  border-radius: var(--radius-control);
  overflow: hidden;
}

.stepper button {
  width: 34px;
  height: 38px;
}

.stepper input,
.usage-field input {
  font-size: 13px;
}

.collapsible-heading h3,
.usage-field span strong {
  font-size: 14px;
}

.collapsible-heading p {
  font-size: 13px;
}

.config-summary {
  top: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-subtle);
  color: var(--ink);
  box-shadow: none;
}

.top-summary {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px 32px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px;
}

.top-summary .summary-top {
  grid-column: 1 / -1;
}

.top-summary .summary-price {
  grid-column: 1;
  padding: 8px 0 16px;
  border-bottom: 0;
}

.top-summary .summary-facts {
  grid-column: 2;
  padding: 8px 0 16px;
  border-bottom: 0;
}

.top-summary .summary-stack {
  grid-column: 1;
  padding: 10px 0;
}

.top-summary .summary-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 2;
}

.top-summary .summary-actions .text-button {
  width: 100%;
  text-align: right;
}

.top-summary .summary-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.config-summary::after {
  display: none;
}

.summary-label,
.summary-top,
.summary-facts span,
.summary-price small,
.summary-disclaimer {
  color: var(--muted);
  font-size: 13px;
}

.summary-mode {
  border-color: var(--line-strong);
  color: var(--ink);
  font-size: 13px;
}

.summary-price {
  border-color: var(--line);
}

.summary-price strong {
  font-family: var(--sans);
  font-size: 34px;
  font-weight: 500;
}

.summary-facts {
  border-color: var(--line);
}

.summary-facts strong,
.summary-stack-row,
.summary-stack-row strong {
  font-size: 13px;
}

.summary-stack-row span {
  color: var(--muted);
}

.config-summary .summary-stack-row {
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
}

.config-summary .text-button {
  color: var(--muted);
}

.primary-button-light {
  background: var(--acid);
  border-color: var(--acid);
  color: #ffffff;
}

.quote-document-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.quote-document-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.quote-document-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quote-builder-page .quote-sheet {
  margin-top: 16px;
}

.quote-brand strong,
.quote-brand small,
.quote-title p,
.quote-meta span,
.quote-meta strong,
.quote-meta small,
.quote-section-title h3,
.quote-section-title span,
.quote-table,
.quote-table th,
.line-title strong,
.line-title small,
.billing-pill,
.line-quantity small,
.quote-notes h4,
.quote-notes li,
.quote-total-row,
.quote-total-row strong,
.quote-grand-total span,
.quote-tax-note,
.quote-footer,
.demo-disclaimer {
  font-size: 13px;
}

.quote-title h2 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
}

.quote-price-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin: 28px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-subtle);
}

.quote-price-hero > div:first-child > span,
.quote-price-hero > div:first-child > small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.quote-price-hero > div:first-child > strong {
  display: block;
  margin: 10px 0 6px;
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.quote-price-facts {
  border-top: 1px solid var(--line);
}

.quote-price-facts .quote-total-row:last-child {
  border-bottom: 0;
}

.report-section {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}

.report-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.report-section-heading > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.report-section-heading > div > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 13px;
  place-items: center;
}

.report-section-heading h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.report-section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.report-summary-table,
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.report-summary-table {
  table-layout: fixed;
}

.report-summary-table th,
.terms-table th {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.report-summary-table th.align-right {
  padding-right: 16px;
  text-align: right;
}

.report-summary-table td,
.terms-table td,
.terms-table th {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.report-summary-table td.align-right {
  padding-right: 16px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.terms-table th {
  width: 18%;
  color: var(--ink);
}

.report-grand-row td {
  background: var(--surface-subtle);
  font-weight: 600;
}

.report-table {
  table-layout: fixed;
}

.report-empty {
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.quote-notes {
  margin-top: 24px;
}

.post-quote h3 {
  font-family: var(--sans);
  font-weight: 600;
}

.post-quote span,
.post-quote p {
  font-size: 13px;
}

.toast {
  font-size: 14px;
}

.post-quote {
  border: 1px solid var(--line);
  background: var(--surface-subtle);
}

@media (max-width: 900px) {
  .site-header,
  main,
  .site-footer,
  .flow-footer,
  .recommendation-decision-bar {
    width: min(100% - 32px, 760px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recommendation-overview {
    grid-template-columns: 1fr;
  }

  .config-layout {
    grid-template-columns: 1fr;
  }

  .config-summary {
    position: relative;
    top: auto;
  }

  .top-summary {
    grid-template-columns: 1fr;
  }

  .top-summary > * {
    grid-column: 1;
  }

  .top-summary .summary-actions {
    justify-content: flex-start;
  }

  .top-summary .summary-actions .text-button {
    width: auto;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer,
  .flow-footer,
  .recommendation-decision-bar {
    width: calc(100% - 24px);
  }

  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .progress-summary {
    gap: 8px;
  }

  .progress-summary > span:first-child {
    font-size: 13px;
  }

  .flow-screen,
  .step-two,
  .step-three {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .flow-page-head h1,
  .config-heading h2,
  .quote-actions h2 {
    font-size: 32px;
  }

  .goal-grid,
  .addon-grid,
  .deployment-grid,
  .product-list,
  .product-grid,
  .service-selection-grid,
  .service-controls,
  .flow-fields.two-up,
  .flow-fields.three-up {
    grid-template-columns: 1fr;
  }

  .step-five,
  .recommendation-products-page,
  .quote-builder-page {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .goal-card {
    min-height: 108px;
    padding: 20px;
  }

  .goal-state {
    right: 20px;
  }

  .flow-fields .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-fields .field:last-child {
    border-bottom: 0;
  }

  .flow-footer {
    bottom: auto;
    min-height: 60px;
    padding-left: 14px;
  }

  .recommendation-decision-bar {
    bottom: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }

  .recommendation-decision-bar > div:first-child {
    justify-content: space-between;
  }

  .recommendation-decision-bar > div:last-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .flow-footer .primary-button {
    width: auto;
    min-width: 114px;
  }

  .flow-footer .text-button {
    font-size: 13px;
  }

  .config-heading,
  .quote-actions {
    display: block;
  }

  .decision-note {
    margin-top: 12px;
    text-align: left;
  }

  .quote-table {
    min-width: 680px;
  }

  .quote-price-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .quote-price-hero > div:first-child > strong {
    font-size: 32px;
  }

  .quote-document-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-document-head > div {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
}

@media (hover: none) {
  .goal-state {
    opacity: 1;
    transform: translateY(0);
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  :root,
  html[data-theme="dark"] {
    color-scheme: light;
    --paper: #ffffff;
    --paper-deep: #f5f5f5;
    --ink: #111111;
    --muted: #444444;
    --line: #d8d8d8;
    --line-strong: #999999;
    --white: #ffffff;
    --surface-subtle: #f6f6f6;
    --acid: #ffffff;
  }

  html,
  body {
    background: #ffffff !important;
    color: #111111 !important;
  }

  .noise,
  .site-header,
  .step-panel:not(.quote-builder-page),
  .quote-builder-page .flow-page-head,
  .quote-builder-page .config-layout,
  .top-summary,
  .quote-document-head,
  .quote-actions,
  .post-quote,
  .demo-disclaimer,
  .site-footer,
  .toast {
    display: none !important;
  }

  main {
    width: 100%;
  }

  .quote-builder-page {
    padding: 0;
  }

  .quote-sheet {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #ffffff !important;
    color: #111111 !important;
  }

  .quote-sheet * ,
  .quote-brand strong,
  .quote-title,
  .quote-meta,
  .quote-notes,
  .quote-totals {
    color: #111111 !important;
  }

  .quote-brand-mark {
    background: #111111 !important;
    color: #ffffff !important;
  }

  .quote-group-row td {
    background: #f6f6f6 !important;
  }

  .quote-sheet::after {
    right: 0;
  }

  .quote-table-wrap {
    overflow: visible;
  }

  .quote-table {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Unified recommendation manifest */
.recommendation-products-page {
  padding-top: 32px;
  padding-bottom: 32px;
}

.recommendation-products-page .config-page-head {
  margin-bottom: 20px;
}

.recommendation-products-page .flow-page-head h1,
.quote-builder-page .flow-page-head h1 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.recommendation-products-page .flow-page-head > p:last-child,
.quote-builder-page .flow-page-head > p:last-child {
  max-width: 720px;
  font-size: 14px;
}

.recommendation-manifest {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.manifest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}

.manifest-head > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.manifest-head span {
  color: var(--acid);
  font-size: 13px;
  font-weight: 600;
}

.manifest-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.manifest-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.manifest-group {
  padding: 32px;
}

.manifest-group + .manifest-group {
  border-top: 1px solid var(--line);
}

.manifest-group-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.manifest-group-heading h3,
.manifest-subheading h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.manifest-group-heading p,
.manifest-subheading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.recommendation-manifest .product-grid,
.recommendation-manifest .service-selection-grid,
.recommendation-manifest .quantity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.recommendation-manifest .product-row,
.recommendation-manifest .service-toggle,
.recommendation-manifest .quantity-control,
.recommendation-manifest .security-toggle {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: none;
  transition:
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.recommendation-manifest .product-row {
  min-height: 124px;
  padding: 20px;
}

.recommendation-manifest .product-row.is-selected,
.recommendation-manifest .service-toggle.is-on,
.recommendation-manifest .quantity-control.is-on {
  border-color: var(--acid);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--acid);
}

.recommendation-manifest .product-row:hover,
.recommendation-manifest .service-toggle:hover,
.recommendation-manifest .quantity-control:hover {
  border-color: var(--line-strong);
  background: var(--hover-surface);
}

.recommendation-manifest .product-row.is-selected:hover,
.recommendation-manifest .service-toggle.is-on:hover,
.recommendation-manifest .quantity-control.is-on:hover {
  border-color: var(--acid);
  background: var(--accent-soft);
}

.recommendation-manifest .product-copy strong,
.recommendation-manifest .service-toggle strong,
.recommendation-manifest .quantity-control strong,
.recommendation-manifest .security-toggle strong {
  color: var(--ink);
  font-size: 14px;
}

.recommendation-manifest .product-copy small,
.recommendation-manifest .service-toggle small,
.recommendation-manifest .quantity-control small,
.recommendation-manifest .security-toggle small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.recommendation-manifest .product-select-state,
.recommendation-manifest .service-state {
  min-width: 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.recommendation-manifest .product-row.is-selected .product-select-state,
.recommendation-manifest .service-toggle.is-on .service-state,
.recommendation-manifest .quantity-control.is-on .quantity-state {
  color: var(--acid);
  font-weight: 600;
}

.recommendation-manifest .module-seat-control,
.recommendation-manifest .product-ai {
  border-top-color: var(--line);
}

.recommendation-manifest .security-toggle {
  min-height: 72px;
  margin-top: 0;
  padding: 18px 20px;
}

.recommendation-manifest .security-toggle:hover {
  border-color: var(--line-strong);
  background: var(--hover-surface);
}

.recommendation-manifest .security-toggle input:checked + i {
  border-color: var(--acid);
}

.recommendation-manifest .service-toggle {
  min-height: 72px;
  padding: 18px 20px;
}

.recommendation-manifest .quantity-control {
  min-height: 84px;
  padding: 18px 20px;
}

.manifest-subheading {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.manifest-subheading + .quantity-grid {
  margin-top: 12px;
}

.recommendation-footer {
  margin-top: 20px;
  padding: 10px 10px 10px 24px;
}

@media (max-width: 700px) {
  .manifest-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
  }

  .manifest-head > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .manifest-head > p {
    text-align: left;
  }

  .manifest-group {
    padding: 22px;
  }

  .recommendation-manifest .product-grid,
  .recommendation-manifest .service-selection-grid,
  .recommendation-manifest .quantity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .recommendation-products-page {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .recommendation-manifest .product-row {
    min-height: 0;
  }

  .recommendation-footer {
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recommendation-manifest .product-row,
  .recommendation-manifest .service-toggle,
  .recommendation-manifest .quantity-control,
  .recommendation-manifest .security-toggle {
    transition: none;
  }
}

/* Match the account input with the adjacent custom selectors. */
.input-with-unit {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--surface-subtle);
  transition:
    border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.input-with-unit:hover {
  border-color: var(--line-strong);
}

.input-with-unit:focus-within,
.custom-select-trigger:focus-visible {
  border-color: var(--acid);
  outline: 0;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-with-unit input,
.field .input-with-unit input {
  width: 100%;
  min-width: 0;
  height: 40px;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: textfield;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
}

.input-with-unit input::-webkit-outer-spin-button,
.input-with-unit input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.input-with-unit small {
  flex: 0 0 auto;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.report-subtotal-row td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--line-strong);
  background: var(--surface-subtle);
  font-weight: 600;
}

.report-subtotal-row td:first-child {
  color: var(--muted);
  text-align: right;
}

.line-quantity strong,
.line-quantity > small {
  display: block;
}

.line-quantity strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
}

.line-quantity > small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.brand {
  gap: 10px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}

.brand-copy {
  justify-content: center;
}

.brand-copy small {
  margin-top: 0;
  font-size: 13px;
}

.quote-brand-mark {
  width: 58px;
  height: 50px;
  padding: 2px;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  clip-path: none;
}

html[data-theme="dark"] .brand-logo {
  padding: 3px;
  border-radius: 9px;
  background: #ffffff;
}

@media (max-width: 560px) {
  .brand-logo {
    height: 38px;
  }
}

/* Keep wizard actions visible and pin quote controls once they reach the viewport edge. */
.flow-footer {
  position: fixed;
  z-index: 40;
  right: auto;
  bottom: 12px;
  left: 50%;
  width: min(var(--container), calc(100% - 48px));
  min-height: 76px;
  margin: 0;
  padding: 12px 12px 12px 26px;
  border-color: transparent;
  background: var(--paper);
  box-shadow:
    0 0 0 12px var(--paper),
    0 16px 44px rgba(17, 17, 17, 0.08),
    0 2px 8px rgba(17, 17, 17, 0.04);
  transform: translateX(-50%);
}

.needs-flow .step-panel:not([hidden]),
.recommendation-products-page:not([hidden]) {
  padding-bottom: 112px;
}

.quote-document-head {
  position: sticky;
  z-index: 25;
  top: 0;
  min-height: 68px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

body[data-step="5"] .site-header {
  display: none;
}

body[data-step="5"] .quote-builder-page {
  padding-top: 28px;
}

body[data-step="5"] .quote-document-head {
  margin-top: 0;
  border-top: 0;
}

@media (max-width: 900px) {
  .flow-footer {
    width: min(760px, calc(100% - 32px));
  }
}

@media (max-width: 560px) {
  .flow-footer {
    bottom: 8px;
    width: calc(100% - 24px);
    padding-left: 18px;
  }

  .needs-flow .step-panel:not([hidden]),
  .recommendation-products-page:not([hidden]) {
    padding-bottom: 118px;
  }
}
