:root {
    --bg: #050505;
    --bg-soft: #0d0d0d;
    --surface: #121212;
    --surface-soft: #1a1a1a;
    --text: #f5f5f5;
    --muted: #c6c6c6;
    --muted-strong: #ececec;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 140, 0, 0.26);
    --dark: #050505;
    --accent: #ff8c00;
    --accent-strong: #ff8c00;
    --accent-soft: #ffb457;
    --body-font: "Sora", "Avenir Next", "Segoe UI", sans-serif;
    --display-font: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    --hero-bg:
        radial-gradient(circle at 50% -18%, rgba(255, 140, 0, 0.18), transparent 34%),
        linear-gradient(180deg, #050505 0%, #0a0a0a 62%, #101010 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(180deg, #050505 0%, #090909 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display-font);
    letter-spacing: -0.03em;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
ol {
    margin: 0;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.92);
}

.header-shell {
    margin: 0.7rem 0 0.4rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 140, 0, 0.16);
    border-radius: 22px;
    background: rgba(10, 10, 10, 0.92);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.logo img {
    width: auto;
    height: 40px;
}

.btn-header {
    min-width: 156px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.92rem 1.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    color: #050505;
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
    box-shadow: 0 16px 28px rgba(255, 140, 0, 0.22);
}

.btn-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 140, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.breadcrumbs {
    background: transparent;
    border-bottom: 0;
}

.breadcrumbs--hero {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0.35rem 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    border: 1px solid rgba(255, 140, 0, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin-right: 0.5rem;
    color: rgba(255, 140, 0, 0.66);
}

.breadcrumb-item a {
    color: #ffd2a0;
}

.hero {
    padding: 1rem 0 4rem;
    color: #ffffff;
    background: var(--hero-bg);
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(1.35rem, 3.5vw, 2.2rem);
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), rgba(13, 13, 13, 0.86);
    border: 1px solid rgba(255, 140, 0, 0.14);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--accent-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-description {
    margin: 1rem auto 0;
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.45rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 140, 0, 0.16);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.92rem;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.main-content {
    padding: 1.6rem 0 3.25rem;
}

.content-article {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(1.1rem, 2.6vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.summary-box {
    padding: 1.15rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 140, 0, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 140, 0, 0.14);
}

.summary-box h2 {
    font-size: clamp(1.55rem, 4vw, 2rem);
}

.check-list {
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--muted);
}

.check-list li + li {
    margin-top: 0.8rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(255, 140, 0, 0.1);
}

.jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.jump-links a {
    padding: 0.68rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 140, 0, 0.16);
    color: #ffd2a0;
    font-weight: 600;
    font-size: 0.92rem;
}

.content-article section + section {
    margin-top: 2rem;
    padding-top: 1.9rem;
    border-top: 1px solid var(--line);
}

.content-article section:not(.summary-box):not(:first-child) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
}

.content-article h2 {
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.content-article h3 {
    font-size: clamp(1.2rem, 3vw, 1.45rem);
    line-height: 1.25;
    margin: 1.5rem 0 0.7rem;
}

.faq-accordion {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid rgba(255, 140, 0, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    display: block;
    list-style: none;
    cursor: pointer;
    padding: 1rem 3.2rem 1rem 1rem;
    color: var(--muted-strong);
    font-family: var(--display-font);
    font-size: clamp(1.1rem, 2.8vw, 1.3rem);
    line-height: 1.25;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 400;
}

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

.faq-answer {
    padding: 0 1rem 1rem;
}

.faq-answer p {
    color: var(--muted);
}

.content-article p,
.content-article li {
    color: var(--muted);
    font-size: 0.985rem;
    line-height: 1.72;
    text-wrap: pretty;
}

.content-article p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.content-article p + p,
.content-article p + ul,
.content-article ul + p {
    margin-top: 1rem;
}

.cta-section {
    text-align: center;
    padding: 1.55rem;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 140, 0, 0.16) 0%, rgba(255, 255, 255, 0.02) 100%),
        #0c0c0c;
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: #ffffff;
}

.cta-section h2,
.cta-section p {
    color: #ffffff;
}

.cta-section p {
    max-width: 56ch;
    margin: 1rem auto 0;
}

.cta-section .btn {
    margin-top: 1.25rem;
}

.footer {
    background: #050505;
    color: #bdbdbd;
    padding: 1.7rem 0 2.2rem;
    border-top: 1px solid rgba(255, 140, 0, 0.12);
}

.footer-content {
    display: grid;
    gap: 0.55rem;
    text-align: center;
}

.footer-disclaimer {
    color: #ffd2a0;
    font-weight: 600;
}

:focus-visible {
    outline: 3px solid rgba(255, 140, 0, 0.38);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .container {
        width: min(1100px, calc(100% - 0.9rem));
    }

    .header-shell {
        margin-top: 0.55rem;
        margin-bottom: 0.35rem;
        padding: 0.7rem 0.75rem;
        border-radius: 18px;
    }

    .header-content {
        align-items: center;
        flex-direction: row;
        gap: 0.75rem;
    }

    .logo-block {
        align-items: center;
        flex-direction: row;
        flex: 1 1 auto;
    }

    .logo img {
        height: 34px;
    }

    .header-nav {
        flex: 0 0 auto;
    }

    .header-nav .btn {
        width: auto;
        min-width: 0;
        padding: 0.72rem 0.9rem;
        font-size: 0.78rem;
        letter-spacing: 0.01em;
        white-space: nowrap;
    }

    .hero-actions .btn,
    .cta-section .btn {
        width: 100%;
    }

    .hero {
        padding: 0.8rem 0 2.35rem;
    }

    .hero-content {
        padding: 1.2rem 1rem 1.1rem;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.08;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.64;
        max-width: 100%;
    }

    .hero-meta {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .hero-meta span {
        width: 100%;
        padding: 0.5rem 0.75rem;
        font-size: 0.84rem;
    }

    .hero-actions {
        gap: 0.65rem;
        margin-top: 1.1rem;
    }

    .content-article {
        padding: 1rem 0.95rem;
        border-radius: 20px;
    }

    .content-article section + section {
        margin-top: 1.65rem;
        padding-top: 1.65rem;
    }

    .content-article h2 {
        font-size: 1.45rem;
        line-height: 1.16;
        margin-bottom: 0.8rem;
    }

    .content-article h3 {
        font-size: 1.05rem;
        margin-top: 1rem;
    }

    .content-article p,
    .content-article li {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .check-list {
        margin-top: 0.85rem;
    }

    .check-list li + li {
        margin-top: 0.65rem;
    }

    .jump-links {
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .jump-links a {
        font-size: 0.84rem;
        padding: 0.58rem 0.78rem;
    }

    .summary-box,
    .cta-section {
        padding: 1rem;
        border-radius: 18px;
    }

    .faq-accordion {
        gap: 0.7rem;
    }

    .faq-item {
        border-radius: 16px;
    }

    .faq-item summary {
        padding: 0.9rem 2.7rem 0.9rem 0.9rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 0.9rem 0.9rem;
    }

    .breadcrumbs--hero {
        margin-bottom: 0.8rem;
    }

    .breadcrumb-list {
        justify-content: center;
        width: auto;
        max-width: 100%;
        padding: 0.45rem 0.8rem;
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
