:root {
    --blue: #3d70e0;
    --blue-dark: #2f5cc4;
    --ink: #3a4f66;
    --black: #111111;
    --line: #111111;
    --bg: #fafbfc;
    --card: #ffffff;
    --muted: #5c7084;
    --warn: #8a5a00;
    --warn-bg: #fff6e5;
    --warn-line: #f0d9a8;
    --header: 78px;
    --ok: #1b7a45;
    --ok-bg: #eef8f1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

a { color: var(--blue); }

h1, h2, h3 { color: var(--black); line-height: 1.15; }

h1 {
    margin: 0 0 16px;
    font-family: Roboto, sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 700;
}

h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 700; }

p { margin: 0; }

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

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--blue);
    color: #fff;
    padding: 8px 12px;
    z-index: 20;
}

.skip:focus { top: 12px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

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

.site-nav a {
    color: var(--black);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.site-nav a:hover { color: var(--blue); }

.langs {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--blue);
    border-radius: 4px;
    overflow: hidden;
}

.langs button {
    border: 0;
    background: #fff;
    color: var(--blue);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 14px;
    min-width: 48px;
    line-height: 1;
}

.langs button + button {
    border-left: 1.5px solid var(--blue);
}

.langs button.is-current {
    background: var(--blue);
    color: #fff;
}

.langs button:hover:not(.is-current) {
    background: #eef3fc;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 10px 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--black);
}

.hero {
    background: #fff;
    padding: 42px 0 28px;
    border-bottom: 1px solid #e6ebf1;
}

.hero-lead {
    margin-bottom: 14px;
    color: var(--muted);
    max-width: 640px;
}

.badge-temp {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    color: var(--warn);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 3px;
}

.notice {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--warn-bg);
    border: 1px solid var(--warn-line);
    border-radius: 4px;
    color: var(--warn);
    font-size: 0.92rem;
    font-weight: 600;
}

.section { padding: 48px 0; }

.section + .section { border-top: 1px solid #e6ebf1; }

.section-lead {
    margin-bottom: 22px;
    color: var(--muted);
}

.step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.step-list > li {
    position: relative;
    background: var(--card);
    border: 1px solid #e6ebf1;
    border-radius: 4px;
    padding: 18px 18px 18px 64px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.03);
    counter-increment: step;
}

.step-list > li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-list h3 { margin-bottom: 6px; }

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

.cred-box {
    margin-top: 12px;
    padding: 14px 16px;
    background: var(--ok-bg);
    border: 1px solid #cfe8d8;
    border-radius: 4px;
}

.cred-row {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 8px 10px;
    align-items: center;
    padding: 6px 0;
}

.cred-row + .cred-row { border-top: 1px dashed #cfe8d8; }

.cred-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ok);
}

.cred-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow-x: auto;
}

.copy-btn {
    border: 1px solid #b7d9c5;
    background: #fff;
    color: var(--ok);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.copy-btn:hover { background: var(--ok-bg); }

.copy-btn.is-copied {
    background: var(--ok);
    border-color: var(--ok);
    color: #fff;
}

.app-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.app-links .btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.25;
    box-sizing: border-box;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.btn-fill { background: var(--blue); color: #fff; }

.btn-fill:hover { background: var(--blue-dark); }

.btn-line {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.role-card {
    background: var(--card);
    border: 1px solid #e6ebf1;
    border-top: 4px solid var(--blue);
    border-radius: 4px;
    padding: 22px 20px;
}

.role-card .eyebrow {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tip {
    margin-top: 16px;
    padding: 12px 14px;
    background: #eef3fc;
    border-left: 3px solid var(--blue);
    color: var(--ink);
    font-size: 0.92rem;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #e6ebf1;
    padding: 22px 0 28px;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.footer-bar p { margin: 0; font-size: 0.9rem; }

.footer-bar a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .header-bar { flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; }
    .site-nav {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-bottom: 10px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px 0; border-top: 1px solid #e6ebf1; }
    .langs { margin-left: auto; }
    .two-col { grid-template-columns: 1fr; }
    .cred-row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "label label"
            "value copy";
        gap: 4px 10px;
    }
    .cred-label { grid-area: label; }
    .cred-value { grid-area: value; min-width: 0; }
    .copy-btn { grid-area: copy; justify-self: end; align-self: center; }
    .footer-bar { flex-direction: column; align-items: flex-start; }
}
