/* ==========================================================================
   Numberall Stamping Force Calculator — Pass A
   File: wp-content/themes/divi_child_numberall/assets/css/force-calculator.css
   Load only on: /force-calculator/ (page-id-9528)
   Vanilla CSS only. No libraries. No remote fonts beyond theme stack.
   Pass A adds method-guide link + hides leftover #roiResult if old JS is cached.
   ========================================================================== */

:root {
  --brand-blue: #1a3d7c;
  --brand-blue-hover: #0f2759;
  --brand-orange: #f39c12;
  --text-main: #333;
  --text-muted: #555;
  --bg-light: #f8f9fa;
  --border: #ddd;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* BASE CONTAINER */
.calculator-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
}

.calculator-container h2 {
  font-size: 2.5rem;
  color: var(--brand-blue);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.calculator-container p,
.calculator-container p.calc-subtitle {
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-muted);
}

/* INPUT FORM */
.input-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 50px;
}

.input-section-header {
  grid-column: span 2;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6f2ff;
  text-align: left;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.input-group select,
.input-group input {
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group select:focus,
.input-group input:focus {
  border-color: var(--brand-blue);
  outline: none;
}

/* TOOLTIPS */
.tooltip-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  background: var(--brand-blue);
  color: white;
  font-size: 13px;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  cursor: help;
  position: relative;
  transition: background 0.3s ease;
}

.tooltip-icon:hover {
  background: var(--brand-orange);
}

.tooltip-icon::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.85rem;
  width: 220px;
  z-index: 1000;
  line-height: 1.4;
  font-weight: normal;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.tooltip-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

.tooltip-icon::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #222;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tooltip-icon:hover::before {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 640px) {
  .tooltip-icon:hover::after {
    width: 90vw;
    max-width: 280px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .tooltip-icon:hover::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* CALCULATE BUTTON */
#calculateBtn {
  grid-column: span 2;
  background: var(--brand-blue);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
  position: relative;
}

#calculateBtn:hover {
  background: var(--brand-blue-hover);
}

#calculateBtn.loading {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}

#calculateBtn .btn-text {
  display: inline;
}

#calculateBtn .loading-text {
  display: none;
}

#calculateBtn.loading .btn-text {
  display: none;
}

#calculateBtn.loading .loading-text {
  display: inline;
  color: white;
}

#calculateBtn:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 2px;
}

/* RESULTS */
#results {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  min-height: 200px;
  overflow: hidden;
}

#results.visible {
  display: block;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FORCE / SUMMARY / ROI CARDS */
.force-card,
.summary-card,
#roiResult {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 40px;
}

.force-card h3,
.summary-card h3 {
  font-size: 1.8rem;
  color: var(--brand-blue);
  text-align: center;
  margin-bottom: 24px;
}

.force-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.force-item {
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  background: var(--bg-light);
}

.force-item.raw {
  background: #f0f7ff;
}

.force-item.safety {
  background: #e6f2ff;
}

.force-item .label {
  font-size: 1rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.force-item .value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.force-card.primary-result {
  border: 3px solid var(--brand-blue);
  box-shadow: 0 12px 40px rgba(26, 61, 124, 0.15);
  position: relative;
  overflow: hidden;
}

.force-card.primary-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-blue), #2980b9);
  border-radius: 16px 16px 0 0;
}

/* IMPRESSION BLUEPRINT */
.blueprint-container {
  background-color: #f0f4f8;
  border: 1px dashed var(--brand-blue);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
}

.blueprint-title {
  font-weight: bold;
  color: var(--brand-blue);
  margin-bottom: 15px;
  font-family: sans-serif;
  font-size: 1.1rem;
}

.dimension-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  position: relative;
}

.arrow-left,
.arrow-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.arrow-left {
  border-right: 10px solid var(--brand-blue);
}

.arrow-right {
  border-left: 10px solid var(--brand-blue);
}

.line {
  height: 2px;
  background-color: var(--brand-blue);
  flex-grow: 1;
  margin: 0 5px;
}

.dimension-text {
  background: #f0f4f8;
  padding: 0 10px;
  color: var(--brand-blue);
  font-weight: bold;
  font-size: 1.1rem;
}

.mark-box {
  border: 2px solid var(--brand-blue);
  background: rgba(26, 61, 124, 0.1);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.mark-box::before {
  content: "||||||||||||||||||||||||||||||||";
  color: rgba(26, 61, 124, 0.2);
  letter-spacing: 4px;
  font-size: 20px;
}

.frame-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  font-style: italic;
  font-family: sans-serif;
}

