/* ============================================================
   Gravity CX — Zendesk Pricing Estimator
   Tokens sourced from the Gravity CX design system
   (colors_and_type.css) — keep in sync with the design project.
   ============================================================ */

:root {
  /* Brand palette */
  --gcx-orange:        #E78200;
  --gcx-orange-hover:  #CC7300;
  --gcx-orange-soft:   rgba(231, 130, 0, 0.10);
  --gcx-orange-ring:   rgba(231, 130, 0, 0.30);
  --gcx-black:         #191A1A;
  --gcx-white:         #FFFFFF;
  --gcx-cream:         #FCF2E5;
  --gcx-light-gray:    #FAFAFA;
  --gcx-mid-gray:      #CCCCCC;
  --gcx-text-gray:     #555555;
  --gcx-error:         #DC2626;

  --border:            var(--gcx-mid-gray);
  --border-subtle:     #EAEAEA;

  /* Radii */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-md: 12px;
  --radius-lg: 15px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.10);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.12);
  --shadow-focus: 0 0 0 3px var(--gcx-orange-soft);

  /* Type */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Motion */
  --ease:     cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms;
  --dur:      200ms;
  --dur-slow: 320ms;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gcx-black);
  background: var(--gcx-white);
}

img { max-width: 100%; }
button { font-family: var(--font-body); }

a { color: var(--gcx-orange); text-decoration: none; }
a:hover { color: var(--gcx-orange-hover); }

input:focus {
  outline: none;
  border-color: var(--gcx-orange) !important;
  box-shadow: var(--shadow-focus);
}
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* ─── Shared helpers ─── */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gcx-orange);
  margin-bottom: 14px;
}

.lift {
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lift:hover {
  transform: translateY(-2px);
  border-color: var(--gcx-orange);
  box-shadow: var(--shadow-md);
}

.pbtn {
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.fade { animation: fadeUp .32s var(--ease) both; }

.btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 10px;
  border: 1.5px solid var(--gcx-orange);
  background: var(--gcx-orange);
  color: #fff;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gcx-orange-hover); border-color: var(--gcx-orange-hover); }

.btn-outline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1.5px solid var(--gcx-black);
  background: transparent;
  color: var(--gcx-black);
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--gcx-black); color: #fff; }

.btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--gcx-text-gray);
  cursor: pointer;
}

/* ─── Top nav ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-inner .logo { height: 30px; }
.nav-inner .badge { height: 40px; }

/* ─── Hero ─── */
.hero { padding-top: 84px; padding-bottom: 40px; }
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 820px; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
@media (max-width: 900px) {
  .hero-main { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
}
.hero-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gcx-orange);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gcx-orange);
  display: inline-block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero h1 em { font-style: normal; color: var(--gcx-orange); }
.hero p.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--gcx-text-gray);
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-ctas .plain-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--gcx-text-gray);
  padding: 15px 8px;
}
.hero-ctas .plain-link:hover { color: var(--gcx-black); }

