:root {
    --orange: #ff6b00;
    --orange-dark: #c94700;
    --orange-soft: #fff1e6;
    --orange-pale: #fff8f1;
    --ink: #23160f;
    --muted: #735f52;
    --line: rgba(255, 107, 0, 0.18);
    --white: #ffffff;
    --shadow: 0 22px 54px rgba(118, 52, 8, 0.16);
    --soft-shadow: 0 12px 30px rgba(118, 52, 8, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0 25%, transparent 25% 100%),
        linear-gradient(180deg, #fffaf5 0%, #fff2e6 46%, #ffffff 100%);
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    line-height: 1.08;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 30;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 245, 0.96);
    box-shadow: 0 10px 26px rgba(118, 52, 8, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 12px 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 12px 26px rgba(255, 107, 0, 0.26);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    color: #4d3527;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--orange-dark);
    background: rgba(255, 107, 0, 0.1);
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 14px 30px rgba(255, 107, 0, 0.24);
    text-decoration: none;
    font-weight: 800;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 107, 0, 0.3);
}

.button.light {
    color: var(--orange-dark);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 107, 0, 0.18);
    box-shadow: none;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, #251208 0%, #733000 45%, #ff6b00 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 24px),
        linear-gradient(90deg, rgba(31, 18, 10, 0.42), rgba(255, 107, 0, 0));
}

.hero::after {
    content: "";
    position: absolute;
    top: 70px;
    right: -90px;
    z-index: -1;
    width: min(650px, 48vw);
    height: 460px;
    clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 58px);
}

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

.hero-inner {
    width: min(720px, 100%);
    padding: 96px 0 92px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: #fed7aa;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.hero h1 {
    max-width: 700px;
    color: #fff;
    font-size: clamp(48px, 7vw, 86px);
}

.hero p {
    max-width: 660px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.hero-point {
    min-height: 82px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.hero-point strong {
    display: block;
    color: #fff;
    font-size: 18px;
}

.hero-point span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.section {
    padding: 88px 0;
}

.section-gap {
    margin-top: 20px;
}

.section.soft {
    background:
        linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-title.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title.compact {
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 50px);
}

.section-title p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, 0.36);
    box-shadow: var(--shadow);
}

.icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--orange-dark);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.16), rgba(255, 184, 77, 0.12));
    font-size: 21px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.card p,
.card li {
    color: var(--muted);
}

.story {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
    align-items: center;
}

.story-visual {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 107, 0, 0.28), transparent 32%),
        repeating-linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0 2px, transparent 2px 24px),
        linear-gradient(135deg, #fffaf5, #fff0e0 58%, #ffffff);
    box-shadow: var(--shadow);
}

.story-visual::before {
    content: "";
    position: absolute;
    inset: 48px 34px 62px;
    z-index: 1;
    border: 1px solid rgba(255, 107, 0, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.story-visual::after {
    content: "";
    position: absolute;
    right: 30px;
    bottom: 28px;
    z-index: 1;
    width: 42%;
    height: 132px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 18px 32px rgba(255, 107, 0, 0.22);
    clip-path: polygon(12% 0, 100% 0, 84% 100%, 0 100%);
}

.story-shot {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: min(94%, 680px);
    height: auto;
    transform: translate(-50%, -50%);
    border: 6px solid rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(118, 52, 8, 0.22);
}

.steps {
    display: grid;
    gap: 14px;
}

.step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.step-number {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 800;
}

.step h3 {
    margin-bottom: 4px;
    font-size: 20px;
}

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

.download-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 20px;
    align-items: stretch;
}

.download-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.download-card h3 {
    margin-bottom: 12px;
    font-size: 30px;
}

.download-card p {
    color: var(--muted);
}

.download-card .button {
    margin-top: 24px;
}

.support-list {
    display: grid;
    gap: 12px;
}

.support-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.support-item strong {
    display: block;
    margin-bottom: 4px;
    font-family: Montserrat, Arial, sans-serif;
}

.support-item span,
.support-item a {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.support-form-card {
    margin-top: 20px;
}

.support-form {
    display: grid;
    gap: 16px;
}

.support-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.support-form span {
    font-size: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 107, 0, 0.28);
    border-radius: 8px;
    color: var(--ink);
    background: #fffaf5;
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.support-form textarea {
    min-height: 148px;
    resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.13);
}

.form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.support-form button:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.form-status {
    min-height: 24px;
    color: var(--muted);
    font-weight: 700;
}

.form-status.success {
    color: #18794e;
}

.form-status.error {
    color: #b42318;
}

.form-status.info {
    color: var(--orange-dark);
}

.doc-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 0 70px;
    color: #fff;
    background:
        linear-gradient(135deg, #251208 0%, #743000 54%, #f15f00 100%);
}

.doc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 28px),
        linear-gradient(90deg, rgba(31, 18, 10, 0.36), rgba(255, 107, 0, 0));
}

.doc-hero h1 {
    max-width: 850px;
    color: #fff;
    font-size: clamp(38px, 6vw, 66px);
}

.doc-hero p {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.doc-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 28px;
}

.doc-nav {
    position: sticky;
    top: 20px;
    align-self: start;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--soft-shadow);
}

.doc-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: #4d3527;
    text-decoration: none;
    font-weight: 800;
}

.doc-nav a:hover {
    color: var(--orange-dark);
    background: rgba(255, 107, 0, 0.1);
}

.article-stack {
    display: grid;
    gap: 20px;
}

.article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--soft-shadow);
    overflow-wrap: anywhere;
}

.article h2 {
    margin-bottom: 14px;
    font-size: 30px;
}

.article h3 {
    margin: 24px 0 8px;
    font-size: 21px;
}

.article p,
.article li {
    color: var(--muted);
}

.article ul,
.article ol {
    margin: 12px 0 0;
    padding-left: 22px;
}

.article li + li {
    margin-top: 8px;
}

.notice {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--orange-dark);
    background: var(--orange-pale);
}

.legal-card {
    color: inherit;
    text-decoration: none;
}

.site-footer {
    padding: 48px 0 24px;
    color: #f8e7d8;
    background:
        linear-gradient(135deg, #1f120a 0%, #5a2600 64%, #8a330d 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.7fr 0.95fr 0.9fr;
    gap: 28px;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #fff;
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.76);
}

.footer-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #ffe7ce;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.copyright {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

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

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

    .hero {
        min-height: 680px;
    }

    .hero-inner {
        padding-top: 86px;
    }

    .hero-points,
    .grid.three,
    .grid.two,
    .form-grid,
    .story,
    .download-panel,
    .doc-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .doc-nav {
        position: static;
    }

    .story-visual {
        min-height: 300px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        gap: 12px;
        padding: 10px;
    }

    .brand {
        font-size: 20px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .main-nav a,
    .main-nav .button {
        width: auto;
        min-height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-inner {
        padding-top: 72px;
    }

    .hero::after {
        top: 32px;
        right: -140px;
        width: 360px;
        height: 310px;
        opacity: 0.55;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding: 58px 0;
    }

    .doc-hero {
        padding-top: 58px;
    }

    .card,
    .article,
    .download-card {
        padding: 22px;
    }
}
