@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
    --green: #07866d;
    --dark: #1d3d34;
    --muted: #8b9c91;
    --line: #e2eae1;
    --bg: #f4f7f2;
    --pale: #eaf1df;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--dark);
    font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
    font-size: 13px;
}

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

button, select {
    font: inherit;
    cursor: pointer;
}

.container {
    width: min(992px, calc(100% - 40px));
    margin: auto;
}

/* 顶部导航 */

.header {
    height: 62px;
    background: #fff;
    border-bottom: 1px solid #e8eee7;
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.logo {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px 8px 8px 3px;
    background: var(--green);
    color: white;
    font-size: 21px;
}

.navbar nav {
    display: flex;
    gap: 28px;
}

.navbar nav a {
    font-size: 10px;
    color: #75877d;
}

.language {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    color: #75877d;
}

.language select {
    border: 0;
    background: transparent;
    color: #536b60;
    outline: none;
}

/* 首页 */

.hero {
    background: linear-gradient(110deg, #f4f7f1, #f0f5ec);
    border-bottom: 1px solid #e6ede3;
}

.hero-grid {
    min-height: 444px;
    display: grid;
    grid-template-columns: 1fr 398px;
    align-items: center;
    gap: 58px;
    padding: 40px 0;
}

.eyebrow {
    display: inline-block;
    padding: 7px 9px;
    border-radius: 5px;
    background: #e9f1e3;
    color: #72917d;
    font-size: 8px;
}

.intro h1 {
    font-size: 35px;
    color: var(--green);
    letter-spacing: -0.06em;
    margin: 22px 0 10px;
}

.intro h2 {
    font-size: 25px;
    margin: 0 0 14px;
}

.description {
    max-width: 380px;
    color: #81938a;
    font-size: 11px;
    line-height: 2;
}

.features {
    display: flex;
    gap: 18px;
    margin: 22px 0;
    color: #728a7a;
    font-size: 9px;
}

/* 新用户奖励 */

.bonus {
    height: 77px;
    max-width: 408px;
    border: 1px solid #dce8d1;
    background: var(--pale);
    border-radius: 11px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
}

.star {
    font-size: 27px;
    color: #9eae79;
}

.bonus-info {
    display: grid;
    gap: 4px;
}

.bonus-info small {
    font-size: 6px;
    letter-spacing: .2em;
    color: #a3b48e;
}

.bonus-info b {
    font-size: 11px;
    color: #5e7d54;
}

.bonus-info p {
    margin: 0;
    font-size: 8px;
    color: #9ba98b;
}

.bonus > strong {
    margin-left: auto;
    font-size: 25px;
    color: #6d8956;
    text-align: center;
}

.bonus > strong small {
    display: block;
    font-size: 7px;
}

/* 能量租用卡片 */

.rental-card {
    min-height: 349px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 20px 22px;
    box-shadow: 0 12px 34px #34533a0b;
    position: relative;
}

.rental-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    background: var(--green);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: #48665a;
}

.card-header span {
    font-size: 7px;
    color: #8aa18a;
    background: #edf5e9;
    padding: 5px 8px;
    border-radius: 4px;
}

.price {
    text-align: center;
    margin-top: 24px;
}

.price strong {
    font-size: 57px;
    font-weight: 500;
    letter-spacing: -.06em;
}

.price span {
    font-size: 10px;
    color: #91a097;
}

.price i {
    font-style: normal;
}

.energy {
    text-align: center;
    font-size: 9px;
    color: #89988f;
    margin-top: 4px;
}

.energy b {
    color: #587d65;
}

.energy em {
    font-style: normal;
    font-size: 7px;
    padding: 3px 5px;
    background: #eff5e9;
    color: #88a47b;
    border-radius: 3px;
}

.duration {
    text-align: center;
    font-size: 8px;
    color: #98a69b;
    margin: 10px 0 18px;
}

.details {
    border-top: 1px solid #edf1eb;
    padding: 13px 0 10px;
    display: grid;
    gap: 9px;
}

.details div {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #9aa79e;
}

.details b {
    font-weight: 500;
    color: #5f7669;
}

/* 按钮 */

.primary-btn {
    height: 40px;
    border: 0;
    border-radius: 7px;
    background: var(--green);
    color: #fff;
    width: 100%;
    font-size: 10px;
    font-weight: 700;
}

.primary-btn:hover {
    background: #06765f;
}

.text-btn {
    display: block;
    margin: 9px auto 0;
    border: 0;
    background: none;
    color: var(--green);
    font-size: 8px;
    font-weight: 700;
}

.notes {
    display: flex;
    justify-content: center;
    gap: 13px;
    color: #879b8c;
    font-size: 7px;
    margin-top: 10px;
}

.notes i {
    font-style: normal;
}

/* 订单记录 */

.records {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    padding-top: 28px;
}

.record-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
}