/* CAPACITY BAR */
.visualization-embed {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  margin: 32px 0;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.visualization-embed h4 {
  margin: 0 0 16px;
  color: var(--brand-blue);
  font-size: 1.4rem;
  font-weight: 600;
}

.capacity-bar-bg {
  background: #e9ecef;
  border-radius: 50px;
  overflow: hidden;
  height: 42px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #dee2e6;
}

.capacity-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(90deg, #27ae60, #2ecc71);
  transition: width 1.5s cubic-bezier(0.1, 0, 0.3, 1);
  box-shadow: 0 0 12px rgba(39, 174, 96, 0.5);
}

.capacity-bar-fill.yellow {
  background: linear-gradient(90deg, #f39c12, #e67e22);
  box-shadow: 0 0 12px rgba(243, 156, 18, 0.5);
}

.capacity-bar-fill.red {
  background: linear-gradient(90deg, #c0392b, #e74c3c);
  box-shadow: 0 0 12px rgba(192, 57, 43, 0.5);
}

.capacity-bar-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand-blue);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
  justify-content: center;
}

.warning-block {
  width: 100%;
  background: #fff5f5;
  color: #c0392b;
  padding: 14px 18px;
  border-left: 5px solid #c0392b;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 20px 0;
}

.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 60px 0;
}

.lab-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: #e6f2ff;
  color: var(--brand-blue);
  padding: 8px 16px;
  border-radius: 8px;
  letter-spacing: 1.8px;
  font-weight: 800;
  margin-top: 24px;
  box-shadow: 0 2px 6px rgba(26, 61, 124, 0.1);
}

/* SOLUTION / PRODUCT CARDS */
.solution-section {
  margin: 60px 0 40px;
  text-align: center;
}

.solution-header h3 {
  font-size: 2.2rem;
  color: var(--brand-blue);
  margin-bottom: 12px;
  font-weight: 700;
}

.solution-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 32px;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: visible;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 24px 20px 32px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.product-card.best-match {
  border: 4px solid var(--brand-blue);
  box-shadow: 0 12px 40px rgba(26, 61, 124, 0.2);
}

.product-card.best-match .best-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 24px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(26, 61, 124, 0.3);
  z-index: 10;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 20px;
}

.product-card h4 {
  font-size: 1.4rem;
  margin: 16px 0 12px;
  color: var(--brand-blue);
}

.product-card h4 a {
  color: inherit;
  text-decoration: none;
}

.product-card h4 a:hover {
  text-decoration: underline;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.product-card ul li::before {
  content: "✓ ";
  color: #27ae60;
  font-weight: bold;
}

.product-card .btn-primary {
  display: inline-block;
  background: var(--brand-blue);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.product-card .btn-primary:hover {
  background: var(--brand-blue-hover);
}

/* CUSTOM REVIEW CTA */
.custom-review-cta {
  background: #fff8e6;
  border-left: 8px solid var(--brand-orange);
  border-radius: 12px;
  padding: 28px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-icon {
  font-size: 3rem;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.cta-content h4 {
  color: var(--brand-orange);
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.btn-cta {
  display: inline-block;
  background: var(--brand-orange);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #e67e00;
}

/* CASE STUDY */
.case-section {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px;
  margin: 60px 0;
  text-align: center;
}

.case-pdf {
  display: inline-block;
  background: var(--brand-blue);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 16px;
}

.case-pdf:hover {
  background: var(--brand-blue-hover);
}

/* LEAD FORM */
#lead-form-trigger {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#lead-form-trigger[style*="display: block"] {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.lead-form-section {
  max-width: 900px;
  margin: 60px auto 40px;
  background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.lead-form-header h3 {
  color: var(--brand-blue);
  font-size: 2rem;
  margin: 0 0 12px;
  font-weight: 700;
}

.lead-form-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.lead-form-wrapper {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 28px;
  min-height: 400px;
}

/* SHARE */
#share-section {
  margin: 60px 0;
  padding: 32px;
  background: #f0f7ff;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

#share-section h3 {
  color: var(--brand-blue);
  margin-bottom: 16px;
}

#share-section p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.share-link {
  display: block;
  margin: 20px auto;
  padding: 12px 24px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50px;
  max-width: 600px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
}

.share-link:hover {
  background: var(--brand-blue-hover);
}

.copy-btn {
  background: #27ae60;
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background: #219653;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .input-form {
    grid-template-columns: 1fr;
  }

  #calculateBtn {
    grid-column: span 1;
  }

  .force-grid {
    grid-template-columns: 1fr;
  }

  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card.best-match .best-badge {
    font-size: 0.8rem;
    padding: 6px 20px;
  }

  .custom-review-cta {
    flex-direction: column;
    text-align: center;
  }

  .solution-header h3 {
    font-size: 1.9rem;
  }

  .input-section-header {
    grid-column: span 1;
    text-align: center;
    font-size: 1.2rem;
  }

  .badge-row {
    flex-direction: column;
    align-items: center;
  }

  .warning-block {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .visualization-embed {
    padding: 20px;
  }

  .lead-form-section {
    padding: 30px 20px;
  }

  .lead-form-header h3 {
    font-size: 1.8rem;
  }

  .lead-form-wrapper {
    padding: 20px;
  }

  #share-section {
    padding: 24px 16px;
  }
}

/* ==========================================================================
   Two-pane workspace (Grok Build interface, existing logic)
   ========================================================================== */

.calculator-container {
  max-width: 1120px;
}

.calc-intro {
  margin-bottom: 28px;
  text-align: left;
}

.calc-intro .calc-eyebrow,
.calc-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.calculator-container .calc-intro h2 {
  text-align: left;
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.calculator-container .calc-intro .calc-subtitle {
  margin: 0;
  text-align: left;
  max-width: 46rem;
}

.calc-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.calc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.calc-hero-inputs {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 24px 20px;
}

.calc-hero-inputs .input-form {
  display: block;
  margin-bottom: 0;
}

.calc-hero-inputs #calculateBtn {
  display: none;
}

.calc-hero-inputs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calc-hero-inputs-head h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.calc-hero-inputs .calc-kicker {
  color: #6b7fa3;
}

.calc-reset {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  cursor: pointer;
}

.tile-block {
  margin-bottom: 22px;
}

.tile-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7fa3;
}

