* {
    box-sizing: border-box;
}

:root {
    --ink: #10203d;
    --ink-soft: #314260;
    --muted: #667895;
    --line: rgba(204, 219, 244, 0.9);
    --line-soft: rgba(226, 234, 248, 0.95);
    --brand: #3f6bff;
    --brand-2: #6657f7;
    --cyan: #35c9e8;
    --aqua: #3ed5bd;
    --gold: #ffb84d;
    --red: #ff707d;
    --paper: rgba(255, 255, 255, 0.92);
    --paper-soft: rgba(255, 255, 255, 0.72);
    --shadow: 0 24px 70px rgba(50, 73, 118, 0.12);
    --shadow-soft: 0 14px 36px rgba(50, 73, 118, 0.08);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;
    color: var(--ink);
    background:
        linear-gradient(180deg, #f8fbff 0%, #fff 36%, #f7fbff 72%, #f9fbff 100%),
        url("../img/backgrounds/bg-growth-portal-aurora.png") center top / cover no-repeat fixed;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    letter-spacing: 0;
}

main {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 230px 1fr auto;
    align-items: center;
    height: 76px;
    padding: 0 clamp(24px, 4vw, 64px);
    border-bottom: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
}

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

.brand img {
    width: 44px;
    height: 44px;
}

.brand span {
    display: grid;
    gap: 2px;
}

.brand strong {
    color: transparent;
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
    background: linear-gradient(135deg, #27c9d3 0%, #3f6bff 52%, #7860ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.brand small {
    color: #667995;
    font-size: 10px;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 48px);
    color: #172847;
    font-size: 15px;
    font-weight: 900;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 76px;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    content: "";
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    opacity: 0;
    transform: scaleX(0.5);
    transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--brand);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    height: 46px;
    padding: 0 22px;
    border: 1px solid rgba(198, 214, 242, 0.98);
    border-radius: 8px;
    color: #243752;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(48, 70, 110, 0.06);
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 107, 255, 0.42);
    box-shadow: 0 18px 36px rgba(48, 70, 110, 0.14);
}

.btn-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #3f6bff, #6d53f5);
    box-shadow: 0 18px 38px rgba(61, 96, 238, 0.28);
}

.btn-soft {
    color: var(--brand);
    background: rgba(245, 248, 255, 0.95);
}

.btn-large {
    min-width: 168px;
    height: 54px;
    padding: 0 26px;
    font-size: 15px;
}

.btn img {
    width: 18px;
    height: 18px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #40516f;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    padding: 0 clamp(24px, 4vw, 64px);
    background:
        linear-gradient(90deg, rgba(250, 252, 255, 0.98) 0%, rgba(247, 251, 255, 0.9) 44%, rgba(234, 243, 255, 0.86) 100%),
        url("../img/backgrounds/bg-illustration-panel.png") center / cover no-repeat;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(71, 107, 255, 0.11) 52%, rgba(63, 213, 189, 0.12) 100%),
        repeating-linear-gradient(90deg, rgba(68, 99, 150, 0.045) 0, rgba(68, 99, 150, 0.045) 1px, transparent 1px, transparent 86px);
    mask-image: linear-gradient(180deg, #000, transparent 95%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(470px, 1.12fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
    max-width: 1320px;
    min-height: 600px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 640px;
    padding: 56px 0 58px;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid rgba(99, 138, 255, 0.16);
    border-radius: 999px;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 24px rgba(80, 106, 180, 0.1);
    font-size: 13px;
    font-weight: 900;
}

.eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 5px rgba(53, 201, 232, 0.14);
}

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

.hero h1 {
    margin: 28px 0 12px;
    color: #13213e;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 950;
    line-height: 1.02;
}

.hero h2 {
    margin: 0 0 22px;
    color: transparent;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 950;
    line-height: 1.16;
    background: linear-gradient(135deg, #346cff 0%, #5d67ff 45%, #172846 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero h2 span {
    display: inline;
}

.hero p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #3c4d69;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.9;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    color: #354760;
    background: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(70, 94, 150, 0.08);
}

.hero-badges img {
    width: 18px;
    height: 18px;
}

.hero-art {
    position: relative;
    min-height: 540px;
    min-width: 0;
}

.hero-cloud {
    position: absolute;
    top: 48px;
    right: -8px;
    width: min(720px, 100%);
    filter: drop-shadow(0 30px 50px rgba(61, 84, 180, 0.18));
    animation: floatHero 5.8s ease-in-out infinite;
}

