/* Fonts loaded once via layout/theme.liquid (preconnect + stylesheet) */

.m3d *,
.m3d *::before,
.m3d *::after {
  box-sizing: border-box;
}

.m3d {
  --m3d-white: #ffffff;
  --m3d-off-white: #f7f7f8;
  --m3d-light-gray: #e5e5e7;
  --m3d-mid-gray: #8e8e93;
  --m3d-dark-gray: #48484a;
  --m3d-dark: #1c1c1e;
  --m3d-accent: #34c759;
  --m3d-accent-light: #e8f5e9;
  --m3d-accent-dark: #248a3d;
  font-family: 'Inter', sans-serif;
  color: var(--m3d-dark);
  line-height: 1.6;
}

.m3d a:not(.m3d-btn-primary):not(.m3d-btn-secondary):not(.m3d-service-cta):not(.m3d-cta-btn):not(.m3d-path-cta):not(.m3d-pricing-btn) {
  color: inherit;
  text-decoration: none;
}

.m3d-section-hero {
  margin: 0 !important;
  padding: 0 !important;
}

.m3d-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 40px 60px 80px;
  background: linear-gradient(135deg, var(--m3d-white) 0%, var(--m3d-off-white) 100%);
  position: relative;
  overflow: hidden;
}

.m3d-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(52, 199, 89, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.m3d-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.m3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--m3d-accent-light);
  color: var(--m3d-accent-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.m3d-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--m3d-accent);
  border-radius: 50%;
}

.m3d-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -2px;
}

.m3d-hero h1 .accent { color: var(--m3d-accent); }

.m3d-hero__subtitle {
  font-size: 18px;
  color: var(--m3d-dark-gray);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.m3d-hero__cta { display: flex; gap: 16px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }

.m3d a.m3d-btn-primary,
.m3d-btn-primary {
  background: var(--m3d-dark) !important;
  color: #ffffff !important;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.m3d a.m3d-btn-primary:hover,
.m3d-btn-primary:hover {
  background: var(--m3d-accent) !important;
  color: var(--m3d-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(52, 199, 89, 0.2);
}

.m3d a.m3d-btn-secondary,
.m3d-btn-secondary {
  background: transparent !important;
  color: var(--m3d-dark) !important;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--m3d-light-gray);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.m3d-btn-secondary:hover {
  border-color: var(--m3d-accent);
  color: var(--m3d-accent-dark) !important;
  background: var(--m3d-accent-light) !important;
}

.m3d-trust { display: flex; gap: 28px; flex-wrap: wrap; }

.m3d-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--m3d-mid-gray);
  font-weight: 500;
}

.m3d-trust__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--m3d-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--m3d-accent-dark);
}

.m3d-hero__media { position: relative; height: 520px; }

.m3d-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.m3d-float-card {
  position: absolute;
  background: var(--m3d-white);
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--m3d-light-gray);
}

.m3d-float-card--1 { top: 30px; right: -20px; }
.m3d-float-card--2 { bottom: 40px; left: -30px; }

.m3d-float-label {
  font-size: 10px;
  color: var(--m3d-mid-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.m3d-float-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.m3d-float-sub { font-size: 11px; color: var(--m3d-mid-gray); margin-top: 2px; }

.m3d-paths {
  padding: 80px 60px;
  background: var(--m3d-dark);
}

.m3d-paths__header { text-align: center; margin-bottom: 48px; }

.m3d-paths__header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--m3d-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

.m3d-paths__header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--m3d-white);
  letter-spacing: -1px;
  margin: 0;
}

.m3d-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.m3d-path-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.m3d-path-card:hover {
  border-color: var(--m3d-accent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.m3d-path-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--m3d-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.m3d-path-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--m3d-white);
  margin: 0 0 10px;
}

.m3d-path-card p {
  font-size: 14px;
  color: var(--m3d-mid-gray);
  line-height: 1.6;
  margin: 0 0 16px;
}

.m3d-path-cta {
  color: var(--m3d-white) !important;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: color 0.3s, gap 0.3s;
  margin-top: auto;
}

.m3d-path-cta:hover {
  color: var(--m3d-accent) !important;
  gap: 10px;
}

.m3d-paths__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.m3d-paths .m3d-btn-primary {
  background: var(--m3d-accent) !important;
  color: var(--m3d-dark) !important;
}

.m3d-paths .m3d-btn-primary:hover {
  background: var(--m3d-white) !important;
  color: var(--m3d-dark) !important;
}

.m3d-paths a.m3d-btn-secondary,
.m3d-paths .m3d-btn-secondary {
  color: var(--m3d-white) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
}

.m3d-paths a.m3d-btn-secondary:hover,
.m3d-paths .m3d-btn-secondary:hover {
  color: var(--m3d-accent) !important;
  border-color: var(--m3d-accent) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.m3d-section-header { text-align: center; margin-bottom: 80px; }

.m3d-services > .m3d-section-header {
  margin-bottom: 120px;
}

.m3d-section-header[id],
.m3d-service-content[id],
.m3d-services[id],
.m3d-section-title.m3d-anchor-target,
.m3d-service-content h3.m3d-anchor-target,
.m3d-cta h2.m3d-anchor-target {
  scroll-margin-top: 146px;
}

.m3d-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--m3d-dark-gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.m3d-section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--m3d-accent);
}

.m3d-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -1px;
}

.m3d-section-desc {
  font-size: 16px;
  color: var(--m3d-mid-gray);
  max-width: 560px;
  margin: 0 auto;
}

.m3d-services { padding: 100px 60px; background: var(--m3d-white); }
.m3d-services--intro { padding-bottom: 0; }
.m3d-services--intro > .m3d-section-header { margin-bottom: 120px; }
.m3d-services--alt { background: var(--m3d-off-white); padding-top: 0; }
.m3d-services--compact { padding-top: 0; }

.m3d-service-block {
  max-width: 1200px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.m3d-service-block:last-child { margin-bottom: 0; }

.m3d-service-block--reverse { direction: rtl; }
.m3d-service-block--reverse > * { direction: ltr; }

.m3d-service-img {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  position: relative;
}

.m3d-service-img img { width: 100%; height: 100%; object-fit: cover; }

.m3d-service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.m3d-service-overlay span {
  color: var(--m3d-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.m3d-service-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--m3d-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.m3d-service-content h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.m3d-service-intro {
  font-size: 16px;
  color: var(--m3d-dark-gray);
  line-height: 1.6;
  margin-bottom: 24px;
}

.m3d-bullets { list-style: none; margin: 0 0 24px; padding: 0; }

.m3d-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--m3d-dark-gray);
  line-height: 1.5;
  border-bottom: 1px solid var(--m3d-light-gray);
}

.m3d-bullets li:last-child { border-bottom: none; }

.m3d-bullets li::before {
  content: '✓';
  color: var(--m3d-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.m3d-hook {
  background: var(--m3d-accent-light);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  border-left: 3px solid var(--m3d-accent);
}

.m3d-service-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.m3d a.m3d-service-cta,
.m3d-service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--m3d-dark) !important;
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  border: 2px solid var(--m3d-dark);
  max-width: 100%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.m3d a.m3d-service-cta--secondary,
.m3d-service-cta--secondary {
  background: #ffffff !important;
  color: var(--m3d-dark) !important;
  border-color: var(--m3d-dark);
}

.m3d a.m3d-service-cta:hover,
.m3d-service-cta:hover {
  background: var(--m3d-accent) !important;
  color: var(--m3d-dark) !important;
  border-color: var(--m3d-accent);
}

.m3d a.m3d-service-cta--secondary:hover,
.m3d-service-cta--secondary:hover {
  background: var(--m3d-accent) !important;
  color: var(--m3d-dark) !important;
  border-color: var(--m3d-accent);
}

.m3d-shipping {
  padding: 80px 60px 100px;
  background: var(--m3d-off-white);
}

.m3d-shipping__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto 0;
  align-items: start;
}

.m3d-shipping__calc,
.m3d-shipping__table-wrap {
  background: var(--m3d-white);
  border: 1px solid var(--m3d-light-gray);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.m3d-shipping__calc h3,
.m3d-shipping__table-wrap h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--m3d-dark);
  margin-bottom: 8px;
}

