/* foundd.ai shared site styles: tokens, base, header, buttons, notation, forms, footer.
   Page-specific layout stays inline in each page. Load after assets/fonts/afacad.css. */

:root {
    --canvas: #F5F8F7;
    --surface: #FFFFFF;
    --ink: #12302F;
    --ink-soft: #4B6462;
    --ink-faint: #5F7371;
    --line: #D8E3E0;
    --brand: #366D60;
    --brand-strong: #2A5A4F;
    --mint: #77BDAE;
    --mint-wash: #E4F1EE;
    --deep: #001D22;
    --deep-ink: #E5EDEA;
    --deep-soft: #9DB8B2;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --font: "Afacad", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    font-family: var(--font);
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 248, 247, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 72px;
}

.wordmark {
    display: inline-flex;
    align-items: baseline;
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.wordmark b {
    font-weight: 700;
    background: var(--ink);
    color: var(--canvas);
    border-radius: 6px;
    padding: 0 3px 2px;
    margin: 0 1px;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
}
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-signin-mobile { display: none; }
.nav-divider { align-self: center; width: 1px; height: 30px; background: var(--line); margin: 0 -8px; }
.main-nav a.nav-guide { display: flex; flex-direction: column; line-height: 1.15; }
.nav-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-small { font-size: 16px; padding: 10px 18px; }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); }

/* ---------- Section rhythm ---------- */
.section { padding: 112px 0; }
.section + .section { border-top: 1px solid var(--line); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; }
h2 { font-size: 44px; line-height: 1.08; max-width: 22ch; text-wrap: balance; }
h3 { font-size: 23px; line-height: 1.2; }

.lede { font-size: 21px; color: var(--ink-soft); max-width: 58ch; margin-top: 20px; }
.section-head { margin-bottom: 56px; }