/* ─── Trust bar ─── */
.trust { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border-subtle); }
.trust-stats { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-stats strong { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.trust-stats .dot { color: var(--gcx-mid-gray); }
.logorow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.logorow img {
  height: 38px;
  width: auto;
  flex: 1 1 0;
  min-width: 96px;
  max-width: 160px;
  object-fit: contain;
  transition: transform var(--dur) var(--ease);
}
.logorow img:hover { transform: translateY(-2px); }

/* ─── Plans section ─── */
.plans { background: var(--gcx-cream); padding: 80px 0; margin-top: 40px; }
.plans h2, .faq h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.plans .sub { font-size: 17px; color: var(--gcx-text-gray); max-width: 600px; margin: 0 0 36px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.plan-card.featured { border-top-color: var(--gcx-orange); }
.plan-card .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.plan-card .price { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.03em; margin-bottom: 4px; }
.plan-card .unit { font-size: 12px; color: var(--gcx-text-gray); margin-bottom: 18px; }
.plan-card .blurb { font-size: 13.5px; color: var(--gcx-text-gray); line-height: 1.55; flex: 1; }
.addon-strip { margin-top: 28px; }
.addon-strip-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gcx-mid-gray);
  margin-bottom: 14px;
}
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.addon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.addon-card .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.addon-card .price { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.addon-card .price .unit { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--gcx-text-gray); letter-spacing: 0; }
.addon-card .blurb { font-size: 13px; color: var(--gcx-text-gray); line-height: 1.55; }
.addon-bundle-note { font-size: 13px; color: var(--gcx-text-gray); margin: 14px 0 0; }

.plans-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.plans-foot p { font-size: 13px; color: var(--gcx-text-gray); margin: 0; max-width: 560px; }

/* ─── Testimonial ─── */
.testimonial { padding: 80px 0; }
.testimonial-inner { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.testimonial blockquote em { font-style: normal; color: var(--gcx-orange); }
.testimonial .attribution { display: flex; align-items: center; gap: 16px; }
.testimonial .attribution img { height: 22px; }
.testimonial .attribution .rule { width: 1px; height: 32px; background: var(--border); }
.testimonial .attribution .who { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.testimonial .attribution .role { font-size: 13px; color: var(--gcx-text-gray); }

/* ─── FAQ ─── */
.faq { background: var(--gcx-light-gray); padding: 80px 0; }
.faq-inner { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item > button {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--gcx-black);
}
.faq-item .sign { color: var(--gcx-orange); font-size: 20px; }
.faq-item .answer { padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--gcx-text-gray); }

/* ─── Footer ─── */
.footer {
  background: var(--gcx-black);
  color: #fff;
  border-top: 3px solid var(--gcx-orange);
  padding: 52px 32px 44px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer .about { max-width: 420px; }
.footer .about img { height: 26px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer .about p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0; }
.footer .cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer .col-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.footer .col-links { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.9; }
.footer .col-links a { color: rgba(255,255,255,0.6); display: block; }
.footer .col-links a:hover { color: #fff; }

/* ─── Wizard ─── */
.wizard { min-height: 100vh; display: flex; flex-direction: column; background: var(--gcx-white); }
.wizard-header, .results-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.results-header { background: #fff; }
.wizard-header img, .results-header img { height: 26px; }
.close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--gcx-text-gray);
}

.progress-wrap { max-width: 640px; margin: 0 auto; width: 100%; padding: 22px 32px 0; }
.progress-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.progress-meta .step-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gcx-text-gray);
}
.progress-meta .segment-label { font-size: 12px; color: var(--gcx-mid-gray); }
.progress-track { height: 5px; background: var(--gcx-light-gray); border-radius: 100px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--gcx-orange); border-radius: 100px; transition: width .3s var(--ease); }

.wizard-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 32px; }
.wizard-step { max-width: 640px; width: 100%; }
.wizard-step h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.wizard-step .sub { font-size: 16px; color: var(--gcx-text-gray); margin: 0 0 28px; }

.segment-step { text-align: center; }
.segment-step h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 10px; }
.segment-step .sub { margin-bottom: 32px; }
.segment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.segment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}
.segment-card .icon { font-size: 26px; margin-bottom: 12px; }
.segment-card .title { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.segment-card .desc { font-size: 14px; color: var(--gcx-text-gray); line-height: 1.5; }

.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 48px; height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  color: var(--gcx-black);
}
.stepper input {
  width: 120px; height: 48px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--gcx-black);
}
.stepper .unit { font-size: 14px; color: var(--gcx-text-gray); }

.field-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.field-label .optional { color: var(--gcx-mid-gray); font-weight: 400; }
.text-input {
  width: 100%;
  max-width: 360px;
  height: 48px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--gcx-black);
}
.text-input.invalid { border-color: var(--gcx-error); }
#size-error .error-msg { font-size: 13px; color: var(--gcx-error); margin: 10px 0 0; }

.q-block { margin-bottom: 28px; }
.q-block:last-child { margin-bottom: 0; }
.q-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  margin-bottom: 4px;
}
.q-desc { font-size: 13.5px; color: var(--gcx-text-gray); line-height: 1.5; margin-bottom: 12px; }

.yesno-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 300px; }
.yn {
  padding: 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--gcx-black);
}
.yn.selected { background: var(--gcx-orange-soft); border-color: var(--gcx-orange); }

.option-list { display: flex; flex-direction: column; gap: 12px; }
.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-body);
}
.option-btn.selected { background: var(--gcx-orange-soft); border-color: var(--gcx-orange); }
.option-btn .mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}
.option-btn.multi .mark { border-radius: 6px; }
.option-btn.selected .mark { border-color: var(--gcx-orange); background: var(--gcx-orange); }
.option-btn .opt-label { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--gcx-black); display: block; }
.option-btn .opt-desc { font-size: 13.5px; color: var(--gcx-text-gray); }

.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; }
.wizard-nav .next {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: 10px;
  border: 1.5px solid var(--gcx-orange);
  background: var(--gcx-orange);
  color: #fff;
  cursor: pointer;
}
.wizard-nav .next:hover { background: var(--gcx-orange-hover); border-color: var(--gcx-orange-hover); }

