* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(56, 209, 127, 0.13), transparent 34%),
        linear-gradient(320deg, rgba(79, 195, 199, 0.12), transparent 34%),
        #07110f;
    color: #f8fafc;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

.wrap {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 56px;
}

.wrap.wide {
    width: min(1120px, calc(100% - 32px));
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #17362b, #1b6651);
    border: 1px solid rgba(138, 240, 183, 0.28);
    box-shadow: 0 14px 36px rgba(56, 209, 127, 0.22);
}

.mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.back {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
}

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

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

.site-nav a[aria-current="page"] {
    color: #8af0b7;
    font-weight: 750;
}

.breadcrumbs {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.doc {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.1;
}

h1,
h2,
h3,
.top,
.site-nav,
.page-intro,
.section,
.content-grid > *,
.device-grid > *,
.steps-grid > * {
    min-width: 0;
}

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

.muted {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.58);
}

h2 {
    margin: 28px 0 8px;
    font-size: 19px;
}

p, li {
    color: rgba(255, 255, 255, 0.78);
}

ul {
    padding-left: 20px;
}

a {
    color: #8af0b7;
}

.note {
    margin-top: 28px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(56, 209, 127, 0.08);
    color: rgba(255, 255, 255, 0.72);
}

.page-intro {
    max-width: 780px;
    margin-bottom: 28px;
}

.page-intro h1 {
    margin-bottom: 14px;
}

.page-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
}

.section {
    margin-top: 46px;
}

.section:first-of-type {
    margin-top: 0;
}

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

.section-head h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.section-head p {
    margin: 0;
}

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

.price-card,
.content-card,
.device-card,
.step-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    padding: 20px;
}

.price-card.recommended {
    border-color: rgba(138, 240, 183, 0.4);
    background: rgba(56, 209, 127, 0.08);
}

.price-card h3,
.content-card h3,
.device-card h3,
.step-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.price {
    margin: 12px 0 4px;
    color: #fff;
    font-size: 31px;
    font-weight: 850;
    line-height: 1;
}

.price span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 600;
}

.card-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

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

.content-card p,
.device-card p,
.step-card p {
    margin: 0;
}

.feature-list,
.payment-list {
    margin: 0;
    padding-left: 20px;
}

.feature-list li,
.payment-list li {
    margin: 8px 0;
}

.step-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 10px;
    color: #07110f;
    background: #8af0b7;
    font-weight: 850;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    font-weight: 750;
    text-decoration: none;
}

.button.primary {
    border-color: transparent;
    color: #07110f;
    background: #8af0b7;
}

.cta {
    margin-top: 46px;
    padding: 24px;
    border: 1px solid rgba(138, 240, 183, 0.24);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(56, 209, 127, 0.12), rgba(79, 195, 199, 0.08));
}

.cta h2 {
    margin-top: 0;
}

.page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
}

.page-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.page-footer a {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: none;
}

@media (max-width: 560px) {
    .top {
        align-items: flex-start;
        flex-direction: column;
    }
    .site-nav {
        justify-content: flex-start;
    }
    .doc {
        padding: 22px;
        border-radius: 14px;
    }
    .card-grid,
    .content-grid,
    .device-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .page-intro p {
        font-size: 16px;
    }
}

@media (min-width: 561px) and (max-width: 860px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