.m3d-shipping__hint {
  font-size: 14px;
  color: var(--m3d-mid-gray);
  margin-bottom: 24px;
  line-height: 1.5;
}

.m3d-shipping__form {
  display: grid;
  gap: 20px;
}

.m3d-shipping__field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--m3d-dark-gray);
  margin-bottom: 8px;
}

.m3d-shipping__field select,
.m3d-shipping__field input[type='text'],
.m3d-shipping__field input[type='number'] {
  width: 100%;
  border: 1.5px solid var(--m3d-light-gray);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--m3d-dark);
  background: var(--m3d-white);
}

.m3d-shipping__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m3d-shipping__input-wrap input {
  flex: 1;
}

.m3d-shipping__input-wrap span {
  font-size: 14px;
  font-weight: 600;
  color: var(--m3d-dark-gray);
  white-space: nowrap;
}

.m3d-shipping__field-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--m3d-mid-gray);
}

.m3d-shipping__dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.m3d-shipping__dim {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m3d-shipping__dim input {
  width: 100%;
}

.m3d-shipping__dim span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--m3d-mid-gray);
  text-align: center;
}

.m3d-shipping__field-note--alert {
  color: var(--m3d-accent-dark);
  font-weight: 500;
}

.m3d-shipping__checkout {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.m3d-shipping__checkout:disabled {
  opacity: 0.7;
  cursor: wait;
}

.m3d-shipping__checkout-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--m3d-mid-gray);
}

.m3d-shipping__checkout-note--alert {
  color: var(--m3d-accent-dark);
  font-weight: 500;
}

.m3d-shipping__result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--m3d-light-gray);
}

.m3d-shipping__result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--m3d-dark-gray);
}

.m3d-shipping__result-row strong {
  font-size: 18px;
  color: var(--m3d-dark);
}

.m3d-shipping__result-row--total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--m3d-light-gray);
  font-weight: 600;
}

.m3d-shipping__result-row--highlight {
  padding: 12px 14px;
  margin: 4px 0 8px;
  border-radius: 10px;
  background: var(--m3d-accent-light);
}

.m3d-shipping__result-row--highlight strong {
  color: var(--m3d-accent-dark);
}

.m3d-shipping__result-row--total strong {
  font-size: 24px;
  color: var(--m3d-accent-dark);
}

.m3d-shipping__delivery {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--m3d-accent-dark);
}

.m3d-shipping__disclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: var(--m3d-mid-gray);
  line-height: 1.5;
}

.m3d-shipping__table-scroll {
  overflow-x: auto;
}

.m3d-shipping__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.m3d-shipping__table th,
.m3d-shipping__table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--m3d-light-gray);
}

.m3d-shipping__table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--m3d-mid-gray);
}

.m3d-shipping__table td {
  color: var(--m3d-dark-gray);
}

.m3d-shipping__table tbody tr:hover {
  background: var(--m3d-off-white);
}

.m3d-shipping__table-footer {
  margin-top: 16px;
  font-size: 12px;
  color: var(--m3d-mid-gray);
}

html {
  scroll-padding-top: 88px;
}

.m3d-print-quote-intro {
  padding: 48px 60px 0;
  background: var(--m3d-white);
}

.m3d-print-quote-intro .m3d-section-header {
  margin-bottom: 40px;
}

.m3d-print-promo {
  margin: 0 auto 28px;
  max-width: 720px;
}

.m3d-print-promo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.14) 0%, rgba(52, 199, 89, 0.06) 100%);
  border: 2px solid rgba(52, 199, 89, 0.45);
  box-shadow: 0 12px 40px rgba(52, 199, 89, 0.12);
  text-align: center;
}

.m3d-print-promo__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 50px;
  background: var(--m3d-accent);
  color: var(--m3d-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.m3d-print-promo__headline {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--m3d-dark);
}

.m3d-print-promo__discount {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 12px;
  border-radius: 10px;
  background: var(--m3d-dark);
  color: var(--m3d-accent);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  vertical-align: baseline;
}

.m3d-print-promo__note {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--m3d-dark-gray);
}

#print-quote {
  scroll-margin-top: 0;
}

/* Filaquote block heading — hidden; Step 1 intro title is shown above */
.m3d-section-print-quote-anchor + [id*='1782886134395c33e0'] h2,
.m3d-section-print-quote-anchor + [id*='1782886134395c33e0'] .h2,
.m3d-section-print-quote-anchor + [id*='1782886134395c33e0'] [class*='heading'] {
  display: none !important;
}

.m3d-pricing { padding: 100px 60px; background: var(--m3d-off-white); }

.m3d-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.m3d-pricing-card {
  background: var(--m3d-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--m3d-light-gray);
  text-align: center;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
}

.m3d-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--m3d-accent);
}

.m3d-pricing-card--featured {
  border: 2px solid var(--m3d-accent);
  position: relative;
}

.m3d-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--m3d-accent);
  color: var(--m3d-dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(52, 199, 89, 0.28);
}

.m3d-pricing-card--featured::before {
  content: none;
}

