:root {
  --page: #eaf1f1;
  --page-deep: #dce9e7;
  --paper: #ffffff;
  --paper-soft: #f7faf9;
  --ink: #1c2b27;
  --muted: #5e736c;
  --hairline: #d5e3e1;
  --mint: #7fc9b0;
  --mint-soft: #e8f6f1;
  --mint-wash: #c3e3d8;
  --accent: #3e8f7c;
  --accent-dark: #2f7162;
  --expense: #c0756c;
  --income: #5b9a8a;
  --shadow: 0 18px 50px rgba(31, 57, 50, 0.08);
  --shadow-soft: 0 8px 24px rgba(31, 57, 50, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1120px;
  --ease: cubic-bezier(.2, .9, .22, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(127, 201, 176, .25), transparent 27rem),
    radial-gradient(circle at 94% 22%, rgba(255, 255, 255, .9), transparent 30rem),
    linear-gradient(180deg, var(--page) 0%, #f2f6f5 58%, var(--page) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
::selection { color: var(--ink); background: var(--mint-wash); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px 0;
}
.nav-shell {
  width: min(var(--content), calc(100% - 0px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: rgba(250, 253, 252, .78);
  box-shadow: 0 12px 34px rgba(30, 61, 52, .07);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 6px 16px rgba(62, 143, 124, .14); }
.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav-links a {
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  transition: color .22s ease, background .22s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-dark); background: var(--mint-soft); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px !important;
  border-radius: 12px !important;
  color: white !important;
  background: var(--accent) !important;
  box-shadow: 0 8px 20px rgba(62, 143, 124, .18);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--mint-soft);
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .28s var(--ease), opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-5.5px) rotate(-45deg); }

main { overflow: clip; }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.hero { padding: 86px 0 76px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .82fr); align-items: center; gap: 74px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(62, 143, 124, .12);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(232, 246, 241, .82);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(62,143,124,.1); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 680;
}
.hero-copy { max-width: 590px; margin-bottom: 30px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 12px 28px rgba(62,143,124,.22); }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 15px 34px rgba(62,143,124,.26); }
.button-secondary { color: var(--accent-dark); background: rgba(255,255,255,.72); border: 1px solid rgba(62,143,124,.14); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.hero-note svg { color: var(--accent); flex: 0 0 auto; }

.hero-visual { position: relative; min-height: 530px; display: grid; place-items: center; }
.visual-glow { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: rgba(127,201,176,.28); filter: blur(28px); }
.phone {
  position: relative;
  width: min(340px, 84vw);
  padding: 11px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 46px;
  background: linear-gradient(145deg, #1e2b27, #435b53);
  box-shadow: 0 38px 90px rgba(31, 57, 50, .22), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(2.2deg);
}
.phone-screen { min-height: 508px; padding: 22px 16px 16px; border-radius: 36px; background: linear-gradient(180deg, #edf6f3, #e7efee); overflow: hidden; }
.phone-status { display: flex; justify-content: space-between; padding: 0 7px; color: #40534d; font-size: 10px; font-weight: 700; }
.phone-title { display: flex; align-items: center; justify-content: space-between; margin: 26px 3px 16px; }
.phone-title h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.phone-title small { color: var(--muted); font-size: 11px; }
.phone-dots { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; color: var(--accent-dark); background: rgba(255,255,255,.75); }
.balance-card {
  position: relative;
  min-height: 214px;
  padding: 22px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(145deg, #4e9b88, #347d6d);
  box-shadow: 0 18px 34px rgba(62,143,124,.22);
  overflow: hidden;
}
.balance-card::after { content: ""; position: absolute; width: 185px; height: 185px; right: -72px; top: -90px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 28px rgba(255,255,255,.045); }
.balance-label { color: rgba(255,255,255,.72); font-size: 11px; letter-spacing: .08em; }
.balance-value { margin: 10px 0 20px; font-size: 36px; line-height: 1; font-weight: 650; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.balance-value small { margin-right: 3px; font-size: 17px; font-weight: 500; opacity: .8; }
.progress { height: 5px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.progress span { display: block; width: 37%; height: 100%; border-radius: inherit; background: rgba(255,255,255,.9); }
.balance-meta { display: flex; justify-content: space-between; margin-top: 10px; color: rgba(255,255,255,.74); font-size: 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 15px 0; }
.quick-item { padding: 13px 4px 11px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; text-align: center; background: rgba(255,255,255,.56); box-shadow: 0 5px 14px rgba(42,75,65,.035); }
.quick-icon { width: 28px; height: 28px; display: grid; place-items: center; margin: 0 auto 7px; border-radius: 9px; color: var(--accent-dark); background: var(--mint-soft); font-size: 14px; }
.quick-item small { color: var(--muted); font-size: 9px; }
.transaction-list { padding: 15px 15px 8px; border-radius: 22px; background: rgba(255,255,255,.76); }
.section-mini-title { display: flex; justify-content: space-between; margin-bottom: 11px; font-size: 11px; font-weight: 700; }
.section-mini-title span:last-child { color: var(--muted); font-weight: 500; }
.transaction { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.transaction + .transaction { border-top: 1px solid rgba(213,227,225,.65); }
.transaction-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--mint-soft); }
.transaction main { min-width: 0; flex: 1; }
.transaction strong { display: block; font-size: 11px; }
.transaction small { color: var(--muted); font-size: 9px; }
.amount { font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.amount.expense { color: var(--expense); }
.amount.income { color: var(--income); }
.floating-chip {
  position: absolute;
  right: -12px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 650;
  transform: rotate(-2deg);
}
.floating-chip span { width: 8px; height: 8px; border-radius: 50%; background: var(--income); }

.section { padding: 76px 0; }
.section-heading { max-width: 670px; margin-bottom: 38px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-kicker { margin-bottom: 12px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(30px, 4.5vw, 50px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  min-height: 225px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(127,201,176,.55); box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 15px; color: var(--accent-dark); background: var(--mint-soft); }
.feature-card h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.025em; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-card.wide { grid-column: span 2; }
.privacy-panel {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid rgba(127,201,176,.35);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(232,246,241,.78));
  box-shadow: var(--shadow-soft);
}
.privacy-panel h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.045em; }
.privacy-panel p { color: var(--muted); line-height: 1.75; }
.privacy-points { display: grid; gap: 12px; }
.privacy-point { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.68); }
.privacy-point svg { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.privacy-point strong { display: block; margin-bottom: 3px; font-size: 14px; }
.privacy-point span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, #3d8977, #2d6f60);
  box-shadow: 0 24px 60px rgba(45,111,96,.2);
}
.cta-panel h2 { margin-bottom: 8px; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.04em; }
.cta-panel p { margin-bottom: 0; color: rgba(255,255,255,.72); line-height: 1.65; }
.cta-panel .button { color: var(--accent-dark); background: #fff; box-shadow: none; white-space: nowrap; }

.subpage-hero { padding: 82px 0 46px; }
.subpage-hero h1 { max-width: 800px; margin: 18px 0 16px; font-size: clamp(42px, 6vw, 66px); }
.subpage-hero p { max-width: 700px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; align-items: start; padding-bottom: 92px; }
.legal-toc { position: sticky; top: 104px; padding: 20px; border: 1px solid rgba(255,255,255,.86); border-radius: 20px; background: rgba(255,255,255,.65); backdrop-filter: blur(16px); }
.legal-toc strong { display: block; margin-bottom: 12px; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 8px 9px; border-radius: 9px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.legal-toc a:hover { color: var(--accent-dark); background: var(--mint-soft); }
.legal-document { padding: clamp(24px, 5vw, 54px); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-xl); background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); }
.legal-summary { padding: 20px; margin-bottom: 34px; border-radius: 18px; background: var(--mint-soft); }
.legal-summary strong { display: block; margin-bottom: 7px; }
.legal-summary p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.legal-document section { padding: 28px 0; scroll-margin-top: 110px; }
.legal-document section + section { border-top: 1px solid var(--hairline); }
.legal-document h2 { margin-bottom: 12px; font-size: 21px; letter-spacing: -.025em; }
.legal-document p, .legal-document li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.legal-document ul { padding-left: 20px; }
.legal-meta { color: var(--muted); font-size: 12px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 90px; }
.faq-card { padding: 26px; border: 1px solid rgba(255,255,255,.9); border-radius: 22px; background: rgba(255,255,255,.75); box-shadow: var(--shadow-soft); }
.faq-card h2 { margin-bottom: 10px; font-size: 18px; letter-spacing: -.02em; }
.faq-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.download-card { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; padding: clamp(28px, 6vw, 66px); border-radius: var(--radius-xl); background: rgba(255,255,255,.8); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.9); }
.download-card h1 { font-size: clamp(38px, 5vw, 60px); }
.download-card p { color: var(--muted); line-height: 1.75; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; color: var(--accent-dark); background: var(--mint-soft); font-size: 12px; font-weight: 650; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.app-tile { padding: 26px; border-radius: 28px; text-align: center; background: var(--mint-soft); }
.app-tile img { width: 98px; height: 98px; margin: 0 auto 18px; border-radius: 26px; box-shadow: 0 16px 34px rgba(62,143,124,.16); }
.app-tile h2 { margin-bottom: 4px; font-size: 20px; }
.app-tile p { margin-bottom: 0; font-size: 13px; }
.note-box { margin-top: 22px; padding: 15px 17px; border: 1px solid rgba(62,143,124,.12); border-radius: 15px; background: rgba(232,246,241,.72); color: var(--muted); font-size: 13px; line-height: 1.6; }

.site-footer { padding: 28px 0 46px; }
.footer-shell { display: flex; justify-content: space-between; gap: 28px; padding-top: 24px; border-top: 1px solid rgba(94,115,108,.16); color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--accent-dark); }

[data-reveal].is-visible { animation: reveal .65s var(--ease) both; }
@keyframes reveal { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal], [data-reveal].is-visible { opacity: 1; transform: none; animation: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 62px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 510px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.wide { grid-column: auto; }
  .privacy-panel, .download-card { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; display: none; }
}
@media (max-width: 720px) {
  .site-header { padding: 10px 12px 0; }
  .nav-shell { position: relative; gap: 12px; border-radius: 18px; }
  .brand span { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 18px;
    background: rgba(250,253,252,.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
    backdrop-filter: blur(20px);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { display: flex; justify-content: center; margin-top: 4px; }
  .container { width: min(100% - 28px, var(--content)); }
  .hero { padding: 48px 0 56px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-visual { min-height: 500px; transform: scale(.95); }
  .floating-chip { right: 0; }
  .feature-grid, .faq-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .privacy-panel { gap: 30px; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .subpage-hero { padding: 56px 0 34px; }
  .subpage-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .legal-document { padding: 24px 20px; border-radius: 24px; }
  .footer-shell { flex-direction: column; }
  .download-card { gap: 28px; }
}
