:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #172033;
  --muted: #667085;
  --line: #e4e9f1;
  --brand: #125f55;
  --brand-dark: #0a453e;
  --accent: #f29b38;
  --accent-soft: #fff4e3;
  --success: #16845b;
  --danger: #d94b50;
  --shadow: 0 16px 40px rgba(35, 53, 78, .08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(18, 95, 85, .08), transparent 28rem),
    var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(228, 233, 241, .9);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -.5px; white-space: nowrap; }
.brand-logo { display: block; width: 174px; height: auto; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(145deg, var(--brand), #1d8073); box-shadow: 0 9px 20px rgba(18, 95, 85, .2); }
.logo em { color: var(--brand); font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.desktop-nav a { padding: 10px 13px; border-radius: 10px; color: #475467; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--brand); background: #edf7f5; }
.header-status { display: flex; align-items: center; gap: 7px; color: var(--success); background: #edfaf5; border: 1px solid #d3f0e4; border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(22, 132, 91, .12); }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 10px 20px 18px; background: #fff; }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 11px 8px; border-bottom: 1px solid #f1f3f6; font-weight: 700; color: #475467; }

.hero { padding: 62px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--brand); background: #eaf6f4; border: 1px solid #d7ede9; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 800; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -2.5px; }
.text-gradient { color: var(--brand); }
.hero-copy { max-width: 680px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 13px; border: 1px solid transparent; font-weight: 800; cursor: pointer; }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 12px 25px rgba(18, 95, 85, .18); }
.button-primary:hover { background: var(--brand-dark); }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #667085; font-size: 13px; font-weight: 700; }
.trust-row span::before { content: "✓"; color: var(--success); margin-right: 7px; }

.result-card { position: relative; overflow: hidden; border: 1px solid rgba(18, 95, 85, .12); border-radius: 28px; padding: 27px; background: #fff; box-shadow: var(--shadow); }
.result-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -85px; top: -90px; border-radius: 50%; background: rgba(242, 155, 56, .14); }
.card-top, .result-meta, .section-head, .history-head, .footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-kicker { color: var(--muted); font-size: 13px; font-weight: 700; }
.issue { font-size: 25px; line-height: 1.2; font-weight: 900; letter-spacing: -.5px; }
.live-badge { position: relative; color: var(--success); background: #ecfaf4; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 900; }
.balls { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 31px 0 25px; }
.ball { display: grid; place-items: center; width: 56px; height: 56px; color: var(--brand-dark); background: #edf7f5; border: 1px solid #d6ece8; border-radius: 50%; font-size: 22px; font-weight: 900; box-shadow: inset 0 -5px 12px rgba(18, 95, 85, .07); }
.ball.sum { color: #fff; background: linear-gradient(145deg, #f2a84e, #e88224); border-color: #e98e30; }
.operator { color: #98a2b3; font-size: 19px; font-weight: 900; }
.result-meta { border-top: 1px solid var(--line); padding-top: 19px; color: var(--muted); font-size: 13px; }
.result-tags { display: flex; gap: 7px; }
.tag { border-radius: 7px; padding: 3px 8px; background: var(--surface-soft); color: #475467; font-weight: 800; }
.refresh-note { margin: 18px 0 0; text-align: center; color: #98a2b3; font-size: 12px; }

.stats { padding: 16px 0 55px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(38, 54, 74, .04); }
.stat { padding: 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; color: var(--brand); font-size: 24px; line-height: 1.2; }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 68px 0; }
.section-white { background: #fff; }
.section-head { align-items: end; margin-bottom: 28px; }
.section-head h2 { margin-bottom: 4px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.2; letter-spacing: -1.2px; }
.section-head p { margin-bottom: 0; color: var(--muted); }
.text-link { color: var(--brand); font-weight: 800; white-space: nowrap; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: .2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: #cbdedb; box-shadow: var(--shadow); }
.icon-box { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 18px; border-radius: 13px; color: var(--brand); background: #eaf6f4; font-size: 21px; font-weight: 900; }
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.feature-card a { color: var(--brand); font-size: 14px; font-weight: 800; }

.history-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.history-row { display: grid; grid-template-columns: 1.2fr 1.5fr .8fr .8fr; align-items: center; gap: 18px; padding: 18px 22px; border-top: 1px solid var(--line); }
.history-row:first-child { border-top: 0; }
.history-row.header { color: var(--muted); background: var(--surface-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.mini-balls { display: flex; align-items: center; gap: 5px; font-weight: 900; }
.mini-ball { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--brand-dark); background: #edf7f5; font-size: 12px; }
.mini-ball.total { color: #fff; background: var(--accent); }
.muted { color: var(--muted); }
.label { display: inline-block; width: fit-content; border-radius: 7px; padding: 3px 7px; color: #475467; background: #f2f4f7; font-size: 12px; font-weight: 800; }

.page-hero { padding: 56px 0 34px; text-align: center; }
.page-hero h1 { max-width: 850px; margin-inline: auto; font-size: clamp(36px, 5vw, 58px); }
.page-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.breadcrumb { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: var(--brand); font-weight: 800; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; padding: 12px 0 72px; }
.content-grid > * { min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; background: #fff; }
.panel + .panel { margin-top: 18px; }
.sidebar { position: sticky; top: 94px; }
.sidebar-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.sidebar-card + .sidebar-card { margin-top: 16px; }
.sidebar-card h3 { font-size: 16px; }
.side-links { display: grid; gap: 4px; }
.side-links a { padding: 9px 10px; border-radius: 9px; color: #475467; font-size: 14px; font-weight: 700; }
.side-links a:hover { color: var(--brand); background: #edf7f5; }
.notice { border-left: 4px solid var(--accent); padding: 16px 18px; border-radius: 0 12px 12px 0; color: #795017; background: var(--accent-soft); font-size: 14px; }
.filter-bar { display: grid; grid-template-columns: 1fr 170px auto; gap: 10px; margin-bottom: 18px; }
.input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 11px; padding: 0 13px; background: #fff; outline: 0; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 95, 85, .1); }
.article h2 { margin-top: 28px; font-size: 25px; }
.article h3 { margin-top: 22px; }
.article p, .article li { color: #596579; }
.article li + li { margin-top: 7px; }
.longform { max-width: 880px; }
.longform h2 { margin-top: 38px; margin-bottom: 12px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.6px; }
.longform h2:first-child { margin-top: 0; }
.longform h3 { margin-top: 25px; margin-bottom: 8px; font-size: 19px; }
.longform p { margin-bottom: 16px; color: #596579; }
.longform ul { padding-left: 21px; color: #596579; }
.longform .lead { color: #364152; font-size: 17px; line-height: 1.85; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 13px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--muted); background: var(--surface-soft); font-size: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-right: 36px; }
.chart-placeholder { display: flex; align-items: end; gap: 8px; min-height: 230px; padding: 28px 12px 10px; border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #f9fbfc); }
.chart-bar { flex: 1; min-width: 9px; border-radius: 6px 6px 0 0; background: linear-gradient(to top, var(--brand), #50aa9e); opacity: .88; }

.app-banner { overflow: hidden; color: #fff; background: linear-gradient(135deg, #0b403b, #126b60); }
.app-banner-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 54px; min-height: 450px; padding-block: 58px; }
.app-banner .eyebrow { color: #ffe0af; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.14); }
.app-banner h2 { max-width: 600px; margin-bottom: 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -1.5px; }
.app-banner p { max-width: 610px; color: #c2dcd8; }
.app-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.app-points span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #e2f1ee; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 800; }
.app-banner .button-primary { color: var(--brand-dark); background: #fff; box-shadow: none; }
.app-banner .button-primary:hover { background: #eef8f6; }
.phone-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.phone-stage::before { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%; background: rgba(255,255,255,.07); }
.phone { position: relative; z-index: 1; width: 215px; padding: 9px; border: 1px solid rgba(255,255,255,.35); border-radius: 34px; background: #102c2a; box-shadow: 0 35px 70px rgba(0,0,0,.3); transform: rotate(4deg); }
.phone-screen { overflow: hidden; min-height: 380px; border-radius: 26px; padding: 22px 15px; color: var(--ink); background: #f7faf9; }
.phone-notch { width: 65px; height: 6px; margin: -9px auto 19px; border-radius: 99px; background: #b9c8c6; }
.phone-brand { margin-bottom: 19px; color: var(--brand); font-weight: 900; }
.phone-card { border: 1px solid #dfe9e7; border-radius: 17px; padding: 14px; background: #fff; box-shadow: 0 9px 24px rgba(24,67,61,.08); }
.phone-card small { color: var(--muted); }
.phone-card strong { display: block; margin: 4px 0 12px; }
.phone-balls { display: flex; gap: 5px; }
.phone-balls i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--brand); background: #e6f4f1; font-style: normal; font-weight: 900; }
.phone-balls i:last-child { color: #fff; background: var(--accent); }
.phone-list { display: grid; gap: 9px; margin-top: 13px; }
.phone-list span { height: 47px; border: 1px solid #e7eeec; border-radius: 12px; background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px 22px; background: #fff; }
.process-card::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--brand); font-size: 13px; font-weight: 900; }
.process-card:not(:last-child)::after { content: "→"; position: absolute; top: 22px; right: -13px; z-index: 2; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); background: var(--bg); }
.process-card h3 { margin-bottom: 7px; font-size: 17px; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; }
.app-download-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border: 1px solid var(--line); border-radius: 28px; padding: 34px; background: #fff; box-shadow: var(--shadow); }
.qr-placeholder { display: grid; place-items: center; width: 130px; height: 130px; border: 9px solid #fff; outline: 1px solid var(--line); border-radius: 14px; color: #fff; background: repeating-conic-gradient(#153a36 0 25%, #fff 0 50%) 0 / 22px 22px; box-shadow: 0 10px 24px rgba(20,45,42,.12); }
.download-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 700; }

.site-footer { color: #cbd5df; background: #102c2a; padding: 48px 0 24px; }
.footer-grid { align-items: start; }
.footer-brand { max-width: 380px; }
.footer-brand .logo { padding: 5px 9px; border-radius: 13px; color: #fff; background: #fff; }
.footer-brand p { margin: 15px 0 0; color: #94aaa7; font-size: 13px; }
.footer-links { display: flex; gap: 46px; }
.footer-links div { display: grid; gap: 8px; }
.footer-links strong { color: #fff; margin-bottom: 3px; }
.footer-links a { color: #a9bbb9; font-size: 13px; }
.footer-links a:hover, .friend-links a:hover, .footer-legal a:hover { color: #fff; }
.friendship { margin-top: 34px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.friendship strong { display: block; margin-bottom: 12px; color: #fff; font-size: 14px; }
.friend-links { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.friend-links a { color: #91a9a6; font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 20px; }
.footer-legal a, .footer-legal span { color: #8da3a0; font-size: 12px; }
.footer-disclaimer { margin: 15px 0 0; color: #708986; font-size: 12px; line-height: 1.75; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7f9895; font-size: 12px; }

@media (max-width: 900px) {
  .desktop-nav, .header-status { display: none; }
  .menu-button { display: grid; place-items: center; }
  .hero { padding-top: 42px; }
  .hero-grid, .content-grid, .app-banner-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .result-card { max-width: 100%; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2)::after { display: none; }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 66px; }
  h1 { letter-spacing: -1.5px; }
  .hero { padding: 34px 0 25px; }
  .hero-actions .button { width: 100%; }
  .result-card { padding: 21px 16px; border-radius: 22px; }
  .ball { width: 45px; height: 45px; font-size: 18px; }
  .balls { gap: 6px; }
  .result-meta { align-items: flex-start; flex-direction: column; }
  .stats { padding-bottom: 34px; }
  .stat { padding: 18px 8px; }
  .stat strong { font-size: 20px; }
  .section { padding: 48px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .feature-grid { grid-template-columns: 1fr; }
  .app-banner-grid { padding-block: 46px; }
  .phone-stage { min-height: 410px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card::after { display: none !important; }
  .app-download-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .history-list { overflow-x: auto; }
  .history-row { min-width: 630px; }
  .page-hero { padding: 40px 0 27px; text-align: left; }
  .filter-bar { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .data-table-wrap { overflow-x: auto; }
  .data-table { min-width: 650px; }
  .footer-grid, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-links { width: 100%; gap: 25px; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
