:root {
  color-scheme: light;
  --background: #f8f7ef;
  --paper: #fdfcf7;
  --sand: #eeeee3;
  --ink: #24362d;
  --muted: #536358;
  --green: #335644;
  --green-dark: #254535;
  --sage: #e9eee3;
  --sage-edge: #cad5c6;
  --border: #dcded2;
  --danger: #943f35;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--ink); font: 16px/1.65 var(--sans); }
main:focus { outline: none; }
h1, h2, h3, p, figure, ol, dl, dd { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .72; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 99; inset-block-start: 8px; inset-inline-start: 8px; background: var(--paper); padding: 10px 16px; border-radius: 8px; }
.shell { max-width: 1280px; margin-inline: auto; padding-inline: clamp(24px, 4.5vw, 64px); }
.icon { flex: none; display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; font-size: 20px; font-weight: 730; letter-spacing: .035em; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: var(--paper); }
.brand-mark svg { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.6vw, 35px); font-size: 14px; font-weight: 620; white-space: nowrap; }
.site-nav > a:not(.button) { padding-block: 10px; }
.site-nav > a:not(.button):hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .35em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 675; font-size: 14px; line-height: 1.4; }
.button-small { min-height: 40px; padding: 8px 13px; }
.button-primary { background: var(--green); color: #fffdf7; }
.button-primary:hover { background: var(--green-dark); }
.button-outline { background: transparent; color: var(--green-dark); border-color: var(--sage-edge); }
.button-outline:hover { background: var(--sage); }
.button .icon { width: 17px; height: 17px; }

.hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(24px, 4vw, 65px); padding-block: clamp(52px, 6vw, 95px); }
.platforms { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 725; line-height: 1.5; letter-spacing: .025em; color: var(--green-dark); background: var(--sage); border: 1px solid var(--sage-edge); border-radius: 100px; padding: 7px 11px; }
.platforms span { width: 6px; height: 6px; border-radius: 50%; background: #607e61; flex: none; }
.hero h1 { font-family: var(--display); font-size: clamp(35px, 4.16vw, 61px); font-weight: 750; line-height: 1.22; letter-spacing: -.035em; margin-top: 24px; }
.hero h1 span { display: block; color: var(--green); }
.hero-description { color: var(--muted); max-width: 31em; line-height: 1.85; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.hero-note .icon { width: 15px; height: 15px; margin-top: 2px; }
.hero-figure { min-width: 0; }

.device-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.30;
  overflow: hidden;
  border: 1px solid #d4dbce;
  border-radius: 22px;
  background-color: #e8ecdf;
  background-image: radial-gradient(#778b7355 0.6px, transparent 0.6px);
  background-size: 15px 15px;
  container-type: inline-size;
}
.device-stage::before, .device-stage::after { content: ""; position: absolute; z-index: -1; border: 1px solid #d0dbcb; border-radius: 50%; }
.device-stage::before { width: 65%; aspect-ratio: 1; top: -24%; right: -12%; }
.device-stage::after { width: 87%; aspect-ratio: 1; top: -35%; right: -24%; }
.stage-caption { position: absolute; left: 5%; top: 6%; display: flex; align-items: center; gap: 7px; color: var(--green-dark); font-size: clamp(10px, 2.3cqi, 13px); font-weight: 715; }
.stage-caption .icon { width: 15px; height: 15px; }
.stage-demo { border-left: 1px solid #aab8a8; padding-left: 7px; color: var(--muted); font-size: .82em; font-weight: 550; }
.desktop { position: absolute; left: 6.5%; top: 22%; width: 68%; }
.desktop-bezel { background: #304238; border: 1px solid #273a30; border-radius: 2.35cqi; padding: 1.2cqi; box-shadow: 0 1.8cqi 3.1cqi #26362a26, inset 0 1px #54715f; }
.desktop-screen { height: 38.2cqi; overflow: hidden; border-radius: 1.15cqi; border: 1px solid #c9d0c3; background: #fffef8; }
.window-bar { height: 5.6cqi; display: flex; align-items: center; justify-content: space-between; background: #f1f2e9; padding: 0 2.1cqi; border-bottom: 1px solid #e0e3d9; }
.window-app { font-size: 1.72cqi; font-weight: 720; display: inline-flex; align-items: center; gap: .7cqi; }
.window-app::before { content: ""; width: 1.3cqi; height: 1.3cqi; border-radius: .32cqi; background: #759278; }
.window-controls { display: flex; gap: .8cqi; }
.window-controls i { width: .65cqi; height: .65cqi; border-radius: 50%; background: #899a88; }
.desktop-workspace { display: grid; grid-template-columns: 31% 69%; height: calc(100% - 5.6cqi); }
.mock-sidebar { display: flex; flex-direction: column; gap: .65cqi; min-width: 0; padding: 2.6cqi 1.45cqi; border-right: 1px solid #e3e7dc; background: #f7f7ee; font-size: 1.72cqi; }
.mock-sidebar span { display: flex; align-items: center; gap: .8cqi; white-space: nowrap; }
.mock-sidebar-title { padding: 0 .65cqi .6cqi; font-weight: 740; }
.mock-sidebar-current, .mock-sidebar-item { padding: .45cqi .65cqi; border-radius: .5cqi; }
.mock-sidebar-current { background: #e6ede2; color: var(--green-dark); font-weight: 700; }
.mock-sidebar-item { color: #516254; }
.mock-sidebar i { width: 1.2cqi; height: .9cqi; border: 1px solid #8aa18a; border-radius: .28cqi; }
.mock-workspace { min-width: 0; padding: 2.4cqi 2.3cqi; display: flex; flex-direction: column; align-items: flex-start; }
.mock-breadcrumb { color: var(--muted); font-size: 1.6cqi; }
.mock-workspace > strong { font-size: 2.95cqi; margin-top: .45cqi; }
.mock-bubble { align-self: flex-end; font-size: 1.8cqi; font-weight: 620; margin: 2.2cqi .1cqi 2.5cqi 0; background: #e9efe4; border: 1px solid #e0e9dc; padding: .7cqi 1.25cqi; border-radius: 1cqi 1cqi .2cqi 1cqi; }
.mock-line { display: block; height: .54cqi; border-radius: 1cqi; background: #dce4d7; flex: none; }
.mock-line + .mock-line { margin-top: 1.05cqi; }
.mock-line-long { width: 82%; }
.mock-line-medium { width: 71%; }
.mock-line-short { width: 48%; }
.mock-editor, .phone-editor { display: flex; align-items: center; justify-content: space-between; border: 1px solid #dbe1d5; border-radius: .85cqi; color: var(--green); }
.mock-editor { align-self: stretch; padding: .6cqi 1cqi; margin-top: auto; }
.mock-editor i, .phone-editor i { width: 41%; height: .5cqi; border-radius: 1cqi; background: #dce4d7; }
.mock-editor .icon, .phone-editor .icon { width: 2.1cqi; height: 2.1cqi; }
.desktop-neck, .desktop-base { display: block; margin-inline: auto; background: #42594b; }
.desktop-neck { width: 14%; height: 4.5cqi; border-inline: 1px solid #30463a; }
.desktop-base { width: 31%; height: 1.15cqi; border-radius: 1cqi 1cqi .3cqi .3cqi; box-shadow: 0 .75cqi 1.6cqi #26362a26; }
.handset { position: absolute; top: 29%; right: 6.5%; width: 24%; border-radius: 3.6cqi; padding: .9cqi; background: #304238; border: 1px solid #2d3e35; box-shadow: 0 1.55cqi 2.2cqi #26362a35, inset 0 1px #62826c; }
.phone-screen { position: relative; height: 42.8cqi; background: #fffef8; border: 1px solid #d8ded0; border-radius: 2.75cqi; padding: 4cqi 1.5cqi 1.3cqi; overflow: hidden; }
.phone-camera, .phone-home { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 1cqi; }
.phone-camera { top: .9cqi; width: 4.8cqi; height: 1.08cqi; background: #304238; }
.phone-home { bottom: .7cqi; width: 5.2cqi; height: .47cqi; background: #9ba79b; }
.phone-head { display: flex; align-items: center; justify-content: space-between; padding-right: 1.2cqi; font-size: 1.95cqi; gap: .5cqi; white-space: nowrap; }
.phone-head > span { font-size: 2.7cqi; line-height: 1; }
.phone-online { display: flex; align-items: center; gap: .6cqi; padding: .55cqi .7cqi; margin-top: 1.4cqi; border-radius: .65cqi; background: #e9efe3; color: var(--green-dark); font-size: 1.55cqi; font-weight: 650; }
.phone-online i { width: .8cqi; height: .8cqi; border-radius: 50%; background: #69886c; }
.phone-workspace { display: grid; margin-top: 1cqi; gap: .12cqi; }
.phone-workspace small { font-size: 1.55cqi; color: var(--muted); }
.phone-workspace strong { font-size: 2cqi; }
.phone-message { margin: 1.45cqi 0; padding: .5cqi .7cqi; border-radius: .55cqi; background: #e9efe4; font-size: 1.55cqi; color: var(--green-dark); white-space: nowrap; }
.phone-editor { position: absolute; bottom: 2.4cqi; left: 1.45cqi; right: 1.45cqi; padding: .45cqi .5cqi; }
.mock-connection { position: absolute; z-index: 1; top: 57%; left: 68%; width: 7.2%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #b9cbba; border-radius: 50%; background: #f8faf1; color: var(--green); box-shadow: 0 1cqi 2cqi #26362a1a; }
.mock-connection .icon { width: 3.6cqi; height: 3.6cqi; }
.device-labels { position: absolute; bottom: 4%; left: 6%; right: 5%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.device-labels > span { display: inline-flex; align-items: center; gap: .65cqi; color: var(--green-dark); font-size: clamp(10px, 2.15cqi, 13px); font-weight: 730; white-space: nowrap; }
.device-labels .icon { width: 14px; height: 14px; }
.device-labels small { color: var(--muted); font-size: .91em; font-weight: 550; }

.features { background: var(--sand); border-block: 1px solid var(--border); }
.section-inner { padding-block: clamp(50px, 6vw, 80px); }
.section-head { margin-bottom: 27px; }
.section-label { margin-bottom: 8px; color: var(--green); font-size: 13px; font-weight: 740; letter-spacing: .08em; }
.section-head h2, .banner-inner h2 { font-family: var(--display); font-weight: 740; line-height: 1.3; letter-spacing: -.025em; }
.section-head h2 { font-size: clamp(25px, 3vw, 39px); }
.section-head > p:not(.section-label) { margin-top: 10px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.feature-card { padding: clamp(19px, 2.3vw, 30px); border: 1px solid var(--border); border-radius: 14px; background: var(--paper); }
.feature-icon { display: inline-grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 12px; color: var(--green); background: var(--sage); }
.feature-icon .icon { width: 22px; height: 22px; }
.feature-card h3 { margin-top: 16px; }
.feature-card h3, .steps h3 { font-size: 18px; font-weight: 700; }
.feature-card p, .steps p { color: var(--muted); margin-top: 6px; font-size: 14px; line-height: 1.75; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 13px; border-top: 1px solid var(--sage-edge); padding-block: 19px 5px; }
.step-number { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--sage-edge); border-radius: 50%; color: var(--green); font-size: 12px; font-weight: 740; font-variant-numeric: tabular-nums; }
.account-banner { padding-bottom: clamp(43px, 6vw, 72px); }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: clamp(20px, 3vw, 34px); background: var(--sage); border: 1px solid var(--sage-edge); border-radius: 14px; }
.banner-inner h2 { font-size: clamp(22px, 2.5vw, 30px); }
.banner-inner p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.banner-inner .button { flex: none; }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 71px; color: var(--muted); font-size: 13px; }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 720; color: var(--green-dark); }
.footer-brand svg { width: 25px; height: 25px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 18px; row-gap: 2px; }
.footer-links a { padding-block: 6px; }

.account-page { display: flex; flex-direction: column; min-height: 100vh; }
.account-main { width: 100%; flex: 1; display: grid; align-content: start; padding-block: clamp(30px, 7vw, 92px); }
.account-loading { min-height: 20vh; display: grid; justify-items: start; align-content: start; gap: 12px; color: var(--muted); }
.auth-layout { display: grid; grid-template-columns: .87fr 1fr; width: 100%; max-width: 860px; margin-inline: auto; border: 1px solid var(--border); border-radius: 19px; overflow: hidden; background: var(--paper); box-shadow: 0 14px 40px #36432d0a; }
.auth-aside { background: var(--sage); display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: clamp(25px, 4vw, 44px); border-right: 1px solid var(--border); }
.auth-aside .feature-icon { background: var(--paper); margin-bottom: 22px; }
.auth-aside h2 { font: 740 clamp(24px, 3vw, 36px)/1.25 var(--display); letter-spacing: -.025em; margin-bottom: 10px; }
.auth-aside p:not(.section-label) { color: var(--muted); font-size: 14px; }
.auth-art { display: flex; align-items: center; }
.auth-art > span { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--sage-edge); border-radius: 13px; color: var(--green); background: var(--paper); }
.auth-art > span:nth-child(2) { width: 31px; height: 31px; border-radius: 50%; }
.auth-art > span:nth-child(2) .icon { width: 15px; height: 15px; }
.auth-art::before, .auth-art::after { content: ""; width: 14%; max-width: 44px; border-top: 1px dashed #7f9982; }
.auth-art::before { order: 1; }
.auth-art > span:nth-child(2) { order: 2; }
.auth-art::after { order: 3; }
.auth-art > span:nth-child(3) { order: 4; }
.auth-card { padding: clamp(24px, 4vw, 44px); min-width: 0; }
.auth-switch { display: flex; gap: 3px; padding: 3px; background: #f0f0e7; border: 1px solid var(--border); border-radius: 9px; }
.auth-switch a { flex: 1; min-width: 0; padding: 7px 12px; border: 1px solid transparent; border-radius: 6px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 640; }
.auth-switch a:hover { color: var(--green-dark); }
.auth-switch a[aria-current] { color: var(--green-dark); border-color: var(--border); background: var(--paper); }
.auth-heading { margin-block: 25px 19px; }
.auth-heading h1, .dashboard h1 { font-family: var(--display); font-weight: 740; letter-spacing: -.035em; line-height: 1.25; }
.auth-heading h1 { font-size: clamp(27px, 3.2vw, 36px); }
.auth-heading p { margin-top: 5px; color: var(--muted); font-size: 14px; }
#auth-fields { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.form-field + .form-field { margin-top: 15px; }
.form-field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 690; }
.form-field input { display: block; width: 100%; min-height: 45px; padding: 7px 11px; color: var(--ink); background: #fffdf8; border: 1px solid #aebbac; border-radius: 8px; }
.form-field input[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { margin-top: 5px; color: var(--muted); font-size: 12px; }
.auth-submit { width: 100%; margin-top: 18px; }
.form-feedback { color: var(--danger); font-size: 13px; }
.form-feedback:not(:empty) { margin-top: 11px; }
.form-feedback[data-tone="positive"] { color: var(--green-dark); }
.auth-help { display: flex; align-items: flex-start; gap: 8px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.auth-help .icon { margin-top: 2px; width: 15px; height: 15px; }
.auth-help a { color: var(--green-dark); text-decoration: underline; text-underline-offset: .2em; }

.dashboard { max-width: 950px; width: 100%; margin-inline: auto; }
.dashboard h1 { font-size: clamp(33px, 4.4vw, 51px); margin-bottom: 25px; }
.dashboard-grid { display: grid; grid-template-columns: 1.38fr 1fr; gap: 14px; }
.dashboard-card { padding: clamp(18px, 2.4vw, 29px); background: var(--paper); border: 1px solid var(--border); border-radius: 14px; min-width: 0; }
.subscription-card { background: #f4f7ef; border-color: #d8e1d3; }
.panel-header { display: flex; align-items: flex-start; gap: 11px; }
.panel-header h2 { font-size: 18px; }
.panel-header p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.profile-card .panel-header { align-items: center; }
.status-badge { flex: none; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #45554a; border: 1px solid #d4dccf; background: #eef0e8; border-radius: 100px; padding: 3px 8px; font-size: 12px; font-weight: 690; white-space: nowrap; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge[data-status="active"] { color: #315d43; border-color: #bad4bf; background: #e6f0e4; }
.status-badge[data-status="expired"] { color: #75492d; border-color: #e3d3bc; background: #f6ede1; }
.subscription-details, .profile-details { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--border); }
.subscription-details dt, .profile-details dt { color: var(--muted); font-size: 13px; }
.subscription-details dd, .profile-details dd { margin-top: 3px; font-weight: 670; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.purchase-notice { display: flex; gap: 7px; align-items: flex-start; margin-top: 19px; padding: 9px 11px; border: 1px solid var(--sage-edge); border-radius: 8px; background: var(--sage); color: var(--green-dark); font-size: 13px; }
.purchase-notice .icon { width: 16px; height: 16px; margin-top: 2px; }
.profile-actions { margin-top: 19px; }
.dashboard-note { color: var(--muted); font-size: 13px; margin-top: 17px; }

@media (max-width: 910px) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

@media (max-width: 750px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero h1 { font-size: clamp(36px, 7.5vw, 54px); }
  .hero-figure { width: 100%; max-width: 600px; }
  .header-inner { min-height: 66px; }
  .feature-grid, .steps { gap: 10px; }
  .auth-layout, .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .auth-layout { max-width: 530px; }
  .auth-aside { display: none; }
}

@media (max-width: 580px) {
  .site-nav .nav-section { display: none; }
  .feature-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .feature-card { display: grid; grid-template-columns: 43px 1fr; column-gap: 13px; }
  .feature-card .feature-icon { grid-row: span 2; }
  .feature-card h3 { margin-top: 0; }
  .feature-card p { margin-top: 3px; }
  .steps li { padding-block: 15px 8px; }
  .banner-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 370px) {
  .shell { padding-inline: 16px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .header-inner { gap: 11px; }
  .site-nav { gap: 11px; }
  .site-nav .button-small { padding-inline: 10px; }
  .hero h1 { font-size: 34px; }
  .device-stage { border-radius: 14px; }
  .dashboard-card .panel-header { flex-wrap: wrap; }
  .subscription-card .panel-header > div { flex: 1; min-width: 140px; }
}
