/* Help centre — scoped under .help-page / .help-hero so it never leaks into
   the marketing pages. Uses the self-hosted Inter Tight loaded by en::layout. */

.help-hero {
    background:
        radial-gradient(1200px 400px at 50% -10%, rgba(0, 170, 255, 0.14), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f6fafd 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 64px 0 48px;
    text-align: center;
}

.help-page {
    background: #f9fafb;
    padding: 48px 0 88px;
}

.help-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.help-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 170, 255, 0.1);
    color: #0088cc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-title {
    margin: 18px 0 12px;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.help-lead {
    max-width: 620px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
    color: #6b7280;
}

.help-search {
    display: flex;
    gap: 8px;
    max-width: 640px;
    margin: 26px auto 0;
}

.help-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-search input:focus {
    border-color: #00aaff;
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.16);
}

.help-search button,
.help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.help-search button:hover,
.help-btn:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

.help-btn-ghost {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #111827;
}

.help-btn-ghost:hover {
    background: #ffffff;
}

.help-section {
    margin-top: 52px;
}

.help-section:first-child {
    margin-top: 0;
}

.help-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.help-section h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111827;
}

.help-section-link {
    font-size: 14px;
    font-weight: 600;
    color: #0088cc;
    text-decoration: none;
}

.help-section-link:hover {
    text-decoration: underline;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.help-card {
    display: block;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.help-card:hover {
    border-color: #7dd3fc;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    transform: translateY(-2px);
}

.help-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 650;
    color: #111827;
}

.help-card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

.help-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0088cc;
}

.help-list {
    display: grid;
    gap: 10px;
}

.help-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.help-list-item:hover {
    border-color: #7dd3fc;
}

.help-list-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.help-list-item span {
    flex: 0 0 auto;
    font-size: 13px;
    color: #9ca3af;
}

.help-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    color: #6b7280;
}

.help-crumbs a {
    color: #6b7280;
    text-decoration: none;
}

.help-crumbs a:hover {
    color: #0088cc;
}

.help-page-head {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
}

.help-page-head h1 {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111827;
}

.help-page-head p {
    max-width: 720px;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #6b7280;
}

.help-empty {
    max-width: 620px;
    margin: 0 auto;
    padding: 48px 32px;
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.help-empty h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.help-empty p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.65;
    color: #6b7280;
}

.help-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 56px;
    padding: 28px 30px;
    border-radius: 18px;
    background: #111827;
    color: #ffffff;
}

.help-cta h2 {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 700;
}

.help-cta p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
}

.help-cta .help-btn {
    background: #ffffff;
    color: #111827;
}

.help-cta .help-btn:hover {
    background: #e5e7eb;
}

.help-prose {
    max-width: 780px;
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
}

.help-prose h2 {
    margin: 34px 0 12px;
    font-size: 24px;
    line-height: 1.3;
    color: #111827;
}

.help-prose h3 {
    margin: 28px 0 10px;
    font-size: 19px;
    line-height: 1.35;
    color: #111827;
}

.help-prose h4 {
    margin: 24px 0 8px;
    font-size: 16px;
    color: #111827;
}

.help-prose p,
.help-prose ul,
.help-prose ol {
    margin: 0 0 16px;
}

.help-prose ul,
.help-prose ol {
    padding-left: 22px;
}

.help-prose li {
    margin-bottom: 6px;
}

.help-prose a {
    color: #0088cc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.help-prose strong {
    color: #111827;
}

.help-prose blockquote {
    margin: 22px 0;
    padding: 4px 18px;
    border-left: 3px solid #00aaff;
    background: #f0f9ff;
    color: #374151;
}

.help-prose code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #f3f4f6;
    font-size: 0.92em;
}

.help-prose pre {
    overflow-x: auto;
    padding: 18px;
    border-radius: 12px;
    background: #111827;
    color: #f9fafb;
}

.help-prose pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.help-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.help-prose table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.help-prose th,
.help-prose td {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.help-prose th {
    background: #f9fafb;
    color: #111827;
}

.help-faq {
    display: grid;
    gap: 12px;
    max-width: 820px;
}

.help-faq-item {
    padding: 18px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
}

.help-faq-item summary {
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    list-style: none;
}

.help-faq-item summary::-webkit-details-marker {
    display: none;
}

.help-faq-item summary::after {
    content: "+";
    float: right;
    margin-left: 16px;
    color: #0088cc;
    font-weight: 700;
}

.help-faq-item[open] summary::after {
    content: "−";
}

.help-faq-item .help-prose {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    font-size: 15px;
}

.help-alert {
    margin-bottom: 22px;
    padding: 14px 18px;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 14px;
    line-height: 1.6;
}

.help-errors {
    margin-bottom: 22px;
    padding: 14px 18px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
}

.help-errors ul {
    margin: 0;
    padding-left: 18px;
}

.help-form {
    max-width: 720px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.help-field {
    margin-bottom: 18px;
}

.help-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.help-field input,
.help-field select,
.help-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-field input:focus,
.help-field select:focus,
.help-field textarea:focus {
    border-color: #00aaff;
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.16);
}

.help-field textarea {
    min-height: 160px;
    resize: vertical;
}

.help-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.help-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.help-form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
}

.help-form-foot p {
    margin: 0;
    max-width: 360px;
    font-size: 12px;
    line-height: 1.6;
    color: #9ca3af;
}

@media (max-width: 640px) {
    .help-hero {
        padding: 44px 0 36px;
    }

    .help-search {
        flex-direction: column;
    }

    .help-field-row {
        grid-template-columns: 1fr;
    }

    .help-cta {
        align-items: flex-start;
    }
}
