/* ECOMYOURS site-wide typography and spacing consistency pass */
:root {
  --type-body: 15px;
  --type-small: 13px;
  --type-label: 11px;
  --type-line-body: 1.68;
  --type-line-heading: 1.12;
}
html { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body {
  font-size: var(--type-body);
  line-height: var(--type-line-body);
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
/* A consistent, less-heavy heading scale across service and information pages. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font, 'Manrope', Arial, sans-serif);
  font-synthesis: none;
  text-wrap: pretty;
}
h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.4rem);
  line-height: 1.045;
  letter-spacing: -.047em;
  font-weight: 650;
  margin-block: 0 1.05rem;
}
h2 {
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 620;
  margin-block: 0 1rem;
}
h3 {
  line-height: 1.24;
  letter-spacing: -.025em;
  font-weight: 620;
  margin-block: 0 .7rem;
}
h4, h5, h6 { line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
p {
  font-size: inherit;
  line-height: 1.7;
  margin-block: 0 .85rem;
  text-wrap: pretty;
}
p:last-child { margin-bottom: 0; }
small, .eyebrow, .crumbs, .subtle-chip { line-height: 1.45; }
.eyebrow { font-size: 11px; letter-spacing: .13em; margin-bottom: 1.15rem; }
.section-heading { gap: clamp(1.5rem, 3vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading > p { line-height: 1.72; }
.section, section.section { padding-block: clamp(3.75rem, 7.5vw, 7.5rem); }
.page-hero h1 { line-height: 1.055; margin-bottom: 1.15rem; }
.page-lead { line-height: 1.75; max-width: 62ch; }
/* Cards: consistent rhythm without changing the site's colors or layouts. */
.service-card, .platform-card, .info-panel, .related-card, .homepage-case-card,
.case-card, .result-card, .evidence-card, .feature-card, .benefit-card {
  min-width: 0;
}
.service-card h3, .platform-card h3, .info-panel h3, .related-card h3,
.homepage-case-card h3, .case-card h3, .result-card h3, .evidence-card h3,
.feature-card h3, .benefit-card h3 {
  line-height: 1.25;
  letter-spacing: -.024em;
}
.service-card p, .platform-card p, .info-panel p, .related-card p,
.homepage-case-card p, .case-card p, .result-card p, .evidence-card p,
.feature-card p, .benefit-card p { line-height: 1.68; }
button, .button, a.button, .text-link, input, select, textarea {
  letter-spacing: normal;
  font-kerning: normal;
}
.button { line-height: 1.35; }
.text-link { line-height: 1.5; }
input, select, textarea { line-height: 1.45; }
label { line-height: 1.45; }
/* Prevent cramped labels and accidental clipping on long marketplace names. */
[class*="label"], [class*="tag"], .case-card-top span, .subtle-chip {
  overflow-wrap: anywhere;
}
@media (min-width: 1400px) {
  body { font-size: 15.5px; }
}
@media (max-width: 1023px) {
  h1 { font-size: clamp(2.25rem, 6vw, 3.8rem); }
  .section-heading { margin-bottom: 2.25rem; }
}
@media (max-width: 699px) {
  body { font-size: 15px; line-height: 1.68; }
  h1 { font-size: clamp(2.05rem, 9vw, 3.15rem); line-height: 1.07; letter-spacing: -.04em; }
  h2 { font-size: clamp(1.8rem, 7.5vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
  h3 { line-height: 1.26; }
  p { line-height: 1.68; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; margin-bottom: .9rem; }
  .section, section.section { padding-block: 3.5rem; }
  .page-lead { font-size: 15px; line-height: 1.72; }
  .button { min-height: 48px; padding: 13px 17px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
