/* Inner-page patterns. Every value comes from the Version 4.1 tokens in site.css. */
.page-template-page-landing .wp-block-post-content > * { margin-block: 0; }
.page-template-page-landing .wp-block-post-content > .sec + .sec.sec-same { padding-top: 0; }

/* Section shell */
.sec { padding-block: clamp(44px, 5.6vw, 76px); }
.sec-mist { background: var(--mist); }
.sec-navy { background: var(--navy-900); }
.sec-blue { background: var(--blue-700); }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.sec-head h2 { font-size: clamp(1.625rem, 2.7vw, 2.25rem); }
.sec-head .lead { margin-top: 12px; }
.sec-head .sub-title { margin-top: 12px; color: var(--navy-900); font: 700 var(--fs-lg)/1.3 var(--font-head); }
.dark .sec-head .sub-title { color: var(--white); }
.sec h3 { font-size: var(--fs-lg); }
.sec p + p { margin-top: 12px; }
.sec h3 + p, .sec h3 + ul { margin-top: 6px; }
.sec-mist + .sec-mist { padding-top: 0; }
.sec-related { padding-block: 28px; }
.sec-related + * { margin-top: 0; }
.stack > * + * { margin-top: 14px; }
.sec a:not(.wp-block-button__link):not(.link-arrow):not(.wp-block-file__button) { text-underline-offset: 2px; }
.prose { max-width: 720px; }
.prose > * + * { margin-top: 12px; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 4px; }
.prose ul.ticks { padding-left: 0; list-style: none; }

/* Hero: same structure as the homepage hero, with one accent per family */
.phero { --accent: var(--cyan-400); position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); }
.phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(174, 190, 210, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(174, 190, 210, .06) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.phero-telecom { --accent: var(--gold-400); }
.phero-ms, .phero-company { --accent: var(--gold-300); }
.phero .wp-block-group.wrap { position: relative; }
.phero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 60px); }
.phero-solo .phero-inner { grid-template-columns: minmax(0, 860px); }
.phero h1 { font-size: clamp(2rem, 3.7vw, 3rem); }
.phero .eyebrow { margin-bottom: 10px; color: var(--accent); }
.phero .crumbs { margin-bottom: 18px; }
.phero .sub { max-width: 600px; margin-top: 16px; color: var(--on-dark); font-size: var(--fs-md); }
.phero .wp-block-buttons { margin-top: 24px; }
.phero-media .wp-block-image { margin: 0; }
.phero-media img { display: block; width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 18px 48px rgba(0, 0, 0, .3); }
.phero-media.is-photo img { object-fit: cover; background: transparent; }
.phero-media.is-logo img { max-width: 320px; max-height: 150px; padding: 22px 28px; margin-inline: auto; }
.brand-chip { display: inline-flex; margin-top: 18px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--white); }
.brand-chip.wp-block-image { margin-bottom: 0; }
.brand-chip img { width: 104px; height: auto; }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.brand-row .brand-chip { margin-top: 18px; padding: 6px 10px; }
.brand-row .review-note { margin: 18px 0 0; }
.phero .confirm { margin-left: 8px; vertical-align: middle; }
.ph-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ph-tile { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--r-md); background: var(--navy-800); }
.ph-tile p { margin: 0; color: var(--white); font: 700 var(--fs-base)/1.3 var(--font-head); }
.ph-tile .tbs-icon { color: var(--accent); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.wp-block-group { margin: 0; }
.card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color .16s ease, box-shadow .16s ease; }
.card:hover, .card:focus-within { border-color: var(--blue-700); box-shadow: var(--shadow); }
.card > .tbs-icon { align-self: flex-start; padding: 10px; border-radius: var(--r-sm); background: var(--blue-100); color: var(--blue-700); }
.card h3 { font-size: var(--fs-md); line-height: 1.3; }
.card p { margin: 0; color: var(--slate-600); }
.card p strong { color: var(--navy-900); }
.card ul, .card ol, .ticks { margin: 0; padding: 0; list-style: none; }
.card li, .ticks li { position: relative; margin-top: 6px; padding-left: 22px; line-height: 1.45; }
.card li::before, .ticks li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700); transform: rotate(-45deg); }
.dark .ticks li::before { border-color: var(--cyan-400); }
.card .wp-block-buttons { margin-top: auto; padding-top: 10px; }
.sec-mist .card, .sec-navy .card { background: var(--white); color: var(--navy-900); }
.card-link .link-arrow { margin-top: auto; }