.record-card h3 {
    height: 50px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 17px;
    border-bottom: 1px solid #e9eee7;
    font-size: 11px;
    color: #6f8c76;
}

.table-head,
.row {
    display: grid;
    grid-template-columns: 1.4fr .7fr .55fr;
    align-items: center;
    padding: 0 16px;
}

.table-head {
    height: 29px;
    background: #f8fbf5;
    color: #91a18f;
    font-size: 7px;
}

.row {
    height: 31px;
    border-top: 1px solid #f0f3ef;
    color: #8b9b8c;
    font-size: 7px;
}

.status {
    justify-self: start;
    background: #f8f1e4;
    color: #b49a69;
    border-radius: 3px;
    padding: 3px 6px;
}

/* 三步指南 */

.guide {
    padding-top: 25px;
    padding-bottom: 40px;
}

.kicker {
    font-size: 7px;
    letter-spacing: .22em;
    color: #91a396;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 7px 0 14px;
}

.section-title h2,
.faq h2 {
    font-size: 19px;
    margin: 0;
}

.section-title a {
    font-size: 9px;
    color: #72977b;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 24px;
}

.steps article > small,
.steps div > small {
    font-size: 8px;
    color: #9eb59b;
}

.steps h4 {
    font-size: 10px;
    margin: 12px 0 7px;
    color: #567b66;
}

.steps p,
.faq p {
    font-size: 8px;
    color: #9aa99d;
    line-height: 1.8;
}

/* FAQ */

.faq {
    border-top: 1px solid var(--line);
    padding: 33px 0 52px;
    display: grid;
    grid-template-columns: .72fr 1fr;
    gap: 45px;
}

.faq h2 {
    margin: 8px 0 12px;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
}

.faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 9px;
    color: #6d8977;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    color: #9cb58c;
}

.faq details[open] summary::after {
    content: '−';
}

.faq details p {
    margin: 10px 0 0;
}

/* 页脚 */

footer {
    border-top: 1px solid var(--line);
}

.footer {
    min-height: 61px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .brand {
    font-size: 11px;
}

.footer .logo {
    width: 19px;
    height: 19px;
    font-size: 15px;
}

.footer > span,
.footer > a:last-child {
    font-size: 7px;
    color: #9aa99d;
}

/* 弹窗 */

.modal-bg {
    position: fixed;
    inset: 0;
    background: #17342dcc;
    z-index: 5;
    display: grid;
    place-items: center;
    padding: 18px;
}

.modal-bg[hidden] {
    display: none;
}

.modal {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 27px;
    position: relative;
}

.modal .close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: none;
    font-size: 24px;
    color: #94a49a;
}

.modal > small {
    display: block;
    margin-top: 12px;
    font-size: 7px;
    letter-spacing: .2em;
    color: #8ba092;
}

.modal h2 {
    font-size: 21px;
}

.modal p {
    font-size: 9px;
    color: #91a097;
}

.modal p b {
    color: #456b57;
}

.address-box {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f5f8f3;
    border: 1px solid #e4ece1;
    border-radius: 7px;
    padding: 9px;
}

.address-box code {
    font-size: 9px;
    overflow-wrap: anywhere;
    flex: 1;
}

.address-box button {
    border: 0;
    background: #e6f0dc;
    color: #5e8655;
    padding: 8px;
    border-radius: 5px;
}

.modal .warning {
    color: #ae9669;
    line-height: 1.7;
}

.modal .primary-btn {
    margin-top: 8px;
}

