* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f8fafc;
    color: #0f172a;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

a {
    color: inherit;
}

.container {
    width: 96%;
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.site-nav__inner {
    position: relative;
    min-height: 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 0;
}

.brand__logo {
    height: 3rem;
    width: auto;
    object-fit: contain;
}

.brand__text {
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.brand__meta {
    display: block;
    color: #d97706;
    font-weight: 500;
    font-size: 0.95rem;
}

.brand-contact-link {
    display: inline-flex;
    align-items: center;
}

.brand-contact-row {
    display: inline;
}

.brand-contact-icon {
    width: 18px;
    height: 18px;
}

.quick-nav-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.quick-nav-btn {
    display: inline-flex;
    width: 120px;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.quick-nav-more-wrap {
    display: inline-flex;
    width: 120px;
}

.quick-nav-search-wrap {
    min-width: 110px;
}

.quick-nav-contact-mobile {
    display: none;
}

.quick-nav-contact-desktop {
    display: inline;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.icon-btn:hover {
    background: #f1f5f9;
}

.icon-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-panel {
    display: none;
    position: absolute;
    left: 0;
    top: 6rem;
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.1);
}

.nav-panel.is-open {
    display: flex;
}

.menu-dropdown {
    position: relative;
    width: 100%;
}

.menu-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    background: #ffffff;
    font-size: 0.875rem;
    color: #0f172a;
    cursor: pointer;
}

.menu-btn i {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
}

.menu-list {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    min-width: 12rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.1);
    z-index: 20;
}

.menu-dropdown:hover .menu-list,
.menu-dropdown:focus-within .menu-list {
    display: block;
}

.menu-list a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    text-decoration: none;
}

.menu-list a:hover {
    background: #fffbeb;
    color: #b45309;
}

.page-main {
    width: 96%;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-title {
    margin: 0 0 2rem;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2rem);
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.faq-item h3 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    line-height: 1.4;
}

.faq-body {
    color: #475569;
}

.faq-body p {
    margin: 0.5rem 0;
}

.faq-body ul {
    margin: 0;
    padding-left: 1.25rem;
}

.faq-body ul ul {
    margin-top: 0.25rem;
}