.tile-hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #777;
}

.tile-grid {
  display: grid;
  gap: 8px;
}

.tile-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.tile-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.tile,
.chip {
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  font-family: inherit;
}

.tile {
  padding: 12px 12px 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.tile span {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #666;
  line-height: 1.35;
}

.chip {
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tile.is-selected,
.chip.is-selected {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.tile.is-selected span {
  color: #d7e3f7;
}

.count-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

#charCountVisible {
  width: 72px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

#charCountSlider {
  flex: 1;
}

.char-preview {
  margin: 8px 0 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  color: #888;
}

.margin-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f4f6fa;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #555;
  margin: 8px 0 0;
}

.calc-hero-force-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}

.calc-hero-force {
  background: var(--brand-blue);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(26, 61, 124, 0.22);
}

.calc-hero-force .calc-kicker {
  color: #b9c9e8;
}

.force-hero-value {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.force-hero-value .unit {
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
}

.force-hero-alt {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d7e3f7;
}

.force-meter {
  margin: 18px 0 8px;
  position: relative;
  height: 10px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 99px;
}

.force-meter-fill {
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 99px;
}

.force-meter-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.65rem;
  color: #c5d4ee;
  line-height: 1.25;
}

.force-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mini-label {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8aa4d4;
}

.calc-hero-force .mini-value {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.calc-hero-force.is-hotstamp {
  background: #c0392b;
}

.hero-device-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-device-card h4 {
  margin: 4px 0 6px;
  color: var(--brand-blue);
  font-size: 1.15rem;
}

.hero-device-card p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #555;
}

.hero-device-card .press-label {
  margin-top: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.btn-send,
.btn-copy-est {
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-send {
  background: #c0392b;
  color: #fff;
}

.btn-copy-est {
  background: #fff;
  color: var(--brand-blue);
  border: 1px solid var(--border);
}

.hero-disclaimer {
  font-size: 0.75rem !important;
  color: #777 !important;
  line-height: 1.45;
}

.hero-method-link {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.hero-method-link a {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 600;
}

.hero-method-link a:hover,
.hero-method-link a:focus {
  color: var(--brand-blue-hover);
}

/* Old JS may still paint #roiResult until cache clears */
#roiResult {
  display: none !important;
}

@media (max-width: 980px) {
  .calc-hero {
    grid-template-columns: 1fr;
  }

  .calc-hero-force-col {
    position: static;
    order: -1;
  }

  .tile-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tile-grid-3,
  .tile-grid-2 {
    grid-template-columns: 1fr;
  }

  .share-link {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-send,
  .btn-copy-est {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .force-item .value {
    font-size: 1.8rem;
  }

  .capacity-bar-label {
    font-size: 0.9rem;
  }
}

@media print {
  .calculator-container {
    padding: 0;
    max-width: none;
  }

  #calculateBtn,
  .tooltip-icon,
  .best-badge,
  .cta-icon,
  #share-section {
    display: none !important;
  }

  .force-card,
  .summary-card,
  .product-card,
  #roiResult,
  .case-section,
  .custom-review-cta {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }

  body {
    background: white;
    color: black;
  }
}