/* site palette */
html:root {
    --bg: #FCF9F9;
    --surface: #FFFFFF;
    --surface-alt: #F3E7E5;
    --text: #251918;
    --text-muted: #78625E;
    --border: #E4D9D8;
    --primary: #F77460;
    --primary-hover: #F55239;
    --on-primary: #111111;
    --primary-text: #342675;
    --accent: #342675;
    --on-accent: #FFFFFF;
    --accent-text: #342675;
    --dark-band: #141029;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3B8B6;
    --brand-btn-bg: #111111;
    --brand-btn-text: #F77460;
    --section-alt-bg: linear-gradient(161deg, #F9F2F1 0%, #F6EDEB 50%, #F3E7E5 100%);
    --dark-band-bg: linear-gradient(161deg, #211A40 0%, #1A1534 50%, #141029 100%);
    --brand-band-bg: linear-gradient(161deg, #F77460 0%, #FF8C79 100%);
    --hero-bg: linear-gradient(161deg, #FFECE8 0%, #F9E9E7 50%, #F3E7E5 100%);
    --on-hero: #251918;
    --footer-bg: linear-gradient(161deg, #211A40 0%, #1A1534 50%, #141029 100%);
    --on-footer: #FFFFFF;
    --on-footer-muted: #C3B8B6;
}

/* /site palette */

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

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

.text-muted {
    color: var(--text-muted) !important;
}

.yad-section,
.yad-section-alt,
.yad-section-dark,
.yad-section-brand {
    padding-top: 64px;
    padding-bottom: 64px;
}

@media (min-width: 768px) {

    .yad-section,
    .yad-section-alt,
    .yad-section-dark,
    .yad-section-brand {
        padding-top: 96px;
        padding-bottom: 96px;
    }
}

@media (min-width: 1024px) {

    .yad-section,
    .yad-section-alt,
    .yad-section-dark,
    .yad-section-brand {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

.yad-section {
    background: var(--bg);
}

.yad-section-alt {
    background: var(--section-alt-bg, var(--surface-alt));
}

.yad-section-dark {
    background: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
}

.yad-section-dark .yad-title,
.yad-section-dark .yad-eyebrow {
    color: var(--on-dark);
}

.yad-section-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.yad-section-dark a {
    color: var(--on-dark);
}

.yad-section-dark a:hover {
    color: var(--primary);
}

.yad-section-dark .yad-btn-alt {
    color: var(--on-dark);
    border-color: var(--on-dark);
}

.yad-section-brand {
    background: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
}

.yad-section-brand .yad-title,
.yad-section-brand .yad-eyebrow {
    color: var(--on-primary);
}

.yad-section-brand .yad-btn {
    background: var(--brand-btn-bg);
    color: var(--brand-btn-text);
}

.yad-section-brand .yad-btn:hover {
    background: var(--brand-btn-bg);
    filter: brightness(0.9);
}

.yad-section-brand .yad-btn-alt {
    color: var(--on-primary);
    border-color: var(--on-primary);
}

.yad-on-dark {
    color: var(--on-dark);
}

.yad-on-dark .yad-title,
.yad-on-dark .yad-eyebrow {
    color: var(--on-dark);
}

.yad-on-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.yad-on-dark a {
    color: var(--on-dark);
}

.yad-on-dark a:hover {
    color: var(--primary);
}

.yad-on-dark .yad-btn-alt {
    color: var(--on-dark);
    border-color: var(--on-dark);
}

.yad-section-dark .yad-card,
.yad-on-dark .yad-card {
    background: var(--surface);
    color: var(--text);
}

.yad-section-dark .yad-card .yad-title,
.yad-on-dark .yad-card .yad-title {
    color: var(--text);
}

.yad-section-dark .yad-card .text-muted,
.yad-on-dark .yad-card .text-muted {
    color: var(--text-muted) !important;
}

.yad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 16px 28px;
    border: 0;
    border-radius: 0;
    background: var(--primary);
    color: var(--on-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.yad-btn:hover {
    background: var(--primary-hover);
    color: var(--on-primary);
}

.yad-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.yad-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 15px 27px;
    border: 1px solid var(--primary-text);
    border-radius: 0;
    background: transparent;
    color: var(--primary-text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.yad-btn-alt:hover {
    background: var(--surface-alt);
    color: var(--primary-text);
}

.yad-btn-alt:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.yad-card {
    --yad-card-pad: 16px;
    display: flex;
    flex-direction: column;
    padding: var(--yad-card-pad);
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

@media (min-width: 768px) {
    .yad-card {
        --yad-card-pad: 24px;
    }
}

.yad-card:hover {
    border-color: var(--text-muted);
}

.yad-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"])>.yad-media:first-child {
    margin: calc(-1 * var(--yad-card-pad)) calc(-1 * var(--yad-card-pad)) var(--yad-card-pad);
    border-radius: 0;
    border: 0;
}

.yad-card .yad-btn,
.yad-card .yad-btn-alt {
    margin-top: auto;
    align-self: flex-start;
}

.yad-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
}

.yad-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yad-eyebrow {
    display: block;
    margin: 0 0 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-text);
}

.yad-title {
    margin: 0 0 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text);
}

.yad-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 0;
    background: var(--primary);
    color: var(--on-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yad-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary);
}

.yad-icon svg {
    width: 20px;
    height: 20px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}

.yad-card:not([class*="row"]):not([class*="grid"]):not([class*="horizontal"]):not([class*="list"]):not([class*="side"]):not([class*="split"]):not([class*="wide"]):not([class*="inline"])>.yad-media:first-child {
    width: calc(100% + 2 * var(--yad-card-pad, 0px));
    max-width: none
}


/* ===== header ===== */
.site-header {
    font-family: 'DM Sans', sans-serif;
}

.site-header .site-dropdown-menu {
    border-radius: 0;
}

.site-header .site-mobile-panel {
    position: relative;
    z-index: 40;
}

.site-header .site-nav-link {
    position: relative;
}

.site-header .site-nav-link:hover {
    color: var(--primary-text);
}

@media (max-width: 767px) {
    .site-header .site-topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* ===== hero ===== */
.sl-hero {
    position: relative;
}

.sl-hero__slides-viewport {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sl-hero .yad-btn {
    transition: background-color 200ms ease, color 200ms ease;
}

.sl-hero .yad-btn-alt {
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.sl-hero .js-toggle-before.is-active,
.sl-hero .js-toggle-after.is-active {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

/* ===== interactive-tour ===== */
#interactive-tour-block .js-tour-tab.active {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary)
}

#interactive-tour-block input[type=range]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: var(--primary);
    cursor: pointer;
    -webkit-appearance: none
}

#interactive-tour-block input[type=range]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: var(--primary);
    cursor: pointer;
    border: none
}

#interactive-tour-block .js-measure-btn.active {
    border-color: var(--primary-text);
    background-color: var(--surface-alt)
}

#interactive-tour-block .js-hierarchy-toggle.active {
    border-color: var(--primary-text);
    background-color: var(--surface-alt)
}

@media (max-width:767px) {
    #interactive-tour-block .js-tool-panel>div {
        grid-template-columns: 1fr
    }
}

/* ===== who-it-is-for ===== */
.srl-qualification {
    background: linear-gradient(161deg, #F77460 0%, #FF8C79 100%)
}

.srl-qualification .srl-card-target,
.srl-qualification .srl-card-not-target {
    border-radius: 0;
    box-shadow: none
}

.srl-qualification .srl-role-btn {
    border-radius: 0;
    border: none;
    cursor: pointer
}

.srl-qualification .srl-role-btn.is-active {
    background-color: #111111;
    color: #F77460
}

.srl-qualification .js-qualification-item {
    transition: opacity 0.2s ease, transform 0.2s ease
}

.srl-qualification .js-qualification-item.is-dimmed {
    opacity: 0.35
}

.srl-qualification .js-qualification-item.is-highlighted {
    opacity: 1;
    transform: translateX(2px)
}

@media (max-width:767px) {
    .srl-qualification .grid {
        grid-template-columns: 1fr
    }
}

/* ===== common-mistakes ===== */
.common-mistakes-section {
    background: var(--bg);
}

.common-mistakes-section .common-mistakes-tab.active {
    background: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

.common-mistakes-section .common-mistakes-tab:not(.active):hover {
    background: var(--surface-alt);
    color: var(--text);
}

.common-mistakes-section .yad-media img {
    display: block;
}

@media (max-width: 767px) {
    .common-mistakes-section .yad-title {
        hyphens: auto;
    }
}

/* ===== contractor-questions ===== */
.contractor-questions-block .js-cq-filter.active {
    background-color: #342675;
    color: #FFFFFF;
    border-color: #342675;
}

.contractor-questions-block .js-cq-filter:hover:not(.active) {
    background-color: #F3E7E5;
}

.contractor-questions-block .js-cq-item {
    transition: opacity 200ms ease, transform 200ms ease;
}

@media (max-width: 767px) {

    .contractor-questions-block .yad-btn,
    .contractor-questions-block .yad-btn-alt {
        width: 100%;
    }
}

/* ===== problem-solution ===== */
.lab-problem-solution .lab-filter-btn {
    border-color: var(--border);
    background-color: var(--surface);
    color: var(--text);
    border-radius: 0;
}

.lab-problem-solution .lab-filter-btn:hover {
    background-color: var(--surface-alt);
    border-color: var(--primary);
}

.lab-problem-solution .lab-filter-btn.active {
    background-color: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
}

.lab-problem-solution .lab-column-card {
    border-radius: 0;
    box-sizing: border-box;
}

.lab-problem-solution .lab-problem-side {
    border-top: 4px solid #E0523C;
}

.lab-problem-solution .lab-solution-side {
    border-top: 4px solid var(--primary);
}

@media (max-width: 767px) {
    .lab-problem-solution .lab-column-card {
        width: 100%;
    }
}

/* ===== featured-case ===== */
.featured-case-section .featured-case-card {
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.featured-case-section .featured-case-card:hover {
    border-color: var(--primary-text);
}

.featured-case-section .case-slide-stage {
    aspect-ratio: 16 / 9;
}

.featured-case-section .js-toggle-critique:hover {
    background-color: var(--surface-alt);
}

.featured-case-section .js-toggle-critique:focus-visible {
    outline: 2px solid var(--primary-text);
    outline-offset: 2px;
}

.featured-case-section .yad-btn {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.featured-case-section .yad-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

@media (max-width: 767px) {
    .featured-case-section .case-slide-stage {
        aspect-ratio: auto;
        min-height: 190px;
    }
}

/* ===== categories-grid ===== */
.categories-block {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.categories-block .categories-card {
    border-radius: 0;
    min-height: 100%;
    border: 1px solid var(--border);
}

.categories-block .categories-pill-btn {
    min-height: 40px;
}

@media (max-width: 767px) {
    .categories-block .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== newsletter ===== */
.newsletter-block .newsletter-input {
    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;
}

.newsletter-block .newsletter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(52, 38, 117, 0.25);
}

.newsletter-block .newsletter-input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.newsletter-block .newsletter-checkbox:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* ===== footer ===== */
.site-footer {
    box-sizing: border-box;
}

.site-footer__container {
    box-sizing: border-box;
}

.site-footer__disclaimer {
    border-radius: 0;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== PAGE: privacy ===== */
#privacy-content { max-width: 960px; margin: 0 auto; padding: 40px 20px; font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--surface); border: 1px solid var(--border); box-sizing: border-box; } @media (min-width: 768px) { #privacy-content { padding: 64px 48px; } } #privacy-content .privacy-meta { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border); } #privacy-content .privacy-header-title { font-weight: 900; line-height: 1.15; color: var(--text); margin-top: 12px; margin-bottom: 16px; overflow-wrap: anywhere; } #privacy-content .privacy-effective-box { font-size: 13px; font-weight: 500; color: var(--text-muted); } #privacy-content .privacy-meta-label { font-weight: 700; color: var(--text); } #privacy-content .privacy-meta-value { color: var(--text-muted); } #privacy-content .privacy-meta-separator { margin: 0 4px; color: var(--border); } #privacy-content .privacy-section { margin-bottom: 32px; } #privacy-content .privacy-section:last-child { margin-bottom: 0; } #privacy-content h2 { font-weight: 800; line-height: 1.25; color: var(--text); margin-top: 0; margin-bottom: 14px; overflow-wrap: anywhere; } #privacy-content p { font-size: 15px; line-height: 1.65; color: var(--text); margin-top: 0; margin-bottom: 14px; overflow-wrap: anywhere; } @media (min-width: 768px) { #privacy-content p { font-size: 16px; } } #privacy-content ul { list-style-type: disc; padding-left: 24px; margin-top: 0; margin-bottom: 16px; } #privacy-content li { font-size: 15px; line-height: 1.6; color: var(--text); margin-bottom: 10px; overflow-wrap: anywhere; } @media (min-width: 768px) { #privacy-content li { font-size: 16px; } } #privacy-content strong { font-weight: 700; color: var(--text); } #privacy-content a { color: var(--primary-text); text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 3px; font-weight: 600; transition: color 200ms ease; } #privacy-content a:hover { color: var(--text); text-decoration-color: var(--text); } #privacy-content .privacy-contact-list { list-style: none; padding-left: 0; margin-top: 16px; } #privacy-content .privacy-contact-list li { margin-bottom: 8px; }

/* ===== PAGE: terms ===== */
#privacy-content{max-width:860px;margin-left:auto;margin-right:auto;padding:2.5rem 1.25rem;color:var(--text);font-family:'DM Sans',sans-serif;overflow-wrap:anywhere}@media(min-width:768px){#privacy-content{padding:4rem 2rem}}#privacy-content h2{font-size:16px;font-weight:800;line-height:1.25;color:var(--text);margin-top:2rem;margin-bottom:0.75rem}@media(min-width:768px){#privacy-content h2{font-size:26px;line-height:1.2;margin-top:2.75rem;margin-bottom:1rem}}#privacy-content h3{font-size:14px;font-weight:700;line-height:1.3;color:var(--text);margin-top:1.5rem;margin-bottom:0.5rem}@media(min-width:768px){#privacy-content h3{font-size:20px;line-height:1.3}}#privacy-content p{font-size:15px;line-height:1.65;color:var(--text-muted);margin-bottom:1.25rem}@media(min-width:768px){#privacy-content p{font-size:16px}}#privacy-content ul,#privacy-content ol{margin-top:0.5rem;margin-bottom:1.5rem;padding-left:1.25rem;color:var(--text-muted)}#privacy-content ul{list-style-type:disc}#privacy-content ol{list-style-type:decimal}#privacy-content li{font-size:15px;line-height:1.6;margin-bottom:0.5rem}@media(min-width:768px){#privacy-content li{font-size:16px}}#privacy-content a{color:var(--primary-text);text-decoration:underline;text-underline-offset:3px;transition:color 200ms ease;overflow-wrap:anywhere}#privacy-content a:hover,#privacy-content a:focus{color:var(--text)}#privacy-content strong{color:var(--text);font-weight:700}

/* ===== PAGE: disclaimer ===== */
.yad-section #privacy-content { max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; font-family: 'DM Sans', sans-serif; color: var(--text); line-height: 1.65; overflow-wrap: anywhere; word-break: normal; } .yad-section #privacy-content .disclaimer-header { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 32px; } .yad-section #privacy-content .disclaimer-effective { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary-text); margin-bottom: 12px; } .yad-section #privacy-content .disclaimer-intro { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; } .yad-section #privacy-content h2 { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.3; margin-top: 36px; margin-bottom: 14px; text-transform: none; } .yad-section #privacy-content h3 { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; margin-top: 24px; margin-bottom: 10px; } .yad-section #privacy-content p { font-size: 15px; font-weight: 400; color: var(--text); line-height: 1.65; margin-bottom: 16px; } .yad-section #privacy-content ul { list-style: disc; margin: 0 0 20px 20px; padding: 0; } .yad-section #privacy-content li { font-size: 15px; color: var(--text); line-height: 1.6; margin-bottom: 8px; } .yad-section #privacy-content a { color: var(--primary-text); text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 3px; font-weight: 600; transition: color 200ms ease; } .yad-section #privacy-content a:hover, .yad-section #privacy-content a:focus { color: var(--text); text-decoration-color: var(--text); } @media (min-width: 768px) { .yad-section #privacy-content { padding: 64px 32px 100px; } .yad-section #privacy-content h2 { font-size: 24px; margin-top: 48px; margin-bottom: 18px; } .yad-section #privacy-content h3 { font-size: 18px; margin-top: 32px; margin-bottom: 12px; } .yad-section #privacy-content p, .yad-section #privacy-content li { font-size: 16px; } }

/* ===== PAGE: readability-cases ===== */
.rcases-block{overflow-wrap:anywhere;}.rcases-block .yad-card{border-radius:0;box-sizing:border-box;}.rcases-block .yad-btn{border-radius:0;min-height:46px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;}.rcases-block .yad-badge{border-radius:0;letter-spacing:0.08em;}.rcases-block .js-filter-btn{border-radius:0;cursor:pointer;}

/* ===== PAGE: text-hierarchy ===== */
.text-hierarchy-page .th-card { border-radius: 0; box-shadow: none; border-color: var(--border); }
.text-hierarchy-page .th-card:hover { border-color: var(--primary-text); }
.text-hierarchy-page .th-media-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 767px) {
  .text-hierarchy-page .th-featured-layout { flex-direction: column !important; }
  .text-hierarchy-page .th-featured-primary, .text-hierarchy-page .th-side-list { width: 100% !important; }
}

/* ===== PAGE: line-length-decisions ===== */
.lld-section{position:relative;background-color:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;padding:64px 0}.lld-container{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}.lld-filter-btn{background-color:var(--surface);border:1px solid var(--border);color:var(--text);padding:10px 18px;font-size:14px;font-weight:700;transition:all 200ms ease;cursor:pointer}.lld-filter-btn:hover{background-color:var(--surface-alt)}.lld-filter-btn.active{background-color:var(--primary);color:var(--on-primary);border-color:var(--primary)}.lld-card{background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;height:100%;transition:border-color 200ms ease}.lld-card:hover{border-color:var(--accent)}.lld-img-wrap{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;background-color:var(--surface-alt)}.lld-img-wrap img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 500ms cubic-bezier(0.22,1,0.36,1)}.lld-card:hover .lld-img-wrap img{transform:scale(1.03)}.lld-date-badge{position:absolute;top:0;left:0;background-color:var(--primary);color:var(--on-primary);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;padding:8px 12px;z-index:2}.lld-body{padding:24px;display:flex;flex-direction:column;flex-grow:1}.lld-btn-block{display:block;width:100%;text-align:center;background-color:var(--primary);color:var(--on-primary);font-size:14px;font-weight:700;padding:14px 20px;transition:background-color 200ms ease;text-decoration:none}.lld-btn-block:hover{background-color:var(--primary-hover);color:var(--on-primary)}@media (min-width:768px){.lld-section{padding:96px 0}.lld-container{padding-left:32px;padding-right:32px}}@media (min-width:1024px){.lld-section{padding:120px 0}.lld-container{padding-left:48px;padding-right:48px}}@media (max-width:767px){.lld-grid-main{display:flex!important;flex-direction:column!important}}

/* ===== PAGE: contrast-reviews ===== */
.reviews-catalog-block { background-color: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; } .reviews-catalog-block .list-heading-line { flex-grow: 1; height: 1px; background-color: var(--border); } .reviews-catalog-block .filter-btn.active { background-color: var(--accent); color: var(--on-accent); border-color: var(--accent); } .reviews-catalog-block .filter-btn { border: 1px solid var(--border); background-color: var(--surface); color: var(--text); transition: all 200ms ease; } .reviews-catalog-block .filter-btn:hover { border-color: var(--primary); color: var(--primary-text); } .reviews-catalog-block .search-input { background-color: var(--surface); border: 1px solid var(--border); color: var(--text); } .reviews-catalog-block .search-input::placeholder { color: var(--text-muted); opacity: 1; } .reviews-catalog-block .search-input:focus { outline: 2px solid var(--accent); border-color: var(--accent); } .reviews-catalog-block .row-card { background-color: var(--surface); border: 1px solid var(--border); transition: border-color 200ms ease; } .reviews-catalog-block .row-card:hover { border-color: var(--primary); } .reviews-catalog-block .card-media-wrapper { aspect-ratio: 3/2; flex-shrink: 0; } @media (max-width: 767px) { .reviews-catalog-block .row-card { flex-direction: column; } .reviews-catalog-block .card-media-wrapper { width: 100%; aspect-ratio: 3/2; } .reviews-catalog-block .filter-controls-row { flex-direction: column; align-items: stretch; } }

/* ===== PAGE: theme-consistency ===== */
.tc-editorial-section{position:relative;background-color:var(--bg);overflow:hidden;box-sizing:border-box;}.tc-container{box-sizing:border-box;width:100%;}.tc-row-card{box-sizing:border-box;border-radius:0;transition:border-color 200ms ease,background-color 200ms ease;}.tc-row-card:hover{border-color:var(--primary);background-color:var(--surface);}.tc-media-wrap img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;}.tc-faq-section{box-sizing:border-box;background:var(--section-alt-bg);}.tc-faq-card{box-sizing:border-box;border-radius:0;}.tc-faq-drawer.hidden{display:none;}.tc-faq-item button:focus-visible{outline:2px solid var(--primary-text);outline-offset:2px;}@media (max-width: 767px){.tc-row-card{flex-direction:column !important;align-items:stretch !important;}.tc-media-wrap{width:100% !important;max-width:100% !important;margin:0 auto;}.tc-text-zone{text-align:center !important;}.tc-action-zone{width:100% !important;justify-content:center !important;}.tc-action-zone a{width:100% !important;}}

/* ===== PAGE: slide-review-checklists ===== */
.checklist-page .checklist-page__intro-banner{border-radius:0}.checklist-page .yad-card{border-radius:0;transition:border-color 0.2s ease,box-shadow 0.2s ease}.checklist-page .yad-card:hover{border-color:var(--primary);box-shadow:0 8px 24px rgba(37,25,24,0.06)}.checklist-page .checklist-page__card-link:hover svg{transform:translateX(3px);transition:transform 0.2s ease}@media(max-width:767px){.checklist-page .checklist-page__grid{grid-template-columns:1fr}}

/* ===== PAGE: editorial-method ===== */
.editorial-method-block .overflow-wrap-anywhere { overflow-wrap: anywhere; }
.editorial-method-block .js-method-tab { cursor: pointer; }
.editorial-method-block .js-faq-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 767px) {
  .editorial-method-block .yad-title { font-size: 16px; hyphens: auto; }
  .editorial-method-block h3 { font-size: 14px; }
}

/* ===== PAGE: about ===== */
.srl-about-mission,.srl-about-pillars,.srl-about-team,.srl-about-interactive{overflow-wrap:anywhere}.srl-about-mission img,.srl-about-team img{display:block;max-width:100%}.srl-about-interactive .js-accordion-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.srl-about-interactive .rotate-180{transform:rotate(180deg)}@media (max-width:767px){.srl-about-mission .grid-cols-2,.srl-about-team .grid-cols-3{grid-template-columns:1fr}.srl-about-interactive .grid-cols-12{display:flex;flex-direction:column}}

/* ===== PAGE: contact ===== */
.contact-block input::placeholder, .contact-block textarea::placeholder { color: var(--text-muted); opacity: 1; } .contact-block .js-faq-chevron.is-rotated { transform: rotate(180deg); }

/* ===== Comment card (main) ===== */
.comment-card {
    background-color: #FFFFFF;
    border: 1px solid #E4D9D8;
    border-radius: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== Head row ===== */
.comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.comment-author-block {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

/* ===== Avatar ===== */
.comment-avatar {
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    object-fit: cover;
    object-position: center;
    border: 2px solid #FFFFFF;
    flex: 0 0 auto;
    display: block;
}

/* ===== Meta ===== */
.comment-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.comment-author {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #251918;
    margin: 0;
    word-break: break-word;
}

.comment-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #78625E;
    margin: 0;
}

/* ===== Badge ===== */
.comment-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    background-color: #F77460;
    color: #111111;
    border-radius: 0;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* ===== Body ===== */
.comment-body {
    padding: 0;
}

.comment-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #251918;
    margin: 0;
    max-width: 62ch;
}

/* ===== Actions ===== */
.comment-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #E4D9D8;
}

.comment-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: transparent;
    color: #342675;
    border: 1px solid #E4D9D8;
    border-radius: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
    transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
        color 200ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.comment-action-btn:hover {
    background-color: #F3E7E5;
    color: #251918;
    border-color: #E4D9D8;
}

.comment-action-btn:focus-visible {
    outline: 2px solid #342675;
    outline-offset: 2px;
}

.comment-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

/* Reply button gets a subtle emphasis */
.comment-reply-btn {
    margin-left: auto;
    color: #251918;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    .comment-action-btn {
        transition-duration: 1ms;
    }
}

/* ===== Reply comment ===== */
.comment-reply {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background-color: #F3E7E5;
    border: 1px solid #E4D9D8;
    border-radius: 0;
    margin-left: 32px;
}

/* ===== Reply avatar ===== */
.comment-reply-avatar {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    object-fit: cover;
    object-position: center;
    border: 2px solid #FFFFFF;
    flex: 0 0 auto;
    display: block;
}

/* ===== Reply content ===== */
.comment-reply-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.comment-reply-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-reply-author {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #251918;
    margin: 0;
    word-break: break-word;
}

.comment-reply-dot {
    color: #78625E;
    font-size: 15px;
    line-height: 1;
}

.comment-reply-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #78625E;
    margin: 0;
}

.comment-reply-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #251918;
    margin: 0;
    max-width: 60ch;
}

/* ===== Mobile ===== */
@media (max-width: 639px) {
    .comment-reply {
        margin-left: 0;
        padding: 16px;
        gap: 12px;
    }

    .comment-reply-avatar {
        width: 40px;
        height: 40px;
    }
}


/* ===== PAGE TEMPLATE: readability-cases-list ===== */
.yad-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px 24px;
}

