:root {
    --color-primary: #1E293B;
    --color-primary-hover: #0F172A;
    --color-primary-active: #020617;
    --color-primary-surface: #F1F5F9;
    --color-secondary: #0284C7;
    --color-secondary-hover: #0369A1;
    --color-secondary-active: #075985;
    --color-secondary-surface: #E0F2FE;
    --color-accent-primary: #F97316;
    --color-accent-primary-hover: #EA580C;
    --color-accent-secondary: #6366F1;
    --color-accent-highlight: #FBBF24;
    --color-accent-surface: #FFF7ED;
    --color-bg-main: #F8FAFC;
    --color-bg-canvas: #FFFFFF;
    --color-bg-subtle: #F1F5F9;
    --color-bg-accent-block: #EEF2F6;
    --color-bg-overlay-shape: #E2E8F0;
    --color-text-primary-light-bg: #0F172A;
    --color-text-secondary-light-bg: #475569;
    --color-text-muted-light-bg: #64748B;
    --color-border-subtle: #E2E8F0;
    --color-border-medium: #CBD5E1;
    --color-border-bold: #0F172A;
    --color-border-accent: #0284C7;
    --font-headings: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-main);
    color: var(--color-text-primary-light-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
}

code,
pre,
.font-mono {
    font-family: var(--font-mono);
}

.text-muted {
    color: #64748B !important;
}

.geometric-card {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border-subtle);
    border-radius: 0px;
    box-shadow: 4px 4px 0px 0px #0F172A;
}

.geometric-btn-primary {
    background-color: #0F172A;
    color: #FFFFFF;
    border: 1.5px solid #0F172A;
    box-shadow: 3px 3px 0px #0284C7;
    border-radius: 0px;
}

.geometric-btn-primary:hover {
    background-color: #0284C7;
    box-shadow: 3px 3px 0px #0F172A;
}

.geometric-btn-accent {
    background-color: #F97316;
    color: #FFFFFF;
    border: 1.5px solid #0F172A;
    box-shadow: 3px 3px 0px #0F172A;
    border-radius: 0px;
}

.geometric-btn-accent:hover {
    background-color: #EA580C;
    box-shadow: 3px 3px 0px #0284C7;
}

/* ===== header ===== */
.surface-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.surface-header-block #js-mobile-drawer {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* ===== hero ===== */
.hero-section .hero-section__grid-pattern {
    background-size: 24px 24px;
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
}

.hero-section .hero-section__category-tab.active {
    border-color: #0F172A;
    background-color: #F8FAFC;
    box-shadow: 3px 3px 0px 0px #0F172A;
}

.hero-section .hero-section__btn-primary,
.hero-section .hero-section__btn-outline {
    transition: none;
    cursor: pointer;
}

.hero-section .font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

.hero-section .font-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ===== categories-grid ===== */
.defect-categories-block .js-defect-card {
    border-radius: 0;
}

.defect-categories-block .js-defect-filter-btn {
    border-radius: 0;
}

.defect-categories-block .js-defect-card.is-hidden {
    display: none;
}

/* ===== founder-note ===== */
.founder-note-section .founder-note-card {
    box-shadow: 4px 4px 0px 0px #0F172A;
}

.founder-note-section .founder-photo-wrapper {
    box-shadow: 3px 3px 0px 0px #0284C7;
}

.founder-note-section .founder-badge {
    box-shadow: 2px 2px 0px 0px #0F172A;
}

.founder-note-section .founder-signature-box svg {
    max-width: 144px;
    height: auto;
}

/* ===== objection-handling ===== */
.objection-matrix .js-accordion-trigger {
    user-select: none;
}

.objection-matrix .js-accordion-item {
    outline: none;
}

.objection-matrix .js-accordion-trigger:focus-visible {
    outline: 2px solid #0284C7;
    outline-offset: 2px;
}

/* ===== contractor-questions ===== */
.contractor-qa-block {
    font-feature-settings: "ss01", "cv01";
}

.contractor-qa-block .js-qa-card {
    min-height: 100%;
    box-sizing: border-box;
}

.contractor-qa-block .js-qa-filter {
    cursor: pointer;
}

.contractor-qa-block .js-qa-filter.active {
    background-color: #0F172A;
    color: #FFFFFF;
    box-shadow: 2px 2px 0px #0284C7;
}

/* ===== numbered-case ===== */
.numbered-case-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.numbered-case-block a,
.numbered-case-block button {
    transition: none !important;
}

/* ===== quality-cases-grid ===== */
.quality-cases-grid-section .js-case-filter.active {
    background-color: #0F172A;
    color: #FFFFFF;
    box-shadow: 2px 2px 0px #0284C7;
    border-color: #0F172A;
}

.quality-cases-grid-section .js-case-filter:hover:not(.active) {
    background-color: #F1F5F9;
    border-color: #0F172A;
    box-shadow: 2px 2px 0px #0F172A;
}

.quality-cases-grid-section .js-case-card {
    border-radius: 0px;
}

/* ===== footer ===== */
.surface-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.surface-footer a {
    outline: none;
}