/* 手机自适应 */

@media(max-width:760px) {

    .container {
        width: calc(100% - 32px);
    }

    .navbar nav {
        gap: 12px;
    }

    .navbar nav a {
        font-size: 8px;
    }

    .brand {
        font-size: 13px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 34px 0 28px;
    }

    .intro h1 {
        font-size: 32px;
    }

    .intro h2 {
        font-size: 22px;
    }

    .description {
        max-width: none;
    }

    .bonus {
        max-width: none;
    }

    .rental-card {
        width: 100%;
        max-width: 430px;
        margin: auto;
    }

    .records {
        grid-template-columns: 1fr;
        padding-top: 18px;
    }

    .steps {
        gap: 12px;
    }

    .faq {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer {
        min-height: 58px;
        gap: 8px;
        flex-wrap: wrap;
    }
}

@media(max-width:420px) {

    .navbar nav {
        gap: 8px;
    }

    .navbar nav a {
        font-size: 7px;
    }

    .brand {
        font-size: 11px;
        gap: 5px;
    }

    .intro h1 {
        font-size: 29px;
    }

    .features {
        gap: 9px;
        font-size: 8px;
    }

    .rental-card {
        padding: 18px 15px;
    }

    .price strong {
        font-size: 51px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faq {
        padding-bottom: 35px;
    }
}

/* =================================
   全站字体整体放大
   ================================= */

html {
    font-size: 18px;
}

body {
    font-size: 16px;
    line-height: 1.75;
}

/* LOGO */
.brand {
    font-size: 21px;
}

/* 顶部导航 */
.navbar nav a {
    font-size: 16px;
}

/* 语言选择 */
.language,
.language select {
    font-size: 15px;
}

/* 首页标题 */
.hero h1 {
    font-size: 46px;
    line-height: 1.3;
}

.hero h2 {
    font-size: 27px;
}

.description {
    font-size: 17px;
    line-height: 1.9;
}

/* 功能标签 */
.features {
    font-size: 15px;
}

/* 奖励区域 */
.bonus-info small {
    font-size: 12px;
}

.bonus-info b {
    font-size: 19px;
}

.bonus-info p {
    font-size: 14px;
}

/* 租用卡片 */
.card-header {
    font-size: 19px;
}

.price strong {
    font-size: 52px;
}

.price span {
    font-size: 16px;
}

.energy {
    font-size: 17px;
}

.energy b {
    font-size: 23px;
}

.duration,
.details {
    font-size: 15px;
}

/* 按钮 */
.primary-btn {
    font-size: 17px;
    min-height: 54px;
}

.text-btn {
    font-size: 16px;
}

/* 提示文字 */
.notes {
    font-size: 14px;
}

/* 订单记录 */
.record-card h3 {
    font-size: 21px;
}

.table-head,
.row {
    font-size: 15px;
}

/* 使用指南 */
.section-title h2 {
    font-size: 30px;
}

.section-title a {
    font-size: 16px;
}

.steps h4 {
    font-size: 19px;
}

.steps p {
    font-size: 15px;
}

/* FAQ */
.faq-intro h2 {
    font-size: 29px;
}

.faq-intro p {
    font-size: 16px;
}

.faq-list summary {
    font-size: 17px;
}

.faq-list details p {
    font-size: 15px;
    line-height: 1.9;
}

/* 弹窗 */
.modal h2 {
    font-size: 25px;
}

.modal p {
    font-size: 16px;
}

.address-box {
    font-size: 15px;
}

.warning {
    font-size: 14px;
}

/* 手机端 */
@media (max-width: 768px) {

    html {
        font-size: 17px;
    }

    body {
        font-size: 16px;
    }

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

    .hero h2 {
        font-size: 23px;
    }

    .description {
        font-size: 16px;
    }

    .price strong {
        font-size: 46px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .faq-intro h2 {
        font-size: 25px;
    }

    .steps h4 {
        font-size: 18px;
    }

    .steps p,
    .faq-list details p {
        font-size: 15px;
    }

    .primary-btn {
        font-size: 16px;
        min-height: 52px;
    }

    .row,
    .table-head {
        font-size: 14px;
    }
}