.yad-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary-text);
}

.yad-title {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--text);
}

/* ===== PAGE TEMPLATE: text-hierarchy-list ===== */
.site-header {
    font-family: 'DM Sans', sans-serif;
}

.site-header .site-dropdown-menu {
    border-radius: 0;
}

.site-header .site-mobile-panel {
    position: relative;
    z-index: 40;
}

.site-header .site-nav-link {
    position: relative;
}

.site-header .site-nav-link:hover {
    color: var(--primary-text);
}

.article-template-main {
    font-family: 'DM Sans', sans-serif;
}

.article-image-offset-bg {
    transform: translate(8px, 8px);
}

.comment-action-btn.is-active {
    color: var(--primary);
}

.site-footer {
    box-sizing: border-box;
}

.site-footer__container {
    box-sizing: border-box;
}

.site-footer__disclaimer {
    border-radius: 0;
}

.site-footer a {
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-header .site-topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== PAGE TEMPLATE: line-length-list ===== */
.site-header {
    font-family: 'DM Sans', sans-serif;
}

.site-header .site-dropdown-menu {
    border-radius: 0;
}

.site-header .site-mobile-panel {
    position: relative;
    z-index: 40;
}

.site-header .site-nav-link {
    position: relative;
}

.site-header .site-nav-link:hover {
    color: var(--primary-text);
}

@media (max-width: 767px) {
    .site-header .site-topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

.site-footer {
    box-sizing: border-box;
}

.site-footer__container {
    box-sizing: border-box;
}

.site-footer__disclaimer {
    border-radius: 0;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.article-template h1,
.article-template h2,
.article-template h3 {
    color: var(--text);
    overflow-wrap: anywhere;
}

.article-template p {
    overflow-wrap: anywhere;
}

.article-template .js-comment-like-btn.is-active {
    color: var(--primary);
}

.article-template .js-comment-like-btn.is-active svg {
    fill: var(--primary);
    stroke: var(--primary);
}

/* ===== PAGE TEMPLATE: contrast-reviews-list ===== */
.site-header {
    font-family: 'DM Sans', sans-serif;
}

.site-header .site-dropdown-menu {
    border-radius: 0;
}

.site-header .site-mobile-panel {
    position: relative;
    z-index: 40;
}

.site-header .site-nav-link {
    position: relative;
}

.site-header .site-nav-link:hover {
    color: var(--primary-text);
}

@media (max-width: 767px) {
    .site-header .site-topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

.site-footer {
    box-sizing: border-box;
}

.site-footer__container {
    box-sizing: border-box;
}

.site-footer__disclaimer {
    border-radius: 0;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== PAGE TEMPLATE: theme-consistency-list ===== */
.site-header {
    font-family: 'DM Sans', sans-serif;
}

.site-navbar .site-nav-link:hover {
    color: var(--primary-text);
}

@media (max-width: 767px) {
    .site-header .site-topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

.site-footer {
    box-sizing: border-box;
}

.site-footer__container {
    box-sizing: border-box;
}

.site-footer__disclaimer {
    border-radius: 0;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== PAGE TEMPLATE: slide-review-list ===== */
.site-header {
    font-family: 'DM Sans', sans-serif;
}

.site-header .site-dropdown-menu {
    border-radius: 0;
}

.site-header .site-mobile-panel {
    position: relative;
    z-index: 40;
}

.site-header .site-nav-link {
    position: relative;
}

.site-header .site-nav-link:hover {
    color: var(--primary-text);
}

.site-footer {
    box-sizing: border-box;
}

.site-footer__container {
    box-sizing: border-box;
}

.site-footer__disclaimer {
    border-radius: 0;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: none;
}

.comment-action-btn.active {
    color: var(--primary);
}

@media (max-width: 767px) {
    .site-header .site-topbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-footer__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}

/* Readability repairs: explicit colors for dark surfaces and action states. */
.site-footer { background: var(--footer-bg) !important; color: #fff !important; }
.site-footer h2, .site-footer h3, .site-footer h4, .site-footer strong,
.site-footer a, .site-footer a span { color: #fff !important; }
.site-footer p, .site-footer li, .site-footer address, .site-footer span,
.site-footer .text-muted { color: #d8d1e6 !important; }
.site-footer a:hover, .site-footer a:hover span { color: #ffac9f !important; }
.site-footer a:focus-visible { outline: 2px solid #ffac9f; outline-offset: 4px; }
.readable-action, .readable-action:visited { color: #111 !important; background: #f77460 !important; }
.readable-action:hover, .readable-action:focus-visible { color: #fff !important; background: #342675 !important; }
.featured-case-section .yad-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1.3; }
#js-contrast-content, #js-contrast-content * { color: inherit; }
#js-contrast-content { border-radius: 2px; transition: background-color .2s, color .2s; }
#reviews-catalog .filter-btn { background: #fff; color: #342675; border: 1px solid #342675; cursor:pointer; }
#reviews-catalog .filter-btn:hover, #reviews-catalog .filter-btn.active { background: #342675; color: #fff; }
#reviews-catalog .filter-btn:focus-visible { outline: 2px solid #342675; outline-offset: 3px; }
.checklist-page .checklist-page__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap:24px; }
@media(max-width:767px) { .checklist-page .checklist-page__grid { grid-template-columns: 1fr !important; } }
.article-copy { font-size: 17px; line-height: 1.85; color: var(--text); }
.article-copy p { margin: 0 0 1.3em; }
.article-copy h2, .article-copy h3 { color: #342675; font-weight: 800; line-height: 1.3; margin: 1.5em 0 .7em; padding-left: 16px; border-left: 4px solid #f77460; }
.article-copy h2 { font-size: clamp(23px,2.2vw,30px); }
.article-copy h3 { font-size: clamp(21px,1.8vw,25px); }
.article-copy h2:first-child, .article-copy h3:first-child { margin-top:0; }
.article-copy ul, .article-copy ol { padding-left: 1.5em; margin: 1em 0 1.5em; }
.article-copy ul { list-style:disc; }
.article-copy ol { list-style:decimal; }
.article-copy li { margin-bottom:.65em; padding-left:.25em; }
.article-copy strong { font-weight:800; color:#342675; }
.article-copy blockquote { padding:20px 24px; margin:28px 0; border-left:4px solid #f77460; background:#f3e7e5; color:#342675; font-weight:600; }
.article-lead { font-size:1.15em; }
.discussion-note { color:#78625e; font-size:14px; margin:0 0 20px; }
.discussion-status { padding:16px; border-left:4px solid #342675; background:#f3e7e5; color:#342675; margin-top:16px; }
.local-comment { padding:24px; margin:20px 0; background:#fff; border:1px solid #e4d9d8; }
.local-comment h4 { font-size:17px; font-weight:700; color:#342675; margin-bottom:10px; }
.local-comment p { white-space:pre-wrap; overflow-wrap:anywhere; }
.local-comment small { display:block; margin-top:12px; color:#78625e; }
.comment-action-btn[aria-pressed=true] { color:#342675 !important; font-weight:700; }
