:root {
  --tp-ink: #0a0a0a;
  --tp-green: #16854b;
  --tp-green-dark: #0d6337;
  --tp-green-pale: #edf8f1;
  --tp-line: #dfe5e1;
  --tp-line-strong: #bdc9c1;
  --tp-white: #fff;
  --tp-header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tp-header-height) + 24px); }
body {
  margin: 0;
  background: var(--tp-white);
  color: var(--tp-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body, p, li, label, input, select, textarea, summary, figcaption { color: var(--tp-ink); }
img { max-width: 100%; height: auto; }
a { color: var(--tp-green-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: #084928; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #75c89a; outline-offset: 3px; }
::selection { background: #ccebd8; color: var(--tp-ink); }

h1, h2, h3, h4, h5, h6 {
  color: var(--tp-ink);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); margin: 0 0 1.35rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); margin: 3.5rem 0 1.1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 2.2rem 0 0.8rem; }
h4 { font-size: 1.15rem; margin: 1.8rem 0 0.65rem; }
p, ul, ol { margin-top: 0; margin-bottom: 1.2rem; }
strong { font-weight: 800; }
hr { border: 0; border-top: 1px solid var(--tp-line); margin: 2.5rem 0; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.tp-skip-link { position: fixed; top: 8px; left: 8px; z-index: 99999; padding: 10px 14px; background: var(--tp-ink); color: #fff; transform: translateY(-150%); }
.tp-skip-link:focus { transform: translateY(0); }
.tp-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Header */
.tp-site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--tp-line); }
.admin-bar .tp-site-header { top: 32px; }
.tp-site-header__inner { min-height: var(--tp-header-height); display: flex; align-items: center; gap: 28px; }
.tp-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--tp-ink); text-decoration: none; flex: 0 0 auto; }
.tp-brand:hover { color: var(--tp-ink); }
.tp-brand__mark { width: 46px; height: 46px; display: block; }
.tp-brand__logo { width: auto; height: 48px; display: block; }
.tp-brand__custom { width: auto; max-width: 260px; max-height: 56px; display: block; }
.tp-brand__name { font-size: 1.35rem; line-height: 1; font-weight: 850; letter-spacing: -0.035em; }
.tp-primary-navigation { margin-left: auto; }
.tp-primary-menu, .tp-primary-menu ul { list-style: none; padding: 0; margin: 0; }
.tp-primary-menu { display: flex; align-items: center; gap: 3px; }
.tp-primary-menu > li { position: relative; }
.tp-primary-menu a { display: block; padding: 12px 11px; color: var(--tp-ink); font-size: 0.91rem; line-height: 1.25; font-weight: 700; text-decoration: none; border-radius: 5px; }
.tp-primary-menu a:hover, .tp-primary-menu .current-menu-item > a, .tp-primary-menu .current-menu-ancestor > a { background: var(--tp-green-pale); color: var(--tp-green-dark); }
.tp-primary-menu .sub-menu { position: absolute; top: calc(100% + 7px); left: 0; z-index: 20; width: 265px; padding: 8px; background: #fff; border: 1px solid var(--tp-line-strong); box-shadow: 0 12px 30px rgba(0,0,0,.09); opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.tp-primary-menu .sub-menu .sub-menu { top: -9px; left: calc(100% + 8px); }
.tp-primary-menu li:hover > .sub-menu, .tp-primary-menu li:focus-within > .sub-menu, .tp-primary-menu li.is-submenu-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tp-primary-menu .sub-menu a { padding: 10px; font-weight: 650; }
.tp-submenu-toggle { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; position: absolute; right: 1px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; }
.tp-submenu-toggle::after { content: ""; display: block; width: 7px; height: 7px; border-right: 2px solid var(--tp-ink); border-bottom: 2px solid var(--tp-ink); transform: translateY(-2px) rotate(45deg); }
.tp-primary-menu > .menu-item-has-children > a { padding-right: 30px; }
.tp-menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--tp-line-strong); background: #fff; border-radius: 5px; padding: 10px; }
.tp-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--tp-ink); }

