/* MIAB Dynamic Theme Overrides and Page Styles */

body { min-height: 100vh; }
.menu { border: 0; background: transparent; }
/* Keep FAQ panels clear of the sticky header when scrolled into view on mobile. */
.faq-panel { scroll-margin-top: 110px; }

/* FAQ Page Styles */
.faq-hero {
                padding: 70px 0 40px;
                background: linear-gradient(180deg, #f7f9f4 0%, #ffffff 100%);
                border-bottom: 1px solid var(--line);
                text-align: center;
            }
            .faq-hero h1 {
                font-size: clamp(34px, 3.6vw, 56px);
                margin: 12px 0 16px;
            }
            .faq-hero p {
                font-size: 17px;
                max-width: 680px;
                margin: 0 auto;
                line-height: 1.7;
            }
            .faq-search-box {
                max-width: 560px;
                margin: 30px auto 0;
                position: relative;
            }
            .faq-search-input {
                width: 100%;
                padding: 16px 20px 16px 48px;
                border: 1px solid var(--line);
                border-radius: 30px;
                font-size: 15px;
                background: white;
                box-shadow: 0 4px 20px #182c0a0a;
                outline: none;
                transition: border-color 0.2s, box-shadow 0.2s;
                font-family: inherit;
            }
            .faq-search-input:focus {
                border-color: #698b00;
                box-shadow: 0 6px 25px #182c0a14;
            }
            .faq-search-icon {
                position: absolute;
                left: 18px;
                top: 50%;
                transform: translateY(-50%);
                color: #728175;
                font-size: 18px;
                pointer-events: none;
            }
            .faq-main-wrap {
                padding: 60px 0 100px;
            }
            .faq-layout-grid {
                display: grid;
                grid-template-columns: 320px 1fr;
                gap: 50px;
                align-items: start;
            }
            .faq-sidebar {
                position: relative;
            }
            .faq-sidebar-sticky {
                position: sticky;
                top: 110px;
                display: flex;
                flex-direction: column;
                gap: 16px;
            }
            .faq-sidebar-label {
                font-size: 11px;
                font-weight: 800;
                letter-spacing: 0.14em;
                color: var(--muted);
                padding-left: 6px;
            }
            .faq-tabs-nav {
                display: flex;
                flex-direction: column;
                gap: 6px;
                background: white;
                border: 1px solid var(--line);
                border-radius: 14px;
                padding: 12px;
                box-shadow: 0 4px 20px #182c0a06;
            }
            .faq-tab-btn {
                width: 100%;
                text-align: left;
                padding: 13px 16px;
                border-radius: 10px;
                border: 1px solid transparent;
                background: transparent;
                color: var(--ink);
                font-size: 14px;
                font-weight: 700;
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                transition: all 0.2s ease;
                font-family: inherit;
            }
            .faq-tab-btn .badge {
                font-size: 11px;
                font-weight: 800;
                background: #edf2e6;
                color: #557100;
                padding: 3px 8px;
                border-radius: 12px;
                transition: all 0.2s;
            }
            .faq-tab-btn:hover {
                background: var(--paper);
                color: #405d0d;
                transform: translateX(2px);
            }
            .faq-tab-btn.active {
                background: var(--lime);
                border-color: var(--lime);
                color: #121c00;
                box-shadow: 0 4px 14px rgba(176, 235, 0, 0.4);
            }
            .faq-tab-btn.active .badge {
                background: #142000;
                color: var(--lime);
            }
            .faq-sidebar-box {
                background: #f7f9f4;
                border: 1px solid var(--line);
                border-radius: 14px;
                padding: 22px;
            }
            .faq-sidebar-box strong {
                display: block;
                font-size: 15px;
                color: var(--ink);
                margin-bottom: 6px;
            }
            .faq-sidebar-box p {
                font-size: 13px;
                color: var(--muted);
                line-height: 1.5;
                margin: 0;
            }
            .faq-content-area {
                min-width: 0;
            }
            .faq-panel {
                display: none;
                animation: fadeIn 0.25s ease;
            }
            .faq-panel.active {
                display: block;
            }
            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(6px); }
                to { opacity: 1; transform: translateY(0); }
            }
            @media (max-width: 960px) {
                .faq-layout-grid {
                    grid-template-columns: 1fr;
                    gap: 30px;
                }
                .faq-sidebar-sticky {
                    position: static;
                }
                .faq-tabs-nav {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: 6px;
                }
            }
            @media (max-width: 580px) {
                .faq-tabs-nav {
                    grid-template-columns: 1fr;
                }
            }
            .panel-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 24px;
                padding-bottom: 16px;
                border-bottom: 2px solid var(--line);
            }
            .panel-header h2 {
                font-size: 26px;
                color: var(--ink);
            }
            .panel-header span {
                font-size: 13px;
                color: var(--muted);
                font-weight: 600;
            }
            .faq-card-list {
                display: flex;
                flex-direction: column;
                gap: 14px;
            }
            .faq-card {
                background: white;
                border: 1px solid var(--line);
                border-radius: 12px;
                padding: 0;
                overflow: hidden;
                box-shadow: 0 2px 10px #182c0a04;
                transition: border-color 0.2s, box-shadow 0.2s;
            }
            .faq-card:hover {
                border-color: #c7d8be;
            }
            .faq-card[open] {
                box-shadow: 0 6px 20px #182c0a08;
                border-color: #b0eb00;
            }
            .faq-card summary {
                padding: 22px 26px;
                font-size: 17px;
                font-weight: 700;
                font-family: Manrope, Arial, sans-serif;
                color: var(--ink);
                cursor: pointer;
                display: flex;
                justify-content: space-between;
                align-items: center;
                list-style: none;
                user-select: none;
            }
            .faq-card summary::-webkit-details-marker {
                display: none;
            }
            .faq-card summary::after {
                content: "+";
                font-size: 24px;
                font-weight: 400;
                color: #69786a;
                width: 30px;
                height: 30px;
                border-radius: 50%;
                background: var(--paper);
                display: inline-flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                margin-left: 16px;
                transition: transform 0.2s, background 0.2s, color 0.2s;
            }
            .faq-card[open] summary::after {
                content: "−";
                background: var(--lime);
                color: #121c00;
                font-weight: 700;
            }
            .faq-card summary:hover {
                color: #44610a;
            }
            .faq-content {
                padding: 0 26px 24px;
                color: var(--muted);
                font-size: 15.5px;
                line-height: 1.8;
                border-top: 1px solid #f0f4ec;
                padding-top: 18px;
            }
            .faq-content p {
                margin: 0 0 10px;
            }
            .faq-content p:last-child {
                margin-bottom: 0;
            }
            .faq-content ul {
                margin: 10px 0 0;
                padding-left: 20px;
            }
            .faq-content li {
                margin-bottom: 6px;
            }
            .faq-cta-banner {
                margin-top: 60px;
                background: linear-gradient(135deg, #101c15, #1a2c20);
                color: white;
                border-radius: 16px;
                padding: 45px 50px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 30px;
                flex-wrap: wrap;
            }
            .faq-cta-banner h3 {
                font-size: 30px;
                color: white;
                margin-bottom: 8px;
            }
            .faq-cta-banner h3 span {
                color: var(--lime);
            }
            .faq-cta-banner p {
                color: #b0c0b5;
                font-size: 16px;
                margin: 0;
                max-width: 520px;
            }
            .faq-cta-actions {
                display: flex;
                gap: 14px;
                align-items: center;
                flex-wrap: wrap;
            }
            .no-results-msg {
                display: none;
                text-align: center;
                padding: 50px 20px;
                background: white;
                border: 1px dashed var(--line);
                border-radius: 12px;
                color: var(--muted);
            }
            @media (max-width: 800px) {
                .faq-cta-banner {
                    padding: 30px;
                    flex-direction: column;
                    text-align: center;
                }
                .faq-cta-banner p {
                    margin-bottom: 10px;
                }
                .panel-header {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 6px;
                }
                .faq-card summary {
                    font-size: 15.5px;
                    padding: 18px 20px;
                }
                .faq-content {
                    padding: 0 20px 20px;
                    font-size: 14.5px;
                }
            }

/* Privacy Policy Styles */
.legal-hero {
                padding: 75px 0 45px;
                background: linear-gradient(180deg, #f7f9f4 0%, #ffffff 100%);
                border-bottom: 1px solid var(--line);
                text-align: center;
            }
            .legal-hero .eyebrow {
                font-size: 11px;
                font-weight: 800;
                letter-spacing: 0.16em;
                color: #557530;
                display: inline-block;
                margin-bottom: 14px;
            }
            .legal-hero h1 {
                font-size: clamp(34px, 3.8vw, 56px);
                margin: 0 0 16px;
                letter-spacing: -0.04em;
            }
            .legal-hero h1 span {
                color: #77817a;
            }
            .legal-meta {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 18px;
                flex-wrap: wrap;
                font-size: 13.5px;
                color: var(--muted);
                margin-top: 14px;
            }
            .legal-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #eef6dc;
                color: #273e00;
                font-weight: 700;
                font-size: 12px;
                padding: 5px 12px;
                border-radius: 20px;
                border: 1px solid #d4e7b0;
            }
            .legal-wrap {
                padding: 55px 0 90px;
            }
            .legal-layout {
                display: grid;
                grid-template-columns: 290px 1fr;
                gap: 48px;
                align-items: start;
            }
            .legal-sidebar {
                position: sticky;
                top: 105px;
                background: white;
                border: 1px solid var(--line);
                border-radius: 14px;
                padding: 22px 18px;
                box-shadow: 0 4px 20px #182c0a06;
            }
            .legal-sidebar-title {
                font-size: 11px;
                font-weight: 800;
                letter-spacing: 0.12em;
                text-transform: uppercase;
                color: var(--muted);
                margin-bottom: 14px;
                display: block;
                padding-left: 6px;
            }
            .legal-nav {
                display: flex;
                flex-direction: column;
                gap: 4px;
                list-style: none;
                padding: 0;
                margin: 0;
            }
            .legal-nav a {
                font-size: 13px;
                padding: 8px 12px;
                border-radius: 8px;
                color: var(--ink);
                text-decoration: none;
                transition: all 0.2s ease;
                display: block;
                line-height: 1.4;
            }
            .legal-nav a:hover {
                background: var(--paper);
                color: #405d0d;
                padding-left: 15px;
            }
            .legal-nav a.active {
                background: #edf6d6;
                color: #243800;
                font-weight: 700;
            }
            .legal-content {
                background: white;
            }
            .legal-intro-box {
                background: #fcfdfa;
                border: 1px solid var(--line);
                border-left: 4px solid var(--lime);
                border-radius: 12px;
                padding: 26px 30px;
                margin-bottom: 40px;
            }
            .legal-intro-box p {
                font-size: 15px;
                line-height: 1.8;
                color: var(--ink);
                margin: 0 0 16px;
            }
            .legal-intro-box p:last-child {
                margin-bottom: 0;
            }
            .legal-section {
                padding-top: 35px;
                margin-bottom: 40px;
                border-top: 1px solid var(--line);
                scroll-margin-top: 110px;
            }
            .legal-section:first-of-type {
                border-top: none;
                padding-top: 0;
            }
            .legal-section h2 {
                font-size: 24px;
                margin-bottom: 18px;
                color: var(--ink);
                letter-spacing: -0.03em;
                display: flex;
                align-items: center;
                gap: 12px;
            }
            .legal-section h2 .sec-num {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                border-radius: 50%;
                background: #edf6d6;
                color: #354e08;
                font-size: 14px;
                font-weight: 800;
                flex-shrink: 0;
            }
            .legal-section p, .legal-section li {
                font-size: 15px;
                line-height: 1.8;
                color: #434c47;
            }
            .legal-section p {
                margin: 0 0 16px;
            }
            .legal-card-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 18px;
                margin: 24px 0 16px;
            }
            .legal-card {
                background: var(--paper);
                border: 1px solid var(--line);
                border-radius: 10px;
                padding: 20px 22px;
            }
            .legal-card h4 {
                font-size: 15px;
                margin-bottom: 10px;
                color: var(--ink);
            }
            .legal-card p {
                font-size: 13.5px;
                margin: 0;
                line-height: 1.65;
            }
            .legal-table-wrap {
                overflow-x: auto;
                margin: 26px 0 20px;
                border: 1px solid var(--line);
                border-radius: 10px;
            }
            .legal-table {
                width: 100%;
                border-collapse: collapse;
                text-align: left;
                font-size: 13.5px;
            }
            .legal-table th {
                background: #f1f5eb;
                padding: 14px 18px;
                font-weight: 700;
                color: var(--ink);
                border-bottom: 1px solid var(--line);
            }
            .legal-table td {
                padding: 14px 18px;
                border-bottom: 1px solid var(--line);
                color: #404a44;
                vertical-align: top;
                line-height: 1.6;
            }
            .legal-table tr:last-child td {
                border-bottom: none;
            }
            .legal-table tr:hover td {
                background: #fafcf8;
            }
            .officer-card {
                background: var(--paper);
                border: 1px solid #d4e0c8;
                border-radius: 12px;
                padding: 26px 30px;
                margin-top: 22px;
            }
            .officer-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
                margin-top: 16px;
            }
            .officer-item dt {
                font-size: 12px;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 0.08em;
                color: var(--muted);
                margin-bottom: 4px;
            }
            .officer-item dd {
                font-size: 14.5px;
                color: var(--ink);
                margin: 0;
                font-weight: 600;
            }
            .officer-item dd a {
                color: #405d0d;
                text-decoration: underline;
                text-underline-offset: 3px;
            }
            @media (max-width: 992px) {
                .legal-layout {
                    grid-template-columns: 1fr;
                    gap: 30px;
                }
                .legal-sidebar {
                    position: static;
                    margin-bottom: 10px;
                }
                .legal-card-grid {
                    grid-template-columns: 1fr;
                }
                .officer-grid {
                    grid-template-columns: 1fr;
                }
            }

