/* Industry, feature, comparison, case study, integration and guide templates. Loads after base.css. */

/* Shared pieces duplicated from home.css so these pages do not load the home sheet */
.ai-grad { background: linear-gradient(135deg, #8852e0 0%, #2662d9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.ai-checks li { position: relative; padding-left: 28px; }
.ai-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--ai-t100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237440cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ai-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.ai-split__media img { border-radius: 16px; border: 1px solid var(--ai-line); box-shadow: var(--ai-sh); }
@media (min-width: 900px) { .ai-split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ai-eyebrow--light { background: rgba(255,255,255,.12); color: #e9d5ff; }
.ai-steps { margin-top: 40px; }
.ai-step { text-align: center; }
.ai-step__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ai-p); color: #fff; font-weight: 700; margin-bottom: 14px; }
.ai-push__grid { display: grid; gap: 40px; align-items: center; }
.ai-push__copy p { color: #c7d2fe; }
.ai-stats { display: flex; gap: 32px; margin: 24px 0 28px; }
.ai-stats div { display: grid; }
.ai-stats dt { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.ai-stats dd { margin: 0; font-size: .8125rem; color: #a5b4fc; }
.ai-lock { justify-self: center; width: 300px; padding: 28px 18px; border-radius: 40px; background: linear-gradient(180deg, #312e81, #1e1b4b); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); text-align: center; }
.ai-lock__time { font-size: 3.25rem; font-weight: 300; color: #fff; margin: 8px 0 0; line-height: 1; }
.ai-lock__date { color: #c7d2fe; font-size: .875rem; margin: 6px 0 28px; }
.ai-lock__card { text-align: left; background: rgba(255,255,255,.92); border-radius: 18px; padding: 10px 14px; margin-top: 10px; color: var(--ai-ink); display: grid; grid-template-columns: 1fr auto; gap: 0 8px; }
.ai-lock__card p { grid-column: 1 / -1; margin: 2px 0 0; font-size: .875rem; }
.ai-lock__app { font-size: .8125rem; font-weight: 700; }
.ai-lock__when { font-size: .75rem; color: var(--ai-mut); }
@media (min-width: 900px) { .ai-push__grid { grid-template-columns: 1.2fr 1fr; } }
.ai-faq { margin-top: 32px; display: grid; gap: 10px; }
.ai-faq__item { background: #fff; border: 1px solid var(--ai-line); border-radius: 14px; padding: 0 20px; }
.ai-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.ai-faq__item summary::-webkit-details-marker { display: none; }
.ai-faq__item summary h3 { margin: 0; font-size: 1.0625rem; }
.ai-faq__item summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ai-t100); color: var(--ai-p-d); font-weight: 700; }
.ai-faq__item[open] summary::after { content: "\2013"; }
.ai-faq__a { padding: 0 0 18px; }
.ai-faq__a p:last-child { margin-bottom: 0; }
.ai-notif { position: absolute; width: 250px; background: rgba(255,255,255,.95); border-radius: 16px; padding: 12px 14px; box-shadow: var(--ai-sh); border: 1px solid var(--ai-line); z-index: 2; }
.ai-notif p { margin: 0; font-size: .8125rem; line-height: 1.4; }
.ai-notif__app { color: var(--ai-mut); font-size: .75rem !important; text-transform: uppercase; letter-spacing: .03em; }
.ai-notif__title { font-weight: 700; color: var(--ai-ink); }
.ai-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ai-line); border-radius: 999px; padding: 8px 14px; font-size: .8125rem; font-weight: 600; color: var(--ai-ink); box-shadow: var(--ai-sh); z-index: 2; }

/* Page hero (industry / feature / comparison / case study) */
.ai-hero { position: relative; padding: 56px 0 48px; background: linear-gradient(180deg, var(--ai-t50) 0%, #fff 100%); overflow: hidden; }
.ai-hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.ai-hero__copy h1 { margin-bottom: 12px; }
.ai-lead--strong { color: var(--ai-ink); font-weight: 600; }
.ai-hero__cms { margin: 16px 0 0; font-size: .9375rem; color: var(--ai-mut); }
.ai-hero__photo { position: relative; }
.ai-hero__photo > img { border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(30,27,75,.4); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ai-notif--photo { top: 20px; right: 20px; }
.ai-chip--corner { left: 20px; bottom: 20px; }
@media (min-width: 900px) { .ai-hero { padding: 72px 0 56px; } .ai-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* Hero with a phone (feature, comparison) */
.ai-hero__device { position: relative; min-height: 540px; display: none; }
.ai-hero__device img { position: absolute; left: 50%; top: 0; width: 240px; transform: translateX(-50%) rotate(3deg); border-radius: 34px; box-shadow: 0 30px 60px -20px rgba(30,27,75,.45), 0 0 0 1px rgba(0,0,0,.06); }
.ai-hero__device .ai-notif { left: 0; bottom: 60px; }
.ai-hero__device .ai-chip { right: 0; bottom: 20px; }
@media (min-width: 900px) { .ai-hero__device { display: block; } }

/* Answer block under an industry hero */
.ai-answer { padding: 24px 0 8px; }
.ai-answer p { color: var(--ai-mut); }
.ai-answer strong { color: var(--ai-ink); }

/* Without / with */
.ai-vs { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.ai-vs__col { border-radius: 14px; padding: 20px; }
.ai-vs__col h3 { font-size: 1rem; margin-bottom: 10px; }
.ai-vs__col ul { margin: 0; padding-left: 18px; font-size: .9375rem; display: grid; gap: 6px; }
.ai-vs__col--bad { background: #fef2f2; border: 1px solid #fecaca; } .ai-vs__col--bad h3 { color: #b91c1c; }
.ai-vs__col--good { background: #f0fdf4; border: 1px solid #bbf7d0; } .ai-vs__col--good h3 { color: #15803d; }
@media (max-width: 480px) { .ai-vs { grid-template-columns: 1fr; } }

/* What it is / isn't, choose us / look elsewhere */
.ai-defs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ai-defs li { display: grid; padding-left: 28px; position: relative; }
.ai-defs li::before { position: absolute; left: 0; top: .1em; font-weight: 700; }
.ai-defs__yes::before { content: "\2713"; color: var(--ai-ok); }
.ai-defs__no::before { content: "\2715"; color: var(--ai-bad); }
.ai-defs strong { color: var(--ai-ink); }
.ai-defs span { font-size: .9375rem; color: var(--ai-mut); }

/* Comparison table */
.ai-compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 32px; border: 1px solid var(--ai-line); border-radius: 14px; overflow: hidden; font-size: .9375rem; }
.ai-compare-table th, .ai-compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ai-line); vertical-align: top; }
.ai-compare-table thead th { background: var(--ai-soft); color: var(--ai-ink); }
.ai-compare-table thead th:nth-child(2) { background: var(--ai-t100); color: var(--ai-p-d); }
.ai-compare-table tbody th { font-weight: 600; color: var(--ai-ink); }
.ai-compare-table td:nth-child(2) { color: var(--ai-ink); font-weight: 600; }
.ai-compare-table tr:last-child th, .ai-compare-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .ai-compare-table { display: block; overflow-x: auto; } }

/* Fact tiles */
.ai-facts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 32px; }
.ai-fact { text-align: center; }
.ai-fact__num { display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ai-p); line-height: 1; margin-bottom: 8px; }
.ai-fact h3 { font-size: 1rem; margin-bottom: 4px; }
.ai-fact p { font-size: .9375rem; color: var(--ai-mut); margin: 0; }

/* Case study */
.ai-quote-big { max-width: 820px; margin: 0 auto; text-align: center; }
.ai-quote-big blockquote { margin: 0 0 16px; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--ai-ink); font-weight: 500; }
.ai-quote-big .ai-quote__stars { color: #f59e0b; letter-spacing: 2px; }
.ai-quote-big figcaption { font-weight: 700; color: var(--ai-ink); }
.ai-hero__phone-card { position: relative; justify-self: center; width: 260px; }
.ai-hero__phone-card img { border-radius: 34px; box-shadow: 0 30px 60px -20px rgba(30,27,75,.45); }
.ai-tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; vertical-align: middle; margin-left: 8px; }

/* Features hub */
.ai-hub-group { margin-top: 48px; }
.ai-hub-group h2 { font-size: 1.5rem; margin-bottom: 6px; }
.ai-hub-group > p { color: var(--ai-mut); margin-bottom: 20px; }
.ai-card--feature h3 { font-size: 1.0625rem; }
.ai-card--feature p { font-size: .9375rem; color: var(--ai-mut); margin-bottom: 0; }

/* Link grid (industries hub) */
.ai-link-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ai-link-grid a { display: block; padding: 10px 0; border-bottom: 1px solid var(--ai-line); color: var(--ai-ink); text-decoration: none; }
.ai-link-grid a:hover { color: var(--ai-p-d); }

/* Feature page: device frame hero, how-it-works columns, industry chips, plan strip */
.ai-hero__phoneframe { position: relative; display: flex; justify-content: center; }
.ai-device { width: 300px; padding: 12px; border-radius: 44px; background: #111; box-shadow: 0 40px 80px -24px rgba(30,27,75,.5), inset 0 0 0 2px #2a2a2a; animation: ai-float-a 7s ease-in-out infinite; }
.ai-device img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 34px; display: block; }
.ai-chip--device { right: 0; bottom: 40px; }
@keyframes ai-float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ai-device { animation: none; } }
@media (max-width: 899px) { .ai-hero__phoneframe { margin-top: 8px; } .ai-device { width: 240px; } }
.ai-how { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .ai-how { grid-template-columns: 1fr 1fr; gap: 32px; } }
.ai-how__col { background: #fff; border: 1px solid var(--ai-line); border-radius: 14px; padding: 28px; }
.ai-how__col--customer { border-color: var(--ai-t200); background: var(--ai-t50); }
.ai-how__col h3 { margin-bottom: 16px; }
.ai-how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.ai-how__steps li { position: relative; padding-left: 40px; display: grid; gap: 2px; counter-increment: step; }
.ai-how__steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ai-p); color: #fff; font-weight: 700; font-size: .8125rem; display: grid; place-items: center; }
.ai-how__col--customer .ai-how__steps li::before { background: var(--ai-ok); }
.ai-how__steps strong { color: var(--ai-ink); }
.ai-how__steps span { font-size: .9375rem; color: var(--ai-mut); }
.ai-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.ai-chips--left { justify-content: flex-start; }
.ai-chips a, .ai-chips span { background: #fff; border: 1px solid var(--ai-line); border-radius: 999px; padding: 8px 14px; font-size: .875rem; color: var(--ai-ink); text-decoration: none; }
.ai-chips a:hover { border-color: var(--ai-p); color: var(--ai-p-d); }
.ai-plan-strip h3 { margin-bottom: 14px; }
.ai-plan-strip .ai-btn { margin-top: 18px; }

/* Long-form ported content */
.ai-checks--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; max-width: 900px; margin-inline: auto; }
.ai-btn-row--center { justify-content: center; }
.ai-grid--fixed2 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .ai-grid--fixed2 { grid-template-columns: 1fr 1fr; } }
.ai-checks--neutral li::before { background-color: var(--ai-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.ai-lf { margin-top: 24px; }
.ai-lf--prose { max-width: none; }
.ai-lf > p, .ai-lf > ul, .ai-lf > ol { max-width: none; }
.ai-lf p { margin-bottom: 1em; }
.ai-lf h3 { margin-top: 1.6em; margin-bottom: .4em; }
.ai-lf h3:first-child { margin-top: 0; }
.ai-lf ul { list-style: none; padding: 0; display: grid; gap: 8px; margin: 0 0 1.25em; }
.ai-lf ul li { position: relative; padding-left: 26px; }
.ai-lf ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--ai-t100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237440cc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ai-lf ol { padding-left: 1.3em; display: grid; gap: 8px; }
.ai-lf img { border-radius: 12px; margin: 8px 0; max-height: 420px; width: auto; }
.ai-lf img[src*="/ab/"] { display: inline-block; vertical-align: middle; }
.ai-lf table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ai-line); border-radius: 14px; overflow: hidden; background: #fff; font-size: .9375rem; margin: 8px 0 24px; }
.ai-lf th, .ai-lf td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--ai-line); vertical-align: top; }
.ai-lf thead th, .ai-lf tr:first-child th { background: var(--ai-soft); color: var(--ai-ink); }
.ai-lf tbody th { font-weight: 600; color: var(--ai-ink); }
.ai-lf tr:last-child th, .ai-lf tr:last-child td { border-bottom: 0; }
.ai-lf td img, .ai-lf th img { max-height: 28px; width: auto; margin: 0 6px 0 0; border-radius: 4px; }
.ai-section--table .ai-lf { overflow-x: auto; }
.ai-lf a { color: var(--ai-p-d); }
.ai-lf blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ai-p); color: var(--ai-ink); }
/* Multi-h3 "steps" inside prose read better as cards */
.ai-lf--prose > h3 + p { margin-bottom: 1.25em; }

/* Long-form density and new section kinds */
.ai-section--slim { padding-block: clamp(40px, 5vw, 56px); }
.ai-section--slim h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4em; }
.ai-section--slim .ai-lf { margin-top: 12px; }
.ai-section--slim + .ai-section--slim { padding-top: 0; }
.ai-section--slim + .ai-section--slim.ai-section--soft { padding-top: clamp(40px, 5vw, 56px); }
.ai-lf--prose img { max-height: 360px; margin: 16px auto; display: block; }
.ai-logo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 28px; }
.ai-logo-card { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px 14px; text-decoration: none; color: var(--ai-ink); font-size: .875rem; font-weight: 600; }
.ai-logo-card img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.ai-lf-card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.ai-lf-card p { margin: 0; font-size: .9375rem; color: var(--ai-mut); }
.ai-scroller { display: flex; gap: 16px; overflow-x: auto; padding: 24px 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ai-scroller img { flex: none; width: 200px; height: auto; border-radius: 24px; box-shadow: var(--ai-sh); scroll-snap-align: start; }
/* Long-form enhancer output: numbered steps and mini card runs */
ol.ai-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; counter-reset: ai-step; max-width: none; }
ol.ai-steps li { counter-increment: ai-step; display: grid; grid-template-columns: 36px 1fr; gap: 4px 16px; align-items: start; background: #fff; border: 1px solid var(--ai-line); border-radius: 14px; padding: 18px 20px; }
ol.ai-steps li::before { content: counter(ai-step); grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ai-p); color: #fff; font-weight: 700; }
ol.ai-steps li strong { font-size: 1.0625rem; }
ol.ai-steps li span { color: var(--ai-mut); }
.ai-lf-minis { margin: 24px 0 28px; max-width: none; }
.ai-lf-mini { padding: 20px 22px; }
.ai-lf-mini h4, .ai-lf-mini h3 { font-size: 1rem; margin: 0 0 6px; }
.ai-domain__h { font-weight: 700; color: var(--ai-ink); font-size: 1.0625rem; margin: 8px 0 4px; }
.ai-lf-mini p { margin: 0 0 4px; color: var(--ai-mut); font-size: .9375rem; }
.ai-lf-mini p:last-child { margin-bottom: 0; }
.ai-lf-mini span img, .ai-lf-mini > span { display: block; }
.ai-lf-mini img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 10px; border-radius: 10px; }
.ai-lf img.ai-lf-logo, .ai-lf--prose img.ai-lf-logo { width: 72px; height: 72px; max-height: 72px; margin: 0 0 12px; display: block; border-radius: 16px; }

