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

:root {
    --bg: #ffffff;
    --bg-soft: #fafaf7;
    --bg-hero: #f4f6f7;
    --surface: #ffffff;
    --text: #2c3e50;
    --muted: #5d6d7e;
    --line: #d7dbdd;
    --accent: #45668e;
    --accent-strong: #3a567a;
    --secondary: #e67e22;
    --danger: #c0392b;
    --success: #27ae60;
    --info: #45668e;
    --shadow: 0 14px 34px rgba(44, 62, 80, 0.12);
    --shadow-soft: 0 1px 3px rgba(44, 62, 80, 0.08);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    padding: 8px 14px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.18);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.site-header .brand {
    color: #ffffff;
}

.brand__mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(69, 102, 142, 0.28);
}

.button--primary:hover {
    background: linear-gradient(135deg, var(--accent-strong) 0%, #344a6b 100%);
    border-color: var(--accent-strong);
    box-shadow: 0 8px 24px rgba(69, 102, 142, 0.34);
}

.button--secondary,
.button--ghost {
    color: var(--text);
    background: #ffffff;
    border-color: var(--line);
}

.button--secondary:hover,
.button--ghost:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
}

.button--light {
    color: var(--accent);
    background: #ffffff;
    border-color: #ffffff;
}

.button--large {
    min-height: 48px;
    padding: 13px 22px;
}

.nav .button--ghost {
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.32);
}

.nav .button--ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.46);
}

.nav .button--primary {
    color: var(--accent);
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: none;
}

.nav .button--primary:hover {
    color: var(--accent-strong);
    background: #f4f6f7;
    border-color: #f4f6f7;
    box-shadow: none;
}

.hero {
    padding: 86px 0 72px;
    background:
        radial-gradient(circle at 18% 16%, rgba(69, 102, 142, 0.06) 0%, transparent 34%),
        radial-gradient(circle at 78% 86%, rgba(230, 126, 34, 0.05) 0%, transparent 34%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-hero) 100%);
    border-bottom: 1px solid var(--line);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.8fr);
    align-items: center;
    gap: 64px;
}

.hero__content {
    max-width: 680px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 720px;
    color: var(--text);
    font-size: 48px;
    line-height: 1.08;
}

h2 {
    margin: 0;
    color: var(--text);
    font-size: 34px;
    line-height: 1.16;
}

h3 {
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.25;
}

.hero__text {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.trust-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
}

.app-preview {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.app-preview__top,
.app-preview__footer,
.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.app-preview__top {
    justify-content: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.app-preview__top strong,
.app-preview__top span {
    display: block;
}

.app-preview__top span,
.app-preview__footer,
.status-row span {
    color: var(--muted);
    font-size: 14px;
}

.status-row {
    min-height: 72px;
    margin-top: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--info);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.status-row strong {
    text-align: right;
    font-size: 14px;
}

.status-row--danger {
    border-left-color: var(--danger);
}

.status-row--danger strong {
    color: var(--danger);
}

.status-row--success {
    border-left-color: var(--success);
}

.status-row--success strong {
    color: var(--success);
}

.status-row--info strong {
    color: var(--info);
}

.app-preview__footer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.app-preview__footer strong {
    color: var(--accent-strong);
}

.section {
    padding: 76px 0;
}

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

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.marketplace-grid p,
.cta p {
    color: var(--muted);
    font-size: 17px;
}

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

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

.priority,
.step,
.marketplace-list article,
.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.priority,
.step {
    padding: 26px;
}

.priority p,
.step p,
.marketplace-list p,
.faq p {
    margin: 12px 0 0;
    color: var(--muted);
}

.icon-box {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent);
    background: rgba(69, 102, 142, 0.1);
    border-radius: 8px;
}

.icon-box--stock {
    color: var(--success);
    background: rgba(39, 174, 96, 0.1);
}

.icon-box svg,
.marketplace-list svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.step__number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border-radius: 8px;
    font-weight: 800;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
    gap: 52px;
    align-items: start;
}

.marketplace-list {
    display: grid;
    gap: 14px;
}

.marketplace-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
}

.marketplace-list svg {
    color: var(--accent);
}

.faq {
    max-width: 900px;
}

.faq .section-heading {
    max-width: 780px;
}

.faq details {
    padding: 20px 22px;
}

.faq details + details {
    margin-top: 12px;
}

.faq summary {
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.cta {
    padding: 64px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 52%, #5d6d7e 100%);
}

.cta h2 {
    color: #ffffff;
}

.cta p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-footer {
    padding: 36px 0;
    background: linear-gradient(135deg, #1f313f 0%, #1a252f 100%);
    color: #ffffff;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.brand--footer {
    color: #ffffff;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    text-decoration: none;
}

.footer__links a:hover {
    color: #ffffff;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .hero {
        padding: 62px 0 54px;
    }

    .hero__grid,
    .marketplace-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 29px;
    }

    .priority-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav__actions,
    .hero__actions,
    .button {
        width: 100%;
    }

    .button {
        text-align: center;
    }

    h1 {
        font-size: 33px;
    }

    .hero__text,
    .section-heading p:not(.eyebrow),
    .marketplace-grid p,
    .cta p {
        font-size: 16px;
    }

    .app-preview {
        padding: 16px;
    }

    .status-row,
    .app-preview__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .status-row strong {
        text-align: left;
    }
}
