:root {
    --bg-gradient: linear-gradient(180deg, #fff8ff 0%, #f8f4ff 55%, #ede9ff 100%);
    --hero-gradient: linear-gradient(135deg, #1d153f 0%, #0c1f40 100%);
    --accent: #ff424d;
    --accent-secondary: #ff7a55;
    --text-primary: #170f2d;
    --text-muted: #4c4869;
    --card-bg: #ffffff;
    --card-border: rgba(76, 72, 105, 0.08);
    --shadow-hero: 0 45px 90px -40px rgba(13, 16, 56, 0.55);
    --shadow-card: 0 36px 80px -48px rgba(21, 16, 71, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Work Sans", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-primary);
    background: var(--bg-gradient);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(23, 15, 45, 0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 24px rgba(15, 10, 39, 0.08);
}

.site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(200px, 260px) 1fr auto;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    min-height: 72px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-self: center;
}

.site-logo img {
    height: 80px;
    width: auto;
    display: block;
}

.site-nav__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.4rem, 3vw, 2.6rem);
    justify-self: center;
}

.site-nav__toggle {
    display: none;
    position: relative;
    width: 42px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.site-nav__toggle:focus-visible {
    outline: 2px solid rgba(23, 15, 45, 0.3);
    outline-offset: 4px;
}

.site-nav__toggle-line {
    position: absolute;
    left: 9px;
    right: 9px;
    top: 50%;
    display: block;
    height: 2px;
    background: #12121c;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.site-nav__toggle-line:nth-of-type(1) {
    top: 10px;
}

.site-nav__toggle-line:nth-of-type(2) {
    top: 16px;
}

.site-nav__toggle-line:nth-of-type(3) {
    top: 22px;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-line:nth-of-type(1) {
    top: 16px;
    transform: rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-line:nth-of-type(2) {
    opacity: 0;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-line:nth-of-type(3) {
    top: 16px;
    transform: rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.site-nav a {
    color: #12121c;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.4rem;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
}

.site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(255, 82, 113, 0.28);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 48px rgba(255, 82, 113, 0.32);
    text-decoration: none;
}

.site-nav__cta--mobile {
    display: none;
}

.site-nav__cta--desktop {
    justify-self: end;
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

.site-nav a {
    color: #12121c;
}

.site-nav a:hover {
    color: var(--accent);
}

.container {
    width: min(1100px, 100% - 2rem);
    margin: 0 auto;
}

header.hero {
    background: var(--hero-gradient);
    color: #fdf5ff;
    padding: clamp(3.5rem, 8vw, 5rem) 0;
    text-align: center;
    border-radius: 36px;
    margin: clamp(2rem, 5vw, 3.5rem) auto clamp(2rem, 4vw, 3rem);
    width: min(1100px, 100% - 2rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hero);
}

header.hero::after,
header.hero::before {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
}

header.hero::before {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 82, 113, 0.55), transparent 70%);
    top: -90px;
    right: -140px;
}

header.hero::after {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 50% 50%, rgba(88, 137, 255, 0.55), transparent 70%);
    bottom: -120px;
    left: -150px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    letter-spacing: -0.015em;
    font-weight: 700;
}

.hero p {
    margin: 0 auto clamp(2rem, 4vw, 2.75rem);
    font-size: 1.15rem;
    max-width: 620px;
    color: rgba(249, 245, 255, 0.92);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.brand-mark {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.brand-mark img {
    width: clamp(130px, 18vw, 200px);
    height: auto;
    filter: drop-shadow(0 18px 32px rgba(12, 16, 52, 0.35));
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 22px 45px rgba(255, 82, 113, 0.35);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 52px rgba(255, 82, 113, 0.4);
}

.cta--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fdf5ff;
    box-shadow: none;
}

.cta--ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

main.container {
    padding-bottom: clamp(4rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1.75rem, 3vw, 2.75rem);
}

.error-container {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 10vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
    text-align: center;
}

.error-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 32px;
    padding: clamp(2.5rem, 6vw, 3.75rem);
    box-shadow: var(--shadow-card);
    max-width: 640px;
    width: min(100%, 640px);
}

.error-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.75rem, 10vw, 5.5rem);
    height: clamp(4.75rem, 10vw, 5.5rem);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 66, 77, 0.95), rgba(255, 122, 85, 0.85));
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    box-shadow: 0 22px 48px rgba(255, 82, 113, 0.35);
}

.error-card h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-card p {
    margin: 0 auto clamp(2rem, 5vw, 2.8rem);
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 480px;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: clamp(1.8rem, 5vw, 2.4rem);
}

.error-actions .cta--ghost {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--accent);
    background: rgba(255, 66, 77, 0.08);
    box-shadow: none;
}

.error-actions .cta--ghost:hover {
    background: rgba(255, 66, 77, 0.16);
}