.card .wp-block-quote, .split .wp-block-quote { margin: 8px 0; padding-left: 14px; border-left: 3px solid var(--gold-400); }
.card .wp-block-quote p { color: var(--navy-900); }

/* Plans */
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--navy-900); }
.plan.is-featured { border: 2px solid var(--blue-700); box-shadow: var(--shadow); }
.plan h3 { font-size: var(--fs-xl); font-weight: 800; }
.plan-best { color: var(--teal-600); font-size: var(--fs-sm); font-weight: 700; }
.plan-label { margin-top: 6px; font: 700 var(--fs-sm)/1.3 var(--font-body); }
.plan-note { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--slate-600); font-size: var(--fs-sm); font-style: italic; }
.plan-price { font: 800 var(--fs-lg)/1.2 var(--font-head); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { position: relative; margin-top: 6px; padding-left: 22px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--blue-700); border-bottom: 2px solid var(--blue-700); transform: rotate(-45deg); }

/* Media and text */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split.is-top { align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split > * { min-width: 0; }
.split .wp-block-image { margin: 0; }
.split img, .sec-media img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.sec-media { max-width: 880px; margin: 0 auto; }
.sec-media .wp-block-image { margin: 0; }
.media-frame { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.logo-mark { max-width: 220px; margin: 0 0 14px; }
.logo-mark img { width: 100%; height: auto; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gallery .wp-block-image { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); text-align: center; }
.gallery img { width: auto; max-height: 190px; object-fit: contain; }
.gallery figcaption { margin-top: 10px; font-size: var(--fs-sm); font-weight: 600; }

/* Statement band */
.statement { padding-block: clamp(32px, 4vw, 48px); background: var(--blue-700); color: var(--white); }
.statement p { max-width: 860px; font: 700 clamp(1.25rem, 2.2vw, 1.625rem)/1.3 var(--font-head); }
.statement p + p { margin-top: 8px; color: #e6ebf3; font: 400 var(--fs-md)/1.5 var(--font-body); }

/* Tables */
.sec .wp-block-table { margin: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.sec .wp-block-table table { width: 100%; border-collapse: collapse; color: var(--navy-900); }
.sec .wp-block-table th, .sec .wp-block-table td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.sec .wp-block-table thead { border: 0; }
.sec .wp-block-table th, .sec .wp-block-table thead td { background: var(--navy-900); color: var(--white); font-weight: 700; }
.sec .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 14px; }

/* Photo cards: a dark layer keeps white titles readable on any photograph */
.photo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--gap); }
.wp-block-cover { position: relative; min-height: 260px; margin: 0; padding: 24px; overflow: hidden; border-radius: var(--r-lg); }
.wp-block-cover .wp-block-cover__background { background-color: var(--navy-900) !important; opacity: .58 !important; }
.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover h2, .wp-block-cover h3, .wp-block-cover p, .wp-block-cover h2 a, .wp-block-cover h3 a { color: var(--white) !important; }
.wp-block-cover h2, .wp-block-cover h3 { font-size: var(--fs-xl); text-align: center; }
.wp-block-cover h2 a { text-decoration: none; }
.wp-block-cover p { text-align: center; }
.wp-block-cover .wp-block-buttons { justify-content: center; margin-top: 14px; }

/* Video and feed panels */
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-card .wp-block-embed { margin: 0; }
.video-card .local-embed, .feed-panel .local-embed { display: grid; place-content: center; min-height: 200px; padding: 24px; border: 0; border-radius: var(--r-md); background: var(--navy-900); color: var(--on-dark); text-align: center; }
.video-card .local-embed a { color: var(--white); }
.wp-block-embed__wrapper:has(.local-embed)::before { display: none !important; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.video-card p { margin: 0; }
.feed-panel { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }

/* Download card */
.doc-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.doc-card > .tbs-icon { padding: 10px; border-radius: var(--r-sm); background: var(--blue-100); color: var(--blue-700); }
.doc-card .doc-copy { flex: 1 1 260px; }
.doc-card .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.doc-card .wp-block-file__button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: var(--r-sm); background: var(--gold-400); color: var(--navy-900); font-weight: 700; text-decoration: none; }

/* Single testimonial and related links */
.quote-feature { position: relative; max-width: 860px; margin: 0; padding: 26px 28px; border-left: 4px solid var(--gold-400); border-radius: 0 var(--r-lg) var(--r-lg) 0; background: var(--white); color: var(--navy-900); }
.quote-feature blockquote { margin: 0; font-size: var(--fs-md); line-height: 1.55; }
.quote-feature figcaption { margin-top: 14px; color: var(--slate-600); font-size: var(--fs-sm); }
.quote-feature figcaption strong { display: block; color: var(--navy-900); font-size: var(--fs-base); }
.quote-more-link { margin-top: 14px; }
.related { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.related p { margin: 0; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--navy-900); font-weight: 600; text-decoration: none; }
.related a:hover { border-color: var(--blue-700); color: var(--blue-700); }
.related-title { margin-bottom: 12px; font-weight: 700; }
.logo-prepared { padding-block: 18px; background: var(--white); border-top: 1px solid var(--line); }
.logo-prepared p { color: var(--slate-600); font-size: var(--fs-sm); text-align: center; }

/* Contact page */
.contact-cards .card a { font-weight: 700; overflow-wrap: anywhere; }

/* Homepage featured solutions: manual only. Without JavaScript it stays a scrollable row. */
.feature-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap)) / 2); gap: var(--gap); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.feature-carousel::-webkit-scrollbar { display: none; }
.feature-slide { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; min-width: 0; padding: 22px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: var(--navy-900); color: var(--white); scroll-snap-align: start; }
.feature-slide .tbs-icon { display: grid; place-items: center; width: 96px; height: 96px; border-radius: var(--r-md); background: var(--navy-800); color: var(--cyan-400); }
.feature-slide .tbs-icon svg { width: 40px; height: 40px; }
.feature-slide .eyebrow { margin: 0 0 4px; color: var(--cyan-400); }
.feature-slide h3 { font-size: var(--fs-lg); color: var(--white); }
.feature-slide p { margin: 6px 0 0; color: var(--on-dark); }
.feature-slide .link-arrow { min-height: 44px; margin-top: 2px; color: var(--gold-400); }
.feature-controls { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.feature-controls button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--navy-900); font: 600 var(--fs-sm) var(--font-body); cursor: pointer; transition: border-color .16s ease, background-color .16s ease; }
.feature-controls button:hover:not(:disabled) { border-color: var(--blue-700); color: var(--blue-700); }
.feature-controls button:disabled { color: var(--slate-300); cursor: default; }
.feature-status { margin-left: 6px; color: var(--slate-600); font-size: var(--fs-sm); }