.m3d-pricing-label {
  font-size: 12px;
  color: var(--m3d-mid-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.m3d-pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 4px;
}

.m3d-pricing-price span { font-size: 14px; color: var(--m3d-mid-gray); font-weight: 400; }

.m3d-pricing-desc {
  font-size: 13px;
  color: var(--m3d-mid-gray);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1 1 auto;
}

.m3d-pricing-card > .m3d-pricing-btn,
.m3d-pricing-card > p:has(.m3d-pricing-btn),
.m3d-pricing-card > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

.m3d a.m3d-pricing-btn,
.m3d-pricing-btn {
  display: inline-block;
  background: var(--m3d-dark) !important;
  color: var(--m3d-white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.3s;
}

.m3d a.m3d-pricing-btn:hover,
.m3d-pricing-btn:hover {
  background: var(--m3d-accent) !important;
  color: var(--m3d-dark) !important;
}

.m3d-cta {
  padding: 120px 60px;
  background: var(--m3d-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.m3d-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(52, 199, 89, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(52, 199, 89, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.m3d-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--m3d-white);
  margin: 0 0 16px;
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
}

.m3d-cta h2 .accent { color: var(--m3d-accent); }

.m3d-cta p {
  font-size: 18px;
  color: var(--m3d-mid-gray);
  margin: 0 auto 40px;
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.m3d-cta__actions {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.m3d-cta-btn {
  background: var(--m3d-accent);
  color: var(--m3d-dark);
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.m3d-cta-btn:hover {
  background: var(--m3d-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(52, 199, 89, 0.2);
}

.m3d a.m3d-cta-btn--secondary,
.m3d-cta-btn--secondary {
  background: transparent !important;
  color: var(--m3d-white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.m3d a.m3d-cta-btn--secondary:hover,
.m3d-cta-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--m3d-accent) !important;
  border-color: var(--m3d-accent);
  box-shadow: none;
}

.m3d-shipping {
  scroll-margin-top: 96px;
}

.m3d-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: #ffffff;
  border-bottom: 1px solid var(--m3d-light-gray);
}

.m3d-header__bar {
  max-width: 1320px;
  margin: 0 auto;
  height: 72px;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 32px;
}

.m3d-header__logo {
  grid-column: 1;
  justify-self: start;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--m3d-dark);
  text-decoration: none;
  white-space: nowrap;
}

.m3d-header__logo span { color: var(--m3d-accent); }

.m3d-header__nav {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
}

.m3d-header__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.m3d-header__links a {
  text-decoration: none;
  color: var(--m3d-dark-gray);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.m3d-header__links a:hover,
.m3d-header__links a.is-active {
  color: var(--m3d-accent-dark);
}

.m3d-header__cta {
  grid-column: 3;
  justify-self: end;
  background: var(--m3d-dark);
  color: var(--m3d-white);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.m3d-header__cta:hover {
  background: var(--m3d-accent);
  color: var(--m3d-dark);
}

.m3d-header__toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  background: none;
  border: 1.5px solid var(--m3d-light-gray);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.m3d-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--m3d-dark);
  border-radius: 2px;
}

/* RICH PAGE (About, Shipping, Policies) */
.m3d-about,
.m3d-rich-page {
  padding: 96px 60px 100px;
  background: linear-gradient(180deg, var(--m3d-off-white) 0%, var(--m3d-white) 220px);
}

.m3d-about__inner,
.m3d-rich-page__inner {
  max-width: 820px;
  margin: 0 auto;
}

.m3d-about__content,
.m3d-rich-page__content {
  color: var(--m3d-dark-gray);
  font-size: 17px;
  line-height: 1.8;
}

.m3d-about__content > *:first-child,
.m3d-rich-page__content > *:first-child {
  margin-top: 0;
}

.m3d-about__content h1,
.m3d-about__content h2,
.m3d-about__content h3,
.m3d-about__content h4,
.m3d-rich-page__content h1,
.m3d-rich-page__content h2,
.m3d-rich-page__content h3,
.m3d-rich-page__content h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--m3d-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.m3d-about__content h1,
.m3d-rich-page__content h1 {
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
}

.m3d-about__content h1 + p,
.m3d-rich-page__content h1 + p {
  font-size: 18px;
  color: var(--m3d-mid-gray);
  margin-bottom: 36px;
}

.m3d-about__content h2,
.m3d-rich-page__content h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  margin: 44px 0 20px;
}

.m3d-about__content h2:first-of-type,
.m3d-rich-page__content h2:first-of-type {
  margin-top: 8px;
}

.m3d-about__content h2:not(:first-of-type),
.m3d-rich-page__content h2:not(:first-of-type) {
  padding-top: 40px;
  border-top: 1px solid var(--m3d-light-gray);
}

.m3d-about__content h3,
.m3d-rich-page__content h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 0 0 16px;
  padding-top: 0;
  border-top: none;
}

.m3d-about__content h4,
.m3d-rich-page__content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--m3d-dark);
}

.m3d .m3d-rich-page__content.rte h4,
.m3d .m3d-about__content.rte h4 {
  color: var(--m3d-dark);
  font-weight: 700;
}

.m3d-about__content p,
.m3d-rich-page__content p {
  margin: 0 0 20px;
}

.m3d-about__content p:last-child,
.m3d-rich-page__content p:last-child {
  margin-bottom: 0;
}

.m3d-about__content li p,
.m3d-rich-page__content li p {
  margin-bottom: 14px;
}

.m3d-about__content li p:last-child,
.m3d-rich-page__content li p:last-child {
  margin-bottom: 0;
}

.m3d-about__content strong,
.m3d-about__content b,
.m3d-rich-page__content strong,
.m3d-rich-page__content b {
  color: var(--m3d-dark);
  font-weight: 700;
}

/* Top-level numbered lists — card style */
.m3d-about__content > ol,
.m3d-rich-page__content > ol,
.m3d-about__content h2 + ol,
.m3d-rich-page__content h2 + ol,
.m3d-about__content h3 + ol,
.m3d-rich-page__content h3 + ol {
  list-style: none;
  counter-reset: m3d-rich-counter;
  margin: 20px 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.m3d-about__content > ol > li,
.m3d-rich-page__content > ol > li,
.m3d-about__content h2 + ol > li,
.m3d-rich-page__content h2 + ol > li,
.m3d-about__content h3 + ol > li,
.m3d-rich-page__content h3 + ol > li {
  counter-increment: m3d-rich-counter;
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 68px;
  background: var(--m3d-white);
  border: 1px solid var(--m3d-light-gray);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.m3d-about__content > ol > li::before,
.m3d-rich-page__content > ol > li::before,
.m3d-about__content h2 + ol > li::before,
.m3d-rich-page__content h2 + ol > li::before,
.m3d-about__content h3 + ol > li::before,
.m3d-rich-page__content h3 + ol > li::before {
  content: counter(m3d-rich-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--m3d-accent-light);
  color: var(--m3d-accent-dark);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nested lists inside cards — plain style */
.m3d-about__content ol > li ol,
.m3d-rich-page__content ol > li ol,
.m3d-about__content ol > li ul,
.m3d-rich-page__content ol > li ul {
  margin: 14px 0 0;
  padding: 0;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
  gap: 0;
  counter-reset: none;
}

.m3d-about__content ol > li ol,
.m3d-rich-page__content ol > li ol {
  list-style: decimal;
  padding-left: 22px;
}

.m3d-about__content ol > li ol > li,
.m3d-rich-page__content ol > li ol > li {
  padding: 0 0 12px 4px;
  background: none;
  border: none;
  box-shadow: none;
  counter-increment: none;
}

.m3d-about__content ol > li ol > li::before,
.m3d-rich-page__content ol > li ol > li::before {
  display: none;
}

.m3d-about__content ol > li ul,
.m3d-rich-page__content ol > li ul {
  list-style: none;
  padding: 14px 18px;
  background: var(--m3d-off-white);
  border: 1px solid var(--m3d-light-gray);
  border-radius: 10px;
}

.m3d-about__content ol > li ul > li,
.m3d-rich-page__content ol > li ul > li {
  position: relative;
  padding: 0 0 10px 22px;
  background: none;
  border: none;
  font-weight: 500;
}

.m3d-about__content ol > li ul > li:last-child,
.m3d-rich-page__content ol > li ul > li:last-child {
  padding-bottom: 0;
}

.m3d-about__content ol > li ul > li::before,
.m3d-rich-page__content ol > li ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--m3d-accent);
  transform: translateY(-50%);
}

/* Top-level bullet lists — green box */
.m3d-about__content > ul,
.m3d-rich-page__content > ul,
.m3d-about__content h2 + ul,
.m3d-rich-page__content h2 + ul,
.m3d-about__content h3 + ul,
.m3d-rich-page__content h3 + ul {
  list-style: none;
  margin: 20px 0 28px;
  padding: 24px;
  display: grid;
  gap: 14px;
  background: var(--m3d-accent-light);
  border: 1px solid rgba(52, 199, 89, 0.18);
  border-radius: 16px;
}

.m3d-about__content > ul > li,
.m3d-rich-page__content > ul > li,
.m3d-about__content h2 + ul > li,
.m3d-rich-page__content h2 + ul > li,
.m3d-about__content h3 + ul > li,
.m3d-rich-page__content h3 + ul > li {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: var(--m3d-dark);
  font-weight: 500;
}

.m3d-about__content > ul > li::before,
.m3d-rich-page__content > ul > li::before,
.m3d-about__content h2 + ul > li::before,
.m3d-rich-page__content h2 + ul > li::before,
.m3d-about__content h3 + ul > li::before,
.m3d-rich-page__content h3 + ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m3d-accent);
  transform: translateY(-50%);
}

.m3d-about__content a,
.m3d-rich-page__content a {
  color: var(--m3d-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.m3d-about__content a:hover,
.m3d-rich-page__content a:hover {
  color: var(--m3d-accent);
}

/* Policy pages: subsection headings (1.1, 1.2, 2.4 …) */
.m3d-rich-page__content p:has(> :is(strong, b):first-child) {
  margin-bottom: 16px;
}

.m3d-rich-page__content p:has(> :is(strong, b):first-child) > :is(strong, b):first-child {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--m3d-dark);
  line-height: 1.35;
}

/*
 * Uniform gap before each subsection — padding avoids margin collapse.
 * High specificity so Horizon .rte defaults cannot shrink these breaks.
 */
.m3d .m3d-rich-page__content.rte :is(p, ul, ol, blockquote, table, dl) + :is(h3, h4),
.m3d .m3d-rich-page__content.rte :is(p, ul, ol, blockquote, table, dl) + p:has(> :is(strong, b):first-child) {
  padding-top: 48px;
  margin-top: 0;
}

/* First subsection directly under a section title (h2) */
.m3d .m3d-rich-page__content.rte h2 + :is(h3, h4),
.m3d .m3d-rich-page__content.rte h2 + p:has(> :is(strong, b):first-child) {
  padding-top: 20px;
  margin-top: 0;
}

.m3d-rich-page__content h2 + p:not(:has(> :is(strong, b):first-child)),
.m3d-rich-page__content h3 + p {
  margin-top: 0;
}

.m3d-rich-page__content h2 + ol,
.m3d-rich-page__content h3 + ol,
.m3d-rich-page__content p + ol,
.m3d-rich-page__content p + ul {
  margin-top: 16px;
}

.m3d-rich-page__content hr {
  border: none;
  border-top: 1px solid var(--m3d-light-gray);
  margin: 40px 0;
}

.m3d-rich-page__content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--m3d-off-white);
  border-left: 4px solid var(--m3d-accent);
  border-radius: 0 12px 12px 0;
  color: var(--m3d-dark-gray);
}

