/* QuoteMath resource and commercial landing pages */
.resource-page {
  background:
    radial-gradient(circle at 88% 7%, rgba(217, 255, 103, 0.14), transparent 19rem),
    var(--cream);
}

.resource-page .site-header nav a[aria-current="page"] { color: var(--ink); }
.resource-page .site-header nav a[aria-current="page"]::after { transform: scaleX(1); }
.resource-page main { overflow: hidden; }
.resource-page h1 { font-size: clamp(3.8rem, 6.1vw, 6.35rem); }
.resource-page h2 { font-size: clamp(3rem, 5vw, 5.15rem); }
.resource-page h3 { letter-spacing: -0.04em; line-height: 1.08; }

.breadcrumbs {
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 720;
}
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--safe); }

.resource-lede {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
  line-height: 1.65;
}
.resource-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; }
.resource-proof-list {
  margin: 31px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 760;
  list-style: none;
}
.resource-proof-list span { margin-right: 5px; color: var(--safe); font-weight: 900; }

/* Commercial page hero */
.resource-hero {
  min-height: 760px;
  padding: clamp(76px, 8vw, 118px) 0 clamp(92px, 9vw, 132px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
}
.resource-hero-copy h1 { max-width: 760px; }

.quote-blueprint {
  padding: 13px;
  border: 1px solid rgba(16, 42, 38, 0.13);
  border-radius: 27px;
  background: rgba(255, 253, 247, 0.7);
  box-shadow: 0 36px 100px rgba(13, 40, 34, 0.14);
  transform: rotate(1.1deg);
}
.quote-blueprint::before {
  content: "";
  width: 86px;
  height: 86px;
  position: absolute;
  top: -26px;
  right: -25px;
  z-index: -1;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.85;
}
.quote-blueprint { position: relative; isolation: isolate; }
.blueprint-bar {
  min-height: 53px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 15px 15px 0 0;
  color: #abc0b9;
  background: var(--forest);
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.blueprint-status { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); }
.blueprint-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(217,255,103,.11); }
.blueprint-client {
  padding: 24px 22px 21px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.blueprint-client > div { display: grid; gap: 4px; }
.blueprint-client small,
.blueprint-result small { color: var(--safe); font-size: 0.56rem; font-weight: 900; letter-spacing: 0.1em; }
.blueprint-client strong { font-size: 1.13rem; letter-spacing: -0.035em; }
.blueprint-client > span { color: var(--muted); font-size: 0.62rem; }
.blueprint-body {
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(188px, 0.73fr);
  gap: 13px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--paper);
}
.blueprint-costs { padding: 8px 13px; }
.blueprint-costs p {
  margin: 0;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.63rem;
}
.blueprint-costs strong { color: var(--ink); font-size: 0.72rem; }
.blueprint-costs .blueprint-total { border-bottom: 0; color: var(--ink); font-weight: 800; }
.blueprint-costs .blueprint-total strong { font-size: 0.92rem; }
.blueprint-result {
  min-height: 250px;
  padding: 23px 20px;
  border-radius: 16px;
  color: white;
  background: var(--forest);
}
.blueprint-result > strong { margin: 9px 0 17px; display: block; font-size: clamp(3.25rem, 5vw, 4.55rem); letter-spacing: -0.075em; line-height: 0.9; }
.blueprint-result > div { padding: 11px 0; display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #a6bbb4; font-size: 0.63rem; }
.blueprint-result b { color: white; }
.blueprint-foot {
  min-height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 0 0 15px 15px;
  color: var(--muted);
  background: #eef2ed;
  font-size: 0.55rem;
  font-weight: 750;
}

.resource-signal { border-block: 1px solid var(--line); background: rgba(255,255,255,.38); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid > div { min-height: 122px; padding: 25px 28px; display: grid; grid-template-columns: 31px 1fr; align-content: center; column-gap: 12px; }
.signal-grid > div + div { border-left: 1px solid var(--line); }
.signal-grid span { width: 31px; height: 31px; grid-row: 1 / span 2; display: grid; place-items: center; border-radius: 9px; color: var(--forest); background: var(--lime); font-size: 0.56rem; font-weight: 900; }
.signal-grid strong { font-size: 0.78rem; letter-spacing: -0.02em; }
.signal-grid small { margin-top: 3px; color: var(--muted); font-size: 0.58rem; }

.resource-section { padding-block: var(--section-space); }
.resource-intro { max-width: 790px; margin-bottom: 58px; }
.resource-intro > p:last-child { max-width: 620px; margin: 26px 0 0; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.7; }

.comparison-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-sm); }
.comparison-heading,
.comparison-row { display: grid; grid-template-columns: minmax(240px, 1.3fr) repeat(2, minmax(160px, 0.7fr)); }
.comparison-heading { min-height: 68px; align-items: center; color: #a7bbb5; background: var(--forest); font-size: 0.58rem; font-weight: 900; letter-spacing: 0.1em; }
.comparison-heading > span { padding-inline: 28px; }
.comparison-heading > div { grid-column: 2 / -1; display: contents; }
.comparison-heading small { padding-inline: 24px; color: white; font-size: 0.65rem; letter-spacing: 0; }
.comparison-row { min-height: 72px; align-items: center; }
.comparison-row + .comparison-row { border-top: 1px solid var(--line); }
.comparison-row > * { height: 100%; padding: 0 28px; display: flex; align-items: center; }
.comparison-row > * + * { border-left: 1px solid var(--line); }
.comparison-row strong { font-size: 0.76rem; }
.comparison-row span { color: var(--muted); font-size: 0.67rem; }
.comparison-row .comparison-yes { color: var(--safe); background: rgba(234, 247, 239, .54); font-weight: 850; }
.comparison-row .comparison-yes::before { content: "\2713"; width: 22px; height: 22px; margin-right: 9px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--safe); font-size: 0.56rem; }
.comparison-row .comparison-no::before { content: "\2212"; margin-right: 10px; color: #a4aea9; }

.resource-dark-section { padding-block: var(--section-space); color: white; background: var(--forest); }
.resource-dark-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); align-items: center; gap: clamp(54px, 8vw, 120px); }
.resource-dark-copy h2 { max-width: 630px; }
.resource-dark-copy > p:not(.eyebrow) { max-width: 570px; margin: 27px 0; color: #abc0b9; line-height: 1.75; }
.text-link-light { color: white; }
.formula-card { padding: clamp(28px, 4vw, 52px); border: 1px solid rgba(255,255,255,.14); border-radius: 25px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.formula-card > span { color: var(--lime); font-size: 0.61rem; font-weight: 900; letter-spacing: 0.13em; }
.formula-fraction { width: min(100%, 410px); margin: 29px 0; display: grid; text-align: center; }
.formula-fraction strong { padding: 12px; font-size: clamp(1.05rem, 2vw, 1.45rem); }
.formula-fraction i { height: 2px; background: var(--lime); }
.formula-example { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 13px; color: #bdd0ca; background: rgba(0,0,0,.18); font-size: 0.82rem; }
.formula-example strong { color: white; font-size: 1.25rem; }
.formula-card > small { margin-top: 17px; display: block; color: #849e96; font-size: 0.59rem; line-height: 1.55; }

.feature-ledger { border-top: 1px solid var(--line); }
.feature-ledger-item { min-height: 170px; padding: 32px 0; display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.feature-ledger-item > span { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--safe); background: var(--paper); font-size: 0.62rem; font-weight: 900; }
.feature-ledger-item > div { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; }
.feature-ledger-item h3 { margin: 0; font-size: 1.38rem; }
.feature-ledger-item p { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: 0.81rem; line-height: 1.7; }

.engine-section { padding-bottom: var(--section-space); }
.engine-panel { padding: clamp(34px, 5vw, 68px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .85fr); align-items: center; gap: clamp(48px, 7vw, 100px); border: 1px solid var(--line); border-radius: 29px; background: var(--paper); box-shadow: var(--shadow-md); }
.engine-copy h2 { font-size: clamp(2.7rem, 4.2vw, 4.65rem); }
.engine-copy > p:not(.eyebrow) { max-width: 610px; margin: 25px 0 0; color: var(--ink-soft); line-height: 1.72; }
.engine-actions { margin-top: 30px; display: flex; align-items: center; gap: 17px; }
.engine-actions > span { max-width: 175px; color: var(--muted); font-size: 0.57rem; line-height: 1.45; }
.engine-stack { padding: 10px; border-radius: 19px; background: #eaf0eb; transform: rotate(-1.2deg); }
.engine-stack > div { min-height: 76px; padding: 15px 18px; display: grid; align-content: center; gap: 3px; border-radius: 11px; background: var(--paper); box-shadow: 0 4px 14px rgba(13,40,34,.05); }
.engine-stack > div + div { margin-top: 7px; }
.engine-stack span { color: var(--safe); font-size: 0.53rem; font-weight: 900; letter-spacing: .11em; }
.engine-stack strong { font-size: .73rem; }

.resource-faq { padding-bottom: var(--section-space); }
.resource-faq-list { border-top: 1px solid var(--line); }
.resource-faq-list details { border-bottom: 1px solid var(--line); }
.resource-faq-list summary { min-height: 82px; padding: 0 46px 0 0; display: flex; align-items: center; position: relative; color: var(--ink); font-size: 0.88rem; font-weight: 850; list-style: none; cursor: pointer; }
.resource-faq-list summary::-webkit-details-marker { display: none; }
.resource-faq-list summary::before,
.resource-faq-list summary::after { content: ""; width: 13px; height: 2px; position: absolute; right: 10px; background: var(--safe); transition: transform 180ms ease; }
.resource-faq-list summary::after { transform: rotate(90deg); }
.resource-faq-list details[open] summary::after { transform: rotate(0); }
.resource-faq-list details p { max-width: 850px; margin: -4px 0 27px; color: var(--ink-soft); font-size: 0.79rem; line-height: 1.75; }

.resource-closing { padding-bottom: 15px; }
.resource-closing-card { min-height: 390px; padding: clamp(38px, 6vw, 78px); display: flex; align-items: center; justify-content: space-between; gap: 46px; border-radius: 29px; color: white; background: radial-gradient(circle at 78% 10%, rgba(217,255,103,.16), transparent 18rem), var(--forest); }
.resource-closing-card h2 { max-width: 770px; }
.resource-closing-card p:not(.eyebrow) { max-width: 630px; margin: 22px 0 0; color: #adc1bb; }
.resource-closing-card > .button { flex: 0 0 auto; }
.resource-footer { margin-top: 80px; }
.resource-mobile-cta { display: none; }

/* Long-form pricing guide */
.reading-progress { width: 0; height: 3px; position: fixed; top: 0; left: 0; z-index: 120; background: var(--lime); box-shadow: 0 0 12px rgba(217,255,103,.5); }
.article-hero {
  min-height: 765px;
  padding: clamp(76px, 8vw, 118px) 0 clamp(86px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .78fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}
.article-hero-copy h1 { max-width: 810px; }
.article-meta { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 8px 19px; color: var(--muted); font-size: 0.62rem; }
.article-meta span + span::before { content: ""; width: 3px; height: 3px; margin-right: 19px; display: inline-block; vertical-align: middle; border-radius: 50%; background: #9dadA8; }

.method-board { padding: 13px; border: 1px solid rgba(16,42,38,.13); border-radius: 25px; background: rgba(255,253,247,.72); box-shadow: var(--shadow-md); transform: rotate(.7deg); }
.method-board-top { min-height: 51px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-radius: 14px 14px 0 0; color: #a7bdb6; background: var(--forest); font-size: .55rem; font-weight: 900; letter-spacing: .1em; }
.method-board-top i { color: var(--lime); font-style: normal; }
.method-board ol { margin: 0; padding: 9px 17px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--paper); list-style: none; }
.method-board li { min-height: 66px; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.method-board li:last-child { border-bottom: 0; }
.method-board li > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: var(--forest); background: var(--lime); font-size: .52rem; font-weight: 900; }
.method-board li > div { display: grid; gap: 2px; }
.method-board strong { font-size: .7rem; }
.method-board small { color: var(--muted); font-size: .55rem; }

.guide-layout { padding: var(--section-space) 0; display: grid; grid-template-columns: minmax(0, 920px); justify-content: center; align-items: start; gap: clamp(54px, 6vw, 76px); }
.article-toc { padding: 0; position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,247,.82); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }
.article-toc > span { grid-column: 1 / -1; padding: 18px 22px 14px; color: var(--safe); border-bottom: 1px solid var(--line); font-size: .54rem; font-weight: 900; letter-spacing: .11em; }
.article-toc > a:not(.button) { min-height: 54px; padding: 10px 13px; display: flex; align-items: center; justify-content: flex-start; color: var(--ink-soft); text-decoration: none; font-size: .61rem; font-weight: 780; line-height: 1.35; }
.article-toc > a:not(.button) + a:not(.button) { border-left: 1px solid var(--line); }
.article-toc > a:not(.button):nth-of-type(n + 4) { border-top: 1px solid var(--line); }
.article-toc > a:not(.button):nth-of-type(4) { border-left: 0; }
.article-toc > a:hover { color: var(--safe); }
.article-toc > div { grid-column: 1 / -1; margin: 0; padding: 15px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; border-radius: 0; color: white; background: var(--forest); }
.article-toc > div small { color: #a9bdb7; font-size: .57rem; line-height: 1.45; }
.article-toc .button { min-height: 42px; padding-inline: 18px; font-size: .62rem; }

.article-body { width: 100%; max-width: 900px; min-width: 0; margin-inline: auto; }
.article-section { padding-bottom: 74px; scroll-margin-top: 110px; }
.article-section + .article-section { padding-top: 10px; }
.article-kicker { margin: 0 0 17px; color: var(--safe); font-size: .61rem; font-weight: 900; letter-spacing: .12em; }
.article-body h2 { max-width: 820px; font-size: clamp(2.35rem, 3.8vw, 3.55rem); line-height: 1.01; }
.article-body h3 { margin: 0; font-size: 1.3rem; }
.article-body p { color: var(--ink-soft); font-size: .92rem; line-height: 1.82; }
.article-section > p { max-width: 760px; }
.article-body p a { color: var(--safe); font-weight: 750; }
.article-body h2 + p { margin-top: 25px; }

.article-formula { margin: 36px 0; padding: 26px; display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); box-shadow: var(--shadow-sm); }
.article-formula > div { padding: 20px; display: grid; gap: 5px; border-radius: 12px; background: #edf2ed; }
.article-formula > div small { color: var(--safe); font-size: .55rem; font-weight: 900; letter-spacing: .1em; }
.article-formula > div strong { font-size: 1rem; letter-spacing: -.02em; }
.article-formula > span { color: var(--safe); font-weight: 900; text-align: center; }
.article-formula .article-formula-result { color: white; background: var(--forest); }
.article-formula .article-formula-result small { color: var(--lime); }
.article-note { padding: 18px 20px; border-left: 3px solid var(--lime-dark); border-radius: 0 10px 10px 0; background: #eef3eb; font-size: .78rem !important; }

.article-step { padding: 35px 0; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 24px; border-bottom: 1px solid var(--line); }
.article-step:first-of-type { margin-top: 25px; border-top: 1px solid var(--line); }
.article-step > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; color: var(--forest); background: var(--lime); font-size: .61rem; font-weight: 900; }
.article-step p { margin: 12px 0 0; font-size: .82rem; }
.inline-equation { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: rgba(255,255,255,.5); font-size: .65rem; font-weight: 800; }

#steps { display: grid; grid-template-columns: 1fr; gap: 0; }
#steps > .article-kicker,
#steps > h2 { grid-column: 1; }
#steps > h2 { max-width: 760px; margin-bottom: 24px; }
#steps .article-step { min-height: 0; margin: 0; padding: 27px 0; grid-template-columns: 52px minmax(0, 1fr); gap: 19px; align-content: start; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
#steps .article-step:last-child { border-bottom: 1px solid var(--line); }
#steps .article-step:first-of-type { margin-top: 0; border-top: 1px solid var(--line); }
#steps .article-step > span { width: 40px; height: 40px; }

.article-cta { margin: 0 0 95px; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 20px; color: white; background: var(--forest); box-shadow: var(--shadow-md); }
.article-cta span { color: var(--lime); font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.article-cta h3 { margin-top: 8px; font-size: 1.35rem; }
.article-cta p { margin: 7px 0 0; color: #9eb5ae; font-size: .65rem; }
.article-cta .button { flex: 0 0 auto; }

.example-card { margin: 34px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow-sm); }
.example-card-head { min-height: 75px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; background: var(--forest); }
.example-card-head > div { display: grid; gap: 4px; }
.example-card-head span { color: var(--lime); font-size: .53rem; font-weight: 900; letter-spacing: .1em; }
.example-card-head strong { font-size: .84rem; }
.example-card-head small { color: #9eb4ae; font-size: .55rem; }
.example-line { min-height: 72px; padding: 13px 20px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.example-line > span { font-size: .72rem; font-weight: 820; }
.example-line > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.example-line small { color: var(--muted); font-size: .59rem; }
.example-line strong { font-size: .73rem; }
.example-line.example-cost { background: #eef3eb; }
.example-line.example-cost strong { font-size: .95rem; }
.example-result { padding: 23px 20px; display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 14px; color: white; background: #123c33; }
.example-result > div { padding-left: 15px; display: grid; align-content: center; gap: 4px; border-left: 1px solid rgba(255,255,255,.12); }
.example-result > div:first-child { padding-left: 0; border-left: 0; }
.example-result small { color: var(--lime); font-size: .49rem; font-weight: 900; letter-spacing: .08em; }
.example-result strong { font-size: .75rem; }
.example-result span { color: #9cb3ac; font-size: .51rem; }
.example-result b { font-size: .82rem; }

.margin-comparison { margin: 34px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.margin-comparison > div { min-height: 135px; padding: 22px; display: grid; align-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.margin-comparison span { color: var(--muted); font-size: .54rem; font-weight: 900; letter-spacing: .1em; }
.margin-comparison strong { font-size: 1.05rem; letter-spacing: -.03em; }
.margin-comparison small { color: var(--muted); font-size: .6rem; }
.margin-comparison .is-correct { border-color: #b9d8c7; background: var(--safe-bg); }
.margin-comparison .is-correct span { color: var(--safe); }

.mistake-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mistake-grid article { min-height: 155px; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.mistake-grid article:last-child { grid-column: 1 / -1; min-height: 125px; }
.mistake-grid span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--safe); background: #e8f2e9; font-size: .55rem; font-weight: 900; }
.mistake-grid h3 { margin-top: 15px; font-size: .98rem; }
.mistake-grid p { margin: 9px 0 0; font-size: .72rem; line-height: 1.65; }

.engine-inline { margin: 30px 0; padding: 20px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.engine-inline > div { flex: 1; display: grid; gap: 4px; }
.engine-inline span { color: var(--safe); font-size: .5rem; font-weight: 900; letter-spacing: .1em; }
.engine-inline strong { font-size: .66rem; }
.engine-inline i { color: #9aaaA5; font-style: normal; }
.article-faq { margin-top: 25px; }

/* Motion is progressive enhancement only */
.reveal-ready .reveal-item { opacity: 0; transform: translateY(18px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .resource-hero { grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr); gap: 44px; }
  .article-hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr); gap: 44px; }
  .resource-dark-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
  .engine-panel { grid-template-columns: 1fr 370px; gap: 48px; }
}

@media (max-width: 880px) {
  .resource-page h1 { font-size: clamp(3.6rem, 11vw, 5.5rem); }
  .resource-hero,
  .article-hero { min-height: auto; grid-template-columns: 1fr; gap: 64px; }
  .resource-hero-copy,
  .article-hero-copy { max-width: 760px; }
  .quote-blueprint { width: min(680px, 100%); justify-self: center; }
  .method-board { width: min(600px, 100%); justify-self: center; }
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .signal-grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .resource-dark-grid,
  .engine-panel { grid-template-columns: 1fr; }
  .formula-card { max-width: 650px; }
  .engine-stack { width: min(590px, 100%); transform: none; }
  .resource-closing-card { align-items: flex-start; flex-direction: column; }
  .guide-layout { grid-template-columns: 1fr; }
  .article-toc { padding: 13px; position: static; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .article-toc > span { grid-column: 1 / -1; padding: 4px 5px 13px; border-bottom: 0; }
  .article-toc > a:not(.button) { padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
  .article-toc > a:not(.button) + a:not(.button) { border-left: 1px solid var(--line); }
  .article-toc > div { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
  .article-body { max-width: 760px; margin-inline: auto; }
  #steps { grid-template-columns: 1fr; }
  #steps > .article-kicker,
  #steps > h2 { grid-column: 1; }
  #steps .article-step { min-height: 0; }
}

@media (max-width: 650px) {
  .resource-page { padding-bottom: 75px; }
  .resource-page h1 { font-size: clamp(3.15rem, 14.8vw, 4.45rem); }
  .resource-page h2 { font-size: clamp(2.65rem, 12vw, 3.75rem); }
  .breadcrumbs { margin-bottom: 35px; }
  .resource-hero,
  .article-hero { padding: 60px 0 82px; gap: 50px; }
  .resource-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .resource-proof-list { display: grid; grid-template-columns: 1fr 1fr; }
  .quote-blueprint { padding: 8px; border-radius: 20px; transform: none; }
  .quote-blueprint::before { display: none; }
  .blueprint-bar { min-height: 46px; padding-inline: 12px; }
  .blueprint-client { padding: 18px 14px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .blueprint-body { padding: 8px; grid-template-columns: 1fr; }
  .blueprint-result { min-height: 220px; }
  .blueprint-foot { padding-inline: 12px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div { min-height: 100px; padding: 20px 14px; }
  .signal-grid > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .resource-intro { margin-bottom: 40px; }
  .comparison-shell { overflow-x: auto; border-radius: 18px; }
  .comparison-heading,
  .comparison-row { min-width: 690px; }
  .resource-dark-grid { gap: 38px; }
  .formula-card { padding: 24px; }
  .formula-example { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }
  .feature-ledger-item { grid-template-columns: 52px 1fr; }
  .feature-ledger-item > div { grid-template-columns: 1fr; gap: 10px; }
  .engine-panel { padding: 27px 22px; border-radius: 21px; }
  .engine-actions { align-items: flex-start; flex-direction: column; }
  .resource-faq-list summary { min-height: 75px; font-size: .8rem; }
  .resource-closing-card { min-height: 420px; padding: 31px 24px; border-radius: 22px; }
  .resource-closing-card > .button { width: 100%; }
  .resource-footer { margin-top: 13px; }
  .resource-mobile-cta { height: 65px; padding: 8px 10px 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; position: fixed; right: 8px; bottom: 8px; left: 8px; z-index: 75; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: white; background: rgba(11,37,32,.96); box-shadow: 0 18px 50px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
  .resource-mobile-cta > div { min-width: 0; display: grid; }
  .resource-mobile-cta span { color: #98aea7; font-size: .53rem; letter-spacing: .08em; text-transform: uppercase; }
  .resource-mobile-cta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .69rem; }
  .resource-mobile-cta .button { min-height: 42px; flex: 0 0 auto; }
  .article-meta { display: grid; gap: 4px; }
  .article-meta span + span::before { display: none; }
  .article-hero { padding-bottom: 74px; }
  .method-board { transform: none; }
  .guide-layout { padding-top: 78px; }
  .article-toc { grid-template-columns: 1fr 1fr; }
  .article-toc > div { grid-template-columns: 1fr; }
  .article-section { padding-bottom: 75px; }
  .article-step { grid-template-columns: 45px minmax(0, 1fr); gap: 15px; }
  .article-step > span { width: 38px; height: 38px; }
  .article-cta { padding: 24px; align-items: flex-start; flex-direction: column; }
  .article-cta .button { width: 100%; }
  .example-card-head { align-items: flex-start; flex-direction: column; }
  .example-line { grid-template-columns: 1fr; gap: 5px; }
  .example-line > div { grid-template-columns: 1fr auto; }
  .example-result { grid-template-columns: 1fr 1fr; }
  .example-result > div { min-height: 55px; padding-left: 0; border-left: 0; }
  .example-result > div:first-child { grid-column: 1 / -1; }
  .margin-comparison,
  .mistake-grid { grid-template-columns: 1fr; }
  .mistake-grid article,
  .mistake-grid article:last-child { grid-column: auto; min-height: 0; }
  .engine-inline { align-items: stretch; flex-direction: column; }
  .engine-inline i { transform: rotate(90deg); align-self: flex-start; }
}

@media (max-width: 390px) {
  .resource-page h1 { font-size: 3.2rem; }
  .resource-proof-list { grid-template-columns: 1fr; }
  .article-toc { grid-template-columns: 1fr; }
  .example-result { grid-template-columns: 1fr; }
  .example-result > div:first-child { grid-column: auto; }
}

/* Compact editorial system: information-dense without sacrificing readability */
.pricing-guide-page .article-hero {
  min-height: 0;
  padding-top: clamp(70px, 7vw, 94px);
  padding-bottom: clamp(74px, 7vw, 96px);
}
.pricing-guide-page .guide-layout {
  padding-top: clamp(62px, 6vw, 78px);
  padding-bottom: clamp(72px, 7vw, 92px);
  gap: clamp(45px, 5vw, 60px);
}
.pricing-guide-page .article-toc > span { padding-block: 14px 11px; }
.pricing-guide-page .article-toc > a:not(.button) { min-height: 48px; }
.pricing-guide-page .article-toc > div { padding-block: 12px; }
.pricing-guide-page .article-body h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 3.35vw, 3.2rem);
  line-height: 1.03;
}
.pricing-guide-page .article-body h3 { font-size: 1.16rem; }
.pricing-guide-page .article-body p { font-size: .86rem; line-height: 1.68; }
.pricing-guide-page .article-section { padding-bottom: 54px; }
.pricing-guide-page .article-section + .article-section { padding-top: 0; }
.pricing-guide-page .article-kicker { margin-bottom: 13px; }
.pricing-guide-page .article-body h2 + p { margin-top: 18px; }
.pricing-guide-page .article-formula { margin: 25px 0; padding: 20px; }
.pricing-guide-page .article-formula > div { padding: 16px 18px; }
.pricing-guide-page #steps > h2 { margin-bottom: 17px; }
.pricing-guide-page #steps .article-step { padding-block: 21px; }
.pricing-guide-page #steps .article-step p { margin-top: 8px; }
.pricing-guide-page .inline-equation { margin-top: 12px; padding: 10px 12px; }
.pricing-guide-page .article-cta { margin-bottom: 54px; padding: 22px 24px; border-radius: 17px; }
.pricing-guide-page .article-cta h3 { font-size: 1.2rem; }
.pricing-guide-page .example-card { margin: 25px 0; }
.pricing-guide-page .example-card-head { min-height: 62px; padding: 13px 18px; }
.pricing-guide-page .example-line { min-height: 58px; padding: 10px 18px; }
.pricing-guide-page .example-result { padding: 18px; }
.pricing-guide-page .margin-comparison { margin: 0; grid-template-columns: 1fr; gap: 9px; }
.pricing-guide-page .margin-comparison > div { min-height: 0; padding: 18px; }
.pricing-guide-page #markup-vs-margin {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
  grid-template-rows: auto auto auto 1fr;
  align-items: start;
  column-gap: 42px;
}
.pricing-guide-page #markup-vs-margin > .article-kicker,
.pricing-guide-page #markup-vs-margin > h2,
.pricing-guide-page #markup-vs-margin > p { grid-column: 1; }
.pricing-guide-page #markup-vs-margin > .margin-comparison {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
}
.pricing-guide-page .mistake-grid {
  margin-top: 24px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.pricing-guide-page .mistake-grid article,
.pricing-guide-page .mistake-grid article:last-child {
  min-height: 0;
  padding: 18px;
  grid-column: span 2;
}
.pricing-guide-page .mistake-grid article:nth-child(4),
.pricing-guide-page .mistake-grid article:nth-child(5) { grid-column: span 3; }
.pricing-guide-page .mistake-grid h3 { margin-top: 12px; font-size: .9rem; }
.pricing-guide-page .mistake-grid p { margin-top: 6px; font-size: .67rem; }
.pricing-guide-page .engine-inline { margin: 22px 0; padding: 16px 18px; }
.pricing-guide-page .article-faq { margin-top: 18px; }
.pricing-guide-page .article-faq summary { min-height: 68px; }
.pricing-guide-page .resource-closing-card {
  min-height: 310px;
  padding: clamp(34px, 5vw, 58px);
}
.pricing-guide-page .resource-footer { margin-top: 42px; }

@media (max-width: 880px) {
  .pricing-guide-page #markup-vs-margin { display: block; }
  .pricing-guide-page #markup-vs-margin > .margin-comparison { margin: 24px 0; }
  .pricing-guide-page .mistake-grid { grid-template-columns: 1fr 1fr; }
  .pricing-guide-page .mistake-grid article,
  .pricing-guide-page .mistake-grid article:last-child,
  .pricing-guide-page .mistake-grid article:nth-child(4),
  .pricing-guide-page .mistake-grid article:nth-child(5) { grid-column: auto; }
  .pricing-guide-page .mistake-grid article:last-child { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  .pricing-guide-page .article-hero { padding-block: 52px 68px; }
  .pricing-guide-page .guide-layout { padding-block: 56px 68px; gap: 44px; }
  .pricing-guide-page .article-section { padding-bottom: 48px; }
  .pricing-guide-page .article-body h2 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .pricing-guide-page .article-toc > a:not(.button) { min-height: 44px; }
  .pricing-guide-page .article-cta { margin-bottom: 48px; }
  .pricing-guide-page .example-line { min-height: 0; }
  .pricing-guide-page .mistake-grid { grid-template-columns: 1fr; }
  .pricing-guide-page .mistake-grid article,
  .pricing-guide-page .mistake-grid article:last-child { grid-column: auto; }
  .pricing-guide-page .resource-closing-card { min-height: 0; padding: 30px 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-item { opacity: 1; transform: none; transition: none; }
}
