/* SmashClub article template (blog posts, product pages, case studies).
   Loads after home.css and uses its variables, nav, buttons, closing call to action and footer.
   Plain layout: one typeface, one accent colour, flat surfaces, thin lines. */

/* Containers */

.ar-container, .container { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.ar-container .ar-container, .ar-container .container { max-width: none; padding: 0; }

h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

/* The i18n build may give the language switcher side margins on pages without style.css; the nav gap already spaces it */
.nav .lang-switch { margin-left: 0; margin-right: 0; }

/* Header: same tint as the navigation above it, full width even when it sits inside a container */

.ar-header {
    background: var(--tint);
    box-shadow: 0 0 0 100vmax var(--tint);
    clip-path: inset(0 -100vmax);
    padding: 36px 0 44px;
}
.ar-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
}
.ar-back:hover { color: var(--ink); }
.ar-back svg { width: 14px; height: 14px; }
.ar-eyebrow { display: block; margin: 0 0 14px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ar-title {
    max-width: 880px;
    margin: 0;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
}
.ar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.ar-meta svg { display: none; }
.ar-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* Topics row: plain words, no pills */

.ar-tags-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(22, 25, 29, 0.14);
    font-size: 15px;
}
.ar-header + .ar-tags-row { display: block; margin-top: 0; padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--line); }
.ar-tags-row > .ar-container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.ar-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.ar-tags__label, .ar-tags-label { font-weight: 600; color: var(--ink); }
.ar-tag { font-weight: 500; color: var(--muted); text-decoration: none; }
a.ar-tag { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(22, 25, 29, 0.25); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.ar-tag:hover { text-decoration-color: var(--underline); text-decoration-thickness: 2px; }

/* Hero image */

.ar-hero-image { max-width: calc(var(--wrap) + 48px); margin: 40px auto 0; padding: 0 24px; }
.ar-container .ar-hero-image { max-width: none; padding: 0; }
.ar-hero-image img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); }
.ar-hero-image figcaption, .ar-prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); text-align: center; }

/* Body: text column and a narrow side column */

.ar-body { padding: 48px 0 88px; }
.ar-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.ar-grid > * { min-width: 0; }

/* Prose */

.ar-prose { max-width: 728px; font-size: 18px; line-height: 1.65; color: var(--text); }
.ar-prose > * { margin-top: 0; margin-bottom: 0; }
.ar-prose > * + * { margin-top: 22px; }
.ar-prose > h2 { margin-top: 56px; font-size: 30px; line-height: 1.15; }
.ar-prose > h3 { margin-top: 38px; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.ar-prose > h4 { margin-top: 30px; font-size: 19px; line-height: 1.3; }
.ar-prose > h2 + *, .ar-prose > h3 + *, .ar-prose > h4 + * { margin-top: 14px; }
.ar-prose > h2:first-child, .ar-prose > h3:first-child { margin-top: 0; }
.ar-prose p { text-wrap: pretty; }
.ar-prose strong { color: var(--ink); font-weight: 600; }
.ar-prose a:not([class]) {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--underline);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}
.ar-prose a:not([class]):hover { text-decoration-color: var(--ink); }
.ar-lead { font-size: 21px; line-height: 1.5; font-weight: 500; color: var(--ink); }

.ar-prose ul, .ar-prose ol { margin-bottom: 0; padding-left: 1.25em; }
.ar-prose li + li { margin-top: 10px; }
.ar-prose li::marker { color: var(--muted); }
.ar-prose ol > li::marker { color: var(--ink); font-weight: 600; }
.ar-prose li > ul, .ar-prose li > ol { margin-top: 10px; }

.ar-prose blockquote {
    padding: 2px 0 2px 22px;
    border-left: 2px solid var(--accent);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--ink);
}
.ar-prose blockquote em { display: block; margin-top: 8px; font-size: 15px; font-style: normal; font-weight: 400; color: var(--muted); }

/* Images in the text */

.ar-prose img { width: auto; max-width: 100%; height: auto; max-height: 640px; margin-left: auto; margin-right: auto; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); }
.ar-prose > img, .ar-prose > figure { margin-top: 32px; }
.ar-prose > img + *, .ar-prose > figure + * { margin-top: 32px; }
.ar-figure-row { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 20px 24px; justify-content: start; }
.ar-figure--phone { max-width: 280px; }
.ar-figure--phone img { border-radius: 18px; }