.m3d-rich-page__content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.m3d-rich-page__content th,
.m3d-rich-page__content td {
  padding: 12px 14px;
  border: 1px solid var(--m3d-light-gray);
  text-align: left;
}

.m3d-rich-page__content th {
  background: var(--m3d-off-white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* POLICY PAGES (Privacy, Terms, etc.) */
.m3d-rich-page--policy .m3d-rich-page__content {
  text-align: left;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content.rte :is(p, li, td, th, div) {
  line-height: 1.8 !important;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content.rte [style*='line-height'] {
  line-height: 1.8 !important;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content.rte > div {
  margin-bottom: 20px;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content.rte > div > div {
  line-height: 1.8 !important;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content h1 + p,
.m3d .m3d-rich-page--policy .m3d-rich-page__content h1 + div {
  color: var(--m3d-mid-gray);
  font-size: 15px;
  line-height: 1.6 !important;
  margin: 0 0 36px;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content h1 + div > div:first-child {
  color: inherit;
  font-size: inherit;
  line-height: inherit !important;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content h2 {
  line-height: 1.35 !important;
  margin-top: 48px;
  margin-bottom: 20px;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content > div:has(> h2) {
  margin-top: 48px;
  margin-bottom: 0;
}

.m3d .m3d-rich-page--policy .m3d-rich-page__content > div:has(> h2) h2 {
  margin-top: 0;
}

/* Remove duplicate title when policy body has a small heading before h1 */
.m3d-rich-page--policy .m3d-rich-page__content > h2:first-child:has(+ h1) {
  display: none;
}

/* FALLBACK: Shopify default policy wrapper (if custom policy.liquid is not active) */
.shopify-policy__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px 100px;
  text-align: left;
  background: linear-gradient(180deg, #f7f7f8 0%, #ffffff 220px);
}

.shopify-policy__body .rte > div:first-child:has(h1) {
  display: none;
}

.shopify-policy__title h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1c1c1e;
  margin: 0 0 16px;
  text-align: left;
}

.shopify-policy__body {
  color: #48484a;
  font-size: 17px;
  text-align: left;
}

.shopify-policy__body .rte :is(p, li, td, th, div) {
  line-height: 1.8 !important;
}

.shopify-policy__body .rte > div {
  margin-bottom: 20px;
}

.shopify-policy__body .rte > div > div {
  line-height: 1.8 !important;
}

.shopify-policy__body .rte h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.35 !important;
  letter-spacing: -0.02em;
  color: #1c1c1e;
  margin: 48px 0 20px;
}

.shopify-policy__body .rte > div:has(> h2) h2 {
  margin-top: 0;
}

.shopify-policy__body .rte > div:has(> h2) {
  margin-top: 48px;
}

.shopify-policy__body .rte > div:nth-child(2) {
  color: #8e8e93;
  font-size: 15px;
  margin-bottom: 36px;
}

.m3d-rich-page--policy .m3d-rich-page__content > ul,
.m3d-rich-page--policy .m3d-rich-page__content > ol,
.m3d-rich-page--policy .m3d-rich-page__content h2 + ul,
.m3d-rich-page--policy .m3d-rich-page__content h2 + ol,
.m3d-rich-page--policy .m3d-rich-page__content h3 + ul,
.m3d-rich-page--policy .m3d-rich-page__content h3 + ol {
  margin: 20px 0 28px;
}

.m3d-rich-page--policy .m3d-rich-page__content ul:not(.m3d-rich-page__content ol ul) {
  list-style: none;
  padding: 24px;
  display: grid;
  gap: 14px;
  background: var(--m3d-accent-light);
  border: 1px solid rgba(52, 199, 89, 0.18);
  border-radius: 16px;
}

.m3d-rich-page--policy .m3d-rich-page__content ul > li {
  position: relative;
  padding-left: 28px;
  color: var(--m3d-dark);
  font-weight: 500;
}

.m3d-rich-page--policy .m3d-rich-page__content ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m3d-accent);
  transform: translateY(-50%);
}

/* FAQ PAGE */
.m3d-rich-page--faq {
  padding-top: 88px;
}

.m3d-faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.m3d-faq-header__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--m3d-dark);
  margin: 0 0 16px;
}

.m3d-faq-header__subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: var(--m3d-mid-gray);
}

.m3d-faq__sections {
  display: grid;
  gap: 28px;
}

.m3d-faq-section {
  background: var(--m3d-white);
  border: 1px solid var(--m3d-light-gray);
  border-radius: 20px;
  padding: 28px 28px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.m3d-faq-section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--m3d-dark);
  margin: 0 0 20px;
  padding: 0 0 16px 18px;
  border-bottom: 1px solid var(--m3d-light-gray);
  border-left: 4px solid var(--m3d-accent);
}

.m3d-faq-section__list {
  display: grid;
  gap: 10px;
}

.m3d-faq-item {
  border: 1px solid var(--m3d-light-gray);
  border-radius: 14px;
  background: var(--m3d-off-white);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.m3d-faq-item[open] {
  border-color: rgba(52, 199, 89, 0.45);
  box-shadow: 0 8px 24px rgba(52, 199, 89, 0.08);
  background: var(--m3d-white);
}

.m3d-faq-item__question {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 18px 52px 18px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--m3d-dark);
  user-select: none;
}

.m3d-faq-item__question::-webkit-details-marker {
  display: none;
}

.m3d-faq-item__question::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--m3d-accent-light);
  color: var(--m3d-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.m3d-faq-item[open] .m3d-faq-item__question::after {
  content: '−';
  background: var(--m3d-accent);
  color: var(--m3d-dark);
}

.m3d-faq-item__answer {
  padding: 0 20px 20px;
  color: var(--m3d-dark-gray);
  font-size: 16px;
  line-height: 1.8;
}

.m3d-faq-item__answer :is(p, li, div) {
  line-height: 1.8;
}

.m3d-faq-item__answer p,
.m3d-faq-item__answer > div {
  margin: 0 0 14px;
}

.m3d-faq-item__answer p:last-child,
.m3d-faq-item__answer > div:last-child {
  margin-bottom: 0;
}

.m3d-faq-item__answer ol,
.m3d-faq-item__answer ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.m3d-faq-item__answer li {
  margin-bottom: 10px;
}

.m3d-faq-item__answer a {
  color: var(--m3d-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.m3d-faq__empty {
  text-align: center;
  color: var(--m3d-mid-gray);
  padding: 40px 0;
}

@media (max-width: 768px) {
  .m3d-rich-page--faq {
    padding: 72px 24px 80px;
  }

  .m3d-faq-section {
    padding: 22px 18px 16px;
  }

  .m3d-faq-item__question {
    padding: 16px 48px 16px 16px;
    font-size: 15px;
  }

  .m3d-faq-item__answer {
    padding: 0 16px 16px;
    font-size: 15px;
  }
}

/* CONTACT */
.m3d-contact {
  padding: 40px 60px 100px;
  background: linear-gradient(135deg, var(--m3d-white) 0%, var(--m3d-off-white) 100%);
}

.m3d-contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.m3d-contact__intro h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 16px;
  line-height: 1.1;
}

.m3d-contact__intro h1 .accent { color: var(--m3d-accent); }

.m3d-contact__intro > p {
  font-size: 17px;
  color: var(--m3d-dark-gray);
  line-height: 1.7;
  margin-bottom: 36px;
}

.m3d-contact__info { display: grid; gap: 20px; }

.m3d-contact__card {
  background: var(--m3d-white);
  border: 1px solid var(--m3d-light-gray);
  border-radius: 14px;
  padding: 22px 24px;
}

.m3d-contact__card h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--m3d-mid-gray);
  margin: 0 0 8px;
}

.m3d-contact__card p,
.m3d-contact__card a {
  font-size: 15px;
  color: var(--m3d-dark);
  font-weight: 500;
  margin: 0;
  text-decoration: none;
}

.m3d-contact__card p {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m3d-contact__card small {
  font-size: 13px;
  font-weight: 400;
  color: var(--m3d-mid-gray);
  line-height: 1.4;
}

.m3d-contact__form-wrap {
  background: var(--m3d-white);
  border: 1px solid var(--m3d-light-gray);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.m3d-contact__form-wrap h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}

.m3d-contact__form-wrap > p {
  font-size: 14px;
  color: var(--m3d-mid-gray);
  margin: 0 0 28px;
}

.m3d-form { display: grid; gap: 18px; }

.m3d-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.m3d-form__field { display: grid; gap: 8px; }

.m3d-form__field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--m3d-dark-gray);
}