.faq-link {
    color: #d97706;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

.faq-link--strong {
    font-weight: 700;
}

.text-italic {
    font-style: italic;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .quick-nav-btn {
        min-height: 42px;
    }

    .quick-nav-main {
        width: 72px;
        flex-direction: column;
        gap: 0.15rem;
        line-height: 1.05;
        font-size: 0.7rem;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    .quick-nav-main i {
        width: 0.9rem;
        height: 0.9rem;
    }

    .quick-nav-contact-mobile {
        display: inline;
    }

    .quick-nav-contact-desktop {
        display: none;
    }

    .site-nav__inner {
        gap: 0.5rem;
    }

    .brand-logo-mobile {
        height: 2.25rem;
    }

    .brand-title-mobile {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .brand__text {
        font-size: 1.05rem;
    }

    .brand__meta {
        font-size: 0.82rem;
    }

    .brand-contact-icon {
        width: 27px;
        height: 27px;
    }

    .brand-contact-text {
        display: none;
    }

    .brand-contact-row {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
    }

    .brand-contact-break {
        display: none;
    }
}

@media (min-width: 768px) {
    .quick-nav-contact-mobile {
        display: none;
    }

    .quick-nav-contact-desktop {
        display: inline;
    }

    .icon-btn {
        display: none;
    }

    .nav-panel {
        display: flex;
        position: static;
        width: auto;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .menu-dropdown {
        width: auto;
    }

    .menu-btn {
        width: 8rem;
    }

    .menu-list {
        width: 12rem;
    }
}

.hidden {
    display: none;
}

.min-h-screen { min-height: 100vh; }
.font-sans { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif; }
.bg-white { background: #ffffff; }
.bg-slate-50 { background: #f8fafc; }
.bg-slate-100 { background: #f1f5f9; }
.bg-amber-50 { background: #fffbeb; }
.bg-amber-100 { background: #fef3c7; }
.bg-amber-600 { background: #d97706; }
.bg-slate-900 { background: #0f172a; }
.bg-red-50 { background: #fef2f2; }
.bg-green-50 { background: #f0fdf4; }

.text-white { color: #ffffff; }
.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-slate-400 { color: #94a3b8; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.text-amber-800 { color: #92400e; }
.text-red-700 { color: #b91c1c; }
.text-green-500 { color: #22c55e; }
.text-green-700 { color: #15803d; }

.border { border: 1px solid #cbd5e1; }
.border-b { border-bottom: 1px solid #e2e8f0; }
.border-l-4 { border-left: 4px solid #fcd34d; }
.border-slate-50 { border-color: #f8fafc; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-amber-200 { border-color: #fde68a; }
.border-red-200 { border-color: #fecaca; }
.border-green-200 { border-color: #bbf7d0; }
.border-dashed { border-style: dashed; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.shadow-sm { box-shadow: 0 1px 2px rgb(15 23 42 / 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.1); }

.sticky { position: sticky; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-24 { top: 6rem; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.absolute { position: absolute; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden-view { display: none !important; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.h-auto { height: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.\!w-full { width: 100% !important; }
.max-w-full { max-width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xs { max-width: 20rem; }
.max-h-\[calc\(100vh-8rem\)\] { max-height: calc(100vh - 8rem); }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }
.ml-6 { margin-left: 1.5rem; }
.mr-1 { margin-right: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-9 { padding-left: 2.25rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-normal { font-weight: 400; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
}

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.cursor-pointer { cursor: pointer; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-x-8 { column-gap: 2rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }

.transition-colors { transition: color .2s, background-color .2s, border-color .2s; }
.transition-shadow { transition: box-shadow .2s; }
.transition-all { transition: all .2s ease; }
.duration-200 { transition-duration: .2s; }

.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-slate-100:hover { background: #f1f5f9; }
.hover\:bg-slate-800:hover { background: #1e293b; }
.hover\:bg-amber-50:hover { background: #fffbeb; }
.hover\:bg-amber-700:hover { background: #b45309; }
.hover\:text-amber-600:hover { color: #d97706; }
.hover\:text-amber-700:hover { color: #b45309; }
.hover\:text-slate-900:hover { color: #0f172a; }
.hover\:shadow-md:hover { box-shadow: 0 4px 10px rgb(15 23 42 / 0.12); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.16); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

.outline-none { outline: none; }
.opacity-70 { opacity: 0.7; }
.cursor-not-allowed { cursor: not-allowed; }

.group:hover .group-hover\:block,
.group:focus-within .group-focus-within\:block { display: block; }

.group.dropdown-is-open > div.absolute.top-full { display: block !important; }
.group.dropdown-force-closed > div.absolute.top-full { display: none !important; }

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgb(217 119 6 / 0.3);
}

.prose p {
    margin: 0.75rem 0;
    color: #475569;
    line-height: 1.6;
}

.fade-in { animation: fadeIn 0.3s ease-in; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.max-w-\[96\%\] { width: 96%; }

@media (min-width: 640px) {
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:h-24 { height: 6rem; }
    .md\:flex { display: flex; }
    .md\:static { position: static; }
    .md\:w-auto { width: auto; }
    .md\:w-32 { width: 8rem; }
    .md\:w-48 { width: 12rem; }
    .md\:w-64 { width: 16rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:items-center { align-items: center; }
    .md\:p-0 { padding: 0; }
    .md\:border-none { border: none; }
    .md\:bg-transparent { background: transparent; }
    .md\:shadow-none { box-shadow: none; }
    .md\:max-w-xs { max-width: 20rem; }
}

@media (min-width: 1024px) {
    .lg\:h-auto { height: auto; }
    .lg\:p-8 { padding: 2rem; }
    .lg\:p-10 { padding: 2.5rem; }
    .lg\:text-left { text-align: left; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:grid-cols-\[72\%_28\%\] { grid-template-columns: 72% 28%; }
    .lg\:grid-cols-\[32\%_36\%_32\%\] { grid-template-columns: 32% 36% 32%; }
    .lg\:border-r { border-right: 1px solid #f1f5f9; }
    .lg\:border-b-0 { border-bottom: 0; }
}

@media (min-width: 1280px) {
    .xl\:flex-row { flex-direction: row; }
    .xl\:items-end { align-items: flex-end; }
}

html[data-theme="dark"] body {
    background: #0b1220;
    color: #e2e8f0;
}

html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .nav-panel,
html[data-theme="dark"] .menu-btn,
html[data-theme="dark"] .menu-list,
html[data-theme="dark"] .faq-item {
    background: #111827;
}

html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .nav-panel,
html[data-theme="dark"] .menu-list,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .menu-btn {
    border-color: #334155;
}

html[data-theme="dark"] .menu-list a,
html[data-theme="dark"] .faq-body,
html[data-theme="dark"] .prose p,
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-600,
html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .text-slate-900 {
    color: #cbd5e1;
}

html[data-theme="dark"] .text-slate-400 {
    color: #94a3b8;
}

html[data-theme="dark"] .bg-white { background: #111827; }
html[data-theme="dark"] .bg-slate-50 { background: #0f172a; }
html[data-theme="dark"] .bg-slate-100 { background: #1e293b; }
html[data-theme="dark"] .bg-amber-50 { background: #3f2a0f; }
html[data-theme="dark"] .bg-amber-100 { background: #5b3a13; }
html[data-theme="dark"] .bg-slate-900 { background: #020617; }

html[data-theme="dark"] .border-slate-50,
html[data-theme="dark"] .border-slate-100,
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-slate-300,
html[data-theme="dark"] .border-b,
html[data-theme="dark"] .border {
    border-color: #334155;
}

html[data-theme="dark"] .hover\:bg-slate-100:hover { background: #1e293b; }
html[data-theme="dark"] .hover\:bg-amber-50:hover { background: #4a2f12; }
html[data-theme="dark"] .hover\:text-slate-900:hover { color: #f8fafc; }
html[data-theme="dark"] .menu-list a:hover { background: #4a2f12; color: #f59e0b; }

html[data-theme="dark"] #searchInput {
    background: #0f172a;
    color: #e2e8f0;
    border-color: #334155;
}

html[data-theme="dark"] #searchInput::placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] #detailView > button {
    color: #cbd5e1;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

html[data-theme="dark"] #detailView > button:hover {
    color: #f8fafc;
    background: #334155;
}

html[data-theme="dark"] #filterContainer .group[tabindex="0"] > button {
    color: #e2e8f0;
    background: #111827;
    border-color: #334155;
}

html[data-theme="dark"] #filterContainer .group[tabindex="0"] > button i {
    color: #94a3b8;
}

html[data-theme="dark"] #filterContainer .group[tabindex="0"] > div.absolute.top-full .cursor-pointer {
    color: #cbd5e1;
}