.float-card {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(210, 224, 246, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 22px 48px rgba(60, 80, 126, 0.13);
    backdrop-filter: blur(14px);
}

.float-card span {
    display: block;
    color: #6b7b94;
    font-size: 13px;
    font-weight: 850;
}

.float-card strong {
    display: block;
    margin-top: 8px;
    color: #3f6bff;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.float-availability {
    top: 106px;
    left: 38px;
    min-width: 132px;
    padding: 18px 20px;
}

.float-latency {
    top: 96px;
    right: 4px;
    min-width: 128px;
    padding: 18px 20px;
}

.float-bgp {
    right: -18px;
    bottom: 100px;
    width: 172px;
    padding: 18px 18px 12px;
}

.float-bgp ul {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.float-bgp li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #55657d;
    font-size: 13px;
    font-weight: 850;
}

.float-bgp i {
    width: 22px;
    height: 8px;
    border-radius: 999px;
    transform: rotate(12deg);
}

.mark-aqua {
    background: linear-gradient(90deg, #8af0d0, #31d2a2);
}

.mark-blue {
    background: linear-gradient(90deg, #7aa0ff, #5768ff);
}

.mark-gold {
    background: linear-gradient(90deg, #7ce5ff, #ffc75a);
}

@keyframes floatHero {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 50px clamp(24px, 4vw, 64px) 0;
}

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

.promo-tile,
.product-card,
.metrics,
.gift-panel,
.progress-panel,
.info-card,
.subscribe {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.promo-tile {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
}

.promo-tile::before {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 86px;
    padding: 7px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    text-align: center;
    transform: translate(24px, 18px) rotate(42deg);
}

.group-buy::before {
    content: "组团享惠";
    background: linear-gradient(135deg, #4c75ff, #755af4);
}

.flash-sale::before {
    content: "限时特价";
    background: linear-gradient(135deg, #ffb14b, #ff6f78);
}

.coupon-center::before {
    content: "超值券包";
    background: linear-gradient(135deg, #7963ff, #49bdf8);
}

.lottery-wheel::before {
    content: "100%有奖";
    background: linear-gradient(135deg, #35c89f, #6ddc8e);
}

.promo-tile b {
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
}

.promo-tile h3 {
    margin: 10px 0 6px;
    font-size: 22px;
    font-weight: 950;
}

.promo-tile p {
    margin-bottom: 0;
    color: #596a83;
    font-size: 13px;
    font-weight: 750;
}

.promo-body {
    position: relative;
    min-height: 88px;
    margin-top: 10px;
}

.promo-body img {
    position: absolute;
    right: -10px;
    bottom: -18px;
    width: 108px;
    height: 108px;
    object-fit: contain;
}

.promo-body span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: #6f7f98;
    font-size: 13px;
    font-weight: 800;
}

.promo-body strong {
    color: #ff6d7b;
    font-size: 18px;
    font-weight: 950;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.countdown em {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 32px;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, #ff6e6e, #ff9a57);
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
}

.coupon span {
    color: #4c62ff;
}

.coupon span strong {
    color: #4c62ff;
    font-size: 28px;
}

.coupon small {
    display: block;
    color: #6e7d95;
    font-size: 12px;
    font-weight: 850;
}

.promo-tile > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 104px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(65, 104, 255, 0.22);
    border-radius: 6px;
    color: var(--brand);
    background: rgba(246, 249, 255, 0.95);
    font-size: 13px;
    font-weight: 950;
}

.promo-tile > a::after {
    content: "→";
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 950;
}

.section-head p {
    margin-bottom: 0;
    color: #687994;
    font-size: 15px;
    font-weight: 700;
}

.section-head > a,
.panel-title a {
    color: var(--brand);
    font-size: 14px;
    font-weight: 950;
}

.section-head > a::after,
.panel-title a::after {
    content: " →";
}

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

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 410px;
    padding: 28px 24px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    object-fit: contain;
}

.product-card h3 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 950;
}

.product-card p {
    min-height: 70px;
    margin-bottom: 18px;
    color: #64758f;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.75;
    text-align: center;
}

.product-card ul,
.gift-panel ul {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.product-card li,
.gift-panel li {
    position: relative;
    padding-left: 22px;
    color: #52647f;
    font-size: 13px;
    font-weight: 800;
}

.product-card li::before,
.gift-panel li::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--cyan));
    box-shadow: 0 0 0 4px rgba(65, 104, 255, 0.1);
}

.price {
    margin-top: auto;
    margin-bottom: 18px;
    color: #386bff;
    font-size: 30px;
    font-weight: 950;
}

.price small {
    margin-right: 4px;
    font-size: 16px;
}

.price span {
    margin-left: 6px;
    color: #7a8aa4;
    font-size: 13px;
    font-weight: 850;
}

.price-muted {
    color: #728199;
    font-size: 22px;
}

.product-card .btn {
    width: 100%;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 40px;
    padding: 0;
    overflow: hidden;
}

.metric-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    column-gap: 16px;
    min-height: 120px;
    padding: 24px 34px;
    background: rgba(255, 255, 255, 0.7);
}

.metric-item img {
    grid-row: span 2;
    width: 56px;
    height: 56px;
    padding: 15px;
    border-radius: 50%;
    background: #edf3ff;
}

.metric-item strong {
    align-self: end;
    color: #386bff;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
}

.metric-item span {
    align-self: start;
    color: #4f607b;
    font-size: 14px;
    font-weight: 850;
}

.growth-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.95fr);
    gap: 24px;
}

.gift-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    min-height: 300px;
    padding: 34px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 255, 0.9)),
        radial-gradient(circle at 78% 52%, rgba(67, 107, 255, 0.14), transparent 34%);
}

