/* Shared layouts for product, editorial, institutional and campaign pages. */
.interior-page { overflow-x: visible; }
.text-ink { color: var(--ink); }
.text-muted { color: var(--muted); }
.surface-soft { background: var(--surface); }
.border-soft { border-color: var(--line); }
.interior-page h1, .interior-page h2, .interior-page h3, .font-display { font-family: 'DM Sans', sans-serif; }
.interior-page main h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 550; line-height: 1.08; letter-spacing: -.05em; }
.interior-page main h2 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.2; }
.interior-page main h3 { font-size: 1.25rem; font-weight: 550; line-height: 1.35; }
.interior-page main p, .interior-page main li { font-size: 1rem; line-height: 1.75; }
.interior-page main .text-xs, .interior-page main .text-sm { font-size: .875rem; }
.interior-page main p.text-sm { font-size: 1rem; }
.interior-page main > section { padding-block: 76px; }
.interior-page main > section > .max-w-6xl { max-width: 1200px; }
.interior-page .hero-bg { background: var(--surface); background-image: none; border-bottom: 1px solid var(--line); }
.interior-page .hero-bg:first-child { background: #fff; }
.interior-page .hero-bg h1 span { color: #567669; }
.interior-page .hero-bg p { color: var(--muted); }
.interior-page .hero-bg nav { color: var(--muted); font-size: .875rem; flex-wrap: wrap; }
.interior-page .hero-bg nav a { color: var(--brand); }
.interior-page .hero-bg .text-center { text-align: left; }
.interior-page .hero-bg .justify-center { justify-content: flex-start; }
.interior-page .hero-bg .max-w-2xl { margin-left: 0; }
.interior-page .hero-bg .text-ink { color: var(--ink); }
.interior-page main section > div > h2.text-center { text-align: left; max-width: 760px; }
.interior-page .button { color: #fff; font-size: .9375rem; }
.button-secondary { color: var(--brand) !important; background: transparent; border-color: #c2d1c8; }
.button-secondary:hover { background: #e8f0eb; }
.interior-hero { border-bottom: 1px solid var(--line); background: #fff; }
.interior-page main > .interior-hero { padding: 36px 0 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .875rem; margin-bottom: 56px; }
.breadcrumbs a { color: var(--brand); }
.product-hero-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 80px; align-items: center; }
.interior-lead { margin-top: 28px; font-size: 1.125rem !important; max-width: 600px; line-height: 1.7; }
.product-path { padding: 32px; background: #f3f6f3; border: 1px solid var(--line); border-radius: 6px; }
.product-path ol { list-style: none; }
.product-path li { display: flex; align-items: center; gap: 16px; padding: 24px 0; border-top: 1px solid #d7e1d9; }
.product-path li > span { color: var(--brand); font-size: 1.1rem; }
.product-path strong { font-weight: 500; }
.product-path > p:last-child { font-size: .875rem; margin-top: 14px; }
.card { background: #fff; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.card:hover { transform: none; box-shadow: none; border-color: #97b4a4; }
.interior-page .card { padding-inline: 0; }
.surface-soft .card { background: transparent; }
.card h3 > .ui-icon { margin-right: .5rem; }
.interior-page main .grid { column-gap: 36px; row-gap: 32px; }
.feat-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; background: #edf3ee; color: var(--brand); border-radius: 6px; }
.ui-icon { display: inline-block; color: var(--brand); flex-shrink: 0; font-family: sans-serif; font-size: 1rem; }
.norm-badge, .cat-badge { display: inline-flex; color: var(--brand); font-size: .875rem; font-weight: 500; padding: 0; background: none; border: 0; border-radius: 0; }
.interior-page main details { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0; background: transparent; }
.interior-page main details summary { list-style: none; cursor: pointer; font-weight: 550; font-size: 1rem; }
.interior-page main details summary::-webkit-details-marker { display: none; }
.interior-page main details[open] summary { color: var(--brand); }
.interior-page main details p { margin-top: 18px; }
.interior-page main a:not(.button):hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.interior-page .hero-bg .norm-badge { margin-bottom: 24px; }
.blog-page .hero-bg > div { max-width: 1200px; }
.blog-page main > section:nth-of-type(2) > div { max-width: 1200px; }
.blog-page main > section:nth-of-type(2) .grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
.blog-page main > section:nth-of-type(2) .card h2 { font-size: 1.5rem; }
.blog-page main > section:nth-of-type(2) .card:first-child { grid-column: span 2; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.blog-page main > section:nth-of-type(2) .card:first-child h2 { font-size: 2rem; max-width: 600px; }
.reading-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; align-items: start; margin-bottom: 64px; }
.reading-layout > article { padding: 0; min-width: 0; }
.article-toc { position: sticky; top: 110px; }
.interior-page main .article-toc details { padding: 20px 0; border-top: 1px solid var(--line); }
.article-toc summary { font-size: .875rem !important; }
.article-toc nav { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.article-toc a { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.prose h2 { margin: 48px 0 20px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 16px; }
.interior-page main .prose p, .interior-page main .prose li { color: #45534c; font-size: 1.0625rem; line-height: 1.85; }
.prose p { margin-bottom: 22px; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 26px; }
.prose ol { list-style: decimal; padding-left: 24px; margin-bottom: 26px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ttable { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 24px 0; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin-block: 24px; }
.table-scroll .ttable { min-width: 560px; margin-block: 0; }
.ttable th { background: #edf2ee; color: var(--ink); font-size: .875rem; font-weight: 600; text-align: left; padding: 14px; border-bottom: 1px solid #bdcfc3; }
.ttable td { border-bottom: 1px solid var(--line); padding: 14px; color: var(--muted); vertical-align: top; }
.ttable tr:nth-child(even) { background: #fafbfa; }
.policy-page main { max-width: 850px; padding-block: 64px; }
.policy-page main > p { margin: 24px 0 48px; }
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.demo-copy { padding-top: 24px; }
.demo-copy h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); overflow-wrap: anywhere; }
.demo-note { color: var(--brand); font-size: .875rem; margin-top: 24px; }
.demo-page .contact-form { background: var(--surface); }
.demo-overview { border-block: 1px solid var(--line); }
.demo-overview h2 { font-size: 2.5rem; margin-bottom: 44px; }
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; flex: 1; }
.error-code { font-size: clamp(8rem, 20vw, 19rem); letter-spacing: -.09em; line-height: 1; font-weight: 500; color: #dce8df; }
.error-copy h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.error-copy > p:not(.eyebrow) { margin-top: 24px; }
@media (max-width: 1000px) {
  .product-hero-grid { gap: 40px; grid-template-columns: 1.2fr 1fr; }
  .product-path { padding: 24px; }
  .reading-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .demo-layout { gap: 40px; }
}
@media (max-width: 760px) {
  .interior-page main > section { padding-block: 52px; }
  .interior-page main > .interior-hero { padding-block: 28px 52px; }
  .breadcrumbs { margin-bottom: 36px; }
  .product-hero-grid, .demo-layout, .error-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-path li { padding-block: 16px; }
  .interior-page main h1 { font-size: 2.5rem; }
  .interior-page .hero-bg > div { text-align: left; }
  .blog-page main > section:nth-of-type(2) .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reading-layout { grid-template-columns: 1fr; gap: 28px; }
  .article-toc { position: static; }
  .article-toc nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .ttable { font-size: .875rem; }
  .ttable td, .ttable th { padding: 10px; }
  .error-code { font-size: 8rem; }
  .error-layout { padding-block: 52px; }
}
@media (max-width: 480px) {
  .interior-page main h1 { font-size: 2.125rem; overflow-wrap: break-word; }
  .interior-page main .grid:not(.form-grid) { column-gap: 20px; }
  .blog-page main > section:nth-of-type(2) .grid { grid-template-columns: 1fr; }
  .blog-page main > section:nth-of-type(2) .card:first-child { grid-column: auto; padding: 24px; }
  .blog-page main > section:nth-of-type(2) .card:first-child h2 { font-size: 1.7rem; }
  .article-toc nav { grid-template-columns: 1fr; }
  .demo-copy h1 { font-size: 2.5rem; }
}