/* ─── Results ─── */
.results { min-height: 100vh; background: var(--gcx-light-gray); }
.results-body { max-width: 1000px; margin: 0 auto; padding: 40px 32px 80px; }
.results-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.results-body .rec-reason { font-size: 17px; color: var(--gcx-text-gray); margin: 0 0 32px; max-width: 640px; }

.results-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
.results-left { display: flex; flex-direction: column; gap: 20px; }

.cost-hero {
  background: var(--gcx-black);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.cost-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 90% 10%, rgba(231,130,0,0.18), transparent 65%);
  pointer-events: none;
}
.cost-hero > div { position: relative; }
.cost-hero .cost-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.cost-hero .annual {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.cost-hero .aud-note { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 10px; }
.cost-hero .substats {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cost-hero .substats .k { font-size: 11px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.cost-hero .substats .v { font-family: var(--font-display); font-weight: 700; font-size: 20px; }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.panel-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 16px; }

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.breakdown-row .n { font-size: 14.5px; color: var(--gcx-black); }
.breakdown-row .p { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.breakdown-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.breakdown-total .p { color: var(--gcx-orange); }

.transparency {
  background: var(--gcx-cream);
  border-left: 3px solid var(--gcx-orange);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.transparency .panel-title { margin-bottom: 12px; }
.transparency .items { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--gcx-text-gray); line-height: 1.5; }
.transparency strong { color: var(--gcx-black); font-weight: 600; }

.adjust-panel { position: sticky; top: 20px; }
.adjust-panel .panel-title { margin-bottom: 4px; }
.adjust-panel .panel-sub { font-size: 13px; color: var(--gcx-text-gray); margin: 0 0 18px; }
.adjust-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gcx-text-gray);
  margin-bottom: 10px;
}
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.chip {
  padding: 10px 8px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--gcx-black);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}
.chip.selected { background: var(--gcx-black); color: #fff; border-color: var(--gcx-black); }

.adjust-stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.adjust-stepper button {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}
.adjust-stepper input {
  width: 80px; height: 38px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.addon-toggles { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.addon-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
}
.addon-toggle.on { background: var(--gcx-orange-soft); border-color: var(--gcx-orange); }
.addon-toggle .a-name { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--gcx-black); display: block; }
.addon-toggle .a-price { font-size: 12px; color: var(--gcx-text-gray); }
.addon-toggle .track {
  flex-shrink: 0;
  width: 38px; height: 22px;
  border-radius: 100px;
  background: var(--gcx-mid-gray);
  position: relative;
  transition: background .15s;
}
.addon-toggle.on .track { background: var(--gcx-orange); }
.addon-toggle .knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left .15s;
}
.addon-toggle.on .knob { left: 18px; }

/* ─── Reseller value strip ─── */
.reseller {
  background: var(--gcx-black);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}
