:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --bg: #101e1c;
  --surface: #152825;
  --line: #35514a;
  --text: #f0f5ec;
  --quiet: #a8c1b8;
  --mint: #b9f583;
  --dark: #142413;
  --radius: 17px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; min-height: 100vh; }
a { color: var(--mint); text-underline-offset: .2em; }
a:hover { color: #d9ffb6; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h2 { line-height: 1.24; letter-spacing: -.025em; font-size: 1.5rem; }
h3 { line-height: 1.4; letter-spacing: -.01em; font-size: 1.04rem; }
p + p { margin-top: .55rem; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .51; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1192px, 100% - 72px); margin: 0 auto; }
.header { border-bottom: 1px solid var(--line); }
.navigation { display: flex; min-height: 72px; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); font-size: 1.15rem; font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 9px; }
.nav-links, .inline { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.nav-links { gap: clamp(.55rem, 3vw, 2rem); justify-content: flex-end; }
.nav-links > a:not(.button) { color: var(--quiet); text-decoration: none; font-size: .925rem; }
.nav-links > a:hover { color: var(--text); }
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1.04rem; border: 1px solid var(--mint);
  border-radius: 9px; background: var(--mint); color: var(--dark); text-decoration: none; width: fit-content;
  font-weight: 750; font-size: .94rem; line-height: 1.35; min-height: 42px; text-align: center;
}
.button:hover { background: #d3ffa9; color: var(--dark); }
.button.ghost { background: transparent; border-color: #5b7669; color: var(--text); }
.button.ghost:hover { background: #274139; }
.button.compact { min-height: 34px; padding: .42rem .8rem; }
.hero {
  isolation: isolate; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: 468px; border: 1px solid #426354; border-radius: 24px; overflow: hidden; margin-top: 34px;
  background: radial-gradient(ellipse at 91% 51%, #214739 0%, #1a3630 38%, #172a26 70%);
}
.hero-copy { position: relative; z-index: 2; padding: clamp(1.9rem, 6.3vw, 5.1rem); padding-right: .5rem; align-self: center; }
.eyeline { color: var(--mint); display: flex; align-items: center; gap: .7rem; font-size: .96rem; font-weight: 720; margin-bottom: 1.2rem; }
.eyeline span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px #b9f5879c; }
.hero h1 { font-size: clamp(3rem, 7.3vw, 6.05rem); line-height: 1.1; letter-spacing: -.075em; font-weight: 790; white-space: nowrap; }
.hero h1 span { color: var(--mint); }
.tagline { color: #d2e3d9; font-size: clamp(1.1rem, 2.25vw, 1.55rem); line-height: 1.5; margin-top: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.demo { margin-top: 1rem; color: #f1dc9e; font-size: .9rem; }
.hero-art { position: relative; display: grid; place-content: center; min-height: 280px; isolation: isolate; }
.hero-art::before {
  content: ""; position: absolute; inset: 5% 0 0; opacity: .68; z-index: -1;
  background-image: linear-gradient(#61918427 1px, transparent 1px), linear-gradient(90deg, #61918427 1px, transparent 1px);
  background-size: 31px 31px; mask-image: radial-gradient(ellipse, #000 1%, transparent 73%);
}
.orbit { position: absolute; top: 52%; left: 49%; width: 82%; max-width: 435px; aspect-ratio: 1.95; border: 1px solid #9dc79b47; border-radius: 50%; }
.orbit-a { transform: translate(-50%, -50%) rotate(-28deg); }
.orbit-b { transform: translate(-50%, -50%) rotate(28deg); }
.orbit-c { transform: translate(-50%, -50%) rotate(90deg); width: 64%; border-style: dashed; }
.plane { grid-area: 1/1; width: clamp(124px, 20vw, 266px); aspect-ratio: 1.25; clip-path: polygon(89% 3%, 96% 12%, 71% 88%, 60% 100%, 8% 76%, 2% 63%, 45% 48%, 5% 30%); }
.plane-one { transform: translate(-19%, 17%) rotate(-13deg); background: linear-gradient(140deg, #2b7859, #21473a); }
.plane-two { transform: translate(3%, 5%) rotate(-13deg); background: linear-gradient(135deg, #85cf78, #41866b); }
.plane-three { transform: translate(21%, -13%) rotate(-13deg); background: linear-gradient(145deg, #efffc2 5%, #bafa85 42%, #59a677 100%); }
.signal { position: absolute; width: 10px; height: 10px; border-radius: 50%; top: 28%; left: 18%; background: #a9e9a3; box-shadow: 0 0 18px #b2ed99; }
.offer { margin-top: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.65rem 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #162723; }
.kicker { color: #a3ccaa; font-size: .88rem; font-weight: 700; }
.offer h2 { margin-top: .18rem; }
.offer p:last-child { color: var(--quiet); margin-top: .45rem; }
.offer-price { flex: none; }
.price { color: var(--mint); font-size: clamp(2.25rem, 5.5vw, 3.55rem); font-weight: 770; letter-spacing: -.075em; }
.term { color: var(--quiet); }
.process { display: grid; grid-template-columns: repeat(3, 1fr); padding: 2.1rem 0; gap: 1.55rem; }
.process > div { border-left: 2px solid #4d7864; padding-left: 1rem; }
.process p { color: var(--quiet); margin-top: .3rem; }
.footer { display: flex; justify-content: space-between; gap: 1rem; color: var(--quiet); border-top: 1px solid var(--line); padding: 1.35rem 0 2rem; margin-top: 2rem; font-size: .9rem; }
.footer a { color: var(--quiet); }
.page-intro { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 3.1rem 0 1.8rem; }
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.12; letter-spacing: -.055em; }
.page-intro p { margin-top: .6rem; color: var(--quiet); }
.narrow { max-width: 485px; margin-inline: auto; }
.wide { max-width: 800px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(1rem, 3vw, 1.65rem); margin-bottom: 1rem; min-width: 0; }
.panel > h2 { margin-bottom: 1rem; }
.panel ol { color: var(--quiet); padding-left: 1.5rem; }
.panel li { margin-bottom: .4rem; }
.grid-two, .grid-three { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.account-grid { grid-template-columns: 1.18fr 1fr; align-items: start; }
.stack { display: grid; gap: .9rem; }
label { display: grid; gap: .35rem; font-size: .92rem; color: #dbe8df; }
input:not([type=checkbox]), select, textarea {
  border: 1px solid #4d6c61; border-radius: 7px; background: #101f1b; color: var(--text); padding: .63rem .7rem; width: 100%;
  min-width: 0; font-size: 1rem;
}
input[type=file] { color: var(--quiet); font-size: .9rem; }
input[type=file]::file-selector-button { font: inherit; border: 0; border-radius: 4px; padding: .28rem .48rem; background: #c8e8bd; color: #172c20; margin-right: .5rem; }
input[type=checkbox] { width: 1rem; height: 1rem; accent-color: var(--mint); }
.check { display: flex; align-items: center; gap: .5rem; }
.quiet, small { color: var(--quiet); }
.quiet { font-size: .93rem; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .87rem; overflow-wrap: anywhere; }
.empty { padding-block: .6rem; }
.row-card { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.row-card > .inline, .row-card > form { margin-top: .6rem; }
.row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; margin-bottom: .55rem; }
.status { padding: .23rem .56rem; border-radius: 6px; background: #29473d; color: #d7f1e3; white-space: nowrap; font-size: .85rem; }
.status.trial, .status.awaiting_receipt, .status.review, .status.ocr_pending { background: #50482e; color: #ffecac; }
.status.confirmed, .status.formal { background: #33573a; color: #ddffc2; }
.status.rejected, .status.paused, .status.quota { background: #563d38; color: #f7c9c0; }
.text-button { background: transparent; color: var(--mint); border: 0; text-decoration: underline; padding: 0 .2rem; }
.notice { border-left: 3px solid #dec16d; padding: .65rem .8rem; background: #3b3626; color: #ffe6ab; border-radius: 5px; margin-bottom: .8rem; }
.details { display: grid; gap: .55rem; }
.details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.details dt { color: var(--quiet); font-size: .9rem; }
.details dd { margin: 0; text-align: right; }
details { border-top: 1px solid var(--line); padding: .6rem 0; margin-top: .45rem; }
summary { cursor: pointer; color: #d5edcf; }
details[open] summary { margin-bottom: .65rem; }
.sub-link .button { margin: .65rem .3rem 0 0; }
.payment { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 1.3rem; background: #0e1c18; border-radius: 10px; padding: 1rem; margin-top: .7rem; }
.payment > div { min-width: 0; }
.payment .stack { margin-top: .65rem; }
.payment-original { display: block; width: 100%; max-width: 780px; height: auto; border-radius: 8px; }
.payment-actions { display: flex; gap: .45rem; flex-wrap: wrap; margin: .65rem 0; }
.payment-download-note { flex: 1 0 100%; margin: 0; }
.payment-help { display: inline-block; margin-top: .75rem; }
.upload-image { max-height: 380px; object-fit: contain; object-position: left; border-radius: 6px; margin: .6rem 0; }
.countline { color: #f3dd9f; }
.countline strong { font-size: 1.12rem; }
.notification { border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.notification small { display: block; }
.notification + form, .notification ~ .inline { margin-top: .7rem; }
.new { font-size: .82rem; margin-left: .5rem; color: #f0d789; }
.message { background: #101f1b; border: 1px solid var(--line); padding: .8rem; border-radius: 10px; margin: .65rem 0; }
.message.reply { background: #213d32; }
.message-text { white-space: pre-wrap; }
.message-form, .review-forms { margin-top: 1.2rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.tabs a { color: var(--quiet); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .5rem .8rem; text-decoration: none; font-size: .94rem; }
.tabs a[aria-current] { background: var(--mint); color: var(--dark); border-color: var(--mint); font-weight: 730; }
.metrics { margin-bottom: 1rem; }
.metrics div { border: 1px solid var(--line); background: #101f1b; padding: .9rem; border-radius: 10px; }
.metrics span { color: var(--quiet); }
.metrics strong { display: block; color: var(--mint); font-size: clamp(1.5rem, 3vw, 2.15rem); overflow-wrap: anywhere; }
.filter { max-width: 25rem; }
.audit { border-bottom: 1px solid var(--line); padding-block: .5rem; }
.audit small { display: block; }
#toast { position: fixed; bottom: 1rem; right: 1rem; z-index: 4; max-width: calc(100vw - 2rem); background: #c4f399; color: var(--dark); border: 1px solid #ddffc3; border-radius: 8px; padding: .7rem 1rem; font-weight: 700; }
#toast.danger { color: #401f16; background: #ffcbbd; border-color: #ffe2d9; }
.qr-dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); max-width: min(90vw, 420px); padding: 1.25rem; }
.qr-dialog img { margin: 1rem 0; max-height: 60vh; }
.qr-dialog::backdrop { background: #040a08cc; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 30px); }
  .navigation { min-height: 62px; gap: .5rem; }
  .hero { margin-top: 19px; min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 1.7rem; padding-bottom: 0; }
  .hero-art { min-height: 220px; }
  .orbit { width: 62%; }
  .orbit-c { width: 48%; }
  .signal { left: 28%; }
  .offer { align-items: start; padding: 1rem; gap: .75rem; }
  .process { grid-template-columns: 1fr; gap: 1rem; }
  .page-intro { align-items: start; flex-direction: column; padding: 2rem 0 1.2rem; }
  .grid-two, .account-grid { grid-template-columns: 1fr; }
  .stack .grid-three { grid-template-columns: 1fr; }
}
@media (max-width: 395px) {
  .nav-links { gap: .46rem; }
  .nav-links > a:not(.button) { font-size: .875rem; }
  .brand { font-size: 1rem; }
  .brand img { width: 29px; height: 29px; }
  .offer { flex-direction: column; }
  .payment { grid-template-columns: minmax(0, 1fr); }
}