.m3d-form__field input,
.m3d-form__field select,
.m3d-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--m3d-light-gray);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--m3d-dark);
  background: var(--m3d-white);
}

.m3d-form__field input:focus,
.m3d-form__field select:focus,
.m3d-form__field textarea:focus {
  outline: none;
  border-color: var(--m3d-accent);
}

.m3d-form__field textarea { min-height: 140px; resize: vertical; }

.m3d-form__upload-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  position: relative;
}

.m3d-form__upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.m3d-form__upload-btn {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: #0f172a;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.m3d-form__upload-btn:hover {
  background: #1e293b;
}

.m3d-form__upload-name {
  font-size: 13px;
  color: var(--m3d-mid-gray, #64748b);
  word-break: break-all;
}

.m3d-form__upload-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--m3d-mid-gray, #64748b);
}

.m3d-form__upload-status {
  margin: 0;
  font-size: 13px;
  color: var(--m3d-ink, #0f172a);
}

.m3d-form__upload-status--error {
  color: #b91c1c;
}

.m3d-form__submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

.m3d-form__note {
  font-size: 12px;
  color: var(--m3d-mid-gray);
  text-align: center;
  margin: 4px 0 0;
}

.m3d-form__success {
  background: var(--m3d-accent-light);
  border: 1px solid var(--m3d-accent);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--m3d-accent-dark);
  margin-bottom: 20px;
}

.m3d-form__errors {
  background: #fff3f3;
  border: 1px solid #ffcccc;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: #c00;
  margin-bottom: 20px;
}

.m3d-contact__quick-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.m3d-page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.m3d-fact-card {
  padding: 72px 24px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(14, 116, 144, 0.08), transparent 55%),
    linear-gradient(180deg, #f4f7f9 0%, #ffffff 100%);
}

.m3d-fact-card__inner {
  max-width: 960px;
  margin: 0 auto;
}

.m3d-fact-card__title {
  font-family: var(--m3d-font-display, "Space Grotesk", sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--m3d-ink, #0f172a);
  margin: 12px 0 14px;
}

.m3d-fact-card__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--m3d-mid-gray, #475569);
  margin: 0 0 28px;
  max-width: 52rem;
}