/* Terms of Service Styles */
.terms-hero {
                padding: 75px 0 45px;
                background: linear-gradient(180deg, #f7f9f4 0%, #ffffff 100%);
                border-bottom: 1px solid var(--line);
                text-align: center;
            }
            .terms-hero .eyebrow {
                font-size: 11px;
                font-weight: 800;
                letter-spacing: 0.16em;
                color: #557530;
                display: inline-block;
                margin-bottom: 14px;
            }
            .terms-hero h1 {
                font-size: clamp(34px, 3.8vw, 56px);
                margin: 0 0 16px;
                letter-spacing: -0.04em;
            }
            .terms-hero h1 span {
                color: #77817a;
            }
            .terms-meta {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 18px;
                flex-wrap: wrap;
                font-size: 13.5px;
                color: var(--muted);
                margin-top: 14px;
            }
            .terms-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #eef6dc;
                color: #273e00;
                font-weight: 700;
                font-size: 12px;
                padding: 5px 12px;
                border-radius: 20px;
                border: 1px solid #d4e7b0;
            }
            .terms-wrap {
                max-width: 920px;
                margin: 0 auto;
                padding: 55px 24px 90px;
            }
            .terms-intro-box {
                background: #fbfdf9;
                border: 1px solid var(--line);
                border-left: 4px solid var(--lime);
                border-radius: 12px;
                padding: 26px 30px;
                margin-bottom: 45px;
                box-shadow: 0 4px 20px #182c0a05;
            }
            .terms-intro-box p {
                font-size: 15px;
                line-height: 1.8;
                color: var(--ink);
                margin: 0 0 14px;
            }
            .terms-intro-box p:last-child {
                margin-bottom: 0;
            }
            .terms-section {
                background: white;
                border: 1px solid var(--line);
                border-radius: 14px;
                padding: 32px 34px;
                margin-bottom: 28px;
                box-shadow: 0 4px 18px #182c0a06;
                transition: border-color 0.2s ease, box-shadow 0.2s ease;
            }
            .terms-section:hover {
                border-color: #cedbbd;
                box-shadow: 0 8px 26px #182c0a0c;
            }
            .terms-section-header {
                display: flex;
                align-items: center;
                gap: 14px;
                margin-bottom: 20px;
                padding-bottom: 16px;
                border-bottom: 1px solid var(--line);
            }
            .terms-num {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                background: #edf6d6;
                color: #273d05;
                font-size: 14px;
                font-weight: 800;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
            }
            .terms-section h2 {
                font-size: 21px;
                font-weight: 800;
                color: var(--ink);
                margin: 0;
                letter-spacing: -0.03em;
            }
            .terms-section p, .terms-section li {
                font-size: 15px;
                line-height: 1.8;
                color: #3f4743;
            }
            .terms-section p {
                margin: 0 0 16px;
            }
            .terms-section p:last-child {
                margin-bottom: 0;
            }
            .terms-section ul, .terms-section ol {
                margin: 0 0 18px 22px;
                padding: 0;
            }
            .terms-section li {
                margin-bottom: 8px;
            }
            .terms-highlight {
                background: var(--paper);
                border-left: 3px solid #638407;
                padding: 14px 18px;
                border-radius: 0 8px 8px 0;
                margin: 16px 0;
                font-size: 14.5px;
                color: #1f2723;
            }
            .terms-caps {
                background: #fbfdf9;
                border: 1px solid #dbe4d4;
                padding: 18px 22px;
                border-radius: 8px;
                font-size: 13.5px;
                line-height: 1.7;
                color: #2c332f;
                margin: 18px 0;
                font-weight: 600;
            }
            @media (max-width: 650px) {
                .terms-section {
                    padding: 24px 20px;
                }
                .terms-section h2 {
                    font-size: 18px;
                }
            }

