/* ============================================================
   THE NEW KITS — Help & FAQ Stylesheet
   ============================================================ */

.tnk-help-page {
    --black: #131313;
    --white: #ffffff;
    --red: #E31E24;
    --red-dark: #B81015;
    --grey-50: #fafafa;
    --grey-100: #f5f5f5;
    --grey-150: #ededed;
    --grey-200: #e5e5e5;
    --grey-300: #d4d4d4;
    --grey-400: #a3a3a3;
    --grey-500: #6b6862;
    --grey-700: #404040;
    --section: 80px;
    --pad: 32px;
}

.tnk-help-page {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.tnk-help-page .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--pad);
}
@media (max-width: 640px) {
    .tnk-help-page .container { padding: 0 20px; }
    .tnk-help-page { --section: 56px; }
}

/* Shared button */
.tnk-help-page .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.2s;
}
.tnk-help-page .btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(227,30,36,0.3);
}
.tnk-help-page .btn-primary svg { transition: transform 0.2s; }
.tnk-help-page .btn-primary:hover svg { transform: translateX(3px); }

/* ============= HERO ============= */
.tnk-help-page .help-hero {
    padding: 56px 0 48px;
    background: linear-gradient(180deg, #f7f5f0 0%, #fff 100%);
    border-bottom: 1px solid var(--grey-150);
}
.tnk-help-page .help-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--grey-500);
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.tnk-help-page .help-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.tnk-help-page .help-hero__breadcrumb a:hover { color: var(--black); }
.tnk-help-page .help-hero__breadcrumb svg { color: var(--grey-400); }
.tnk-help-page .help-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
    background: rgba(227,30,36,0.08);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.tnk-help-page .help-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--black);
    margin: 0 0 16px;
}
.tnk-help-page .help-hero__lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--grey-700);
    max-width: 580px;
    margin: 0 0 28px;
}
.tnk-help-page .help-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tnk-help-page .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.tnk-help-page .chip:hover {
    border-color: var(--black);
    background: var(--grey-50);
    transform: translateY(-1px);
}
.tnk-help-page .chip svg { color: var(--red); }

/* ============= SEARCH ============= */
.tnk-help-page .help-search {
    padding: 32px 0 16px;
    background: #fff;
}
.tnk-help-page .search-wrap {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.tnk-help-page .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-400);
    pointer-events: none;
}
.tnk-help-page #faq-search {
    width: 100%;
    padding: 16px 50px 16px 52px;
    background: var(--grey-50);
    border: 1.5px solid var(--grey-200);
    border-radius: 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--black);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    -webkit-appearance: none;
}
.tnk-help-page #faq-search::placeholder { color: var(--grey-400); }
.tnk-help-page #faq-search:focus {
    outline: none;
    background: #fff;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(19,19,19,0.1);
}
.tnk-help-page .search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--grey-150);
    color: var(--grey-700);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.tnk-help-page .search-clear:hover {
    background: var(--black);
    color: var(--white);
}
.tnk-help-page .help-search__result {
    max-width: 720px;
    margin: 14px auto 0;
    text-align: center;
    font-size: 13px;
    color: var(--grey-500);
}
.tnk-help-page .help-search__empty {
    max-width: 720px;
    margin: 32px auto 0;
    padding: 24px;
    text-align: center;
    background: var(--grey-50);
    border: 1px dashed var(--grey-300);
    border-radius: 12px;
    color: var(--grey-700);
}
.tnk-help-page .help-search__empty strong {
    display: block;
    color: var(--black);
    font-size: 15px;
    margin-bottom: 6px;
}
.tnk-help-page .help-search__empty a {
    color: var(--red);
    font-weight: 600;
}

/* ============= FAQ CATEGORIES ============= */
.tnk-help-page .help-faq {
    padding: 24px 0 var(--section);
    background: #fff;
}
.tnk-help-page .faq-category {
    margin-bottom: 48px;
}
.tnk-help-page .faq-category:last-child { margin-bottom: 0; }
.tnk-help-page .faq-category.is-hidden { display: none; }

.tnk-help-page .faq-category__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--grey-150);
}
.tnk-help-page .faq-category__icon {
    width: 44px;
    height: 44px;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tnk-help-page .faq-category__head h2 {
    flex: 1;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--black);
    margin: 0;
}
.tnk-help-page .faq-category__count {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-500);
    background: var(--grey-100);
    padding: 4px 10px;
    border-radius: 999px;
}
@media (max-width: 600px) {
    .tnk-help-page .faq-category__count { display: none; }
}

/* FAQ items (using <details>/<summary>) */
.tnk-help-page .faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tnk-help-page .faq-item {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.2s;
}
.tnk-help-page .faq-item:hover { border-color: var(--grey-400); }
.tnk-help-page .faq-item[open] {
    border-color: var(--black);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.tnk-help-page .faq-item.is-hidden { display: none; }
.tnk-help-page .faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}
.tnk-help-page .faq-item__q::-webkit-details-marker { display: none; }
.tnk-help-page .faq-item__q:hover { background: var(--grey-50); }
.tnk-help-page .faq-item__q span { flex: 1; line-height: 1.45; }
.tnk-help-page .faq-item__chevron {
    color: var(--grey-500);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}
.tnk-help-page .faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--red);
}
.tnk-help-page .faq-item__a {
    padding: 0 22px 22px;
    color: var(--grey-700);
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid var(--grey-150);
    padding-top: 16px;
}
.tnk-help-page .faq-item__a p {
    margin: 0 0 12px;
}
.tnk-help-page .faq-item__a p:last-child { margin-bottom: 0; }
.tnk-help-page .faq-item__a a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tnk-help-page .faq-item__a a:hover { color: var(--red-dark); }
.tnk-help-page .faq-item__a ul,
.tnk-help-page .faq-item__a ol {
    margin: 0 0 12px;
    padding-left: 22px;
}
.tnk-help-page .faq-item__a li { margin-bottom: 4px; }
.tnk-help-page .faq-item__a strong {
    color: var(--black);
    font-weight: 700;
}

/* Highlighted match (when searching) */
.tnk-help-page .faq-item mark {
    background: rgba(227,30,36,0.18);
    color: inherit;
    padding: 1px 2px;
    border-radius: 3px;
}

/* ============= STILL NEED HELP CTA ============= */
.tnk-help-page .help-cta {
    padding: var(--section) 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.tnk-help-page .help-cta h2 {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--white);
    margin: 0 0 14px;
}
.tnk-help-page .help-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 28px;
}
@media (max-width: 639px) {
    .tnk-help-page .help-cta .btn-primary {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        max-width: 280px;
    }
}