.error-links {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.error-links a {
    font-weight: 600;
    color: var(--accent);
}

.error-links span {
    color: rgba(76, 72, 105, 0.4);
}

.help-container {
    width: min(1100px, 100% - 2rem);
}

.help-layout {
    display: flex;
    align-items: flex-start;
    gap: clamp(2rem, 4vw, 3rem);
}

.help-content {
    flex: 1 1 620px;
    max-width: none;
    min-width: 0;
}

.help-section {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.help-section:last-of-type {
    margin-bottom: 0;
}

.help-section h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.3rem;
}

.help-section h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-top: clamp(1.75rem, 4vw, 2.1rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.help-section h2 + p.help-lead {
    margin-top: 0.25rem;
}

.help-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.help-section p,
.help-section ul,
.help-section ol {
    color: var(--text-muted);
    font-size: 1.03rem;
}

.help-section ul {
    list-style: disc;
    padding-left: 1.4rem;
}

.help-section ul li {
    position: static;
    padding-left: 0.25rem;
    margin-bottom: 0.75rem;
}

.help-section ul li::before {
    display: none;
}

.help-section ol {
    padding-left: 1.4rem;
    counter-reset: none;
}

.help-steps {
    padding-left: 1.4rem;
    margin-bottom: 1.8rem;
}

.help-steps li {
    margin-bottom: 0.8rem;
}

.help-index {
    order: -1;
    flex: 0 0 260px;
    position: sticky;
    top: clamp(2rem, 6vw, 3.5rem);
}

.help-index-card {
    background: var(--card-bg);
    border-radius: 28px;
    padding: clamp(1.75rem, 4vw, 2.25rem);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-card);
}

.help-index h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.help-index nav ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
    counter-reset: none;
}

.help-index nav li {
    margin-bottom: 0.75rem;
}

.help-index nav > ol > li > a {
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.help-index nav > ol > li.is-active > a {
    color: var(--accent);
}

.help-index nav ol ol {
    margin-top: 0.5rem;
    padding-left: 1.1rem;
    border-left: 1px solid rgba(23, 15, 45, 0.08);
    display: none;
}

.help-index nav li.is-active > ol {
    display: block;
}

.help-index nav ol ol li {
    margin-bottom: 0.5rem;
}

.help-index nav ol ol a {
    font-weight: 500;
    color: var(--text-muted);
}

.help-index a:hover {
    text-decoration: underline;
}

section {
    background: var(--card-bg);
    border-radius: 32px;
    padding: clamp(1.9rem, 4vw, 2.9rem) clamp(1.75rem, 5vw, 3.25rem);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--card-border);
}

section h2 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: #0f1334;
    font-size: clamp(1.6rem, 4vw, 2.05rem);
    letter-spacing: -0.01em;
    font-weight: 700;
}

section p,
section ul,
section ol {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.02rem;
}

section + section {
    margin-top: 0;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.9rem;
}

ul li:last-child {
    margin-bottom: 0;
}

ul li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    box-shadow: 0 6px 14px rgba(255, 82, 113, 0.35);
}

.emoji-bullet {
    position: relative;
}

.emoji-bullet::before {
    content: attr(data-icon);
    position: absolute;
    top: 0.15em;
    left: 0;
    background: none;
    box-shadow: none;
    font-size: 1.3rem;
    line-height: 1;
}

ol {
    padding-left: 1.75rem;
    counter-reset: step;
}

ol li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

strong {
    color: var(--text-primary);
}

code {
    font-family: ui-monospace, SFMono-Regular, SFMono, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(255, 82, 113, 0.1);
    padding: 0.15rem 0.55rem;
    border-radius: 0.55rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

footer {
    background: rgba(15, 10, 39, 0.92);
    color: #fdf5ff;
    padding: 2.1rem 0;
    font-size: 0.92rem;
    margin-top: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-top: 1px solid rgba(12, 16, 52, 0.35);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    text-align: center;
}

footer nav a {
    color: inherit;
    margin: 0 0.6rem;
    text-decoration: none;
    font-weight: 600;
}

footer nav a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .site-logo img {
        height: 50px;
        margin-left: 10px; /* adjust this value as needed */
    }

    .help-container {
        width: min(100% - 2rem, 100%);
    }

    .container {
        width: min(100% - 2rem, 100%);
    }

    header.hero {
        width: min(100% - 2rem, 100%);
        border-radius: 28px;
        margin: 1.5rem auto 2.25rem;
        padding: 3rem 0;
    }

    .hero p {
        padding: 0 1rem;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cta {
        width: 100%;
    }

    main.container {
        gap: 1.75rem;
    }

    .error-container {
        padding: 3rem 0 4rem;
    }

    .error-card {
        border-radius: 26px;
        padding: 2.4rem 1.9rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-links {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

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

    .help-index {
        order: initial;
        position: static;
        width: 100%;
    }

    .help-index-card {
        border-radius: 26px;
    }

    section {
        padding: 1.75rem;
        border-radius: 26px;
    }

    footer {
        border-radius: 0;
        padding: 1.8rem 1.2rem;
    }

    .site-header__inner {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .site-nav__toggle {
        display: inline-flex;
    }

    .site-nav__panel {
        position: absolute;
        top: 100%;
        left: 50%;
        right: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1.1rem;
        padding: 1.4rem 1.4rem 1.6rem;
        background: #ffffff;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 28px 60px rgba(15, 10, 39, 0.18);
        z-index: 10;
        border: 1px solid rgba(23, 15, 45, 0.08);
        border-top: none;
        width: 100vw;
        transform: translateX(-50%);
    }

    .site-nav__panel.is-open {
        display: flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 0.1rem 0 0.3rem;
        width: 100%;
    }

    .site-nav a {
        font-size: 1.05rem;
        width: 100%;
    }

    .site-nav__cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
    }

    .site-nav a[aria-current="page"]::after {
        bottom: auto;
        top: 50%;
        left: -0.9rem;
        right: auto;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        transform: translateY(-50%);
    }

    .site-nav__cta--desktop {
        display: none;
    }

    .site-nav__cta--mobile {
        display: inline-flex;
    }
}

@media (max-width: 1024px) {
    .help-container {
        width: min(100% - 2.5rem, 100%);
    }

    .help-layout {
        gap: clamp(2rem, 4vw, 2.75rem);
    }

    .help-index {
        flex-basis: 240px;
    }
}