.reseller::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gcx-orange), transparent 70%);
}
.reseller h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 8px; }
.reseller > p { font-size: 15px; color: rgba(255,255,255,0.55); margin: 0 0 24px; max-width: 560px; }
.reseller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reseller-grid .tick { color: var(--gcx-orange); font-size: 20px; margin-bottom: 8px; }
.reseller-grid .t { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.reseller-grid .d { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ─── Capture ─── */
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.cta-row .primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: 10px;
  border: 1.5px solid var(--gcx-orange);
  background: var(--gcx-orange);
  color: #fff;
  cursor: pointer;
}
.cta-row .primary:hover { background: var(--gcx-orange-hover); border-color: var(--gcx-orange-hover); }
.cta-row .secondary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 26px;
  border-radius: 10px;
  border: 1.5px solid var(--gcx-black);
  background: transparent;
  color: var(--gcx-black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.cta-row .secondary:hover { background: var(--gcx-black); color: #fff; }
.cta-note { font-size: 12.5px; color: var(--gcx-mid-gray); line-height: 1.5; margin: 14px 0 0; max-width: 620px; }
.results-left .cta-row { margin-top: 4px; }

/* ─── "Your answers" summary card ─── */
.answers-panel { margin-top: 20px; }
.answers-list { display: flex; flex-direction: column; }
.answer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
}
.answer-row:last-child { border-bottom: none; }
.answer-row .ar-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.answer-row .ar-q { font-size: 14px; color: var(--gcx-text-gray); }
.answer-row .ar-a { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--gcx-black); }
.answer-row .ar-badge { flex-shrink: 0; text-align: right; }
.answer-row .ar-none { font-size: 12px; color: var(--gcx-mid-gray); }
.badge {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: .02em; padding: 5px 10px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge-enterprise { background: var(--gcx-black); color: #fff; }
.badge-professional { background: var(--gcx-orange); color: #fff; }
.badge-growth { background: #eef1f4; color: var(--gcx-black); }
.badge-addon { background: transparent; color: var(--gcx-text-gray); border: 1px solid var(--border); }
.badge-info { background: transparent; color: var(--gcx-mid-gray); border: 1px dashed var(--border); }

/* ─── Print-only quote (PDF via browser "Save as PDF") ─── */
#quote-print { display: none; }
@media print {
  body > *:not(#quote-print) { display: none !important; }
  #quote-print { display: block !important; color: #111; font-family: var(--font-body); }
  @page { margin: 18mm; }
  #quote-print .q-head {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 3px solid var(--gcx-orange); padding-bottom: 12px; margin-bottom: 18px;
  }
  #quote-print .q-brand { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
  #quote-print .q-tag { font-size: 13px; color: #666; }
  #quote-print .q-meta { display: flex; justify-content: space-between; font-size: 13px; color: #444; margin-bottom: 24px; }
  #quote-print .q-meta span { color: #999; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-right: 6px; }
  #quote-print .q-plan { font-family: var(--font-display); font-weight: 700; font-size: 30px; margin: 0 0 6px; }
  #quote-print .q-reason { font-size: 14px; color: #444; line-height: 1.55; margin: 0 0 22px; max-width: 640px; }
  #quote-print .q-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
  #quote-print .q-table td { padding: 9px 0; border-bottom: 1px solid #e5e5e5; font-size: 14px; }
  #quote-print .q-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
  #quote-print .q-table .q-sub td { font-weight: 600; }
  #quote-print .q-table .q-total td { font-family: var(--font-display); font-weight: 700; font-size: 18px; border-top: 2px solid #111; border-bottom: none; padding-top: 12px; }
  #quote-print .q-table .q-aud td { color: #666; font-size: 13px; border-bottom: none; }
  #quote-print .q-sub-h { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 4px 0 10px; }
  #quote-print .q-answers { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
  #quote-print .q-answers td { padding: 7px 0; border-bottom: 1px solid #eee; font-size: 12.5px; vertical-align: top; }
  #quote-print .q-answers .qa-q { color: #555; width: 46%; }
  #quote-print .q-answers .qa-a { font-weight: 600; width: 24%; }
  #quote-print .q-answers .qa-i { color: #777; text-align: right; }
  #quote-print .q-fine { font-size: 11px; color: #777; line-height: 1.5; margin: 0 0 8px; }
  #quote-print .q-book { font-size: 13px; color: #111; margin: 18px 0 0; }
  #quote-print .q-foot { margin-top: 26px; padding-top: 12px; border-top: 1px solid #e5e5e5; font-size: 11px; color: #999; }
}

.capture {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gcx-orange);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 24px;
}
.capture h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 6px; }
.capture .capture-sub { font-size: 14px; color: var(--gcx-text-gray); margin: 0 0 22px; }
.capture-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.capture-fields input {
  height: 46px;
  padding: 0 15px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.capture-fields input.invalid { border-color: var(--gcx-error); }
.capture .submit {
  width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px;
  border-radius: 10px;
  border: 1.5px solid var(--gcx-orange);
  background: var(--gcx-orange);
  color: #fff;
  cursor: pointer;
}
.capture .submit:hover { background: var(--gcx-orange-hover); border-color: var(--gcx-orange-hover); }
.capture .fineprint { font-size: 12px; color: var(--gcx-mid-gray); text-align: center; margin: 14px 0 0; }
.capture .error-msg { font-size: 13px; color: var(--gcx-error); margin: 0 0 12px; }

/* Pre-results gate (name + email before the estimate is shown) */
#gate-error .error-msg { font-size: 13px; color: var(--gcx-error); margin: 0 0 12px; }
.gate-fineprint { font-size: 12px; color: var(--gcx-mid-gray); margin: 14px 0 0; }

.thanks { text-align: center; padding: 20px; }
.thanks .tick-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gcx-orange-soft);
  color: var(--gcx-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}
.thanks h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin: 0 0 8px; }
.thanks p { font-size: 15px; color: var(--gcx-text-gray); max-width: 460px; margin: 0 auto; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .addon-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .adjust-panel { position: static; }
  .reseller-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plan-grid { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: 1fr; }
  .capture-fields { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .cost-hero .substats { flex-wrap: wrap; gap: 18px; }
}
