/* Public calculator, single pricing plan and public footer surfaces. */
.calc-component .calc-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: none;
}
.calc-component .calc-form { padding: 32px; gap: 24px; min-width: 0; }
.calc-component .calc-field { min-width: 0; }
.calc-component .calc-form .calc-field input,
.calc-component .calc-form .calc-field select {
  min-height: 44px; padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--border);
  border-radius: 0; background: none; box-shadow: none;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.calc-component .calc-form .calc-field select { padding-right: 16px; }
.calc-component .calc-form .calc-field input:focus,
.calc-component .calc-form .calc-field select:focus { border-bottom-color: var(--accent-strong); }
.calc-component .calc-form .calc-field input:focus-visible,
.calc-component .calc-form .calc-field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.calc-component .calc-result {
  min-width: 0; padding: 32px; gap: 20px;
  border-left: 1px solid var(--border); background: var(--surface);
  justify-content: flex-start; box-shadow: none;
}
.calc-component .calc-result > div:not(.calc-actions) {
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.calc-component .calc-result .label { margin-bottom: 8px; font-size: 12px; line-height: 20px; color: var(--text-muted); }
.calc-component .calc-big { font-size: 48px; font-weight: 600; letter-spacing: -.035em; }
.calc-component .calc-sub { font-size: 20px; line-height: 28px; color: var(--text); }
.calc-component .calc-presets { gap: 0 20px; border-bottom: 1px solid var(--border); }
.calc-component .calc-presets .btn {
  flex: 0 1 auto; min-width: 0; padding: 12px 0;
  border: 0; border-bottom: 2px solid transparent;
  border-radius: 0; background: none; color: var(--text-muted);
  font-size: 14px; line-height: 20px; font-weight: 500; box-shadow: none;
}
.calc-component .calc-presets .btn:hover { color: var(--text); background: none; }
.calc-component .calc-presets .btn[aria-pressed="true"] {
  border-bottom-color: var(--accent-strong); color: var(--accent-strong); background: none;
}
.calc-component .calc-actions { flex-direction: column; align-items: stretch; gap: 8px; }
.calc-component .calc-actions .btn-primary,
.pricing-page .price-included .btn-primary { background: #b7a4ff; color: #181818; border-color: transparent; border-radius: 8px; }
.calc-component .calc-actions .btn-primary:hover,
.pricing-page .price-included .btn-primary:hover { background: #c8baff; color: #181818; }
.calc-component .calc-actions .btn-ghost {
  justify-content: flex-start; padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
  background: none; color: var(--text); box-shadow: none;
}
.calc-component .calc-actions .btn-ghost:hover { background: none; color: var(--accent-strong); }
.calc-component #calcCopyStatus { font-size: 12px; line-height: 20px; color: var(--text-muted); }

.pricing-page .card.card-wide {
  width: min(960px, calc(100% - 48px)); max-width: 960px;
  margin: 48px auto; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
}
.pricing-page .price-included {
  padding: 32px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: none;
}
.pricing-page .price-included h2 { margin-top: 0; font-weight: 500; }
.pricing-page .price-included .price-included-heading {
  margin: 16px 0 24px; font-size: 36px; line-height: 40px;
  letter-spacing: -.03em; font-weight: 600; color: var(--text);
}
.pricing-page .price-included ul { padding: 0 0 24px; }
.pricing-page .price-included table { margin: 0; border: 0; border-collapse: collapse; }
.pricing-page .price-included td { padding: 16px 0; border: 0; border-top: 1px solid var(--border); }
.pricing-page .price-included td:first-child { width: 32%; padding-right: 24px; color: var(--text); }
.pricing-page .price-included > p:last-child { margin: 24px 0 0; }
.pricing-page .price-included .btn-primary { padding: 12px 24px; min-height: 48px; }

/* Keep the existing navigation and legal links; only quiet their presentation. */
.landing .landing-footer,
.landing .mk-footer,
body:has(.public-header) > .legal-footer {
  border: 0; border-top: 1px solid var(--border);
  border-radius: 0; background: none; box-shadow: none;
  margin-top: 40px; padding: 24px 0 32px;
  font-size: 14px; line-height: 24px; color: var(--text-muted);
}
.landing .landing-footer a,
.landing .mk-footer a,
body:has(.public-header) > .legal-footer a,
.landing .footer-link a { color: var(--text-muted); text-decoration: none; text-underline-offset: 4px; }
.landing .landing-footer a:hover,
.landing .mk-footer a:hover,
body:has(.public-header) > .legal-footer a:hover,
.landing .footer-link a:hover { color: var(--text); text-decoration: underline; }
.landing .landing-footer { display: flex; flex-direction: column; gap: 24px; }
.landing .landing-footer > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.landing .landing-footer a { margin: 0; }
.landing .mk-footer,
body:has(.public-header) > .legal-footer { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; text-align: left; }
body:has(.public-header) > .legal-footer { width: min(1132px, calc(100% - 48px)); margin-inline: auto; }
.landing:has(.landing-footer) > .legal-footer,
.landing:has(.mk-footer) > .legal-footer { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 767px) {
  .calc-component .calc-wrap { grid-template-columns: minmax(0, 1fr); }
  .calc-component .calc-form,
  .calc-component .calc-result { padding: 24px; }
  .calc-component .calc-result { border-left: 0; border-top: 1px solid var(--border); }
  .calc-component .calc-mobile-summary {
    padding: 12px 0; border: 0; border-block: 1px solid var(--border);
    border-radius: 0; background: var(--surface); box-shadow: none;
    font-size: 12px; line-height: 20px;
  }
}
@media (max-width: 480px) {
  .pricing-page .price-included { padding: 24px; }
  .pricing-page .price-included .price-included-heading { font-size: 30px; line-height: 36px; }
  .pricing-page .price-included td:first-child { width: 40%; padding-right: 16px; }
  .pricing-page .price-included .btn-primary { width: 100%; box-sizing: border-box; }
}