/* ---------- Rating notation (the signature element) ---------- */
.grade { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.grade .paren {
    display: inline-block;
    font-weight: 400;
    color: var(--ink-faint);
    opacity: .65;
    transform: scaleX(.5);
    margin: 0 -.03em;
}
.nowrap { white-space: nowrap; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Contact by email ---------- */
.mail-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 36px 40px; box-shadow: 0 24px 48px -32px rgba(18, 48, 47, .2);
}
.mail-label { font-size: 16px; color: var(--ink-soft); margin: 0 0 6px; }
.mail-address {
    display: inline-block; font-size: 44px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em;
    color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
}
.mail-address:hover { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mail-hint { font-size: 16px; color: var(--ink-soft); margin: 20px 0 0; max-width: 46ch; }
.copy-status { font-size: 15px; color: var(--brand); margin: 8px 0 0; min-height: 1.4em; }
@media (max-width: 760px) {
    .mail-card { padding: 24px 20px; }
    .mail-address { font-size: 30px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 16px; color: var(--ink-faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

/* ---------- Header: compact between 981 and 1140 px, menu button below 980 px ---------- */
.main-nav a { white-space: nowrap; }
@media (max-width: 1140px) {
    .site-header .wrap { gap: 24px; }
    .main-nav { gap: 20px; }
    .main-nav a { font-size: 16px; }
}
@media (max-width: 980px) {
    .site-header .wrap { flex-wrap: wrap; }
    .nav-divider { display: none; }
    .nav-kicker { display: none; }
    .main-nav { align-items: flex-start; }
    .main-nav {
        display: none;
        order: 4;
        flex-basis: 100%;
        flex-direction: column;
        gap: 16px;
        padding: 8px 0 20px;
    }
    .main-nav.active { display: flex; }
    .site-header .wrap:has(.main-nav.active) { height: auto; padding-top: 14px; }
    .nav-right .btn-ghost { display: none; }
    .main-nav .nav-signin-mobile { display: block; }
    .menu-toggle { display: block; order: 3; }
}

/* ---------- Shared responsive ---------- */
@media (max-width: 760px) {
    body { font-size: 18px; }
    .nav-divider { display: none; }
    .nav-kicker { display: none; }
    .main-nav { align-items: flex-start; }
    .wrap { padding: 0 16px; }
    .site-header .wrap { height: 64px; gap: 16px; flex-wrap: wrap; }
    .wordmark { font-size: 30px; }
    .main-nav {
        display: none;
        order: 4;
        flex-basis: 100%;
        flex-direction: column;
        gap: 16px;
        padding: 8px 0 20px;
    }
    .main-nav.active { display: flex; }
    .site-header .wrap:has(.main-nav.active) { height: auto; padding-top: 14px; }
    .nav-right .btn-ghost { display: none; }
    .main-nav .nav-signin-mobile { display: block; }
    .menu-toggle { display: block; order: 3; }
    .nav-right { margin-left: auto; }
    .section { padding: 72px 0; }
    h2 { font-size: 34px; }
    .lede { font-size: 19px; }
}

/* ---------- Content pages (subpages and legal pages) ---------- */
.main-nav a[aria-current="page"] { color: var(--ink); }

.page { padding: 88px 0 112px; }
.page .wrap { max-width: 880px; }

.page-header { margin-bottom: 56px; }
.page-header h1 { font-size: 60px; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.page-intro { font-size: 22px; color: var(--ink-soft); max-width: 52ch; margin-top: 24px; }

.page h2 { margin: 72px 0 20px; font-size: 36px; }
.page .page-header + h2,
.page .page-header + p + h2 { margin-top: 0; }
.page h3 { margin-bottom: 8px; }
.page h4 { font-size: 21px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.page p { max-width: 68ch; margin-bottom: 16px; }
/* Links: brand green means clickable. Headings and body text stay ink. */
.page p a, .page td a, .page .feature-list a, .page .legal-body a, .email-link {
    color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.page p a:hover, .page td a:hover, .page .feature-list a:hover, .page .legal-body a:hover, .email-link:hover {
    color: var(--brand-strong); text-decoration-thickness: 2px;
}
.page strong { font-weight: 600; }

/* Audience / benefit columns: plain columns divided by rules, not cards */
.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}
.column-card { border-top: 3px solid var(--mint); padding-top: 20px; }
.column-card p { font-size: 17px; color: var(--ink-soft); }
.column-card ul { list-style: none; margin-top: 12px; font-size: 16px; color: var(--ink-soft); }
.column-card li { padding: 6px 0; border-top: 1px solid var(--line); }

/* Feature list: term on the left, explanation on the right */
.feature-list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); }
.feature-list li {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 18px;
}
.feature-list li strong { color: var(--ink); font-weight: 600; }

.highlight-box, .mission-block {
    background: var(--mint-wash);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin: 40px 0;
}
.highlight-box p, .mission-block p { margin-bottom: 0; }
.mission-block p { font-size: 22px; color: var(--ink); }

.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 24px; }
.value-item p { font-size: 17px; color: var(--ink-soft); margin-bottom: 0; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.team-card > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.team-card .role { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 17px; margin-bottom: 12px; }
.team-card p { font-size: 17px; color: var(--ink-soft); }
.linkedin-link img { width: 20px; height: auto; display: block; }

.cta-section, .contact-box {
    margin-top: 80px;
    padding: 40px 44px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.cta-section h2 { margin-bottom: 12px; }
.contact-box h3 { margin-bottom: 12px; }
.cta-filled {
    display: inline-block;
    margin-top: 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
}
.cta-filled:hover { background: var(--brand-strong); }

@media (max-width: 760px) {
    .page { padding: 48px 0 72px; }
    .page-header h1 { font-size: 42px; }
    .page-intro { font-size: 20px; }
    .page h2 { font-size: 30px; margin-top: 56px; }
    .three-columns, .values-list, .team-grid { grid-template-columns: 1fr; }
    .feature-list li { grid-template-columns: 1fr; gap: 6px; }
    .highlight-box, .mission-block, .cta-section, .contact-box { padding: 24px 20px; }
}

/* ---------- Comparison page ---------- */
.page-compare .wrap { max-width: 1040px; }
.dd-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 17px; }
.dd-table th, .dd-table td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.dd-table thead th { font-size: 15px; font-weight: 500; color: var(--ink-faint); padding-top: 0; }
.dd-table tbody th { font-weight: 600; width: 22%; }
.dd-table td.std { color: var(--ink-soft); width: 36%; }
.dd-table td.us { color: var(--ink); }
.steps-list .step-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; margin-right: 10px; border-radius: 50%;
    background: var(--mint-wash); color: var(--brand); font-size: 15px; font-weight: 600;
}
.faq-list { margin-top: 24px; border-top: 1px solid var(--line); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 21px; margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); margin-bottom: 0; }

@media (max-width: 760px) {
    .dd-table thead { display: none; }
    .dd-table tr { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .dd-table th, .dd-table td { border: 0; padding: 0; width: auto !important; }
    .dd-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink-faint); }
}

/* ---------- Continuous DD: overview and chapters ---------- */
.page-chapter .wrap { max-width: 800px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--ink-faint); margin-bottom: 28px; }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-chapter .page-intro { max-width: 60ch; color: var(--ink); }
.page-chapter .feature-list li { grid-template-columns: 200px 1fr; }
.chapter-closing {
    margin-top: 48px; padding: 24px 28px; border-radius: var(--radius-lg);
    background: var(--mint-wash); color: var(--ink);
}
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 20px 0 28px; font-size: 16px; color: var(--ink-faint); }
.page .byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.page .byline a:hover { color: var(--brand-strong); text-decoration: underline; }
.byline-sep { color: var(--line); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.prev-next a {
    display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
    background: var(--surface); color: var(--brand); text-decoration: none; font-weight: 600; font-size: 17px;
}
.prev-next a:hover { border-color: var(--brand); color: var(--brand-strong); }
.prev-next a span { display: block; font-size: 14px; font-weight: 500; color: var(--ink-faint); margin-bottom: 4px; }
.prev-next .pn-next { grid-column: 2; text-align: right; }
.chapter-list { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.chapter-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.chapter-list a { display: flex; gap: 14px; align-items: baseline; font-size: 21px; font-weight: 600; color: var(--brand); text-decoration: none; }
.chapter-list a:hover { color: var(--brand-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.chapter-list p { margin: 6px 0 0; color: var(--ink-soft); font-size: 17px; }
/* Overview (hub): eyebrow, topic cards, example, closing row */
.page-hub .wrap { max-width: 1040px; }
.page-hub .page-header, .page-hub .hub-example > p { max-width: 760px; }
.hub-analogy { margin-top: 20px; color: var(--ink-soft); }
.page-eyebrow { font-size: 17px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.topic-cards { list-style: none; display: grid; gap: 16px; max-width: 760px; }
.topic-card {
    display: flex; flex-direction: column; height: 100%; padding: 24px 28px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    color: var(--ink); text-decoration: none; transition: border-color .15s ease;
}
.topic-card:hover { border-color: var(--brand); }
.topic-card h3 { font-size: 22px; line-height: 1.25; }
.topic-card p { margin: 10px 0 0; font-size: 17px; color: var(--ink-soft); }
.topic-read { margin-top: auto; padding-top: 18px; font-size: 16px; font-weight: 600; color: var(--brand); }
.topic-card:hover .topic-read { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.hub-example .tl-figure { margin-top: 28px; }
.hub-closing { display: grid; grid-template-columns: minmax(0, 480px); margin-top: 72px; }
.hub-card {
    display: flex; flex-direction: column; align-items: flex-start; padding: 28px;
    border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
    color: var(--ink); text-decoration: none;
}
a.hub-card:hover { border-color: var(--brand); }
a.hub-card:hover h3 { color: var(--brand-strong); }
.hub-card-label { font-size: 15px; font-weight: 600; color: var(--ink-faint); margin-bottom: 8px; }
.hub-card h3 { font-size: 22px; line-height: 1.25; }
.hub-card p { margin: 8px 0 0; font-size: 17px; color: var(--ink-soft); }
@media (max-width: 760px) {
    .page-chapter .feature-list li { grid-template-columns: 1fr; }
    .hub-closing { margin-top: 56px; }
    .topic-card, .hub-card { padding: 22px 20px; }
    .prev-next { grid-template-columns: 1fr; }
    .prev-next .pn-next { grid-column: auto; text-align: left; }
    .chapter-list a { font-size: 19px; }
    .chapter-closing { padding: 20px; }
}

/* ---------- Legal pages: table of contents + card ---------- */
.page.legal .wrap { max-width: 1160px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 104px; font-size: 15px; }
.legal-toc-title { font-size: 14px; color: var(--ink-faint); margin-bottom: 10px; }
.legal-toc ol { list-style: none; }
.legal-toc > ol { border-left: 1px solid var(--line); }
.legal-toc a {
    display: block; padding: 6px 0 6px 16px; margin-left: -1px;
    border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.3;
}
.legal-toc a:hover { color: var(--ink); }
.legal-toc a[aria-current="true"] { border-left-color: var(--brand); color: var(--ink); font-weight: 600; }
.legal-toc .toc-sub a { padding-left: 32px; font-size: 14px; }
.legal-toc .toc-sub a span { color: var(--brand); margin-right: 4px; }

.legal-body { max-width: 760px; }
.legal-body section { scroll-margin-top: 96px; }
.legal-body section + section { margin-top: 64px; }
.page .legal-body h2 { margin: 0 0 16px; font-size: 30px; }
.legal-body h3 { display: flex; gap: 10px; font-size: 21px; margin: 32px 0 8px; scroll-margin-top: 96px; }
.legal-body h3 .num { color: var(--brand); }
.legal-body p { color: var(--ink-soft); }

.legal-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px 36px; box-shadow: 0 24px 48px -32px rgba(18, 48, 47, .2);
}
.page .legal-card h2.legal-card-label, .legal-card-label { font-size: 14px; font-weight: 500; color: var(--brand); margin: 0 0 12px; letter-spacing: 0; max-width: none; }
.legal-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.legal-card address { font-style: normal; display: grid; gap: 4px; font-size: 18px; color: var(--ink); }
.legal-name { font-size: 22px; font-weight: 600; }
.legal-card-grid p { color: var(--ink); margin-bottom: 4px; }
.page .legal-card-foot { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; max-width: none; }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc { position: static; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
}
@media (max-width: 760px) {
    .legal-card { padding: 24px 20px; }
    .legal-card-grid { grid-template-columns: 1fr; gap: 20px; }
}


/* ---------- Language switch ---------- */
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; margin-right: 6px; }
.lang-switch span { color: var(--line); }
.lang-switch a { color: var(--ink-faint); text-decoration: none; padding: 4px 2px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); }
@media (max-width: 760px) {
    .lang-switch { font-size: 14px; gap: 4px; margin-right: 0; }
    .site-header .wrap { gap: 10px; }
    .nav-right { gap: 8px; }
    .nav-right .btn-small { font-size: 15px; padding: 9px 12px; white-space: nowrap; }
    .menu-toggle { padding: 6px 2px; }
}
@media (max-width: 359px) {
    .wordmark { font-size: 25px; }
    .lang-switch { font-size: 13px; }
    .nav-right .btn-small { font-size: 14px; padding: 8px 10px; }
}

/* Long German compounds (e.g. Datenschutzerklärung) must not overflow narrow screens */
h1, h2, h3, .page p, .page li { overflow-wrap: break-word; }
:lang(de) h1, :lang(de) h2, :lang(de) h3 { hyphens: auto; }

/* ---------- About: the name ---------- */
.name-block {
    display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px 36px; margin-top: 8px;
}
.page .name-mark { font-size: 64px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); margin: 0; white-space: nowrap; }
.name-mark b { font-weight: 700; background: var(--ink); color: var(--canvas); border-radius: 10px; padding: 0 6px 4px; margin: 0 2px; }
.name-parts { display: grid; gap: 14px; }
.name-parts div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; }
.name-parts dt { font-size: 22px; font-weight: 700; color: var(--brand); }
.name-parts dd { color: var(--ink-soft); font-size: 18px; }
@media (max-width: 760px) {
    .name-block { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
    .page .name-mark { font-size: 48px; }
}

.read-more { margin-top: 48px; font-size: 18px; }

/* ---------- Explanatory graphics ---------- */
.tl-figure { margin: 0 0 48px; max-width: 760px; }
.tl-svg { display: block; width: 100%; height: auto; font-family: var(--font); overflow: visible; }
.tl-narrow { display: none; }
@media (max-width: 600px) {
    .tl-wide { display: none; }
    .tl-narrow { display: block; max-width: 420px; }
}
.tl-band-a { fill: var(--mint-wash); }
.tl-band-b { fill: var(--mint-wash); opacity: .55; }
.tl-band-c { fill: var(--mint-wash); opacity: .2; }
.tl-band-label { fill: var(--ink-faint); font-size: 16px; font-weight: 600; }
.tl-grid { stroke: var(--line); stroke-width: 1; }
.tl-month { fill: var(--ink-faint); font-size: 15px; }
.tl-report { stroke: var(--ink-faint); stroke-width: 2; stroke-dasharray: 6 6; }
.tl-indication { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.tl-rating { fill: var(--ink); }
.tl-point { fill: var(--surface); stroke: var(--brand); stroke-width: 3; }
.tl-label { font-size: 16px; fill: var(--ink-soft); }
.tl-label.tl-strong { fill: var(--ink); font-weight: 600; font-size: 17px; }
.tl-label.tl-muted { fill: var(--ink-faint); font-size: 15px; }
.tl-paren { font-weight: 300; fill-opacity: .55; }
.tl-flag { fill: var(--surface); stroke: var(--brand-strong); stroke-width: 1.5; }
.tl-flag-text { fill: var(--brand-strong); font-size: 14px; font-weight: 600; }
.tl-flag-pole { stroke: var(--brand-strong); stroke-width: 1.5; stroke-dasharray: 2 3; }
.tl-figure figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-faint); max-width: 70ch; }

/* Step sequence on the comparison page */
@media (min-width: 761px) {
    .page-compare .steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 0; }
    .page-compare .steps-list li {
        position: relative; display: block; padding: 22px 20px; border: 1px solid var(--line);
        border-radius: var(--radius-lg); background: var(--surface); font-size: 16px;
    }
    .page-compare .steps-list li strong { display: flex; align-items: center; margin-bottom: 10px; font-size: 18px; }
    .page-compare .steps-list li:not(:last-child)::after {
        content: ""; position: absolute; top: 50%; right: -24px; width: 20px; height: 2px; background: var(--mint);
    }
    .page-compare .steps-list li:not(:last-child)::before {
        content: ""; position: absolute; top: calc(50% - 4px); right: -25px; border: 5px solid transparent;
        border-left: 7px solid var(--mint); border-right: 0;
    }
}
@media (max-width: 760px) {
    .page-compare .steps-list { border-top: 0; }
    .page-compare .steps-list li { position: relative; border-bottom: 0; padding: 0 0 26px 40px; }
    .page-compare .steps-list li strong .step-no { position: absolute; left: 0; top: 0; margin: 0; }
    .page-compare .steps-list li:not(:last-child)::after {
        content: ""; position: absolute; left: 12px; top: 30px; bottom: 2px; width: 2px; background: var(--mint);
    }
}

/* Grade scale in the reading guide */
.grade-scale { margin: 34px 0 18px; }
.gs-bar { position: relative; display: flex; height: 30px; border-radius: 8px; overflow: visible; }
.gs-seg { display: flex; align-items: center; justify-content: center; flex: 25; font-size: 14px; color: var(--ink); }
.gs-seg b { font-weight: 700; }
.gs-a { flex: 26; background: var(--mint); border-radius: 0 8px 8px 0; }
.gs-b { background: #A9D6CB; }
.gs-c { background: #CFE7E1; }
.gs-d { background: var(--mint-wash); border-radius: 8px 0 0 8px; }
.gs-marker { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.gs-marker .grade { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 15px; font-weight: 700; color: var(--ink); }
.gs-ticks { position: relative; height: 20px; margin-top: 6px; font-size: 13px; color: var(--ink-faint); }
.gs-ticks span { position: absolute; transform: translateX(-50%); }
.gs-ticks span:first-child { transform: none; }
.gs-ticks span:last-child { transform: translateX(-100%); }