/* FAQs and team page components */
.faq-list { max-width: 880px; margin-top: 8px; }
.faq-list details { padding: 4px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font: 700 var(--fs-base)/1.35 var(--font-head); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .16s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { margin: 0 0 14px; color: var(--slate-600); }
.sec-white .faq-list details p, .sec-mist .faq-list details p { max-width: 760px; }
.sec .wrap > h2, .split-x > h2 { font-size: clamp(1.625rem, 2.7vw, 2.25rem); }
.sec .wrap > h2 + .lead, .split-x > h2 + p { margin-top: 12px; }
.sec .wrap > .lead { max-width: 760px; }
.sec .wrap > .cards, .sec .wrap > .faq-list, .sec .wrap > .split, .sec .wrap > .wp-block-table, .sec .wrap > .btn-row { margin-top: 26px; }
.split-x > * + * { margin-top: 12px; }
.split-x .ticks { margin-top: 12px; }
.card-high { background: var(--mist); }
.sec-mist .card-high { background: var(--white); }
.cards-1 { grid-template-columns: minmax(0, 1fr); }
.step-num { align-self: flex-start; color: var(--blue-700); font: 800 var(--fs-lg)/1 var(--font-head); }
.card .plan-price, .plan .plan-price { color: var(--navy-900); font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--font-head); }
.sec-blue .wp-block-buttons, .sec-navy .wp-block-buttons { margin-top: 20px; }
.sec:not(.dark) .is-style-outline .wp-block-button__link { border-color: var(--blue-700); color: var(--blue-700); }
.sec:not(.dark) .is-style-outline .wp-block-button__link:hover { background: var(--blue-100); color: var(--blue-700); }
.card .is-style-outline .wp-block-button__link { border-color: var(--blue-700); color: var(--blue-700); }
.dark .card h3, .dark .card p, .dark .plan h3 { color: var(--navy-900); }
.phero .hero-trust { margin-top: 18px; }
.sec .wrap > .wp-block-image { max-width: 760px; margin: 0 auto; }
.sec .wrap > .wp-block-image img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
@media (max-width: 400px) {
  .wp-block-button { max-width: 100%; }
  .wp-block-button__link { white-space: normal; text-align: center; }
}
@media (max-width: 640px) {
  .sec .wp-block-table table { min-width: 620px; }
  .sec .wp-block-table th, .sec .wp-block-table td { padding: 9px 10px; font-size: var(--fs-sm); }
}