.m3d-fact-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.m3d-fact-card__stat {
  padding: 18px 16px;
  border-top: 2px solid var(--m3d-accent, #0e7490);
  background: rgba(255, 255, 255, 0.72);
}

.m3d-fact-card__value {
  font-family: var(--m3d-font-display, "Space Grotesk", sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--m3d-ink, #0f172a);
  line-height: 1.1;
}

.m3d-fact-card__label {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--m3d-mid-gray, #64748b);
}

.m3d-fact-card__body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--m3d-ink, #1e293b);
  margin: 0 0 28px;
  max-width: 54rem;
}

.m3d-fact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .m3d-fact-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .m3d-hero__inner,
  .m3d-service-block { grid-template-columns: 1fr; }
  .m3d-service-block--reverse { direction: ltr; }
  .m3d-paths__grid,
  .m3d-pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .m3d-hero__media { height: 350px; }
  .m3d-float-card { display: none; }
}

@media (max-width: 768px) {
  .m3d-header__bar {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
    gap: 16px;
  }

  .m3d-header__nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .m3d-header__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--m3d-white);
    border-top: 1px solid var(--m3d-light-gray);
    padding: 12px 0 8px;
  }

  .m3d-header__links.is-open {
    display: flex;
  }

  .m3d-header__nav:has(.m3d-header__links.is-open) {
    display: block;
  }

  .m3d-header__links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--m3d-light-gray);
  }

  .m3d-header__toggle {
    display: inline-flex;
  }

  .m3d-header__cta {
    display: none;
  }
  .m3d-hero,
  .m3d-paths,
  .m3d-services,
  .m3d-pricing,
  .m3d-shipping,
  .m3d-cta,
  .m3d-print-quote-intro,
  .m3d-contact,
  .m3d-about,
  .m3d-rich-page,
  .m3d-article { padding: 60px 24px; }
  .m3d-print-quote-intro { padding-bottom: 0; }
  .m3d-shipping__layout { grid-template-columns: 1fr; }
  .m3d-shipping__dimensions { grid-template-columns: 1fr; }
  .m3d-hero__cta { flex-direction: column; align-items: flex-start; }
  .m3d-paths__grid,
  .m3d-pricing__grid { grid-template-columns: 1fr; }
  .m3d-contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .m3d-form__row { grid-template-columns: 1fr; }
  .m3d-contact__form-wrap { padding: 28px 24px; }
}

/* ARTICLE (Blog posts) */
.m3d-section-article {
  margin: 0 !important;
  padding: 0 !important;
}

.m3d-article.m3d-rich-page {
  padding: 56px 60px 80px;
}

.m3d-article__inner {
  max-width: 760px;
}

.m3d-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--m3d-mid-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.m3d-article__back:hover {
  color: var(--m3d-accent-dark);
}

.m3d-article__title {
  margin: 12px 0 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4.8vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--m3d-dark);
}

.m3d-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--m3d-mid-gray);
}

.m3d-article__meta-divider {
  color: var(--m3d-light-gray);
}

.m3d-article__tag {
  color: var(--m3d-dark-gray);
}

.m3d-article__hero {
  margin: 0 0 40px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--m3d-off-white);
  box-shadow: 0 18px 48px rgba(28, 28, 30, 0.08);
}

.m3d-article__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Blog listing cards: show full image, no crop */
.blog-post-card__image-container {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  background: var(--m3d-off-white, #f7f7f8);
}

.blog-post-card__image-container img,
.blog-post-card__image,
.blog-post-card__image--small,
.blog-post-card__image--medium,
.blog-post-card__image--large,
.blog-post-card__image--adapt {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.m3d-article__body {
  font-size: 18px;
  line-height: 1.85;
}

.m3d-article__body > p:first-of-type {
  font-size: 19px;
  color: var(--m3d-dark);
  line-height: 1.75;
}

.m3d-article .m3d-rich-page__content > h2:first-of-type {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

.m3d-article .m3d-rich-page__content > h2:first-of-type + ul {
  margin: 20px 0 36px;
  padding: 24px 24px 24px 44px;
  border: 1px solid rgba(52, 199, 89, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(232, 245, 233, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.m3d-article .m3d-rich-page__content > h2:first-of-type + ul > li {
  margin-bottom: 10px;
  color: var(--m3d-dark);
  font-weight: 500;
}

.m3d-article .m3d-rich-page__content > h2:first-of-type + ul > li:last-child {
  margin-bottom: 0;
}

.m3d-article .m3d-rich-page__content a {
  color: var(--m3d-accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.m3d-article .m3d-rich-page__content a:hover {
  color: var(--m3d-dark);
}

.m3d-article__related {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--m3d-light-gray);
}

.m3d-article__related-label {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m3d-mid-gray);
}

.m3d-article__related-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.m3d-article__related-cta .m3d-btn-primary,
.m3d-article__related-cta .m3d-btn-secondary {
  margin: 0;
}

.m3d-article__comments {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--m3d-light-gray);
}

.m3d-article__comments-title {
  margin: 0 0 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  color: var(--m3d-dark);
}

.m3d-article__comments-empty {
  margin: 0 0 24px;
  color: var(--m3d-mid-gray);
}

.m3d-article__comment-list {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.m3d-article__comment {
  padding: 20px 22px;
  border: 1px solid var(--m3d-light-gray);
  border-radius: 12px;
  background: var(--m3d-white);
}

.m3d-article__comment-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 14px;
}

.m3d-article__comment-header time {
  color: var(--m3d-mid-gray);
}

.m3d-article__comment-body {
  color: var(--m3d-dark-gray);
  font-size: 16px;
  line-height: 1.7;
}

.m3d-article__comment-form {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--m3d-light-gray);
  border-radius: 14px;
  background: var(--m3d-off-white);
}

.m3d-article__form-title {
  margin: 0 0 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--m3d-dark);
}

.m3d-article__form-errors,
.m3d-article__form-success {
  margin: 0 0 16px;
  font-size: 14px;
}

.m3d-article__form-errors {
  color: #b42318;
}

.m3d-article__form-success {
  color: var(--m3d-accent-dark);
}

.m3d-article__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.m3d-article__field {
  display: grid;
  gap: 8px;
}

.m3d-article__field--full {
  margin-bottom: 20px;
}

.m3d-article__field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--m3d-dark-gray);
}

.m3d-article__field input,
.m3d-article__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--m3d-light-gray);
  border-radius: 10px;
  background: var(--m3d-white);
  font: inherit;
  color: var(--m3d-dark);
}

.m3d-article__field input:focus,
.m3d-article__field textarea:focus {
  outline: 2px solid rgba(52, 199, 89, 0.35);
  border-color: var(--m3d-accent);
}

.m3d-article__submit {
  border: 0;
  cursor: pointer;
}

.m3d-section-cta + .m3d-section-footer,
.m3d-section-article + .m3d-section-cta {
  margin-top: 0;
}