/* Disclaimers Styles */
.disclaimer-hero {
                padding: 75px 0 45px;
                background: linear-gradient(180deg, #f7f9f4 0%, #ffffff 100%);
                border-bottom: 1px solid var(--line);
                text-align: center;
            }
            .disclaimer-hero .eyebrow {
                font-size: 11px;
                font-weight: 800;
                letter-spacing: 0.16em;
                color: #557530;
                display: inline-block;
                margin-bottom: 14px;
            }
            .disclaimer-hero h1 {
                font-size: clamp(34px, 3.8vw, 56px);
                margin: 0 0 16px;
                letter-spacing: -0.04em;
            }
            .disclaimer-hero h1 span {
                color: #77817a;
            }
            .disclaimer-meta {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 18px;
                flex-wrap: wrap;
                font-size: 13.5px;
                color: var(--muted);
                margin-top: 14px;
            }
            .disclaimer-badge {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: #eef6dc;
                color: #273e00;
                font-weight: 700;
                font-size: 12px;
                padding: 5px 12px;
                border-radius: 20px;
                border: 1px solid #d4e7b0;
            }
            .disclaimer-wrap {
                max-width: 920px;
                margin: 0 auto;
                padding: 55px 24px 90px;
            }
            .disclaimer-intro {
                background: #fbfdf9;
                border: 1px solid var(--line);
                border-left: 4px solid var(--lime);
                border-radius: 12px;
                padding: 24px 28px;
                margin-bottom: 45px;
                box-shadow: 0 4px 20px #182c0a05;
            }
            .disclaimer-intro p {
                font-size: 15px;
                line-height: 1.8;
                color: var(--ink);
                margin: 0;
            }
            .disclaimer-list {
                display: flex;
                flex-direction: column;
                gap: 28px;
            }
            .disclaimer-card {
                background: white;
                border: 1px solid var(--line);
                border-radius: 14px;
                padding: 28px 32px;
                box-shadow: 0 4px 18px #182c0a06;
                transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            }
            .disclaimer-card:hover {
                border-color: #cddbbd;
                box-shadow: 0 8px 28px #182c0a0c;
            }
            .disclaimer-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 16px;
                margin-bottom: 16px;
                flex-wrap: wrap;
            }
            .disclaimer-title-wrap {
                display: flex;
                align-items: center;
                gap: 14px;
            }
            .disclaimer-num {
                width: 34px;
                height: 34px;
                border-radius: 50%;
                background: #edf6d6;
                color: #2a4105;
                font-size: 14px;
                font-weight: 800;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
            }
            .disclaimer-title {
                font-size: 20px;
                font-weight: 800;
                color: var(--ink);
                margin: 0;
                letter-spacing: -0.03em;
            }
            .disclaimer-tag {
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                background: var(--paper);
                border: 1px solid var(--line);
                color: var(--muted);
                padding: 4px 12px;
                border-radius: 20px;
            }
            .disclaimer-quote {
                background: var(--paper);
                border-left: 3px solid #6b8c0a;
                border-radius: 0 8px 8px 0;
                padding: 18px 22px;
                font-size: 15px;
                line-height: 1.8;
                color: #1f2723;
                font-style: normal;
                margin: 0;
            }
            @media (max-width: 650px) {
                .disclaimer-card {
                    padding: 22px 20px;
                }
                .disclaimer-header {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 10px;
                }
                .disclaimer-title {
                    font-size: 18px;
                }
            }
