:root {
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --charcoal: #1a1a1a;
    --orange: #d94a1a;
    --orange-dark: #b83a12;
    --mint: #00ffab;
    --text: #1a1a1a;
    --muted: #667085;
    --background: #f5f6f7;
    --surface: #ffffff;
    --surface-soft: #f8fafb;
    --border: #dce3ea;
    --shadow: 0 16px 34px rgba(26, 26, 26, 0.07);
    --shadow-soft: 0 8px 20px rgba(26, 26, 26, 0.055);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background:
        linear-gradient(180deg, rgba(26, 26, 26, 0.04) 0, rgba(26, 26, 26, 0) 230px),
        linear-gradient(135deg, rgba(217, 74, 26, 0.016) 0%, transparent 32%),
        linear-gradient(180deg, #fcfcfb 0%, var(--background) 100%);
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    font-synthesis-weight: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
summary {
    font: inherit;
}

a {
    color: inherit;
}

.help-app {
    min-height: 100vh;
}

.site-header,
.hero,
.section,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0 8px;
}

.brand-link,
.top-nav,
.site-footer nav {
    display: flex;
    align-items: center;
}

.brand-link {
    gap: 10px;
    text-decoration: none;
    font-weight: 650;
    color: var(--charcoal);
}

.brand-mark {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(217, 74, 26, 0.08);
}

.top-nav {
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.top-nav a,
.site-footer a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 560;
    text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--charcoal);
    background: rgba(26, 26, 26, 0.045);
    outline: none;
}

.top-nav .nav-cta {
    background: var(--orange);
    color: #ffffff;
    border: 1px solid var(--orange);
    box-shadow: 0 6px 14px rgba(184, 58, 18, 0.14);
}

.top-nav .nav-cta:hover,
.top-nav .nav-cta:focus-visible {
    background: var(--orange-dark);
    color: #ffffff;
}

.hero {
    padding: 10px 0 8px;
}

.hero-copy {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(26, 26, 26, 0.9);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2a2a2a 100%);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.hero-copy::after {
    content: "";
    position: absolute;
    inset: auto 24px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, rgba(217, 74, 26, 0.74), rgba(217, 74, 26, 0));
}

.eyebrow,
.section-label {
    margin: 0 0 8px;
    color: inherit;
    font-size: 0.76rem;
    font-weight: 620;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 8px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 660;
    line-height: 1;
}

h2 {
    margin-bottom: 8px;
    color: var(--charcoal);
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 640;
    line-height: 1.15;
}

.hero-subtitle {
    max-width: 690px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.8vw, 1.14rem);
}

.section {
    padding: 14px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 14px;
}

.section-heading p:not(.section-label) {
    color: var(--muted);
    margin-bottom: 0;
}

.section-label {
    color: var(--orange);
}

.carousel,
.faq-list,
.tips-grid {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.carousel {
    padding: 14px;
}

.carousel-stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.slide-frame {
    margin: 0;
    min-width: 0;
}

.slide-frame img {
    display: block;
    width: 100%;
    max-width: 920px;
    max-height: 70vh;
    margin: 0 auto;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
}

.slide-frame figcaption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 600;
}

.slide-counter {
    color: var(--muted);
    font-weight: 520;
    white-space: nowrap;
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #c8d1dc;
    border-radius: 999px;
    background: #ffffff;
    color: var(--charcoal);
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(26, 26, 26, 0.08), 0 1px 0 rgba(26, 26, 26, 0.04);
    touch-action: manipulation;
}

.carousel-button span {
    font-size: 1.9rem;
    line-height: 1;
}

.carousel-button:hover,
.carousel-button:focus-visible {
    border-color: rgba(217, 74, 26, 0.38);
    background: #fffaf7;
    outline: 3px solid rgba(217, 74, 26, 0.08);
    box-shadow: 0 10px 22px rgba(26, 26, 26, 0.11), 0 0 0 1px rgba(217, 74, 26, 0.12);
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.slide-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5df;
    cursor: pointer;
}

.slide-dot.is-active {
    width: 24px;
    background: var(--orange);
}

.slide-dot:focus-visible {
    outline: 3px solid rgba(217, 74, 26, 0.14);
    outline-offset: 3px;
}

.faq-list {
    display: grid;
    overflow: hidden;
}

.faq-list details + details {
    border-top: 1px solid var(--border);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    color: var(--charcoal);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    color: var(--muted);
    font-weight: 600;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list summary:focus-visible {
    outline: 3px solid rgba(217, 74, 26, 0.1);
    outline-offset: -3px;
}

.faq-list p {
    margin: -4px 18px 16px;
    color: var(--muted);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.tips-grid li {
    position: relative;
    padding: 16px 18px 16px 38px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.tips-grid li:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.tips-grid li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 23px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mint);
    box-shadow: 0 0 0 3px rgba(0, 255, 171, 0.14);
}

.site-footer {
    padding: 10px 0 30px;
}

.site-footer nav {
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        justify-content: flex-start;
    }

    .hero-copy {
        padding: 20px;
    }

    .carousel-stage {
        grid-template-columns: 1fr;
    }

    .carousel-button {
        display: none;
    }

    .slide-frame figcaption {
        align-items: flex-start;
        flex-direction: column;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid li:nth-child(odd) {
        border-right: 0;
    }
}

@media (max-width: 520px) {
    .site-header,
    .hero,
    .section,
    .site-footer {
        width: min(100% - 20px, 1120px);
    }

    .top-nav a,
    .site-footer a {
        padding: 7px 8px;
    }

    .carousel {
        padding: 10px;
        border-radius: 14px;
    }
}
