.email-resource-hero h1 { max-width: 20ch; }
.email-resource-hero .page-lead { max-width: 68ch; }
.email-breadcrumbs { margin-bottom: 2rem; font-size: .85rem; }
.email-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; list-style: none; }
.email-breadcrumbs li + li::before { content: "/"; margin-right: 1rem; opacity: .5; }
.email-resource-layout { display: grid; grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr); gap: 4rem; padding-block: 4rem; align-items: start; }
.email-resource-toc { display: grid; gap: .4rem; position: sticky; top: 6rem; max-height: calc(100dvh - 8rem); overflow-y: auto; padding: 1.5rem; border: 1px solid #dce5d8; border-radius: 1rem; background: #edf3e6; font-size: .9rem; }
.email-resource-toc a { display: flex; align-items: center; min-height: 44px; line-height: 1.5; text-underline-offset: .2em; }
.email-resource-body { max-width: 74ch; min-width: 0; }
.email-resource-body section { margin-bottom: 3.5rem; scroll-margin-top: 7rem; }
.email-resource-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.03em; margin-bottom: 1.25rem; }
.email-resource-body p, .email-resource-body li { line-height: 1.85; color: #435249; }
.email-resource-body p + p { margin-top: 1rem; }
.email-resource-body ol { padding-left: 1.5rem; }
.email-resource-body li { padding-left: .5rem; margin-block: 1rem; }
.email-resource-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem; }
.email-resource-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.email-resource-cards article { padding: 1.75rem; border: 1px solid #dce5d8; border-radius: 1.25rem; background: #fff; }
.email-resource-cards article:nth-child(3n + 2) { background: #eef0ff; border-color: #dce0fb; }
.email-resource-cards article:nth-child(3n + 3) { background: #edf3e6; }
.email-resource-cards h3 { font-size: 1.25rem; line-height: 1.35; }
.email-resource-cards h3 a { text-decoration: none; }
.email-resource-cards p { line-height: 1.7; margin-block: 1rem; color: #435249; }
.email-resource-faq { border-bottom: 1px solid #dce5d8; padding-block: 1.25rem; }
.email-resource-faq summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.email-resource-faq p { margin-top: 1rem; }
.product-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.mobile-menu-toggle { display: none; }
.product-status { display: inline-flex; align-items: center; padding: .3rem .65rem; border: 1px solid #b7c5ad; border-radius: 2rem; background: #edf3e6; color: #30402e; font-size: .75rem; font-weight: 650; white-space: nowrap; }
.product-hero .product-card-top { justify-content: flex-start; }
.product-hero h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); max-width: 20ch; }
.product-hero .page-lead { max-width: 60ch; }
.product-hero .page-actions .button { white-space: normal; text-align: center; }
.product-preview { background: #f3f5ef; color: #10201a; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.5rem; border: 1px solid #c6d6c1; box-shadow: 0 20px 70px #0002; min-width: 0; }
.product-preview-input, .product-preview-output { display: grid; gap: .75rem; padding: 1.4rem; border-radius: 1rem; background: #fff; overflow-wrap: anywhere; }
.product-preview-input { margin-top: 1.5rem; }
.product-preview-output { background: #d7f6bd; }
.product-preview small { font-size: .7rem; letter-spacing: .12em; font-weight: 700; }
.product-preview strong { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.4; }
.product-preview-connector { text-align: center; padding: .5rem; color: #16724a; font-size: 2rem; }
.product-preview p { font-size: .8rem; color: #435249; margin: 1rem 0 0; }
.product-hero .product-preview .kicker { color: #16724a; }
.product-family-nav, .product-inline-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.product-family-nav { margin-block: 1.5rem 2rem; }
.product-family-nav a, .product-inline-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .85rem; border: 1px solid #b7c5ad; border-radius: 2rem; font-size: .85rem; font-weight: 600; }
.product-family-nav a:hover, .product-inline-links a:hover { background: #d7f6bd; }
.product-family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product-family-grid article { padding: 2rem; background: #e8ede2; border-radius: 1.25rem; scroll-margin-top: 7rem; }
.product-family-grid h2 { font-size: 1.5rem; margin-block: 1rem .5rem; }
.product-family-grid p { margin-bottom: 1rem; }
.product-family-grid .text-link { margin-right: 1.25rem; min-height: 44px; }
.product-symbol { display: inline-flex; align-items: center; justify-content: center; min-width: 3.5rem; height: 3.5rem; padding: .5rem; border-radius: 1rem; background: #10201a; color: #baff72; font-weight: 800; }
.product-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; counter-reset: product-step; }
.product-steps li { counter-increment: product-step; padding: 1.75rem; border: 1px solid #dce5d8; background: #fff; border-radius: 1.25rem; font-weight: 650; font-size: 1.2rem; }
.product-steps li::before { content: "0" counter(product-step); display: block; color: #16724a; font-size: .8rem; margin-bottom: 1rem; }
.product-scenario { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.product-scenario h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; margin-block: .75rem 1rem; }
.product-scenario p { max-width: 60ch; line-height: 1.8; margin-bottom: 1rem; }
.product-boundary { background: #eef0ff; padding: 2rem; border-radius: 1.25rem; }
.product-doc-link { margin-top: 1.5rem; }
.product-code-details { padding: 1.25rem; background: #10231b; color: #fff; border-radius: 1rem; min-width: 0; }
.product-code-details summary { cursor: pointer; min-height: 44px; font-weight: 650; }
.product-takeaways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-block: 2rem; }
.product-takeaways article { padding: 1.5rem; border-left: 4px solid #78c72e; border-radius: 0 1rem 1rem 0; background: #e8ede2; }
.product-takeaways article:nth-child(2) { border-color: #5c7cff; background: #eef0ff; }
.product-takeaways article:nth-child(3) { border-color: #ff6b4a; background: #fff0e7; }
.product-takeaways p { margin: .75rem 0 0; font-weight: 600; line-height: 1.6; }
.email-resource-detail { margin-top: 1rem; padding: 1rem 1.25rem; background: #e8ede2; border-radius: .75rem; }
.email-resource-detail summary { cursor: pointer; color: #16724a; font-weight: 600; min-height: 44px; }
.email-resource-detail p { margin-top: 1rem; }
.email-resource-body ol { display: grid; gap: .75rem; padding: 0; list-style-position: inside; }
.email-resource-body ol li { margin: 0; padding: 1.25rem; background: #fff; border: 1px solid #dce5d8; border-radius: .75rem; }
.product-contact-context { padding: 1rem; background: #edf3e6; border-radius: .75rem; }
.product-catalogue .text-link, .email-resource-cards .text-link { min-height: 44px; }
.product-family-nav a:focus-visible, .product-inline-links a:focus-visible, .email-resource-detail summary:focus-visible, .product-code-details summary:focus-visible { outline: 3px solid #5c7cff; outline-offset: 4px; }
.api-reference .docs-nav { max-height: calc(100dvh - 8rem); overflow-y: auto; }
.api-reference .docs-content { min-width: 0; }
.mail-guide-body > section { margin-bottom: 2rem; padding: 1.5rem; border: 1px solid #dce5d8; border-radius: 1rem; background: #fff; }
.mail-guide-body > section > p { max-width: 72ch; }
@media (max-width: 760px) {
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem; background: transparent; border: 1px solid #b7c5ad; border-radius: .65rem; font-size: .8rem; cursor: pointer; }
  .site-header .nav-shell { position: relative; }
  .site-header .main-nav { display: none; }
  .site-header .main-nav.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; gap: .25rem; background: #f3f5ef; border: 1px solid #dce5d8; border-radius: 0 0 1rem 1rem; box-shadow: 0 20px 30px #10201a1a; }
  .site-header .main-nav.open a { display: flex; min-height: 44px; align-items: center; font-size: 1rem; }
  .api-reference .docs-nav { max-height: none; overflow: visible; }
}
.email-resource-toc a:focus-visible, .email-resource-cards a:focus-visible, .email-resource-faq summary:focus-visible { outline: 3px solid #5c7cff; outline-offset: 4px; }
@media (max-width: 900px) {
  .email-resource-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 2rem; }
  .email-resource-toc { position: static; max-height: none; overflow: visible; }
  .email-resource-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-scenario { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  #hero-title { font-size: clamp(2rem, 10vw, 3.75rem); }
  .email-resource-cards { grid-template-columns: 1fr; }
  .email-resource-hero .page-actions { align-items: stretch; }
  .email-resource-hero .button { white-space: normal; text-align: center; }
  .email-breadcrumbs { overflow-wrap: anywhere; }
  .product-family-grid, .product-steps, .product-takeaways { grid-template-columns: 1fr; }
  .product-family-grid article { padding: 1.5rem; }
  .product-hero .page-actions { align-items: stretch; }
  .product-hero h1 { font-size: clamp(2.25rem, 11vw, 3.5rem); }
}
