@charset "UTF-8";
/* ============================================================
   Epay Front - Grocery-inspired landing theme
   ============================================================ */
:root{
  --green:#16a34a;
  --green-2:#22c55e;
  --green-3:#34d399;
  --green-soft:#eaf8ee;
  --green-line:#d5efdd;
  --ink:#0e1a13;
  --ink-2:#26352c;
  --muted:#617268;
  --muted-2:#8a9a90;
  --bg:#f7fbf4;
  --card:#ffffff;
  --line:#e7efe4;
  --line-2:#f0f6ed;
  --shadow:0 24px 60px rgba(22,60,35,.08);
  --shadow-sm:0 12px 30px rgba(22,60,35,.06);
  --radius:26px;
  --radius-sm:18px;
  --max:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Inter","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:15px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 24px;}
h1,h2,h3,h4{margin:0;letter-spacing:-.035em;line-height:1.15;color:var(--ink);}
p{margin:0;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:46px;padding:0 22px;border-radius:999px;
  font-size:13.5px;font-weight:650;line-height:1;
  border:1px solid transparent;cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease,border-color .16s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--green);color:#fff;box-shadow:0 12px 24px rgba(22,163,74,.22);}
.btn-primary:hover{background:#128a3f;color:#fff;transform:translateY(-1px);box-shadow:0 16px 30px rgba(22,163,74,.28);}
.btn-ghost{background:#fff;border-color:#dfe9dc;color:#314239;box-shadow:0 6px 16px rgba(22,60,35,.05);}
.btn-ghost:hover{background:#f6fbf4;border-color:#cfe2cb;color:#132018;transform:translateY(-1px);}
.btn-dark{background:#101a13;color:#fff;}
.btn-dark:hover{background:#000;color:#fff;}
.btn-lg{height:52px;padding:0 26px;font-size:14.5px;}
.btn i{font-size:13px;}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(22,60,35,.06);
  transition:box-shadow .2s ease;
}
.site-header.scrolled{box-shadow:0 12px 30px rgba(22,60,35,.07);}
.header-inner{position:relative;height:76px;display:flex;align-items:center;gap:26px;}
.logo{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.logo-mark{
  width:36px;height:36px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--green-2),var(--green));
  color:#fff;font-size:15px;
  box-shadow:0 10px 20px rgba(22,163,74,.24);
}
.logo-text{font-size:18px;font-weight:800;letter-spacing:-.03em;white-space:nowrap;}
.main-nav{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:30px;margin:0;}
.main-nav a{
  position:relative;font-size:13.5px;font-weight:550;color:#43554a;
  padding:6px 0;transition:color .16s ease;
}
.main-nav a:hover{color:var(--green);}
.main-nav a.active{color:var(--ink);font-weight:700;}
.main-nav a.active::after{
  content:"";position:absolute;left:50%;bottom:-4px;width:5px;height:5px;border-radius:50%;
  background:var(--green);transform:translateX(-50%);
}
.main-nav .nav-mobile-only{display:none;}
.header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.menu-toggle{
  display:none;width:40px;height:40px;border-radius:12px;
  background:#fff;border:1px solid var(--line);color:var(--ink);
  align-items:center;justify-content:center;
}

/* ---------- hero ---------- */
.hero{
  position:relative;padding:62px 0 74px;overflow:hidden;
  background:
    radial-gradient(900px 520px at 8% 0%, rgba(213,247,223,.75), rgba(255,255,255,0) 62%),
    radial-gradient(760px 520px at 96% 12%, rgba(226,248,232,.9), rgba(255,255,255,0) 60%),
    linear-gradient(180deg,#f5fbf2 0%,#f8fcf6 55%,#ffffff 100%);
}
.hero::after{
  content:"";position:absolute;left:50%;top:8%;width:1200px;height:1200px;
  border-radius:50%;border:1px solid rgba(34,197,94,.10);
  transform:translateX(-50%);pointer-events:none;
}
.hero-grid{
  position:relative;z-index:2;
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:56px;align-items:center;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  height:30px;padding:0 13px;border-radius:999px;
  background:#e9f8ed;border:1px solid #d3efdb;
  color:#187a3d;font-size:11.5px;font-weight:650;letter-spacing:.06em;
  text-transform:uppercase;margin-bottom:20px;
}
.hero-badge i{font-size:10px;}
.hero h1{font-size:clamp(36px,4.6vw,58px);font-weight:820;letter-spacing:-.05em;line-height:1.08;}
.hero h1 .hl{color:var(--green);position:relative;display:inline-block;}
.hero h1 .hl::after{
  content:"";position:absolute;left:2%;right:2%;bottom:4px;height:8px;border-radius:9px;
  background:rgba(34,197,94,.16);z-index:-1;
}
.hero-desc{margin:22px 0 0;max-width:520px;font-size:14.5px;line-height:1.85;color:var(--muted);}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;}
.hero-trust{display:flex;flex-wrap:wrap;gap:18px;margin-top:30px;color:#4d6255;font-size:12px;}
.hero-trust span{display:inline-flex;align-items:center;gap:7px;}
.hero-trust i{width:20px;height:20px;border-radius:7px;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:10px;}

/* phone mockup */
.phone-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:600px;}
.phone-stage::before{
  content:"";position:absolute;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(34,197,94,.16),rgba(34,197,94,0) 70%);
  filter:blur(8px);
}
.phone{
  position:relative;width:294px;height:590px;border-radius:46px;
  background:#0b1218;padding:9px;
  box-shadow:0 40px 80px rgba(12,40,25,.25), inset 0 0 0 1px rgba(255,255,255,.08);
  transform:rotate(-3deg);z-index:2;
}
.phone-screen{
  position:relative;height:100%;border-radius:38px;overflow:hidden;
  background:#f6fbf3;border:1px solid rgba(0,0,0,.05);
}
.phone-notch{
  position:absolute;top:8px;left:50%;transform:translateX(-50%);
  width:92px;height:24px;border-radius:999px;background:#0b1218;z-index:4;
}
.phone-status{display:flex;justify-content:space-between;padding:14px 20px 0;font-size:10px;color:#1d2b22;font-weight:700;}
.phone-status .icons{display:flex;gap:4px;font-size:9px;color:#3a4a40;}
.phone-body{padding:16px 14px 12px;}
.phone-hello{font-size:10px;color:#7b8a80;}
.phone-title{font-size:15px;font-weight:800;letter-spacing:-.02em;margin-top:2px;}
.phone-search{
  margin-top:12px;height:34px;border-radius:12px;background:#fff;border:1px solid #eaf1e7;
  display:flex;align-items:center;gap:8px;padding:0 10px;color:#94a39a;font-size:10px;
}
.phone-balance{
  position:relative;margin-top:12px;border-radius:18px;padding:14px 16px;color:#fff;overflow:hidden;
  background:linear-gradient(135deg,#16a34a 0%,#34d399 100%);
  box-shadow:0 14px 26px rgba(22,163,74,.26);
}
.phone-balance::after{
  content:"";position:absolute;right:-26px;top:-30px;width:100px;height:100px;border-radius:50%;
  background:rgba(255,255,255,.18);
}
.phone-balance .lb{font-size:9px;opacity:.82;}
.phone-balance .amt{font-size:21px;font-weight:800;letter-spacing:-.03em;margin-top:2px;}
.phone-balance .sub{font-size:9px;opacity:.85;margin-top:2px;}
.phone-pay-title{display:flex;align-items:center;justify-content:space-between;margin:13px 2px 8px;font-size:10px;color:#6d7d72;}
.phone-pay-title b{color:#243329;font-size:11px;}
.phone-payrow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;}
.phone-pay{
  background:#fff;border:1px solid #edf3e9;border-radius:12px;padding:8px 4px;
  display:flex;flex-direction:column;align-items:center;gap:5px;
  font-size:8.5px;color:#6a7b70;
}
.phone-pay img{width:18px;height:18px;object-fit:contain;}
.phone-pay.active{border-color:#bfe8cb;background:#f2fbf5;color:#187a3d;font-weight:700;}
.phone-success{
  margin-top:12px;background:#fff;border:1px solid #eaf1e7;border-radius:14px;padding:11px 12px;
  display:flex;align-items:center;gap:10px;box-shadow:0 8px 18px rgba(22,60,35,.05);
}
.phone-success .ok{width:30px;height:30px;border-radius:50%;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;font-size:12px;flex:0 0 30px;}
.phone-success .t{font-size:9px;color:#7b8a80;}
.phone-success .m{font-size:13px;font-weight:800;color:#132018;}
.phone-success .badge{margin-left:auto;font-size:8px;color:#187a3d;background:#eaf8ee;padding:3px 7px;border-radius:999px;}
.phone-bottom{
  position:absolute;left:12px;right:12px;bottom:10px;height:48px;border-radius:16px;background:#fff;
  border:1px solid #eaf1e7;display:flex;align-items:center;justify-content:space-around;color:#9aa79f;font-size:12px;
}
.phone-bottom .on{color:var(--green);}
.float-card{
  position:absolute;z-index:3;background:rgba(255,255,255,.92);border:1px solid rgba(215,235,215,.9);
  box-shadow:0 16px 36px rgba(22,60,35,.12);backdrop-filter:blur(10px);
  border-radius:14px;padding:10px 13px;display:flex;align-items:center;gap:9px;
}
.float-card i{width:28px;height:28px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:var(--green-soft);color:var(--green);font-size:11px;}
.float-card b{display:block;font-size:11px;color:#16231b;line-height:1.2;}
.float-card span{display:block;font-size:9px;color:#8a9a90;margin-top:2px;}
.float-a{top:44px;left:-84px;}
.float-b{bottom:96px;right:-30px;}
.float-b i{background:#eef4ff;color:#2563eb;}

/* ---------- partners ---------- */
.partners{
  background:#fff;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2);
  padding:26px 0;
}
.partners-inner{display:flex;align-items:center;gap:34px;flex-wrap:wrap;justify-content:center;}
.partners-label{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#93a29a;font-weight:650;margin-right:6px;}
.partner{display:flex;align-items:center;gap:8px;color:#5a6b60;font-size:13px;font-weight:650;opacity:.8;}
.partner img{width:22px;height:22px;object-fit:contain;filter:grayscale(1);opacity:.65;}

/* ---------- sections ---------- */
.section{padding:84px 0;}
.section-head{max-width:640px;margin:0 auto 48px;text-align:center;}
.section-eyebrow{
  display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px;border-radius:999px;
  background:#eaf8ee;border:1px solid #d5efdd;color:#187a3d;
  font-size:10.5px;font-weight:700;letter-spacing:.10em;text-transform:uppercase;margin-bottom:14px;
}
.section-head h2{font-size:clamp(28px,3.2vw,40px);font-weight:800;letter-spacing:-.045em;}
.section-head h2 .hl{color:var(--green);}
.section-head p{margin-top:12px;color:var(--muted);font-size:13.5px;line-height:1.8;}

/* feature cards */
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.feature-card{
  background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px 22px;
  box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d8ebd4;}
.feature-ico{
  width:46px;height:46px;border-radius:14px;background:var(--green-soft);color:var(--green);
  display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:18px;
}
.feature-card h3{font-size:15.5px;font-weight:750;margin-bottom:8px;}
.feature-card p{font-size:12.5px;line-height:1.75;color:var(--muted);}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;position:relative;}
.step{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px 24px;
  box-shadow:var(--shadow-sm);
}
.step-num{
  width:46px;height:46px;border-radius:14px;background:#101a13;color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;margin-bottom:18px;
}
.step h3{font-size:16px;font-weight:750;margin-bottom:7px;}
.step p{font-size:12.5px;line-height:1.75;color:var(--muted);}
.step .step-tag{display:inline-flex;align-items:center;gap:5px;color:var(--green);font-size:11px;font-weight:700;margin-top:14px;}

/* services */
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.service-card{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px 24px 24px;
  box-shadow:var(--shadow-sm);overflow:hidden;transition:transform .18s ease,box-shadow .18s ease;
}
.service-card::after{
  content:"";position:absolute;right:-30px;top:-40px;width:130px;height:130px;border-radius:50%;
  background:radial-gradient(circle,rgba(34,197,94,.10),rgba(34,197,94,0) 70%);
}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.service-ico{
  width:48px;height:48px;border-radius:15px;background:#f2fbf4;border:1px solid #e1f2e5;
  color:var(--green);display:flex;align-items:center;justify-content:center;font-size:19px;margin-bottom:18px;
}
.service-card h3{font-size:16px;font-weight:750;margin-bottom:7px;}
.service-card p{font-size:12.5px;line-height:1.75;color:var(--muted);min-height:44px;}
.service-card .link{display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:12px;font-weight:700;margin-top:16px;}

/* cta */
.cta{padding:20px 0 84px;}
.cta-box{
  position:relative;overflow:hidden;border-radius:32px;padding:54px 48px;
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%),
    linear-gradient(120deg,#15803d 0%,#16a34a 55%,#22c55e 100%);
  color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px;
  box-shadow:0 30px 60px rgba(22,163,74,.22);
}
.cta-box::after{
  content:"";position:absolute;right:-60px;bottom:-100px;width:320px;height:320px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
}
.cta-box h2{font-size:clamp(26px,3vw,38px);font-weight:800;letter-spacing:-.045em;color:#fff;}
.cta-box p{margin-top:10px;font-size:13px;color:rgba(255,255,255,.82);max-width:540px;line-height:1.8;}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;position:relative;z-index:2;}
.cta-actions .btn-white{background:#fff;color:#15803d;box-shadow:0 12px 24px rgba(0,0,0,.12);}
.cta-actions .btn-white:hover{background:#f2fbf4;color:#166534;}
.cta-actions .btn-line{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.45);color:#fff;}
.cta-actions .btn-line:hover{background:rgba(255,255,255,.2);}

/* footer */
.site-footer{background:#f1f8ee;border-top:1px solid #e3eedf;padding:54px 0 24px;}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px;}
.footer-brand p{margin-top:12px;font-size:12.5px;line-height:1.8;color:#6c7d72;max-width:300px;}
.footer-col h4{font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#7d8e83;margin-bottom:14px;}
.footer-col a,.footer-col span{display:block;font-size:12.5px;color:#4f6257;margin-bottom:9px;}
.footer-col a:hover{color:var(--green);}
.footer-bottom{
  margin-top:38px;padding-top:18px;border-top:1px solid #e3eedf;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  font-size:11.5px;color:#8a9a90;
}
.footer-bottom .links{display:flex;gap:18px;}
.footer-bottom a:hover{color:var(--green);}

/* reveal */
.reveal{opacity:1;transform:none;}
.reveal.in{opacity:1;transform:none;}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .hero-grid{gap:34px;}
  .hero h1{font-size:46px;}
  .phone{width:266px;height:536px;}
  .phone-stage{min-height:540px;}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:860px){
  .header-inner{height:68px;gap:14px;}
  .main-nav{
    position:absolute;left:16px;right:16px;top:72px;transform:none;
    display:none;flex-direction:column;align-items:flex-start;gap:2px;
    background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;
    box-shadow:0 24px 50px rgba(22,60,35,.12);
  }
  body.nav-open .main-nav{display:flex;}
  .main-nav a{width:100%;padding:11px 12px;border-radius:10px;}
  .main-nav a:hover{background:#f5faf2;}
  .main-nav a.active::after{display:none;}
  .main-nav a.active{background:var(--green-soft);color:#187a3d;}
  .main-nav .nav-mobile-only{display:block;}
  .menu-toggle{display:flex;}
  .header-actions .btn-ghost{display:none;}
  .hero{padding:44px 0 56px;}
  .hero-grid{grid-template-columns:minmax(0,1fr);}
  .hero-desc{max-width:none;}
  .phone-stage{min-height:auto;margin-top:30px;}
  .phone{width:280px;height:560px;transform:rotate(-2deg);}
  .float-card{display:none;}
  .section{padding:62px 0;}
  .steps{grid-template-columns:minmax(0,1fr);}
  .service-grid{grid-template-columns:minmax(0,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .cta-box{flex-direction:column;align-items:flex-start;padding:38px 28px;}
}
@media (max-width:600px){
  .container{padding:0 18px;}
  .hero h1{font-size:36px;}
  .hero-actions .btn{width:100%;}
  .hero-trust{gap:10px 14px;}
  .partners-inner{gap:16px 22px;}
  .partners-label{width:100%;text-align:center;}
  .feature-grid{grid-template-columns:minmax(0,1fr);}
  .section-head{margin-bottom:34px;}
  .footer-grid{grid-template-columns:1fr;}
  .cta{padding-bottom:60px;}
  .cta-box h2{font-size:28px;}
  .cta-actions{width:100%;}
  .cta-actions .btn{width:100%;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
}

/* ---------- inner marketing pages ---------- */
.page-hero{
  position:relative;overflow:hidden;padding:54px 0 64px;
  background:
    radial-gradient(780px 420px at 6% 0%, rgba(213,247,223,.7), rgba(255,255,255,0) 62%),
    radial-gradient(680px 420px at 96% 8%, rgba(226,248,232,.85), rgba(255,255,255,0) 60%),
    linear-gradient(180deg,#f5fbf2 0%,#f9fcf7 60%,#ffffff 100%);
}
.page-hero::after{
  content:"";position:absolute;right:-140px;top:-180px;width:520px;height:520px;border-radius:50%;
  border:1px solid rgba(34,197,94,.10);pointer-events:none;
}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:#8a9a90;margin-bottom:24px;}
.breadcrumb a{color:#6a7d70;}
.breadcrumb a:hover{color:var(--green);}
.breadcrumb span{color:#b3c0b6;}
.page-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.85fr);gap:46px;align-items:center;}
.page-hero h1{font-size:clamp(32px,4vw,48px);font-weight:820;letter-spacing:-.05em;line-height:1.12;}
.page-hero h1 .hl{color:var(--green);}
.page-hero .hero-desc{max-width:560px;margin-top:18px;}
.page-hero .hero-actions{margin-top:26px;}
.intro-panel{
  background:rgba(255,255,255,.9);border:1px solid rgba(215,235,215,.85);
  border-radius:24px;padding:22px;box-shadow:var(--shadow);
  backdrop-filter:blur(12px);
}
.intro-panel-title{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#8a9a90;margin-bottom:14px;}
.intro-row{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid #f0f5ed;}
.intro-row:first-of-type{border-top:0;padding-top:0;}
.intro-row:last-child{padding-bottom:0;}
.intro-row i{
  width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:var(--green-soft);color:var(--green);
  display:flex;align-items:center;justify-content:center;font-size:13px;
}
.intro-row b{display:block;font-size:13px;font-weight:750;color:#1b2a21;}
.intro-row span{display:block;font-size:11.5px;color:#7b8d81;margin-top:2px;line-height:1.6;}

.scenario-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.scenario-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 20px;
  box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease;
}
.scenario-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);}
.scenario-card .feature-ico{width:42px;height:42px;font-size:16px;margin-bottom:14px;}
.scenario-card h3{font-size:14.5px;font-weight:750;margin-bottom:6px;}
.scenario-card p{font-size:12px;line-height:1.7;color:var(--muted);}

.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:10px;}
.faq-item{
  background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 20px;
  box-shadow:0 8px 22px rgba(22,60,35,.04);
}
.faq-item summary{
  list-style:none;cursor:pointer;padding:17px 0;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  font-size:13.5px;font-weight:700;color:#1b2a21;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:18px;font-weight:400;color:var(--green);line-height:1;}
.faq-item[open] summary::after{content:"−";}
.faq-item .faq-body{padding:0 0 18px;font-size:12.5px;line-height:1.85;color:var(--muted);border-top:1px solid #f2f7ef;padding-top:14px;}

.doc-group{margin-bottom:38px;}
.doc-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px;}
.doc-group-head h2{font-size:20px;font-weight:800;letter-spacing:-.03em;}
.doc-group-head span{font-size:11.5px;color:#93a39a;}
.doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.doc-card{
  display:flex;flex-direction:column;gap:8px;
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 18px 16px;
  box-shadow:0 8px 22px rgba(22,60,35,.04);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.doc-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d6ead2;}
.doc-card .doc-ico{
  width:38px;height:38px;border-radius:12px;background:var(--green-soft);color:var(--green);
  display:flex;align-items:center;justify-content:center;font-size:15px;margin-bottom:2px;
}
.doc-card h3{font-size:14px;font-weight:750;color:#17251d;}
.doc-card p{font-size:11.8px;line-height:1.65;color:var(--muted);min-height:38px;}
.doc-card .doc-meta{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px;font-size:10.5px;color:#9aa9a0;}
.doc-card .doc-meta strong{color:var(--green);font-weight:700;}
.doc-note{
  display:flex;align-items:flex-start;gap:10px;background:#f2fbf4;border:1px solid #dcf0e1;
  border-radius:14px;padding:14px 16px;font-size:12px;line-height:1.7;color:#4d6655;margin-top:8px;
}
.doc-note i{color:var(--green);margin-top:2px;}

@media (max-width:1024px){
  .page-hero-grid{gap:28px;}
  .scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .doc-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:860px){
  .page-hero{padding:40px 0 48px;}
  .page-hero-grid{grid-template-columns:minmax(0,1fr);}
  .intro-panel{max-width:520px;}
  .doc-group-head{flex-direction:column;align-items:flex-start;gap:4px;}
}
@media (max-width:600px){
  .scenario-grid,.doc-grid{grid-template-columns:minmax(0,1fr);}
  .page-hero h1{font-size:32px;}
}



/* ---------- markdown doc detail ---------- */
.doc-page{
  padding:30px 0 72px;
  background:linear-gradient(180deg,#f7fbf4 0%,#ffffff 340px);
}
.doc-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start;}
.doc-side{
  position:sticky;top:100px;max-height:calc(100vh - 122px);overflow:auto;
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px;
  box-shadow:var(--shadow-sm);
}
.doc-side-back{
  display:flex;align-items:center;gap:7px;padding:7px 10px;margin-bottom:8px;
  border-radius:9px;font-size:12px;color:#5d6f63 !important;font-weight:650;
}
.doc-side-back:hover{background:#f5faf2;color:var(--green) !important;}
.doc-side-back i{font-size:10px;}
.doc-side-group{
  font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#a0aea5;padding:12px 10px 6px;
}
.doc-side a:not(.doc-side-back){
  display:block;padding:7px 10px;border-radius:9px;
  font-size:12px;color:#5d6f63;line-height:1.45;
  transition:background .14s ease,color .14s ease;
}
.doc-side a:not(.doc-side-back):hover{background:#f5faf2;color:#17251d;}
.doc-side a.active{background:#eaf8ee;color:#187a3d !important;font-weight:700;}

.doc-article{
  min-width:0;background:#fff;border:1px solid var(--line);border-radius:24px;
  padding:42px 48px 46px;box-shadow:0 18px 45px rgba(22,60,35,.06);
}
.doc-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#93a39a;margin-bottom:20px;}
.doc-crumb a{color:#6b7d70;}
.doc-crumb a:hover{color:var(--green);}
.doc-crumb span{color:#c0cbc3;}
.doc-crumb em{font-style:normal;color:#34463a;}

.markdown-body{font-size:14px;line-height:1.9;color:#34463a;word-wrap:break-word;}
.markdown-body > h1:first-child,
.markdown-body h1{
  font-size:31px;font-weight:820;letter-spacing:-.04em;color:#101a13;
  margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid #eaf1e7;
}
.markdown-body h1 a,.markdown-body h2 a,.markdown-body h3 a,.markdown-body h4 a,.markdown-body h5 a,.markdown-body h6 a{color:inherit;border-bottom:0;}
.markdown-body [id]{scroll-margin-top:96px;}
.markdown-body h2{font-size:23px;font-weight:780;margin:34px 0 12px;padding-bottom:8px;border-bottom:1px solid #f0f5ed;}
.markdown-body h3{font-size:18px;font-weight:750;margin:28px 0 10px;}
.markdown-body h4{
  font-size:14.5px;font-weight:750;color:#1b2a21;
  margin:26px 0 8px;padding-left:11px;border-left:3px solid var(--green);
  line-height:1.5;
}
.markdown-body h5,.markdown-body h6{font-size:13px;font-weight:700;margin:20px 0 8px;}
.markdown-body p{margin:12px 0;color:#3f5245;}
.markdown-body a{color:var(--green);font-weight:550;text-decoration:none;border-bottom:1px solid rgba(22,163,74,.25);}
.markdown-body a:hover{border-bottom-color:var(--green);}
.markdown-body strong{color:#16231b;font-weight:750;}
.markdown-body blockquote{
  margin:18px 0;padding:14px 18px;border-left:3px solid var(--green);
  background:#f3fbf5;border-radius:0 12px 12px 0;color:#4d6655;
}
.markdown-body blockquote p{margin:0;color:inherit;}
.markdown-body ul,.markdown-body ol{margin:10px 0 14px;padding-left:22px;}
.markdown-body li{margin:6px 0;}
.markdown-body li::marker{color:var(--green);}
.markdown-body hr{border:0;border-top:1px solid #eaf1e7;margin:28px 0;}
.markdown-body img{max-width:100%;border-radius:12px;border:1px solid var(--line);}

.markdown-body code{
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
  font-size:12px;background:#f1f8ef;color:#187a3d;
  padding:2px 6px;border-radius:6px;
}
.markdown-body pre{
  position:relative;margin:16px 0;padding:18px 20px;overflow:auto;
  background:#0f1a13;color:#d8e8dc;border-radius:14px;
  font-size:12px;line-height:1.7;
  box-shadow:0 12px 26px rgba(15,26,19,.14);
}
.markdown-body pre code{
  background:transparent;color:inherit;padding:0;border-radius:0;
  font-size:12px;line-height:1.7;
}
.code-copy{
  position:absolute;right:10px;top:10px;
  height:26px;padding:0 9px;border:1px solid rgba(255,255,255,.2);
  border-radius:7px;background:rgba(255,255,255,.08);color:#cfe2d4;
  font-size:10.5px;cursor:pointer;opacity:0;transition:opacity .15s ease,background .15s ease;
}
.markdown-body pre:hover .code-copy{opacity:1;}
.code-copy:hover{background:rgba(255,255,255,.16);color:#fff;}

.markdown-body .table-scroll{
  width:100%;overflow-x:auto;margin:16px 0;
  border:1px solid var(--line);border-radius:14px;
}
.markdown-body table{
  width:100%;min-width:680px;border-collapse:collapse;
  font-size:12.5px;line-height:1.65;background:#fff;
}
.markdown-body th,.markdown-body td{
  padding:10px 12px;border-bottom:1px solid #eef4eb;border-right:1px solid #f2f7ef;
  text-align:left;vertical-align:top;
}
.markdown-body th:last-child,.markdown-body td:last-child{border-right:0;}
.markdown-body thead th{background:#f5faf2;color:#314238;font-weight:700;white-space:nowrap;}
.markdown-body tbody tr:last-child td{border-bottom:0;}
.markdown-body tbody tr:hover{background:#fbfdf9;}
.markdown-body td code{white-space:nowrap;}

@media (max-width:900px){
  .doc-page{padding:20px 0 52px;}
  .doc-layout{grid-template-columns:minmax(0,1fr);}
  .doc-side{display:none;}
  .doc-article{padding:28px 22px 32px;border-radius:20px;}
  .markdown-body > h1:first-child,.markdown-body h1{font-size:25px;}
  .markdown-body h2{font-size:20px;}
  .markdown-body h3{font-size:17px;}
  .markdown-body{font-size:13.5px;}
  .code-copy{opacity:1;}
}