.gift-panel h2 {
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 950;
}

.gift-panel p {
    margin-bottom: 22px;
    color: #657690;
    font-size: 15px;
    font-weight: 750;
}

.gift-panel > img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(66, 93, 170, 0.18));
}

.progress-panel,
.info-card {
    padding: 24px;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.panel-title h3 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 950;
}

.progress-row {
    display: grid;
    grid-template-columns: 18px 76px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #5b6c86;
    font-size: 13px;
    font-weight: 850;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: var(--red);
}

.dot.gold {
    background: var(--gold);
}

.dot.violet {
    background: var(--brand-2);
}

.bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2fb;
}

.bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand), var(--cyan));
}

.progress-row em {
    color: #728199;
    font-style: normal;
    white-space: nowrap;
}

.invite-box {
    display: grid;
    gap: 6px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(246, 249, 255, 0.92);
}

.invite-box strong {
    color: #1b2d4a;
    font-size: 15px;
    font-weight: 950;
}

.invite-box span {
    color: #66768e;
    font-size: 13px;
    font-weight: 750;
}

.invite-box a {
    justify-self: end;
    color: var(--brand);
    font-size: 13px;
    font-weight: 950;
}

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

.info-card {
    min-height: 240px;
}

.ranking ol,
.news ul,
.help ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking li,
.news li,
.help li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #52637c;
    font-size: 13px;
    font-weight: 800;
}

.news li:nth-child(n+5),
.help li:nth-child(n+5) {
    display: none;
}

.ranking li span {
    display: inline-grid;
    flex: 0 0 22px;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    color: #fff;
    background: #8ea1bd;
    font-size: 12px;
    font-weight: 950;
}

.ranking li:nth-child(1) span {
    background: #ff5d67;
}

.ranking li:nth-child(2) span {
    background: #4f7cff;
}

.ranking li:nth-child(3) span {
    background: #ffb84d;
}

.ranking li b,
.news time,
.help em {
    margin-left: auto;
    color: #283a57;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.ranking .btn {
    width: 100%;
    margin-top: 20px;
}

.news li span,
.news li a,
.help li a {
    overflow: hidden;
    min-width: 0;
    color: #52637c;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help em {
    color: #8390a6;
    font-style: normal;
}

.subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 0;
    padding: 28px 32px;
}

.subscribe h3 {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 950;
}

.subscribe p {
    margin-bottom: 0;
    color: #687994;
    font-size: 14px;
    font-weight: 750;
}

.subscribe form {
    display: flex;
    gap: 10px;
    width: min(440px, 100%);
}

.subscribe input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #263852;
    background: #fff;
    outline: none;
}

.subscribe button {
    min-width: 94px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #3f6bff, #6657f7);
    font-weight: 950;
}