/* Tables */

.ar-table-wrap, .data-table-wrap, .cs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.ar-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.ar-prose th {
    padding: 0 16px 10px 0;
    text-align: left;
    vertical-align: bottom;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
}
.ar-prose td { padding: 12px 16px 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.ar-prose th:last-child, .ar-prose td:last-child { padding-right: 0; }
.ar-prose tbody td:first-child { color: var(--ink); font-weight: 500; }
.comparison-table .check, .comparison-table .col-smash, .comparison-table .col-with { color: var(--ink); font-weight: 500; }
.comparison-table td.cross, .comparison-table td.col-custom, .comparison-table td.col-without,
.ar-prose .comparison-table tbody td.cross:first-child,
.ar-prose .comparison-table tbody td.col-custom:first-child,
.ar-prose .comparison-table tbody td.col-without:first-child { color: var(--muted); font-weight: 400; }
.data-table-wrap th:last-child, .data-table-wrap td:last-child { text-align: right; }
.mono { font-variant-numeric: tabular-nums; }
.accent-text { color: var(--ink); font-weight: 600; }
.green-text { color: var(--ink); font-weight: 600; }

/* Boxes: highlight, key takeaways, definition, insight */

.ar-highlight, .insight-box, .cs-per-court { padding: 22px 24px; border-radius: 8px; background: var(--panel); font-size: 17px; line-height: 1.6; }
.ar-highlight > * + *, .insight-box > * + * { margin-top: 10px; }
.ar-highlight__label, .insight-label, .key-takeaways__label { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ar-highlight h4 { font-size: 17px; line-height: 1.3; }
.ar-highlight ul { margin: 10px 0 0; padding-left: 1.2em; }
.ar-highlight li + li { margin-top: 6px; }

.key-takeaways { padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 8px; font-size: 17px; line-height: 1.6; }
.key-takeaways ul { margin: 12px 0 0; padding-left: 1.2em; }
.key-takeaways li + li { margin-top: 8px; }

.definition-block { padding: 2px 0 2px 22px; border-left: 2px solid var(--accent); color: var(--ink); }

/* Buttons inside the article: same ink button as the rest of the site */

.ar-inline-cta .btn, .ar-inline-cta .btn-primary, .ar-inline-cta__btn,
.ar-side-cta .btn, .ar-side-cta .btn-primary, .ar-side-cta__btn,
.ar-finale .btn, .ar-finale .btn-primary, .ar-finale__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    background: var(--ink);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.ar-inline-cta .btn:hover, .ar-inline-cta .btn-primary:hover, .ar-inline-cta__btn:hover,
.ar-side-cta .btn:hover, .ar-side-cta .btn-primary:hover, .ar-side-cta__btn:hover,
.ar-finale .btn:hover, .ar-finale .btn-primary:hover, .ar-finale__btn:hover { background: #000; }
.ar-finale .btn.btn-secondary, .cs-download { background: #fff; color: var(--ink); border-color: var(--line); }
.ar-finale .btn.btn-secondary:hover, .cs-download:hover { background: #fff; border-color: var(--ink); }
.ar-finale .btn, .ar-finale .btn-primary, .ar-finale__btn { padding: 15px 24px; font-size: 17px; }
.cs-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

/* Call to action inside the text */

.ar-inline-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 28px;
    align-items: center;
    padding: 24px 28px;
    border-radius: 8px;
    background: var(--tint);
}
.ar-prose > .ar-inline-cta { margin-top: 40px; }
.ar-prose > .ar-inline-cta + * { margin-top: 40px; }
.ar-inline-cta > h3, .ar-inline-cta > p { grid-column: 1; }
.ar-inline-cta > h3 ~ a, .ar-inline-cta > p ~ a { grid-column: 2; grid-row: 1 / span 2; }
.ar-inline-cta h3, .ar-inline-cta__title, .ar-inline-cta .cta-title { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.ar-inline-cta p, .ar-inline-cta__sub, .ar-inline-cta .cta-sub { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.ar-inline-cta > p { margin: 0; }
.ar-inline-cta__eyebrow, .ar-inline-cta .cta-eyebrow { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ar-inline-cta p.cta-title, .ar-inline-cta p.ar-inline-cta__title { margin: 0; font-size: 20px; line-height: 1.3; color: var(--ink); }
.ar-inline-cta p.cta-eyebrow, .ar-inline-cta p.ar-inline-cta__eyebrow { margin: 0 0 6px; font-size: 14px; color: var(--muted); }

/* Side column */

.ar-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 36px; font-size: 16px; line-height: 1.55; }
.ar-side-cta { padding: 24px; border-radius: 8px; background: var(--tint); }
.ar-side-cta h3, .ar-side-cta h4, .ar-side-cta__title, .ar-side-cta .side-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-wrap: balance;
}
.ar-side-cta .side-eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ar-side-cta p, .ar-side-cta .side-desc { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.ar-side-cta p.side-eyebrow { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.ar-side-cta p.side-title, .ar-side-cta p.ar-side-cta__title { margin: 0; font-size: 20px; line-height: 1.25; color: var(--ink); }
.ar-side-cta a { margin-top: 18px; }

.ar-sidebar .ar-highlight { padding: 0 0 0 18px; border-radius: 0; border-left: 2px solid var(--line); background: none; font-size: 16px; line-height: 1.55; }
.ar-sidebar .ar-highlight a, .ar-continue li a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ar-sidebar .ar-highlight a:hover, .ar-continue li a:hover { text-decoration-color: var(--ink); }

/* Related links: a plain list of titles */

.ar-continue__head, .ar-sidebar .ar-continue > h4 { margin: 0 0 12px; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--ink); }
.ar-continue__item { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.ar-continue__item:last-child { border-bottom: 1px solid var(--line); }
.ar-continue__thumb { display: none; }
.ar-continue__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.ar-continue__item:hover .ar-continue__title { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ar-continue__meta { display: block; margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.ar-sidebar .ar-continue ul { list-style: none; margin: 0; padding: 0; }
.ar-sidebar .ar-continue li { padding: 12px 0; border-top: 1px solid var(--line); }
.ar-sidebar .ar-continue li:last-child { border-bottom: 1px solid var(--line); }

/* Related pages as a full-width section under the article */

section.ar-continue { padding: 64px 0; border-top: 1px solid var(--line); }
section.ar-continue h2 { font-size: 28px; line-height: 1.2; }
.ar-continue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 32px; }
.ar-continue-card { display: block; text-decoration: none; color: inherit; }
.ar-continue-eyebrow { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ar-continue-card h3 { font-size: 21px; line-height: 1.25; }
.ar-continue-card:hover h3 { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ar-continue-card p { margin-top: 10px; font-size: 16px; line-height: 1.55; }

/* Closing block of the article */

.ar-finale { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.ar-prose > .ar-finale { margin-top: 56px; }
.ar-body + .ar-finale { margin-top: -32px; padding-bottom: 72px; }
.ar-finale h2, .ar-finale__title { max-width: 640px; margin: 0; font-size: 28px; line-height: 1.18; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.ar-finale p { max-width: 600px; margin: 12px 0 0; font-size: 18px; line-height: 1.55; color: var(--text); }
.ar-finale p.ar-finale__title { margin: 0; font-size: 28px; line-height: 1.18; color: var(--ink); }
.ar-finale a { margin-top: 24px; }
.ar-finale a + a { margin-left: 8px; }

/* Numbers in a row */

.stat-cards, .stats-row, .cs-stats, .stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px 32px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stat-value, .stat-val, .stat-number, .cs-stat .n {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.stat-label, .cs-stat .l { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* Card grids: a heading under an ink line, text below */

.opportunity-cards, .pitch-cards, .problem-cards, .why-cards, .platform-cards, .module-grid, .cs-two, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.why-cards.ms-spec, .cs-two, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ar-prose > .opportunity-cards, .ar-prose > .pitch-cards, .ar-prose > .problem-cards, .ar-prose > .why-cards,
.ar-prose > .platform-cards, .ar-prose > .module-grid, .ar-prose > .cs-two { margin-top: 32px; }
.opportunity-card, .pitch-card, .problem-card, .why-card, .platform-card, .module-card, .cs-card, .pricing-card {
    display: block;
    padding-top: 16px;
    border-top: 2px solid var(--ink);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    text-decoration: none;
}
.opportunity-card h4, .pitch-card h4, .problem-card h4, .why-card h4, .platform-card h4, .module-card h4, .cs-card h4 { font-size: 18px; line-height: 1.3; }
.opportunity-card p, .pitch-card p, .problem-card p, .why-card p, .platform-card p, .module-card p { margin: 8px 0 0; }
.module-card:hover h4 { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.module-arrow { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.module-badge { margin-left: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.platform-icon { margin-bottom: 10px; font-size: 15px; font-weight: 700; color: var(--muted); }
.cs-card ul { margin: 10px 0 0; padding-left: 1.2em; }
.cs-card li + li { margin-top: 6px; }

/* Two columns compared side by side */

.comparison-grid, .comparison-columns, .both-worlds, .utilization-chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.comparison-col, .both-worlds-col, .comparison-card, .util-block { padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; font-size: 16px; line-height: 1.5; }
.comparison-col.smashclub, .comparison-col.added, .both-worlds-col.smashclub { border-color: var(--tint); background: var(--tint); }
.comparison-col h4, .both-worlds-col h4, .util-block h4 { font-size: 17px; line-height: 1.3; }
.ar-prose .comparison-col ul, .ar-prose .both-worlds-col ul { list-style: none; margin: 12px 0 0; padding: 0; }
.ar-prose .comparison-col li, .ar-prose .both-worlds-col li { position: relative; margin: 0; padding: 5px 0 5px 24px; }
.comparison-col li::before, .both-worlds-col li::before { content: "\2013"; position: absolute; left: 0; top: 5px; font-weight: 600; color: var(--muted); }
.comparison-col.manual li::before { content: "\2715"; font-size: 13px; top: 7px; }
.comparison-col.smashclub li::before, .both-worlds-col.booking li::before { content: "\2713"; color: var(--ink); }
.comparison-col.added li::before, .both-worlds-col.smashclub li::before { content: "+"; color: var(--accent); }

/* Numbered steps */

.launch-steps, .setup-steps, .automation-flow { display: grid; gap: 22px; counter-reset: ar-step; }
.launch-step, .setup-step, .flow-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; align-items: start; font-size: 16px; line-height: 1.55; counter-increment: ar-step; }
.launch-step > *, .setup-step > *, .flow-step > * { grid-column: 2; }
.launch-step > .step-num, .setup-step > .step-num { grid-column: 1; grid-row: 1 / span 3; }
.step-num,
.launch-step:not(:has(.step-num))::before,
.setup-step:not(:has(.step-num))::before,
.flow-step::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}
.launch-step:not(:has(.step-num))::before, .setup-step:not(:has(.step-num))::before { content: counter(ar-step); grid-column: 1; grid-row: 1; }
.flow-step::before { content: attr(data-step); grid-column: 1; grid-row: 1; }
.launch-step h4, .setup-step h4, .flow-step h4 { padding-top: 4px; font-size: 18px; line-height: 1.3; }
.launch-step p, .setup-step p, .flow-step p { margin: 4px 0 0; }

.timeline { list-style: none; padding: 0; }
.ar-prose ul.timeline { margin-left: 4px; padding-left: 0; }
.ar-prose .timeline li { position: relative; margin: 0; padding: 0 0 22px 24px; border-left: 1px solid var(--line); }
.ar-prose .timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.tl-time { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.tl-desc { margin-top: 2px; font-size: 16px; line-height: 1.5; }

/* Booking platform to SmashClub diagram */

.data-flow { padding: 28px 24px; border-radius: 8px; background: var(--panel); }
.data-flow-diagram { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.flow-node { min-width: 130px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: center; font-size: 14px; line-height: 1.4; color: var(--muted); }
.flow-node strong { display: block; font-size: 15px; }
.flow-node:not(.source):not(.destination) { border-color: var(--ink); }
.flow-arrow { font-size: 20px; color: var(--muted); }
.flow-outputs { display: grid; gap: 8px; }
.flow-outputs .flow-node { padding: 8px 14px; }

/* Message examples */

.msg-thread { display: grid; gap: 10px; padding: 22px 24px; border-radius: 8px; background: var(--panel); }
.msg-bubble { max-width: 92%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 15px; line-height: 1.5; color: var(--text); }
.msg-bubble strong { display: block; margin-bottom: 2px; font-size: 13px; }
.msg-trigger { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.msg-trigger:first-child { margin-top: 0; }
.msg-trigger::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Bars: funnel, utilisation, market charts */

.funnel-step { display: flex; align-items: center; gap: 16px; }
.funnel-step + .funnel-step { margin-top: 10px; }
.funnel-label { flex: 0 0 auto; min-width: 130px; font-size: 15px; color: var(--muted); }
.funnel-bar { display: flex; align-items: center; height: 34px; min-width: fit-content; padding: 0 12px; border-radius: 4px; background: var(--ink); font-size: 14px; font-weight: 600; color: #fff; }
.funnel-bar--100 { width: 100%; }
.funnel-bar--62 { width: 62%; }
.funnel-bar--38 { width: 38%; }
.funnel-bar--28 { width: 28%; background: var(--accent); }

.util-bar { height: 8px; margin: 14px 0 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.util-bar-fill { height: 100%; border-radius: 4px; background: var(--ink); }
.util-bar-fill--low { background: var(--accent); }
.util-label { font-size: 14px; color: var(--muted); }

.chart-container { padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.chart-title { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.chart-subtitle { margin: 4px 0 20px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.bar-chart { display: grid; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { flex: 0 0 auto; width: 104px; font-size: 14px; line-height: 1.3; text-align: right; color: var(--text); }
.bar-track { flex: 1; height: 26px; border-radius: 4px; background: var(--panel); overflow: hidden; }
.bar-fill { display: flex; align-items: center; height: 100%; min-width: fit-content; padding: 0 8px; border-radius: 4px; background: var(--muted); font-size: 13px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.bar-fill.orange { background: var(--accent); }
.bar-fill.teal { background: var(--ink); }
.bar-fill.red { background: #B4B8BD; color: var(--ink); }
.bar-value { flex: 0 0 auto; min-width: 64px; font-size: 14px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.donut-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.donut-grid svg { flex: 0 0 auto; width: 170px; height: 170px; }
.donut-legend { display: grid; gap: 10px; flex: 1; min-width: 200px; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.legend-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; }
.legend-label { flex: 1; }
.legend-value { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }

.pricing-grid { margin-top: 4px; }
.pricing-card .label, .card-label, .metric-label { display: block; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: 0; color: var(--muted); }
.card-label { margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.pricing-card .value { margin-top: 4px; font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pricing-card .value.orange { color: var(--accent); }
.pricing-card .range { margin-top: 4px; font-size: 14px; color: var(--muted); }
.chart-container .comparison-grid { margin-top: 4px; }
.metric + .metric { margin-top: 12px; }
.metric-value { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.metric-value.large { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.metric-value.medium { font-size: 18px; }

/* Branded app example and ways in */

.brand-demo { padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.brand-demo-header { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.brand-demo-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; }
.brand-demo-name { font-size: 18px; font-weight: 600; color: var(--ink); }
.brand-demo-badge { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.brand-demo-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.brand-demo-feature { padding: 14px 8px; border-radius: 6px; background: var(--panel); text-align: center; }
.brand-demo-feature span { display: block; margin-bottom: 4px; font-size: 22px; line-height: 1.2; }
.brand-demo-feature small { font-size: 14px; color: var(--text); }
.access-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.access-method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.access-method-icon { flex: 0 0 auto; font-size: 18px; line-height: 1; }

/* Case study pieces */

.cs-dark { padding: 24px 28px; border-radius: 8px; background: var(--tint); }
.cs-dark .eyebrow { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.cs-dark h3 { font-size: 24px; line-height: 1.2; }
.cs-dark p { margin-top: 10px; font-size: 17px; }
.cs-dark ul { margin: 10px 0 0; padding-left: 1.2em; font-size: 17px; }
.cs-table { min-width: 600px; }
.cs-table th span { display: block; font-weight: 400; color: var(--muted); }
.cs-table .r { text-align: right; }
.cs-table td { vertical-align: middle; }
.cs-table td.hl { font-weight: 700; color: var(--ink); }
.cs-bar { position: relative; height: 12px; min-width: 110px; margin-left: 12px; border-radius: 3px; background: var(--panel); overflow: hidden; }
.cs-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.cs-note { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Contact cards under an article */

.ar-contact { padding: 0 0 72px; }
.ar-contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ar-contact-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); }
.ar-contact-card:hover { border-color: var(--ink); }
.ar-contact-card__icon { flex: 0 0 auto; display: flex; }
.ar-contact-card__icon svg { stroke: var(--ink); }
.ar-contact-card__title { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ar-contact-card__sub { margin-top: 2px; font-size: 15px; line-height: 1.4; color: var(--muted); }

/* Product directory (crawlable links to every product page) */

.product-directory { padding: 64px 0; border-top: 1px solid var(--line); }
.product-directory h2 { font-size: 28px; line-height: 1.2; }
.product-directory p { margin-top: 10px; }
.product-directory nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 32px; margin-top: 28px; }
.product-directory nav a { padding: 6px 0; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }
.product-directory nav a:hover { text-decoration: underline; text-decoration-color: var(--underline); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Tablet and phone */

@media (max-width: 960px) {
    .ar-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .ar-sidebar { position: static; max-width: 728px; }
    .ar-body { padding: 40px 0 64px; }
    .ar-continue-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-directory nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ar-container, .container { padding: 0 20px; }
    .ar-container .ar-container, .ar-container .container { padding: 0; }
    .ar-header { padding: 24px 0 32px; }
    .ar-back { margin-bottom: 20px; }
    .ar-hero-image { margin-top: 28px; padding: 0 20px; }
    .ar-container .ar-hero-image { padding: 0; }
    .ar-prose { font-size: 17px; }
    .ar-prose > h2 { margin-top: 44px; font-size: 26px; }
    .ar-prose > h3 { margin-top: 32px; font-size: 20px; }
    .ar-lead { font-size: 19px; }
    .ar-prose blockquote { font-size: 18px; }
    .ar-inline-cta { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
    .ar-inline-cta > h3 ~ a, .ar-inline-cta > p ~ a { grid-column: 1; grid-row: auto; }
    .ar-inline-cta a { justify-self: start; margin-top: 10px; }
    .ar-finale h2, .ar-finale__title, .ar-finale p.ar-finale__title { font-size: 24px; }
    .ar-finale a + a { margin-left: 0; }
    .ar-finale a { margin-right: 8px; }
    .comparison-grid, .comparison-columns, .both-worlds, .utilization-chart, .why-cards.ms-spec, .cs-two, .pricing-grid, .ar-contact-cards { grid-template-columns: minmax(0, 1fr); }
    .stat-cards, .stats-row, .cs-stats, .stats-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-value, .stat-val, .stat-number, .cs-stat .n { font-size: 28px; }
    .ar-figure-row { grid-template-columns: minmax(0, 280px); }
    .brand-demo-features { grid-template-columns: 1fr; }
    .data-flow-diagram { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .funnel-label { min-width: 96px; }
    .bar-label { width: 72px; font-size: 13px; }
    .bar-value { min-width: 52px; font-size: 13px; }
    .product-directory nav { grid-template-columns: 1fr; }
    .ar-table-wrap table, .data-table-wrap table { min-width: 480px; }
}

/* Comparison tables sit in the text without a wrapper: on narrow screens the table itself scrolls sideways instead of widening the page */
@media (max-width: 760px) {
    .ar-prose table.comparison-table, table.comparison-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* emoji used as icons in mock components: hidden, labels stay */
.brand-demo-feature > span, .access-method-icon { display: none; }

/* long German compounds in stat labels (Gründungsmitgliedschaften) must break instead of widening the page */
.cs-stat .l, .cs-stat { overflow-wrap: anywhere; hyphens: auto; min-width: 0; }
