:root {
  --ink: #10211f;
  --muted: #62716e;
  --paper: #f4f5ef;
  --white: #fffef9;
  --green-950: #071b19;
  --green-900: #0a2522;
  --green-700: #126253;
  --green-500: #26a17b;
  --mint: #a8f0c8;
  --lime: #d5fa9c;
  --amber: #f5b83b;
  --line: rgba(16, 33, 31, 0.13);
  --shadow: 0 28px 80px rgba(4, 24, 20, 0.15);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { line-height: 1.8; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: white; color: black; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: absolute; top: 0; left: 0; z-index: 20; width: 100%; color: white; }
.site-header.solid { position: relative; background: var(--green-950); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; color: var(--mint); font-family: Georgia, serif; font-size: 23px; font-style: italic; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 21px; letter-spacing: .02em; }
.brand small { margin-top: 2px; font-size: 8px; letter-spacing: .22em; opacity: .64; }
.main-nav, .legal-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.main-nav a, .legal-nav a { color: rgba(255,255,255,.74); transition: color .2s ease; }
.main-nav a:hover, .legal-nav a:hover { color: white; }
.main-nav .nav-cta { padding: 10px 17px; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; color: white; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); }
.menu-button span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: white; }

.hero { position: relative; min-height: 760px; padding: 154px 0 98px; overflow: hidden; color: white; background: var(--green-950); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent, black 40%, black); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-glow-one { width: 540px; height: 540px; top: -270px; right: 6%; background: rgba(38,161,123,.17); }
.hero-glow-two { width: 480px; height: 480px; bottom: -300px; left: 18%; background: rgba(213,250,156,.08); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 78px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--green-700); }
.hero h1 { max-width: 670px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(50px, 6vw, 78px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: rgba(255,255,255,.67); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 99px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--green-950); background: var(--lime); }
.button-ghost { border: 1px solid rgba(255,255,255,.22); color: white; background: rgba(255,255,255,.04); }
.hero-note { margin-top: 24px; color: rgba(255,255,255,.38); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.dashboard-card { position: relative; padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 28px; background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.045)); box-shadow: 0 36px 90px rgba(0,0,0,.28); backdrop-filter: blur(16px); transform: rotate(1deg); }
.dashboard-card::after { content: ""; position: absolute; z-index: -1; inset: 22px -20px -22px 24px; border: 1px solid rgba(168,240,200,.16); border-radius: 28px; }
.dashboard-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.dashboard-top span, .dashboard-top strong { display: block; }
.dashboard-top .muted { margin-bottom: 6px; color: rgba(255,255,255,.48); font-size: 11px; }
.dashboard-top strong { font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.live-pill { padding: 8px 11px; border-radius: 99px; color: var(--mint); background: rgba(168,240,200,.09); font-size: 11px; }
.live-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(168,240,200,.1); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.metric-grid article { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.055); }
.metric-grid span, .metric-grid small { display: block; color: rgba(255,255,255,.45); font-size: 10px; }
.metric-grid strong { display: block; margin: 10px 0 5px; font-size: 26px; }
.metric-grid .up { color: var(--mint); }
.metric-grid .warning { color: var(--amber); }
.chart-block { padding: 18px; border-radius: 18px; background: rgba(3,18,16,.52); }
.chart-heading { display: flex; justify-content: space-between; font-size: 12px; }
.chart-heading small { color: rgba(255,255,255,.4); }
.chart { height: 138px; display: flex; align-items: flex-end; gap: 13px; padding-top: 22px; }
.chart i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(to top, rgba(38,161,123,.18), rgba(168,240,200,.6)); }
.chart i.active { background: linear-gradient(to top, var(--green-500), var(--lime)); }
.sync-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 15px; background: rgba(255,255,255,.055); }
.sync-icon { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: var(--mint); background: rgba(168,240,200,.1); }
.sync-row strong, .sync-row small { display: block; font-size: 11px; }
.sync-row small { margin-top: 3px; color: rgba(255,255,255,.4); }
.sync-ok { color: var(--mint); font-size: 11px; }