/* Restrained motion. The reduced-motion rule in site.css switches all of this off. */
@keyframes tbs-rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mega:not([hidden]) .mega-inner { animation: tbs-rise .16s ease-out; }
.main-nav.open { animation: tbs-rise .18s ease-out; }
.quote-list li:not([hidden]) { animation: tbs-rise .2s ease-out; }

/* Testimonial pages */
.single-testimonials .page-body .wrap { max-width: 900px; }
.single-testimonials .page-body .wp-block-post-content { overflow-wrap: anywhere; max-width: none; padding: 26px 28px 8px; border-left: 4px solid var(--gold-400); background: var(--mist); font-size: var(--fs-md); }
.single-testimonials .testimonial-role { overflow-wrap: anywhere; padding: 0 28px 26px; border-left: 4px solid var(--gold-400); background: var(--mist); }
.quote-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* AI Receptionist on the design system. Its page text stays as written. */
#tbs-ai-page { background: var(--white); color: var(--navy-900); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; }
#tbs-ai-page h1, #tbs-ai-page h2, #tbs-ai-page h3 { margin: 0; font-family: var(--font-head); font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; line-height: 1.14; }
#tbs-ai-page h1 { max-width: 760px; font-size: var(--fs-h1); line-height: 1.1; }
#tbs-ai-page h1 span { color: var(--gold-400); }
#tbs-ai-page h2 { margin-top: 6px; font-size: clamp(1.625rem, 2.7vw, 2.25rem); }
#tbs-ai-page h3 { margin-bottom: 8px; font-size: var(--fs-lg); font-weight: 700; line-height: 1.3; }
#tbs-ai-page p { margin: 0 0 12px; }
#tbs-ai-page a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--r-sm); background: var(--gold-400); color: var(--navy-900); font: 700 var(--fs-base)/1.2 var(--font-body); text-decoration: none; transition: background-color .16s ease; }
#tbs-ai-page a.button:hover { background: var(--gold-300); }
#tbs-ai-page a.button.secondary { border-color: var(--slate-300); background: transparent; color: var(--white); }
#tbs-ai-page a.button.secondary:hover { background: rgba(255, 255, 255, .1); }
#tbs-ai-page .eyebrow { margin-bottom: 10px; color: var(--teal-600); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#tbs-ai-page .hero { padding-block: clamp(32px, 5vw, 60px); background: var(--navy-900); color: var(--white); }
#tbs-ai-page .hero::before { display: none; }
#tbs-ai-page .hero h1 { margin-top: 0; color: var(--white); }
#tbs-ai-page .hero .eyebrow { color: var(--gold-400); }
#tbs-ai-page .hero .crumbs { margin-bottom: 18px; }
#tbs-ai-page .lead { max-width: 640px; margin-top: 16px; color: var(--on-dark); font-size: var(--fs-md); }
#tbs-ai-page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#tbs-ai-page .hero-note { margin-top: 18px; color: var(--on-dark); font-size: var(--fs-sm); }
#tbs-ai-page .strip { padding-block: 14px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: var(--fs-sm); font-weight: 600; }
#tbs-ai-page .strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
#tbs-ai-page section { padding-block: clamp(44px, 5.6vw, 76px); }
#tbs-ai-page .intro { max-width: 720px; margin-top: 10px; color: var(--slate-600); font-size: var(--fs-md); }
#tbs-ai-page .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
#tbs-ai-page .feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
#tbs-ai-page .feature p { margin: 0; color: var(--slate-600); }
#tbs-ai-page .number { color: var(--teal-600); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; }
#tbs-ai-page .scenario { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; padding-inline: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))); background: var(--navy-900); color: var(--white); }
#tbs-ai-page .scenario h2, #tbs-ai-page .cta h2 { color: var(--white); }
#tbs-ai-page .scenario .eyebrow, #tbs-ai-page .cta .eyebrow { color: var(--cyan-400); }
#tbs-ai-page .scenario p { color: var(--on-dark); }
#tbs-ai-page .conversation { padding: 22px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: var(--navy-800); }
#tbs-ai-page .bubble { margin: 10px 0; padding: 14px 16px; border-radius: var(--r-md); background: rgba(174, 190, 210, .16); color: var(--white); }
#tbs-ai-page .bubble p { margin: 0; color: inherit; }
#tbs-ai-page .bubble.ai { margin-left: 28px; background: var(--white); color: var(--navy-900); }
#tbs-ai-page .bubble b { display: block; margin-bottom: 4px; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
#tbs-ai-page .caption { color: var(--on-dark); font-size: var(--fs-xs); }
#tbs-ai-page .why { background: var(--white); }
#tbs-ai-page .why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin-top: 28px; }
#tbs-ai-page .why-grid article { padding-top: 14px; border-top: 2px solid var(--line); }
#tbs-ai-page .why-grid p { margin: 0; color: var(--slate-600); }
#tbs-ai-page .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
#tbs-ai-page .steps::before { display: none; }
#tbs-ai-page .steps b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-700); color: var(--white); }
#tbs-ai-page .steps p { margin: 0; color: var(--slate-600); font-size: var(--fs-base); }
#tbs-ai-page .plans { background: var(--mist); }
#tbs-ai-page .plan { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
#tbs-ai-page .plan.popular { border: 2px solid var(--blue-700); box-shadow: var(--shadow); }
#tbs-ai-page .badge { width: auto; min-height: 18px; padding: 0; color: var(--blue-700); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#tbs-ai-page .price { margin: 10px 0 0; font: 800 clamp(2rem, 3vw, 2.5rem)/1.1 var(--font-head); letter-spacing: -.02em; }
#tbs-ai-page .price small { font: 400 var(--fs-sm) var(--font-body); letter-spacing: 0; }
#tbs-ai-page .plan ul { flex: 1; padding-left: 20px; list-style: disc; font-size: var(--fs-base); }
#tbs-ai-page .plan li { margin: 6px 0; }
#tbs-ai-page .terms { margin-top: 18px; color: var(--slate-600); font-size: var(--fs-sm); }
#tbs-ai-page .faq { max-width: 880px; }
#tbs-ai-page details { padding: 4px 0; border-bottom: 1px solid var(--line); }
#tbs-ai-page summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font: 700 var(--fs-base)/1.35 var(--font-head); cursor: pointer; list-style: none; }
#tbs-ai-page summary::-webkit-details-marker { display: none; }
#tbs-ai-page summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .16s ease; }
#tbs-ai-page details[open] summary::after { transform: rotate(-135deg); }
#tbs-ai-page details p { margin: 0 0 14px; color: var(--slate-600); }
#tbs-ai-page .cta { background: var(--blue-700); color: var(--white); }
#tbs-ai-page .cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
#tbs-ai-page .cta p { max-width: 640px; color: #e6ebf3; }
#tbs-ai-page .contact-links { display: flex; flex-direction: column; gap: 10px; white-space: nowrap; }
#tbs-ai-page .contact-links a { overflow-wrap: anywhere; }
#tbs-ai-page .contact-links a:not(.button) { color: var(--white); }