/* Shared content */
.tp-main { min-height: 52vh; padding: 62px 0 90px; }
.tp-prose { max-width: 800px; }
.tp-entry-header { margin-bottom: 36px; }
.tp-entry-meta { margin: 0 0 10px; color: var(--tp-green-dark); font-size: 0.88rem; font-weight: 750; }
.tp-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 30px; color: var(--tp-ink); font-size: .82rem; line-height: 1.45; }
.tp-breadcrumbs a { color: var(--tp-green-dark); }
.tp-breadcrumbs__separator { color: var(--tp-line-strong); }
.tp-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(36px, 6vw, 76px); align-items: start; }
.tp-article-content { min-width: 0; max-width: 800px; }
.tp-entry-meta-list { display: flex; flex-wrap: wrap; gap: 7px 20px; padding-top: 17px; border-top: 1px solid var(--tp-line); color: var(--tp-ink); font-size: .86rem; }
.tp-entry-meta-list span { color: var(--tp-ink); }
.tp-featured-image { margin: 0 0 40px; }
.tp-featured-image img { display: block; width: 100%; }
.tp-entry-content { min-width: 0; }
.tp-entry-content > :first-child { margin-top: 0; }
.tp-entry-content p, .tp-entry-content li { max-width: 76ch; }
.tp-entry-content blockquote { margin: 2rem 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--tp-green); }
.tp-entry-content table { width: 100%; border-collapse: collapse; }
.tp-entry-content th, .tp-entry-content td { padding: 12px 14px; border: 1px solid var(--tp-line); text-align: left; vertical-align: top; }
.tp-entry-content th { background: var(--tp-green-pale); font-weight: 800; }
.tp-entry-footer { padding-top: 24px; margin-top: 48px; border-top: 1px solid var(--tp-line); }
.wp-block-image img { display: block; }
.wp-block-button__link, .tp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border: 1px solid var(--tp-green); border-radius: 6px; background: var(--tp-green); color: #fff; font-weight: 800; text-decoration: none; }
.wp-block-button__link:hover, .tp-button:hover { background: var(--tp-green-dark); border-color: var(--tp-green-dark); color: #fff; }

/* Commercial pages and migrated native blocks */
.tp-commercial-main { padding: 0 0 104px; }
.tp-commercial-article { margin: 0; }
.tp-commercial-hero { margin: 0; padding: clamp(48px, 7vw, 78px) 0 clamp(44px, 6vw, 66px); border-bottom: 1px solid #cfe1d5; background: var(--tp-green-pale); }
.tp-commercial-hero__inner { position: relative; max-width: 1180px; padding-left: 30px; }
.tp-commercial-hero__inner::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 0; width: 5px; border-radius: 3px; background: var(--tp-green); }
.tp-commercial-hero h1 { max-width: 21ch; margin: 0 0 22px; font-size: clamp(2.65rem, 5.4vw, 4.8rem); }
.tp-commercial-hero .tp-page-intro, .tp-commercial-hero .tp-header { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.tp-commercial-hero .tp-page-intro__inner, .tp-commercial-hero .tp-header-grid, .tp-commercial-hero .tp-container { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.tp-commercial-hero .tp-lede, .tp-commercial-hero .tp-page-intro > p { max-width: 74ch; margin-bottom: 0; font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.65; }
.tp-commercial-hero .tp-submeta { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; }
.tp-commercial-hero .tp-submeta > * { margin: 0 !important; }
.tp-commercial-hero .tp-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 11px; border: 1px solid var(--tp-line-strong); border-radius: 999px; background: #fff; color: var(--tp-ink); font-size: .8rem; font-weight: 750; text-decoration: none; }
.tp-commercial-hero .tp-pill.tp-link { border-color: #a8cdb8; color: var(--tp-green-dark); }
.tp-commercial-hero .tp-content-grid, .tp-commercial-hero .tp-points { grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: clamp(34px, 6vw, 74px); margin: 0; align-items: center; }
.tp-commercial-hero .tp-content-card, .tp-commercial-hero .tp-point { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

.tp-commercial-layout { display: grid; grid-template-columns: minmax(0, 790px) 320px; justify-content: space-between; gap: clamp(34px, 4vw, 58px); align-items: start; }
.tp-commercial-content { min-width: 0; }
.tp-commercial-content p, .tp-commercial-content li { max-width: none; }
.tp-commercial-content .tp-page { color: var(--tp-ink) !important; background: #fff !important; font-family: inherit !important; line-height: inherit; overflow: visible !important; }
.tp-commercial-content .tp-container { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.tp-commercial-content .tp-grid { display: block !important; padding: 0 !important; }
.tp-commercial-content .tp-aside, .tp-commercial-content > .tp-header { display: none !important; }

.tp-commercial-content .tp-section, .tp-content-section { margin: 0 !important; padding: clamp(44px, 5vw, 62px) 0 !important; border: 0 !important; border-bottom: 1px solid var(--tp-line) !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; overflow: visible !important; }
.tp-commercial-content .tp-section:last-child, .tp-content-section:last-child { border-bottom: 0 !important; }
.tp-commercial-content .tp-section-head, .tp-commercial-content .tp-section-body, .tp-content-section__head, .tp-content-section__body { margin: 0 !important; padding: 0 !important; }
.tp-commercial-content .tp-section-head, .tp-content-section__head { margin-bottom: 34px !important; }
.tp-commercial-content .tp-section-head h2, .tp-content-section__head > h2:first-child, .tp-content-section > h2:first-child { max-width: none; margin: 0 0 17px; font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: wrap; }
.tp-commercial-content .tp-section-head p, .tp-content-section__head > p { max-width: none; margin-bottom: 0; font-size: 1.04rem; line-height: 1.75; }
.tp-commercial-content .tp-section-body > h3, .tp-content-section__body > h3 { margin: 45px 0 16px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.tp-commercial-content .tp-section-body > h3:first-child, .tp-content-section__body > h3:first-child { margin-top: 0; }

.tp-commercial-content .tp-points, .tp-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; gap: 22px; margin: 25px 0 0 !important; }
.tp-commercial-content .tp-points.tp-cols-3, .tp-content-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.tp-commercial-content .tp-points > *, .tp-content-grid > * { height: 100%; margin: 0 !important; }
.tp-commercial-content .tp-point, .tp-content-card { min-width: 0; padding: 26px !important; border: 1px solid #d9e5dd !important; border-radius: 12px !important; background: #fff !important; box-shadow: 0 8px 26px rgba(12, 48, 29, .055) !important; color: var(--tp-ink) !important; }
.tp-commercial-content .tp-point > :first-child, .tp-content-card > :first-child { margin-top: 0 !important; }
.tp-commercial-content .tp-point > :last-child, .tp-content-card > :last-child { margin-bottom: 0 !important; }
.tp-commercial-content .tp-point h3, .tp-commercial-content .tp-point h4, .tp-content-card > h3, .tp-content-card > h4 { margin: 0 0 13px !important; color: var(--tp-ink); font-size: 1.22rem; line-height: 1.3; font-weight: 850; }
.tp-commercial-content .tp-point > strong:first-child, .tp-content-card > p:first-child > strong:only-child { display: block; margin: 0 0 13px; font-size: 1.22rem; line-height: 1.3; }
.tp-commercial-content .tp-point p, .tp-content-card p { line-height: 1.65; }
.tp-commercial-content .span-2 { grid-column: span 2; }

.tp-commercial-content ul:not(.tp-checklist), .tp-commercial-hero ul:not(.tp-checklist) { padding-left: 1.25em; }
.tp-commercial-content ul:not(.tp-checklist) li::marker, .tp-commercial-hero ul:not(.tp-checklist) li::marker { color: var(--tp-green); }
.tp-commercial-content .tp-checklist { display: grid; gap: 0; margin: 24px 0 34px !important; padding: 0 !important; list-style: none !important; }
.tp-commercial-content .tp-checklist li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 14px; max-width: none; margin: 0; padding: 15px 0; border-bottom: 1px solid var(--tp-line); list-style: none !important; }
.tp-commercial-content .tp-checklist li::marker { content: ""; }
.tp-commercial-content .tp-check { position: relative; display: block; width: 20px; height: 20px; margin: 4px 0 0; border: 2px solid var(--tp-green); border-radius: 50%; }
.tp-commercial-content .tp-check::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--tp-green); font-size: 13px; line-height: 1; font-weight: 900; }
.tp-commercial-content .tp-checklist-danger .tp-check { border-color: #a61b1b; }
.tp-commercial-content .tp-checklist-danger .tp-check::after { content: "−"; color: #a61b1b; font-size: 17px; line-height: 1; font-weight: 900; }

.tp-commercial-content .tp-steps { display: grid; gap: 0; margin-top: 28px; }
.tp-commercial-content .tp-step { position: relative; display: grid !important; grid-template-columns: 54px minmax(0,1fr) !important; gap: 22px !important; margin: 0 !important; padding: 0 0 34px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.tp-commercial-content .tp-step:not(:last-child)::after { content: ""; position: absolute; top: 48px; bottom: 5px; left: 26px; width: 2px; background: #d8e7de; }
.tp-commercial-content .tp-stepnum { position: relative; z-index: 1; width: 54px !important; height: 54px !important; display: grid !important; place-items: center; margin: 0 !important; border: 2px solid var(--tp-green) !important; border-radius: 50% !important; background: #fff !important; color: var(--tp-green-dark) !important; font-size: 1rem; line-height: 1; font-weight: 850; }
.tp-commercial-content .tp-step__content { min-width: 0; margin: 0 !important; padding: 2px 0 0 !important; }
.tp-commercial-content .tp-step__content > h3:first-child, .tp-commercial-content .tp-step > h3 { margin: 0 0 8px !important; font-size: 1.3rem; line-height: 1.3; }
.tp-commercial-content .tp-step__content > p:last-child { margin-bottom: 0; }

.tp-commercial-content .tp-metric { display: grid !important; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 18px; margin: 0 !important; padding: 11px 0 !important; border: 0 !important; border-bottom: 1px solid var(--tp-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.tp-commercial-content .tp-metric:last-child { border-bottom: 0 !important; }
.tp-commercial-content .tp-metric > *, .tp-commercial-content .tp-metric p { margin: 0 !important; }
.tp-commercial-content .tp-metric__label, .tp-commercial-content .tp-metric > span { font-size: .88rem; line-height: 1.4; }
.tp-commercial-content .tp-metric__value, .tp-commercial-content .tp-metric > strong { color: var(--tp-green-dark); font-size: .96rem; font-weight: 850; text-align: right; white-space: nowrap; }
.tp-commercial-content .tp-content-card--data > p { font-size: .94rem; }

.tp-commercial-content .tp-footnote, .tp-content-note { margin: 30px 0 0 !important; padding: 22px 24px !important; border: 0 !important; border-left: 4px solid var(--tp-green) !important; border-radius: 0 8px 8px 0 !important; background: var(--tp-green-pale) !important; color: var(--tp-ink) !important; font-size: .94rem !important; }
.tp-commercial-content .tp-faq details, .tp-commercial-content .wp-block-details { margin: 0 0 12px; padding: 0; overflow: hidden; border: 1px solid var(--tp-line) !important; border-radius: 10px !important; background: #fff !important; }
.tp-commercial-content .tp-faq summary, .tp-commercial-content .wp-block-details summary { position: relative; padding: 18px 54px 18px 20px; color: var(--tp-ink) !important; font-weight: 800; line-height: 1.4; cursor: pointer; list-style: none; }
.tp-commercial-content .tp-faq summary::-webkit-details-marker, .tp-commercial-content .wp-block-details summary::-webkit-details-marker { display: none; }
.tp-commercial-content .tp-faq summary::after, .tp-commercial-content .wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--tp-green-dark); font-size: 1.45rem; font-weight: 500; }
.tp-commercial-content details[open] summary { background: var(--tp-green-pale); }
.tp-commercial-content details[open] summary::after { content: "−"; }
.tp-commercial-content .tp-faq-body, .tp-commercial-content .wp-block-details > :not(summary) { padding: 18px 20px !important; }
.tp-commercial-content .tp-chart { margin-top: 24px; padding: 22px; border: 1px solid var(--tp-line) !important; border-radius: 12px !important; background: #fff !important; }
.tp-commercial-content .tp-chart-placeholder { padding: 42px 20px; border: 1px dashed var(--tp-line-strong); border-radius: 8px; background: #f8fbf9; text-align: center; }

/* Old inline calculator remains readable until a page is migrated. */
.tp-commercial-content .tp-calc { margin-top: 24px; padding: 26px !important; border: 1px solid var(--tp-line) !important; border-radius: 12px !important; background: #f8fbf9 !important; }
.tp-commercial-content .tp-calc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.8fr); gap: 30px; }
.tp-commercial-content .tp-calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tp-commercial-content .tp-calc-inputs .span-2 { grid-column: 1 / -1; }
.tp-commercial-content .tp-field label { display: block; margin-bottom: 7px; color: var(--tp-ink) !important; font-size: .86rem; font-weight: 800; }
.tp-commercial-content .tp-input, .tp-commercial-content .tp-select { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid var(--tp-line-strong); border-radius: 7px; background: #fff; color: var(--tp-ink); }
.tp-commercial-content .tp-calc-out { padding: 20px !important; border: 0 !important; border-radius: 9px !important; background: var(--tp-green-pale) !important; }

/* Automatic TOC */
.tp-site-toc { position: sticky; top: calc(var(--tp-header-height) + 28px); max-height: none; margin-top: 44px; overflow: visible; align-self: start; }
.admin-bar .tp-site-toc { top: calc(var(--tp-header-height) + 60px); }
.tp-site-toc__desktop { padding: 22px 18px; border: 1px solid #d9e5dd; border-radius: 12px; background: #f8fbf9; }
.tp-site-toc__title { margin: 0 0 13px; color: var(--tp-ink); font-size: 1.08rem; font-weight: 850; letter-spacing: -.01em; }
.tp-site-toc nav { border-left: 1px solid #cadbd0; }
.tp-site-toc a { display: block; margin-left: -1px; padding: 8px 8px 8px 13px; border-left: 2px solid transparent; color: var(--tp-ink); font-size: .84rem; font-weight: 650; line-height: 1.35; text-decoration: none; }
.tp-site-toc a:hover, .tp-site-toc a.is-active { border-left-color: var(--tp-green); color: var(--tp-green-dark); }
.tp-site-toc__mobile { display: none; }

/* Listings */
.tp-listing { max-width: 1180px; }
.tp-listing__header { margin-bottom: 42px; }
.tp-post-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.tp-post-list__item { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tp-line); border-radius: 8px; background: #fff; }
.tp-post-list__item > div { padding: 21px; }
.tp-post-list__image { display: block; overflow: hidden; border-bottom: 1px solid var(--tp-line); }
.tp-post-list__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.tp-post-list h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.tp-post-list h2 a { color: var(--tp-ink); text-decoration: none; }
.tp-post-list h2 a:hover { color: var(--tp-green-dark); text-decoration: underline; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 6px 10px; border: 1px solid var(--tp-line-strong); color: var(--tp-ink); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--tp-green); border-color: var(--tp-green); color: #fff; }
.tp-error-page { text-align: center; padding-block: 50px; }
.tp-error-code { margin: 0; color: var(--tp-green); font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; line-height: 1; }

/* Footer */
.tp-site-footer { border-top: 1px solid var(--tp-line); background: #fff; }
.tp-site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 60px; padding-top: 62px; padding-bottom: 50px; }
.tp-site-footer h2 { margin: 20px 0 12px; font-size: 1rem; letter-spacing: 0; }
.tp-site-footer p, .tp-site-footer li { color: var(--tp-ink); font-size: .92rem; }
.tp-brand--footer + h2 { margin-top: 24px; }
.tp-footer-menu { list-style: none; margin: 0; padding: 0; }
.tp-footer-menu li { margin-bottom: 7px; }
.tp-site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 25px; border-top: 1px solid var(--tp-line); }
.tp-site-footer__bottom p { margin: 0; font-size: .8rem; }

@media (max-width: 1060px) {
  .tp-primary-menu a { padding-inline: 7px; font-size: .84rem; }
  .tp-commercial-content .tp-points.tp-cols-3, .tp-content-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  :root { --tp-header-height: 68px; }
  .admin-bar .tp-site-header { top: 46px; }
  .tp-shell { width: min(100% - 28px, 760px); }
  .tp-site-header__inner { min-height: var(--tp-header-height); }
  .tp-brand__mark { width: 41px; height: 41px; }
  .tp-brand__logo { height: 42px; }
  .tp-brand__name { font-size: 1.2rem; }
  .tp-menu-toggle { display: block; }
  .tp-primary-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--tp-header-height)); overflow: auto; padding: 12px 14px 20px; background: #fff; border-bottom: 1px solid var(--tp-line-strong); }
  .tp-primary-navigation.is-open { display: block; }
  .tp-primary-menu { display: block; }
  .tp-primary-menu a { padding: 12px 9px; font-size: .96rem; }
  .tp-primary-menu .sub-menu { display: none; position: static; width: auto; padding: 0 0 6px 16px; border: 0; border-left: 1px solid var(--tp-line); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .tp-primary-menu .is-submenu-open > .sub-menu { display: block; }
  .tp-submenu-toggle { width: 42px; height: 42px; right: 0; top: 50%; border: 1px solid var(--tp-line); border-radius: 4px; }
  .tp-main { padding: 42px 0 65px; }
  .tp-commercial-main { padding: 0 0 76px; }
  .tp-commercial-hero { margin-bottom: 0; padding-block: 45px; }
  .tp-commercial-hero .tp-content-grid, .tp-commercial-hero .tp-points { grid-template-columns: 1fr; align-items: start; }
  .tp-commercial-layout, .tp-article-layout { display: flex; flex-direction: column; gap: 0; }
  .tp-commercial-content { width: 100%; order: 2; }
  .tp-article-content { width: 100%; order: 2; }
  .tp-site-toc { position: static; width: 100%; max-height: none; order: 1; margin: 32px 0 0; overflow: visible; }
  .tp-site-toc__desktop { display: none; }
  .tp-site-toc__mobile { display: block; border: 1px solid var(--tp-line-strong); border-radius: 5px; }
  .tp-site-toc__mobile summary { padding: 12px 14px; font-weight: 800; cursor: pointer; }
  .tp-site-toc__mobile nav { margin: 0 12px 12px; }
  .tp-commercial-content .tp-header .tp-points.tp-cols-3 { grid-template-columns: 1fr; gap: 0; }
  .tp-commercial-content .tp-header .span-2 { grid-column: auto; }
  .tp-site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .tp-site-footer__grid > :first-child { grid-column: 1 / -1; }
  .tp-post-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.1rem, 11vw, 3.1rem); }
  .tp-commercial-hero h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .tp-commercial-content .tp-points, .tp-commercial-content .tp-points.tp-cols-3, .tp-content-grid, .tp-content-grid--3 { grid-template-columns: 1fr; }
  .tp-commercial-content .span-2 { grid-column: auto; }
  .tp-commercial-content .tp-point, .tp-content-card { padding: 22px !important; }
  .tp-commercial-content .tp-metric { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .tp-commercial-content .tp-step { grid-template-columns: 46px minmax(0,1fr) !important; gap: 16px !important; }
  .tp-commercial-content .tp-stepnum { width: 46px !important; height: 46px !important; }
  .tp-commercial-content .tp-step:not(:last-child)::after { top: 42px; left: 22px; }
  .tp-commercial-content .tp-calc-grid, .tp-commercial-content .tp-calc-inputs { grid-template-columns: 1fr; }
  .tp-commercial-content .tp-calc-inputs .span-2 { grid-column: auto; }
  .tp-post-list { grid-template-columns: 1fr; }
  .tp-site-footer__grid { grid-template-columns: 1fr; padding-top: 45px; }
  .tp-site-footer__grid > :first-child { grid-column: auto; }
  .tp-site-footer__bottom { display: block; }
  .tp-site-footer__bottom p + p { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
