:root {
    --bg: #f7fbfa;
    --ink: #141a24;
    --muted: #667085;
    --line: #d9e7e5;
    --accent: #00a99d;
    --accent-dark: #007d74;
    --accent-soft: #e5f7f5;
    --trust: #2f6f8f;
    --gold: #f4a62a;
    --panel: #ffffff;
    --soft: #eef9f7;
    --error: #b42318;
    --warning: #b76e00;
    --shadow: 0 20px 60px rgba(20, 26, 36, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

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

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 5vw, 72px);
    background: rgba(247, 251, 250, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 132px;
}

.brand img {
    display: block;
    width: 153px;
    height: auto;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    color: #fff;
    background: var(--accent);
}

nav {
    display: flex;
    gap: 22px;
    color: var(--muted);
    font-size: 15px;
}

nav a:hover {
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    min-height: calc(100vh - 68px);
    padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(180deg, rgba(229, 247, 245, 0.82) 0%, rgba(247, 251, 250, 0) 48%),
        var(--bg);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.95;
    letter-spacing: 0;
    color: #111827;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.lead {
    max-width: 690px;
    margin: 24px 0 0;
    color: #526173;
    font-size: 21px;
    line-height: 1.5;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.button.primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 12px 28px rgba(0, 169, 157, 0.24);
}

.button.primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.button.secondary {
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.82);
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.trust span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--muted);
    font-size: 14px;
}

.hero-panel,
article,
.form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-panel {
    position: absolute;
    right: clamp(14px, 3vw, 28px);
    bottom: clamp(14px, 3vw, 28px);
    max-width: min(420px, calc(100% - 28px));
    padding: clamp(22px, 4vw, 34px);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.hero-visual {
    position: relative;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(20, 26, 36, 0.13);
}

.hero-visual picture,
.hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
}

.hero-visual img {
    object-fit: cover;
}

.doc-head {
    display: flex;
    gap: 7px;
    margin-bottom: 30px;
}

.doc-head span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--line);
}

.doc-head span:first-child {
    background: var(--gold);
}

.hero-panel h2 {
    font-size: 28px;
}

.hero-panel ol {
    display: grid;
    gap: 16px;
    margin: 24px 0 0;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.5;
}

.section {
    padding: 74px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
}

.section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

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

article {
    padding: 24px;
}

article p,
.cta p,
footer p {
    color: var(--muted);
    line-height: 1.55;
}

article a,
.article-body a {
    color: var(--accent-dark);
    font-weight: 800;
}

.steps {
    background: var(--soft);
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.steps-list div {
    display: grid;
    gap: 18px;
    min-height: 160px;
    padding: 22px;
    background: #fff;
}

.steps-list strong {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 22px rgba(0, 169, 157, 0.20);
}

.steps-list span {
    color: var(--muted);
    line-height: 1.5;
}

.seo-resources article,
.related-pages article {
    min-height: 190px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--accent-dark);
    font-weight: 800;
}

.seo-article {
    max-width: 1180px;
    margin: 0 auto;
    border-top: 0;
}

.seo-article h1 {
    max-width: 940px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
}

.article-head {
    display: grid;
    gap: 22px;
    max-width: 920px;
    margin-bottom: 42px;
}

.article-head .lead {
    margin: 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.article-body {
    display: grid;
    gap: 26px;
}

.article-body section,
.article-aside {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.article-body h2,
.article-aside h2 {
    font-size: 28px;
}

.article-body p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--soft);
    color: var(--accent-dark);
    font-weight: 800;
}

.faq {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

summary {
    cursor: pointer;
    padding: 16px;
    font-weight: 800;
}

details p {
    margin: 0;
    padding: 0 16px 16px;
}

.source-note {
    background: var(--soft);
}

.article-aside {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
}

.article-aside p {
    margin: 0;
}

.cta {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    gap: clamp(26px, 5vw, 70px);
    padding: 82px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
}

.form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: clamp(20px, 4vw, 30px);
}

label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(0, 169, 157, 0.18);
    border-color: var(--accent);
}

.wide,
.notice,
.fineprint {
    grid-column: 1 / -1;
}

.notice {
    padding: 14px;
    border-radius: 7px;
    font-weight: 700;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 7px;
    color: #fff;
    background: var(--accent);
    text-decoration: none;
}

.download-link:hover {
    background: var(--accent-dark);
}

.notice.success {
    color: var(--accent-dark);
    background: var(--soft);
}

.notice.error {
    color: var(--error);
    background: #fae6e7;
}

.fineprint {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    .hero,
    .cta {
        grid-template-columns: 1fr;
        min-height: auto;
    }

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

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 520px;
    }
}

@media (max-width: 680px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        font-size: 14px;
    }

    h1 {
        font-size: 44px;
    }

    .seo-article h1 {
        font-size: 40px;
    }

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

    .hero {
        padding-top: 34px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 560px;
    }

    .hero-panel {
        right: 12px;
        bottom: 12px;
        padding: 18px;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