.section { padding: 110px 0; }
.section-heading { max-width: 690px; margin-bottom: 46px; }
.section-heading h2, .security-copy h2, .about-copy h2, .contact-card h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(38px, 4.3vw, 58px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card { position: relative; min-height: 310px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,254,249,.62); }
.feature-card.featured { color: white; background: var(--green-900); }
.feature-number { position: absolute; right: 22px; top: 20px; color: rgba(16,33,31,.24); font-family: Georgia, serif; font-size: 13px; }
.featured .feature-number { color: rgba(255,255,255,.3); }
.feature-icon { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 74px; border-radius: 14px; color: var(--green-700); background: rgba(18,98,83,.09); font-size: 21px; }
.featured .feature-icon { color: var(--mint); background: rgba(168,240,200,.1); }
.feature-card h3 { margin: 0 0 12px; font-family: Georgia, "Songti SC", serif; font-size: 22px; font-weight: 500; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.featured p { color: rgba(255,255,255,.58); }

.security-section { color: white; background: var(--green-900); }
.security-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.security-copy { position: sticky; top: 40px; }
.security-copy p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.62); }
.text-link { display: inline-block; margin-top: 22px; padding-bottom: 5px; border-bottom: 1px solid rgba(168,240,200,.45); color: var(--mint); font-size: 13px; }
.text-link span { margin-left: 8px; }
.security-list article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.security-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.security-list > article > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(168,240,200,.3); border-radius: 50%; color: var(--mint); font-family: Georgia, serif; font-size: 12px; }
.security-list h3 { margin: 0 0 7px; font-family: Georgia, "Songti SC", serif; font-size: 23px; font-weight: 500; }
.security-list p { margin: 0; color: rgba(255,255,255,.5); font-size: 14px; }

.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 90px; }
.about-label { padding-top: 55px; color: rgba(16,33,31,.08); font-family: Georgia, serif; font-size: clamp(54px, 8vw, 105px); line-height: .82; letter-spacing: -.08em; }
.about-copy { max-width: 730px; }
.about-copy > p { color: var(--muted); font-size: 17px; }
.about-copy .amazon-note { margin-top: 38px; padding-left: 20px; border-left: 2px solid var(--green-500); color: #7b8582; font-size: 12px; }

.contact-section { padding: 84px 0; background: var(--paper); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 55px; border-radius: var(--radius); color: white; background: var(--green-950); box-shadow: var(--shadow); }
.contact-card p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.55); }
.contact-links { display: flex; flex-direction: column; justify-content: center; }
.contact-links a { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); color: var(--mint); font-family: Georgia, serif; font-size: 20px; }
.contact-links a:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-links small { display: block; margin-bottom: 6px; color: rgba(255,255,255,.45); font-family: Inter, sans-serif; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }

.site-footer { padding: 54px 0 34px; color: rgba(255,255,255,.66); background: #041311; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: center; }
.footer-brand { color: white; }
.footer-grid > div > p { margin: 14px 0 0; font-size: 12px; }
.footer-links { display: flex; gap: 24px; font-size: 12px; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: 11px; }

.legal-page { background: var(--white); }
.legal-hero { padding: 78px 0 70px; color: white; background: var(--green-900); }
.legal-hero h1 { margin: 0 0 15px; font-family: Georgia, "Songti SC", serif; font-size: clamp(44px, 6vw, 68px); font-weight: 500; letter-spacing: -.04em; }
.legal-hero > div > p:last-child { color: rgba(255,255,255,.52); font-size: 13px; }
.legal-shell { max-width: 860px; }
.legal-content { padding-top: 76px; padding-bottom: 105px; }
.legal-intro { margin: 0 0 56px; padding: 24px 28px; border-left: 3px solid var(--green-500); background: var(--paper); font-size: 17px; }
.legal-content h2 { margin: 48px 0 16px; font-family: Georgia, "Songti SC", serif; font-size: 27px; font-weight: 500; }
.legal-content p, .legal-content li { color: #53615e; font-size: 15px; line-height: 1.85; }
.legal-content a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-content li { padding-left: 6px; }
.notice-box { margin: 34px 0; padding: 22px 25px; border: 1px solid rgba(245,184,59,.45); border-radius: 14px; background: rgba(245,184,59,.08); }
.notice-box strong { color: #835b0e; }
.notice-box p { margin-bottom: 0; }
.site-footer.compact { padding: 32px 0; }
.footer-legal { display: flex; justify-content: space-between; gap: 30px; font-size: 11px; }
.footer-legal a:hover { color: white; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .security-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .security-copy { position: static; }
  .about-label { display: none; }
  .contact-card { gap: 30px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 72px; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 66px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #0a2522; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .main-nav .nav-cta { border: 0; }
  .legal-nav { gap: 14px; font-size: 12px; }
  .hero { padding: 124px 0 76px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .dashboard-card { padding: 16px; transform: none; }
  .dashboard-card::after { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid article:last-child { grid-column: 1 / -1; }
  .section { padding: 78px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 260px; }
  .feature-icon { margin-bottom: 40px; }
  .contact-card { width: calc(100% - 28px); padding: 34px 24px; }
  .contact-links a { font-size: 17px; word-break: break-word; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-links { flex-wrap: wrap; }
  .footer-legal { flex-direction: column; }
  .legal-hero { padding: 58px 0 50px; }
  .legal-content { padding-top: 48px; padding-bottom: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
