:root {
    --primary: #6755e7;
    --primary-dark: #4e3fbd;
    --ink: #17162b;
    --muted: #67647a;
    --surface: #ffffff;
    --soft: #f6f5ff;
    --border: #e5e2f2;
    --success: #14805e;
    --shadow: 0 22px 60px rgba(34, 27, 80, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.narrow {
    width: min(760px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    border-bottom: 1px solid rgba(229, 226, 242, 0.8);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

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

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

.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 12px;
    background: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-size: 0.92rem;
}

.main-nav a {
    color: var(--muted);
    font-weight: 650;
    text-decoration: none;
}

.main-nav .nav-login {
    padding: 9px 15px;
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.hero {
    overflow: hidden;
    padding: 78px 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(103, 85, 231, 0.18), transparent 32%),
        linear-gradient(180deg, #fff 0%, #faf9ff 100%);
}

.hero-grid {
    display: grid;
    gap: 48px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin: 14px 0 20px;
    font-size: clamp(2.35rem, 8vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.hero-description {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.1rem;
}

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

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

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

.button-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 12px 28px rgba(103, 85, 231, 0.25);
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-secondary {
    color: var(--ink);
    border: 1px solid var(--border);
    background: #fff;
}

.responsibility-note {
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.88rem;
}

.price-panel {
    padding: 30px;
    border: 1px solid rgba(103, 85, 231, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.price-panel > span,
.price-panel > p {
    color: var(--muted);
}

.price-panel strong {
    display: block;
    margin: 4px 0;
    font-size: 2.5rem;
    letter-spacing: -0.04em;
}

.price-panel ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.price-panel li::before {
    content: "✓";
    margin-right: 9px;
    color: var(--success);
    font-weight: 900;
}

.section {
    padding: 76px 0;
}

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

.section-heading {
    max-width: 680px;
    margin-bottom: 36px;
}

.section-heading p,
.security-grid p,
.document p,
.placeholder-box p {
    color: var(--muted);
}

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

.step {
    display: flex;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

.step > span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--primary);
    border-radius: 12px;
    background: var(--soft);
    font-weight: 900;
}

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

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

.security-grid {
    display: grid;
    gap: 30px;
}

.text-link {
    color: var(--primary);
    font-weight: 800;
}

.page-hero {
    padding: 72px 0 44px;
    background: var(--soft);
}

.page-hero h1 {
    font-size: clamp(2.3rem, 7vw, 4rem);
}

.document {
    display: grid;
    gap: 32px;
}

.document section {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.document h2 {
    font-size: 1.35rem;
}

.notice {
    padding: 18px;
    border: 1px solid #efcf91;
    border-radius: 14px;
    color: #74551c;
    background: #fff9eb;
}

.placeholder-page {
    min-height: 68vh;
    display: grid;
    align-items: center;
    padding: 70px 0;
    background: var(--soft);
}

.placeholder-box {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.placeholder-box h1 {
    margin-inline: auto;
    font-size: clamp(2.1rem, 6vw, 3.5rem);
}

.site-footer {
    padding: 44px 0;
    color: #d9d6ec;
    background: #17162b;
}

.footer-content {
    display: grid;
    gap: 24px;
}

.site-footer p {
    margin: 4px 0 0;
    color: #9c98b5;
}

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

.site-footer a {
    color: #d9d6ec;
}

.site-footer small {
    color: #8c88a5;
}

@media (max-width: 720px) {
    .header-content {
        min-height: 64px;
    }

    .brand span:last-child {
        display: none;
    }

    .main-nav a:not(.nav-login) {
        display: none;
    }

    .hero {
        padding: 58px 0;
    }
}

@media (min-width: 820px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
        align-items: center;
    }

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

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr auto auto;
        align-items: center;
    }
}