@media (max-width: 749px) {
  .m3d-article.m3d-rich-page {
    padding: 40px 20px 56px;
  }

  .m3d-article__hero {
    margin-bottom: 28px;
    border-radius: 12px;
  }

  .m3d-article__image {
    max-height: none;
  }

  .m3d-article__body {
    font-size: 17px;
  }

  .m3d-article__related-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .m3d-article__form-grid {
    grid-template-columns: 1fr;
  }

  .m3d-article__comment-form {
    padding: 20px;
  }
}

/* Insights blog listing — Horizon cascade: 1 featured → 2-up → 3-up */
.m3d-blog {
  padding: var(--m3d-blog-pad-top, 48px) 24px var(--m3d-blog-pad-bottom, 80px);
  background: #fff;
}

.m3d-blog__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.m3d-blog__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.m3d-blog__title {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0a0a0a;
}

.m3d-blog__rss {
  font-size: 0.85rem;
  color: rgba(10, 10, 10, 0.45);
  text-decoration: none;
}

.m3d-blog__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 40px;
}

.m3d-blog__item {
  grid-column: span var(--col-span, 2);
  min-width: 0;
}

.m3d-blog__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.m3d-blog__item--horizontal .m3d-blog__card {
  flex-direction: row;
  align-items: stretch;
  gap: 36px;
}

.m3d-blog__media {
  overflow: hidden;
  background: #e8edf3;
  aspect-ratio: 16 / 10;
}

.m3d-blog__item--horizontal .m3d-blog__media {
  flex: 0 0 68%;
  aspect-ratio: 16 / 9;
}

.m3d-blog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.m3d-blog__card:hover .m3d-blog__media img {
  transform: scale(1.03);
}

.m3d-blog__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  min-width: 0;
}

.m3d-blog__item--horizontal .m3d-blog__body {
  flex: 1;
  justify-content: center;
  padding-top: 0;
}

.m3d-blog__card-title {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0a0a0a;
}

.m3d-blog__item--horizontal .m3d-blog__card-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.m3d-blog__item[style*='--col-span: 3'] .m3d-blog__card-title {
  font-size: 1.25rem;
}