@media (max-width: 1023px) {
  .cards, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero-inner, .split, .split-wide { grid-template-columns: minmax(0, 1fr); }
  .phero-media img { max-height: 360px; }
  .phero-media .wp-block-cover { min-height: 220px; max-height: 300px; }
  #tbs-ai-page .grid, #tbs-ai-page .scenario, #tbs-ai-page .why-grid { grid-template-columns: minmax(0, 1fr); }
  #tbs-ai-page .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #tbs-ai-page .cta .wrap { display: block; }
  #tbs-ai-page .contact-links { margin-top: 18px; white-space: normal; }
  .feature-carousel { grid-auto-columns: 84%; }
}
@media (max-width: 359px) {
  .call-bar { box-sizing: border-box; max-width: 100vw; gap: 6px; }
  .call-bar .btn { min-width: 0; padding-inline: 6px; font-size: var(--fs-xs); white-space: normal; text-align: center; }
}
@media (max-width: 599px) {
  .cards, .cards-2, .cards-4, .gallery { grid-template-columns: minmax(0, 1fr); }
  .card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; padding: 16px; }
  .card > * { grid-column: 1 / -1; }
  .card > .tbs-icon { grid-column: 1; padding: 8px; }
  .card > .tbs-icon + h3 { grid-column: 2; }
  .card > .tbs-icon svg { width: 20px; height: 20px; }
  .phero-media.ph-tiles { display: none; }
  .sec { padding-block: 36px; }
  .contact-cards .card a { font-size: var(--fs-sm); }
  .plan { padding: 20px; }
  .phero .wp-block-buttons { gap: 10px; }
  #tbs-ai-page .steps { grid-template-columns: minmax(0, 1fr); }
  #tbs-ai-page .bubble.ai { margin-left: 12px; }
  .feature-carousel { grid-auto-columns: 92%; }
  .feature-slide { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; }
  .feature-slide .tbs-icon { width: 56px; height: 56px; }
  .feature-slide .tbs-icon svg { width: 26px; height: 26px; }
  .quote-feature { padding: 20px; }
}