/* Industry: stats bar and real screens */
.ai-statbar { background: var(--ai-soft); border-top: 1px solid var(--ai-line); border-bottom: 1px solid var(--ai-line); }
.ai-statbar__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 32px; padding-block: 22px; }
.ai-statbar__row div { display: grid; gap: 2px; }
.ai-statbar__row strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ai-ink); line-height: 1.1; }
.ai-statbar__row span { font-size: .8125rem; color: var(--ai-mut); font-weight: 500; }
.ai-screens__row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.ai-screen { margin: 0; width: 200px; text-align: center; }
.ai-screen .ai-phone-frame { width: 200px; }
.ai-screen figcaption { margin-top: 12px; font-size: .875rem; color: var(--ai-mut); }
@media (max-width: 599px) { .ai-screens__row { gap: 16px; } .ai-screen, .ai-screen .ai-phone-frame { width: 150px; } }

/* Comparison pages */
.cmp-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cmp-hero__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.cmp-notice { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 12px; padding: 12px 16px; font-size: .9375rem; margin: 0 0 24px; }
.cmp-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.cmp-vs__side { background: #fff; border: 1px solid var(--ai-line); border-radius: 20px; padding: 28px 20px; text-align: center; display: grid; justify-items: center; gap: 8px; box-shadow: var(--ai-sh); }
.cmp-vs__side--ab { border-color: var(--ai-t200); box-shadow: 0 0 0 1px var(--ai-t200), var(--ai-glow); }
.cmp-vs__side img { width: 72px; height: 72px; border-radius: 18px; object-fit: contain; }
.cmp-vs__side span { font-weight: 700; color: var(--ai-ink); }
.cmp-vs__side small { color: var(--ai-mut); font-size: .8125rem; line-height: 1.4; }
.cmp-vs__initial { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: var(--ai-ink); color: #fff; font-size: 2rem; font-weight: 800; }
.cmp-vs__mid { align-self: center; font-weight: 800; color: var(--ai-mut); font-size: 1.125rem; }
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--ai-line); border-radius: 12px; background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--ai-line); vertical-align: top; }
.cmp-table thead th { border-top: 0; background: var(--ai-soft); color: var(--ai-ink); }
.cmp-table tbody th { color: var(--ai-ink); font-weight: 600; }
.cmp-table td { color: var(--ai-mut); }
.cmp-table--compact th, .cmp-table--compact td { padding: 10px 12px; font-size: .875rem; }
.cmp-table--feature tbody td:nth-child(2) { background: var(--ai-t50); }
.cmp-good { color: var(--ai-ok) !important; font-weight: 600; }
.cmp-bad { color: var(--ai-bad) !important; }
.cmp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.cmp-brand img { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; }
.cmp-note { font-size: .8125rem; color: var(--ai-mut); margin: 12px 0 0; }
.cmp-pricing .ai-card h3 { margin-bottom: 14px; }
.cmp-acc { display: grid; gap: 10px; max-width: 980px; margin-inline: auto; }
.cmp-acc__item { background: #fff; border: 1px solid var(--ai-line); border-radius: 14px; padding: 0 20px; }
.cmp-acc__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.cmp-acc__item summary::-webkit-details-marker { display: none; }
.cmp-acc__item summary h3 { margin: 0; font-size: 1.0625rem; }
.cmp-acc__item summary .ai-icon { width: 18px; height: 18px; color: var(--ai-mut); transition: transform .2s; flex: none; }
.cmp-acc__item[open] summary .ai-icon { transform: rotate(180deg); }
.cmp-acc__body { padding: 0 0 20px; }
.cmp-acc__body p { margin: 12px 0 0; }
/* Integration hero tile */
.ai-int-tile { display: none; align-items: center; justify-content: center; gap: 20px; }
@media (min-width: 900px) { .ai-int-tile { display: flex; } }
.ai-int-tile__box { width: 150px; height: 150px; border-radius: 36px; display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 800; box-shadow: 0 30px 60px -20px rgba(30,27,75,.4); }
.ai-int-tile__box--ab { background: #fff; border: 1px solid var(--ai-line); }
.ai-int-tile__box img { width: 96px; height: 96px; border-radius: 22px; }
.ai-int-tile__link { width: 48px; height: 48px; border-radius: 50%; background: var(--ai-t100); color: var(--ai-p-d); display: grid; place-items: center; }
.ai-int-tile__link .ai-icon { width: 22px; height: 22px; }
.ai-screens__row--6 { gap: 20px; }
.ai-screens__row--6 .ai-screen, .ai-screens__row--6 .ai-screen .ai-phone-frame { width: 172px; }
.cmp-acc, .cmp-acc__item, .cmp-acc__body { min-width: 0; max-width: 100%; }
.cmp-acc__item { overflow-x: clip; }
.cmp-table-wrap, .pr-table-wrap, .vb-table-wrap { max-width: 100%; }
.ai-logo-grid > * { min-width: 0; }
.ai-logo-card span { overflow-wrap: anywhere; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ai-logo-card span { max-width: 100%; word-break: break-word; }
.ai-logo-card { overflow: hidden; }
.cmp-acc__body { overflow-x: auto; }
.cmp-brand { white-space: normal; overflow-wrap: anywhere; }
.cmp-table tbody th { white-space: normal; }
.cmp-acc__body .cmp-table { table-layout: fixed; }
.cmp-acc__body .cmp-table th, .cmp-acc__body .cmp-table td { overflow-wrap: anywhere; }
.cmp-acc__body .cmp-table thead th:first-child { width: 28%; }
.cmp-acc__item summary h3 { min-width: 0; overflow-wrap: anywhere; }

.ai-phone-mock { display: block; width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 30px 40px rgba(30,27,75,.28)); animation: ai-float-a 7s ease-in-out infinite; }
.ai-screen .ai-phone-mock { max-width: 200px; margin-inline: auto; animation: none; filter: drop-shadow(0 16px 24px rgba(30,27,75,.22)); }
@media (prefers-reduced-motion: reduce) { .ai-phone-mock { animation: none; } }
@media (max-width: 899px) { .ai-hero__phoneframe .ai-phone-mock { max-width: 240px; } }

.ai-yt { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: var(--ai-sh); background: #111; }
.ai-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ai-webinar { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .ai-webinar { grid-template-columns: 1fr 1.3fr; } }
.ai-webinar-embed { padding: 12px; }
.ai-webinar-embed iframe { display: block; border: 0; width: 100%; height: 674px; }

/* Feature hub cards with phone mockups */
.ai-card--feature-phone { display: grid; grid-template-columns: 1fr; }
.ai-card__phone { display: block; height: 220px; overflow: hidden; margin: -24px -24px 18px; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, var(--ai-t50), #fff); text-align: center; }
.ai-card__phone img { width: 150px; height: auto; margin: 22px auto 0; display: inline-block; filter: drop-shadow(0 14px 20px rgba(30,27,75,.22)); transition: transform .25s; }
.ai-card--feature-phone:hover .ai-card__phone img { transform: translateY(-6px); }
/* Compare hub */
.cmp-hub__cat { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 900px) { .cmp-hub__cat { grid-template-columns: 1fr 1fr; } }
.cmp-hub__col h3 { font-size: 1rem; margin-bottom: 10px; }
.cmp-hub__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cmp-hub__chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ai-line); border-radius: 10px; background: #fff; color: var(--ai-ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.cmp-hub__chips a:hover { border-color: var(--ai-p); color: var(--ai-p-d); }
.cmp-hub__chips .ai-icon { width: 16px; height: 16px; color: var(--ai-p); }
.cmp-hub__head { display: flex; gap: 16px; align-items: flex-start; }
.cmp-hub__head .ai-card__icon { flex: none; }
.cmp-hub__head p { margin: 4px 0 0; color: var(--ai-mut); }
/* Integrations hub */
.int-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.int-card:hover { box-shadow: var(--ai-sh); transform: translateY(-2px); }
.int-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.int-card__top img { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; border: 1px solid var(--ai-line); background: #fff; }
.int-card__cat { font-size: .6875rem; font-weight: 600; padding: 4px 9px; border: 1px solid var(--ai-line); border-radius: 999px; color: var(--ai-mut); white-space: nowrap; }
.int-card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.int-card p { margin: 0; font-size: .9375rem; color: var(--ai-mut); }
.ai-int-tile__box--logo { border: 1px solid var(--ai-line); }
.ai-int-tile__box--logo img { width: 96px; height: 96px; border-radius: 22px; object-fit: contain; }
/* Industry screens row: one row, phones scale to fit the container */
.ai-screens__row { flex-wrap: nowrap; align-items: flex-start; gap: 24px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.ai-screens__row::-webkit-scrollbar { display: none; }
.ai-screens__row .ai-screen { flex: 1 1 0; min-width: 0; max-width: 200px; width: auto; }
.ai-screens__row .ai-screen .ai-phone-frame { width: 100%; }
.ai-screens__row .ai-screen .ai-phone-mock { max-width: 100%; }
.ai-screens__row--6 .ai-screen { max-width: 176px; }
@media (max-width: 899px) { .ai-screens__row .ai-screen { flex: 0 0 150px; } }
/* Provider logo cards: centred rows so a short last row never hangs left; name and description on separate lines. */
.ai-logo-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.ai-logo-grid > * { flex: 0 1 180px; }
.ai-logo-card { align-content: start; }
.ai-logo-card__desc { display: block; font-weight: 400; font-size: .8125rem; color: var(--ai-mut); line-height: 1.4; }
/* Industry comparison hero: provider panel on the right. */
.cmp-hub { background: #fff; border: 1px solid var(--ai-line); border-radius: 20px; box-shadow: var(--ai-sh); padding: 24px; }
.cmp-hub__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--ai-line); }
.cmp-hub__head img { width: 48px; height: 48px; border-radius: 12px; }
.cmp-hub__head strong { display: block; color: var(--ai-ink); }
.cmp-hub__head small { color: var(--ai-mut); }
.cmp-hub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cmp-hub__grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--ai-line); border-radius: 12px; text-decoration: none; color: var(--ai-ink); font-size: .8125rem; font-weight: 600; text-align: center; min-width: 0; }
.cmp-hub__grid a:hover { border-color: var(--ai-p); }
.cmp-hub__grid img { width: 36px; height: 36px; object-fit: contain; }
.cmp-hub__grid span { overflow-wrap: anywhere; }
.cmp-hero .ai-lead { max-width: 640px; }
.cmp-hub__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.cmp-hub__grid a { flex: 0 0 calc((100% - 20px) / 3); }
.cmp-checked { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: .875rem; color: var(--ai-mut); }
.cmp-checked .ai-icon { width: 16px; height: 16px; color: var(--ai-ok, #16a34a); }
.cmp-alert { margin: 0 0 16px; padding: 14px 18px; border: 1px solid #f59e0b; background: #fffbeb; border-radius: 12px; color: var(--ai-ink); font-size: .95rem; line-height: 1.5; }
.cmp-alert strong { color: #b45309; }
.cmp-alert a { font-weight: 600; white-space: nowrap; }
.cmp-verdicts { display: grid; gap: 10px; margin: 0 0 18px; }
@media (min-width: 640px) { .cmp-verdicts { grid-template-columns: 1fr 1fr; } }
.cmp-verdict { margin: 0; padding: 12px 14px; border: 1px solid var(--ai-line); border-radius: 12px; background: #fff; font-size: .9rem; line-height: 1.5; color: var(--ai-text); }
.cmp-verdict--ab { border-color: var(--ai-t200); background: var(--ai-t50); }
.cmp-verdict strong { color: var(--ai-ink); }
.cmp-bestfor { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--ai-t200); background: var(--ai-t50); border-radius: 12px; color: var(--ai-text); font-size: .95rem; line-height: 1.5; }
.cmp-bestfor strong { color: var(--ai-ink); }
.cmp-note { margin: 0 0 12px; font-size: .875rem; color: var(--ai-mut); line-height: 1.5; max-width: 640px; }
.cmp-checked a { font-weight: 600; }