.site-footer {
    margin-top: 54px;
    color: #aab8ce;
    background: linear-gradient(180deg, #102441 0%, #071a32 100%);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(130px, 0.7fr)) minmax(160px, 0.8fr);
    gap: 36px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 42px clamp(24px, 4vw, 64px);
}

.footer-brand .brand {
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 340px;
    margin-bottom: 0;
    color: #9cafc7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.site-footer h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 950;
}

.site-footer nav {
    display: grid;
    align-content: start;
    gap: 10px;
}

.site-footer nav a {
    color: #9cafc7;
    font-size: 13px;
    font-weight: 750;
}

.footer-qrcode div {
    display: grid;
    grid-template-columns: repeat(2, 86px);
    gap: 12px;
}

.footer-qrcode span {
    display: grid;
    place-items: end center;
    width: 86px;
    height: 86px;
    padding-bottom: 8px;
    border-radius: 8px;
    color: #627189;
    background:
        linear-gradient(45deg, transparent 45%, rgba(30, 51, 80, 0.7) 45%, rgba(30, 51, 80, 0.7) 55%, transparent 55%),
        #fff;
    font-size: 11px;
    font-weight: 900;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px clamp(24px, 4vw, 64px) 24px;
    border-top: 1px solid rgba(165, 188, 220, 0.12);
    color: #8393aa;
    font-size: 12px;
    font-weight: 750;
}

@media (max-width: 1180px) {
    .site-header {
        grid-template-columns: 200px 1fr auto;
    }

    .site-nav {
        gap: 22px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 420px;
    }

    .hero-cloud {
        right: 50%;
        width: min(640px, 96%);
        transform: translateX(50%);
    }

    .activity-strip,
    .product-grid,
    .metrics,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .growth-panels {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .site-header {
        display: flex;
        height: 68px;
        padding: 0 18px;
    }

    .brand {
        margin-right: auto;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .brand strong {
        font-size: 20px;
    }

    .brand small {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
    }

    .is-menu-open .site-nav {
        display: flex;
    }

    .site-nav a {
        height: auto;
        padding: 14px;
        border-radius: 8px;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a:hover,
    .site-nav a.active {
        background: #f3f7ff;
    }

    .hero {
        min-height: auto;
        padding: 0 18px 26px;
    }

    .hero-inner {
        min-height: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        padding: 36px 0 24px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 30px;
        overflow-wrap: anywhere;
    }

    .hero h2 span {
        display: block;
    }

    .hero p {
        max-width: 100%;
        font-size: 15px;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-badges {
        gap: 10px;
    }

    .hero-art {
        min-height: 320px;
    }

    .float-availability {
        top: 12px;
        left: 0;
    }

    .float-latency {
        top: auto;
        right: 0;
        bottom: 86px;
    }

    .float-bgp {
        right: 0;
        bottom: 0;
    }

    .section {
        padding: 30px 18px 0;
    }

    .activity-strip,
    .product-grid,
    .metrics,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .section-head,
    .subscribe {
        align-items: flex-start;
        flex-direction: column;
    }

    .gift-panel {
        grid-template-columns: 1fr;
    }

    .gift-panel > img {
        justify-self: center;
        margin-top: 20px;
    }

    .progress-row {
        grid-template-columns: 18px 70px 1fr;
    }

    .progress-row em {
        grid-column: 2 / -1;
    }

    .subscribe form {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    body {
        background-attachment: scroll;
    }

    .hero-inner {
        display: block;
    }

    .hero-copy,
    .hero-art {
        width: 100%;
        max-width: 100%;
    }

    .hero h2 {
        font-size: 28px;
        line-height: 1.22;
        word-break: keep-all;
    }

    .eyebrow {
        max-width: 100%;
        font-size: 12px;
    }

    .hero-badges span {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .hero-art {
        min-height: 280px;
        overflow: hidden;
    }

    .hero-cloud {
        top: 72px;
        right: auto;
        left: 0;
        width: 76%;
        transform: none;
    }

    .float-card {
        border-radius: 8px;
    }

    .float-card strong {
        font-size: 22px;
    }

    .float-card span {
        font-size: 12px;
    }

    .float-availability,
    .float-latency {
        min-width: 110px;
        padding: 12px 14px;
    }

    .float-latency {
        display: none;
    }

    .float-bgp {
        right: 0;
        width: 132px;
        padding: 12px;
    }

    .promo-tile,
    .product-card,
    .gift-panel,
    .progress-panel,
    .info-card,
    .subscribe {
        padding: 22px;
    }

    .section-head h2,
    .gift-panel h2 {
        font-size: 26px;
    }

    .product-card {
        min-height: 0;
    }

    .metric-item {
        min-height: 100px;
        padding: 22px;
    }

    .ranking li,
    .news li,
    .help li {
        align-items: flex-start;
    }

    .news time,
    .help em,
    .ranking li b {
        white-space: normal;
        text-align: right;
    }
}