.surface-footer a:focus-visible {
    outline: 2px solid #0284C7;
    outline-offset: 2px;
}

/* ===== PAGE: brand-support ===== */
.brand-support-content .js-filter-btn.active{background-color:#0F172A;color:#FFFFFF;border-color:#0F172A;box-shadow:2px 2px 0px 0px #0284C7}.brand-support-content .js-case-item{transition:none}

/* ===== PAGE: print-defects ===== */
.defects-directory-block input::placeholder, .defects-directory-block textarea::placeholder { color: #64748B; opacity: 1; } .defects-directory-block .js-defect-card:hover { border-color: #0284C7; }

/* ===== PAGE: quality-cases ===== */
.cases-list-section .js-case-card:hover { border-color: #0284C7; box-shadow: 4px 4px 0px #0284C7; }
.cases-list-section .js-filter-btn.active { background-color: #0F172A; color: #FFFFFF; border-color: #0F172A; box-shadow: 2px 2px 0px #0284C7; }
.cases-list-section #js-case-search::placeholder { color: #64748B; opacity: 1; }

/* ===== PAGE: about-and-contacts ===== */
.contact-block input::placeholder,.contact-block textarea::placeholder{color:#94A3B8;opacity:1;}.contact-block input:focus,.contact-block textarea:focus{box-shadow:2px 2px 0px #0284C7;}.contact-block button:hover{box-shadow:3px 3px 0px #0F172A;}

/* ===== PAGE: privacy ===== */
.privacy-section .js-nav-btn.active-nav { background-color: #0F172A; color: #FFFFFF; border-color: #0F172A; } .privacy-section .js-nav-btn.active-nav i { color: #38BDF8; }

/* ===== PAGE: terms ===== */
.terms-block {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
.terms-block nav a.active {
  background-color: #E0F2FE;
  color: #0284C7;
  border-left-color: #0284C7;
  font-weight: 600;
}
.terms-block aside {
  position: static !important;
  top: auto !important;
  z-index: auto;
  max-height: none;
  overflow-y: visible;
}
@media (max-width: 1023px) {
  .terms-block aside {
    position: static !important;
    top: auto !important;
    z-index: auto;
    max-height: none;
    overflow-y: visible;
  }
}

/* ===== PAGE: disclaimer ===== */
.legal-content .legal-content__nav-link{transition:none;}.legal-content a{transition:none;}

.diagnostic-comment-card {
    position: relative;
    border-radius: 0px;
    transition: none
}

.diagnostic-comment-card .comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 0px;
    object-fit: cover;
    object-position: center;
    display: block
}

.diagnostic-comment-card .comment-action-btn {
    border-radius: 0px;
    box-shadow: 2px 2px 0px #0f172a;
    transition: none;
    cursor: pointer
}

.diagnostic-comment-card .comment-action-btn:hover {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 2px 2px 0px #0f172a
}

.reply-thread-container {
    position: relative
}

.diagnostic-reply-card {
    position: relative;
    border-radius: 0px;
    transition: none
}

.diagnostic-reply-card .comment-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 0px;
    object-fit: cover;
    object-position: center;
    display: block
}

.diagnostic-reply-card .comment-action-btn {
    border-radius: 0px;
    box-shadow: 2px 2px 0px #0f172a;
    transition: none;
    cursor: pointer
}

.diagnostic-reply-card .comment-action-btn:hover {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 2px 2px 0px #0284c7
}

.thread-guide-pin {
    border-radius: 0px
}


/* ===== PAGE TEMPLATE: print-defects-list ===== */
.surface-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.surface-header-block #js-mobile-drawer {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.surface-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.surface-footer a {
    outline: none;
}

.surface-footer a:focus-visible {
    outline: 2px solid #0284C7;
    outline-offset: 2px;
}

.defect-detail-page .defect-rich-content h1,
.defect-detail-page .defect-rich-content h2,
.defect-detail-page .defect-rich-content h3,
.defect-detail-page .defect-rich-content h4 {
    color: #0F172A;
    line-height: 1.3;
}

.defect-detail-page .defect-rich-content p {
    line-height: 1.6;
    color: #334155;
}

.defect-detail-page .comment-avatar {
    border-radius: 0px;
}

.defect-detail-page input::placeholder,
.defect-detail-page textarea::placeholder {
    color: #94A3B8;
    opacity: 1;
}

/* ===== PAGE TEMPLATE: quality-cases-list ===== */
.surface-header-block {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.surface-header-block #js-mobile-drawer {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.surface-footer {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.surface-footer a {
    outline: none;
}

.surface-footer a:focus-visible {
    outline: 2px solid #0284C7;
    outline-offset: 2px;
}

.case-detail-layout .comment-avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.case-detail-layout .case-content-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.case-detail-layout .case-content-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.case-detail-layout .case-content-body p {
    line-height: 1.65;
    color: #334155;
}

.case-detail-layout input::placeholder,
.case-detail-layout textarea::placeholder {
    color: #94A3B8;
    opacity: 1;
}