.m3d-blog__date {
  color: rgba(10, 10, 10, 0.45);
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.m3d-blog__excerpt {
  margin: 4px 0 0;
  color: rgba(10, 10, 10, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.m3d-blog__more {
  margin-top: auto;
  padding-top: 12px;
  color: rgba(10, 10, 10, 0.55);
  font-size: 0.9rem;
}

.m3d-blog__card:hover .m3d-blog__more {
  color: #0a0a0a;
  text-decoration: underline;
}

.m3d-blog__pagination {
  margin-top: 48px;
  text-align: center;
}

.m3d-blog__empty {
  grid-column: 1 / -1;
  padding: 48px 0;
  color: rgba(10, 10, 10, 0.55);
}

@media (max-width: 989px) {
  .m3d-blog__grid {
    column-gap: 24px;
    row-gap: 32px;
  }

  .m3d-blog__item--horizontal .m3d-blog__card {
    flex-direction: column;
    gap: 0;
  }

  .m3d-blog__item--horizontal .m3d-blog__media {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 749px) {
  .m3d-blog {
    padding: 36px 20px 56px;
  }

  .m3d-blog__header {
    margin-bottom: 32px;
  }

  .m3d-blog__item {
    grid-column: span 6;
  }

  .m3d-blog__grid {
    row-gap: 28px;
  }
}

/* Homepage compare tables + home FAQ (P2-04) */
.m3d-compare {
  padding: var(--m3d-compare-pad-top, 64px) 24px var(--m3d-compare-pad-bottom, 64px);
  background:
    linear-gradient(180deg, #f7f7f8 0%, #ffffff 48%, #f7f7f8 100%);
}

.m3d-compare__inner,
.m3d-home-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.m3d-compare__heading,
.m3d-home-faq__heading {
  margin: 12px 0 12px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.m3d-compare__intro,
.m3d-home-faq__intro {
  max-width: 42rem;
  margin: 0 0 36px;
  color: rgba(28, 28, 30, 0.72);
  font-size: 1.05rem;
}

.m3d-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.m3d-compare__card {
  min-width: 0;
}

.m3d-compare__title {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.2rem;
}

.m3d-compare__caption {
  margin: 0 0 14px;
  color: rgba(28, 28, 30, 0.62);
  font-size: 0.92rem;
}

.m3d-compare__table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(28, 28, 30, 0.08);
  background: #fff;
}

.m3d-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.m3d-compare__table th,
.m3d-compare__table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(28, 28, 30, 0.06);
}

.m3d-compare__table th {
  background: #f0f2f4;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(28, 28, 30, 0.7);
}

.m3d-compare__table tr:last-child td {
  border-bottom: none;
}

.m3d-compare__table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.m3d-compare__cta,
.m3d-home-faq__cta {
  margin-top: 32px;
}

.m3d-home-faq {
  padding: var(--m3d-home-faq-pad-top, 64px) 24px var(--m3d-home-faq-pad-bottom, 72px);
  background: #fff;
}

.m3d-home-faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.m3d-home-faq__item {
  border: 1px solid rgba(28, 28, 30, 0.1);
  background: #fafafa;
  padding: 0 18px;
}

.m3d-home-faq__q {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
}

.m3d-home-faq__q::-webkit-details-marker {
  display: none;
}

.m3d-home-faq__a {
  padding: 0 0 16px;
  color: rgba(28, 28, 30, 0.75);
  line-height: 1.6;
}

@media (max-width: 749px) {
  .m3d-compare__grid {
    grid-template-columns: 1fr;
  }

  .m3d-compare__table td:first-child {
    white-space: normal;
  }
}

/* Service pillar pages (P2-11) */
.m3d-pillar {
  padding: 0 0 var(--m3d-pillar-pad-bottom, 80px);
  background: #fff;
}

.m3d-pillar__hero {
  padding: var(--m3d-pillar-pad-top, 48px) 24px 40px;
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 199, 89, 0.08), transparent 42%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f8 100%);
  border-bottom: 1px solid rgba(28, 28, 30, 0.06);
}

.m3d-pillar__inner,
.m3d-pillar__body {
  max-width: 900px;
  margin: 0 auto;
}

.m3d-pillar__body {
  padding: 40px 24px 0;
}

.m3d-pillar__title {
  margin: 10px 0 14px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.m3d-pillar__lead {
  margin: 0 0 24px;
  max-width: 40rem;
  font-size: 1.15rem;
  color: rgba(28, 28, 30, 0.75);
}

.m3d-pillar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.m3d-pillar__prose {
  margin-bottom: 36px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(28, 28, 30, 0.86);
}

.m3d-pillar__points {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.m3d-pillar__point-title {
  margin: 0 0 6px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
}

.m3d-pillar__point p {
  margin: 0;
  color: rgba(28, 28, 30, 0.72);
}

.m3d-pillar__related-heading {
  margin: 0 0 12px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.35rem;
}

.m3d-pillar__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m3d-pillar__links a {
  color: #0f4c81;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.m3d-pillar__faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 36px;
  max-width: 860px;
}

/* Case studies (P2-06) */
.m3d-case__hero,
.m3d-cases-hub {
  padding: var(--m3d-case-pad-top, var(--m3d-cases-pad-top, 48px)) 24px 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(52, 199, 89, 0.07), transparent 40%),
    linear-gradient(135deg, #fff 0%, #f7f7f8 100%);
}

.m3d-case {
  padding-bottom: var(--m3d-case-pad-bottom, 80px);
  background: #fff;
}

.m3d-cases-hub {
  padding-bottom: var(--m3d-cases-pad-bottom, 80px);
}

.m3d-case__inner,
.m3d-case__body,
.m3d-cases-hub__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.m3d-case__title,
.m3d-cases-hub__title {
  margin: 10px 0 12px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.m3d-case__meta,
.m3d-cases-hub__meta {
  margin: 0 0 10px;
  color: rgba(28, 28, 30, 0.55);
  font-size: 0.92rem;
}

.m3d-case__lead,
.m3d-cases-hub__intro {
  margin: 0 0 8px;
  max-width: 42rem;
  color: rgba(28, 28, 30, 0.75);
  font-size: 1.08rem;
}

.m3d-case__body {
  padding: 28px 24px 0;
}

.m3d-case__ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.m3d-case__figure {
  margin: 0;
  background: #eef1f4;
}

.m3d-case__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.m3d-case__figure figcaption {
  padding: 8px 10px;
  font-size: 0.85rem;
  color: rgba(28, 28, 30, 0.55);
}

.m3d-case__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.m3d-case__grid h2,
.m3d-case__results-heading {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.25rem;
}

.m3d-case__results {
  margin: 0 0 28px;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.m3d-case__quote {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-left: 3px solid #34c759;
  background: #f7f7f8;
}

.m3d-case__quote p {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.m3d-case__quote cite {
  color: rgba(28, 28, 30, 0.55);
  font-style: normal;
  font-size: 0.9rem;
}

.m3d-case__actions,
.m3d-cases-hub__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.m3d-cases-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.m3d-cases-hub__card {
  min-width: 0;
  border: 1px solid rgba(28, 28, 30, 0.08);
  background: #fff;
}

.m3d-cases-hub__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.m3d-cases-hub__body {
  padding: 16px 18px 20px;
}

.m3d-cases-hub__card-title {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.15rem;
}

.m3d-cases-hub__card-title a {
  color: inherit;
  text-decoration: none;
}

.m3d-cases-hub__more {
  color: #0f4c81;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 749px) {
  .m3d-case__ba,
  .m3d-case__grid,
  .m3d-cases-hub__grid {
    grid-template-columns: 1fr;
  }
}

/* Left pay-quote drawer */
.m3d-pay-drawer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
}
.m3d-pay-drawer.is-open { pointer-events: auto; }
.m3d-pay-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 23, 0.45);
  opacity: 0;
  transition: opacity .22s ease;
}
.m3d-pay-drawer.is-open .m3d-pay-drawer__backdrop { opacity: 1; }
.m3d-pay-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(420px, 92vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.18);
  transform: translateX(-105%);
  transition: transform .22s ease;
  outline: none;
}
.m3d-pay-drawer.is-open .m3d-pay-drawer__panel { transform: translateX(0); }
body.m3d-pay-drawer-open { overflow: hidden; }
.m3d-pay-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--m3d-light-gray, #e5e5e7);
}
.m3d-pay-drawer__header h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
}
.m3d-pay-drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--m3d-off-white, #f7f7f8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--m3d-dark, #1c1c1e);
}
.m3d-pay-drawer__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 8px 12px 20px;
  -webkit-overflow-scrolling: touch;
}
.m3d-pay-drawer__footer {
  display: grid;
  gap: 10px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--m3d-light-gray, #e5e5e7);
}
.m3d-pay-drawer__cart-link {
  text-align: center;
  font-weight: 650;
  color: var(--m3d-dark, #1c1c1e);
  text-decoration: none;
}
.m3d-pay-drawer__checkout {
  justify-content: center;
  text-align: center;
  text-decoration: none;
}
.m3d-pay-quote--drawer { width: 100%; margin: 0; }
.m3d-pay-quote--drawer .m3d-pay-quote__card {
  padding: 16px 12px 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.m3d-pay-quote--drawer .m3d-pay-quote__title { font-size: 1.45rem; }
.m3d-pay-quote--drawer .m3d-pay-quote__lead { font-size: 0.92rem; margin-bottom: 18px; }

/* Pay your quote */
.m3d-pay-quote {
  width: min(calc(100% - 40px), 720px);
  margin: 48px auto 80px;
}
.m3d-pay-quote__card {
  padding: 36px 32px;
  border: 1px solid var(--m3d-light-gray, #e5e5e7);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}
.m3d-pay-quote__title {
  margin: 10px 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.m3d-pay-quote__lead {
  margin: 0 0 28px;
  color: var(--m3d-dark-gray, #48484a);
}
.m3d-pay-quote__types {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.m3d-pay-quote__types legend {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.m3d-pay-quote__type {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--m3d-light-gray, #e5e5e7);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.m3d-pay-quote__type:hover,
.m3d-pay-quote__type.is-selected,
.m3d-pay-quote__type:has(input:checked) {
  border-color: var(--m3d-accent, #34c759);
  background: var(--m3d-accent-light, #e8f5e9);
}
.m3d-pay-quote__type input { accent-color: var(--m3d-accent, #34c759); }
.m3d-pay-quote__type span { font-weight: 650; }
.m3d-pay-quote__field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 650;
}
.m3d-pay-quote__field em {
  font-style: normal;
  font-weight: 500;
  color: var(--m3d-mid-gray, #8e8e93);
}
.m3d-pay-quote__field input,
.m3d-pay-quote__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--m3d-light-gray, #e5e5e7);
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
  box-sizing: border-box;
}
.m3d-pay-quote__field input:focus,
.m3d-pay-quote__field textarea:focus {
  outline: 2px solid rgba(52, 199, 89, 0.35);
  border-color: var(--m3d-accent, #34c759);
}
.m3d-pay-quote__submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.m3d-pay-quote__help {
  margin: 16px 0 0;
  font-size: 0.92rem;
  color: var(--m3d-dark-gray, #48484a);
  line-height: 1.5;
}

/* m3d-manual-quote-cta */
.m3d-manual-quote-cta {
  max-width: 56rem;
  margin: 1.5rem auto 2rem;
  padding: 28px 24px;
  border: 1px solid var(--m3d-light-gray, #e5e5e7);
  border-radius: 12px;
  background: var(--m3d-off-white, #f7f7f8);
  text-align: center;
}
.m3d-manual-quote-cta h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: var(--m3d-dark, #1c1c1e);
}
.m3d-manual-quote-cta__desc {
  margin: 0 0 18px;
  color: var(--m3d-dark-gray, #48484a);
  line-height: 1.5;
}
.m3d-manual-quote-cta__email {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--m3d-dark-gray, #48484a);
}
.m3d-manual-quote-cta a.m3d-btn-primary {
  background: #1c1c1e !important;
  color: #ffffff !important;
}
.m3d-manual-quote-cta a.m3d-btn-primary:hover,
.m3d-manual-quote-cta a.m3d-btn-primary:focus-visible {
  background: #34c759 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(52, 199, 89, 0.25);
}
