:root{
  /* ground and surfaces */
  --bg:#f4f4f5;
  --bg-soft:#fafafa;
  --surface:#ffffff;
  --surface-2:#fdf2f8;
  /* ink */
  --text:#303034;
  --text-muted:#5f5f68;
  --text-dim:#82828c;
  --ink-33:#333338;
  --ink-3f:#3f3f46;
  --ink-44:#44444c;
  --ink-4b:#4b4b52;
  --ink-4d:#4d4d55;
  --ink-55:#55555e;
  --foot-brand:#848484;
  /* lines */
  --line:#ececef;
  --line-soft:#f6f6f8;
  --line-strong:#dcdfe6;
  /* brand */
  --brand:#ec4899;
  --brand-deep:#be185d;
  --brand-ink:#9d174d;
  --accent:#be185d;
  --accent-ink:#ffffff;
  --accent-wash:#fdf2f8;
  --accent-wash-2:#fce7f3;
  --accent-edge:rgba(236,72,153,.24);
  --accent-dash:rgba(236,72,153,.12);
  --accent-soft:#fdf2f8;
  --accent-soft-2:#fce7f3;
  --head-rule:rgba(236,72,154,.73);
  /* CTA motion */
  --cta-top:#c81e68;
  --cta-hover-top:#b01559;
  --cta-bloom:rgba(84,6,38,.44);
  --cta-bloom-out:rgba(84,6,38,0);
  --cta-line:rgba(255,214,232,.95);
  --cta-line-soft:rgba(255,214,232,.2);
  --scrim:rgba(24,20,34,.42);
  --focus:rgba(236,72,153,.55);
  /* geometry */
  --radius-sm:4px;
  --radius-md:10px;
  --radius-lg:16px;
  --radius-pill:999px;
  --shadow-card:0 4px 20px rgba(28,22,36,.05);
  --shadow-head:0 4px 20px rgba(0,0,0,.04);
  --shadow-cta:0 10px 26px rgba(157,23,77,.3);
  --shadow-drawer:-8px 0 28px rgba(24,20,34,.16);
  --shell:1130px;
  --head-h:70px;
  --cta-h:58px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  padding-bottom:116px;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.72;
  overflow-x:clip;
  overflow-wrap:anywhere;
}
h1{font-size:30px;line-height:1.28;margin:0 0 14px;font-weight:800;letter-spacing:.2px;}
h2{font-size:22px;line-height:1.34;margin:0 0 12px;font-weight:800;}
h3{font-size:18px;line-height:1.42;margin:0 0 8px;font-weight:700;}
h1,h2,h3,h4,p,ul,ol,dl,blockquote,figure{margin:0;}
ul,ol,dl{padding:0;}
li{list-style:none;}
img{max-width:100%;}
a{color:var(--brand-ink);text-decoration:none;}
a:hover{color:var(--brand-deep);}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;}
.lf-skip{position:absolute;left:-9999px;top:0;background:var(--surface);padding:10px 16px;z-index:1200;}
.lf-skip:focus{left:8px;top:8px;}
.lf-shell{width:100%;max-width:var(--shell);margin:0 auto;padding:0 15px;}

/* ---------------------------------------------------------------- header */
.lf-head{
  position:sticky;top:0;z-index:900;
  background:var(--surface);
  box-shadow:var(--shadow-head);
  border-bottom:1px solid var(--line-soft);
}
.lf-head-in{display:flex;align-items:center;gap:10px;min-height:var(--head-h);}
.lf-brand{
  display:inline-flex;align-items:center;flex:none;
  background:var(--brand-deep);color:var(--accent-ink);
  border-radius:var(--radius-pill);
  padding:4px 16px 4px 4px;
  font-size:16px;font-weight:700;letter-spacing:.5px;
}
.lf-brand:hover{color:var(--accent-ink);}
.lf-brand-mark{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:28px;height:28px;margin-right:7px;border-radius:50%;background:var(--surface);
}
.lf-brand-mark svg{display:block;width:16px;height:16px;fill:var(--brand-deep);}
.lf-nav{display:flex;align-items:center;flex-wrap:wrap;margin-left:6px;}
.lf-nav a{
  display:inline-flex;align-items:center;height:var(--head-h);padding:0 11px;
  font-size:16px;font-weight:500;color:var(--ink-3f);position:relative;
}
.lf-nav a:hover{color:var(--brand-deep);}
.lf-nav a[aria-current="page"]{color:var(--brand-deep);font-weight:800;}
.lf-nav a[aria-current="page"]::after{
  content:"";position:absolute;left:50%;bottom:12px;width:20px;height:3px;
  margin-left:-10px;border-radius:4px;background:var(--brand);
}
.lf-head-tools{display:flex;align-items:center;gap:10px;margin-left:auto;}
.lf-jump{
  display:inline-flex;align-items:center;gap:6px;
  height:34px;padding:0 12px;border:1px solid var(--line-strong);border-radius:var(--radius-pill);
  background:transparent;color:var(--text-dim);font-size:13px;
}
.lf-jump:hover{border-color:var(--brand);color:var(--brand-deep);}
.lf-jump select{border:0;background:transparent;font-size:13px;color:inherit;font-family:inherit;max-width:112px;}
.lf-jump select:focus{outline:none;}
.lf-burger{
  display:none;align-items:center;justify-content:center;gap:4px;flex-direction:column;
  width:44px;height:44px;border:1px solid var(--line);border-radius:var(--radius-md);
  background:var(--surface);cursor:pointer;
}
.lf-burger:hover{border-color:var(--brand);}
.lf-burger span{display:block;width:18px;height:2px;border-radius:2px;background:var(--ink-4b);}
.lf-rule{height:2px;background:var(--head-rule);}

/* ----------------------------------------------------------------- drawer */
.lf-drawer{
  position:fixed;inset:0;z-index:1000;display:none;
  background:var(--scrim);
}
.lf-drawer[data-open="true"]{display:block;}
.lf-nav-static{display:none;}
.lf-drawer-panel{
  position:absolute;top:0;right:0;bottom:0;width:min(310px,88vw);
  background:var(--surface);display:flex;flex-direction:column;
  box-shadow:var(--shadow-drawer);
}
.lf-drawer-head{padding:20px 20px 14px;background:var(--surface-2);border-bottom:1px solid var(--line);}
.lf-drawer-head strong{display:block;font-size:18px;color:var(--brand-ink);}
.lf-drawer-head span{display:block;font-size:13px;color:var(--text-muted);margin-top:2px;}
.lf-drawer-list{flex:1;overflow-y:auto;padding:8px 0;}
.lf-drawer-list a{display:block;padding:13px 22px;font-size:16px;color:var(--ink-3f);border-bottom:1px solid var(--line-soft);}
.lf-drawer-list a:hover{background:var(--surface-2);color:var(--brand-ink);}
.lf-drawer-close{
  position:absolute;top:12px;right:12px;width:40px;height:40px;
  border:0;background:transparent;font-size:22px;color:var(--text-dim);cursor:pointer;
}

/* --------------------------------------------------------------- page body */
.lf-main{padding:18px 0 6px;}
.lf-card{
  background:var(--surface);border-radius:var(--radius-md);
  box-shadow:var(--shadow-card);padding:20px;margin-bottom:16px;
}
.lf-hero{background:var(--surface);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:24px 20px 20px;margin-bottom:16px;}
.lf-hero .lf-lede{color:var(--ink-44);}
.lf-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.lf-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 20px;border-radius:var(--radius-pill);
  font-size:15px;font-weight:700;
}
.lf-btn-solid{background:var(--brand-deep);color:var(--accent-ink);}
.lf-btn-solid:hover{background:var(--brand-ink);color:var(--accent-ink);}
.lf-btn-ghost{background:var(--accent-soft);color:var(--brand-ink);}
.lf-btn-ghost:hover{background:var(--accent-soft-2);color:var(--brand-ink);}
.lf-notice{
  background:var(--surface-2);border:1px solid var(--accent-edge);border-radius:var(--radius-md);
  padding:12px 16px;margin-bottom:16px;font-size:15px;color:var(--brand-ink);
}
.lf-crumb{font-size:14px;color:var(--text-dim);margin-bottom:12px;}
.lf-crumb a{color:var(--text-muted);}
.lf-crumb a:hover{color:var(--brand-ink);}
.lf-crumb span[aria-current="page"]{color:var(--brand-ink);font-weight:600;}
.lf-sec-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;}
.lf-sec-head h2{margin:0;}
.lf-sec-dot{width:10px;height:10px;border-radius:3px;background:var(--brand);flex:none;}
.lf-sec-more{margin-left:auto;font-size:15px;font-weight:600;}
.lf-lede{font-size:16px;color:var(--ink-44);}
.lf-note{font-size:15px;color:var(--text-muted);}
.lf-sub{margin-top:16px;}

/* quick entries */
.lf-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px;}
.lf-quick a{
  display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);
  border-radius:var(--radius-md);background:var(--surface);color:var(--text);font-weight:600;font-size:15px;
}
.lf-quick a:hover{border-color:var(--brand);color:var(--brand-ink);}
.lf-quick i{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:36px;height:36px;border-radius:var(--radius-md);background:var(--surface-2);
}
.lf-quick i svg{display:block;width:19px;height:19px;fill:var(--brand);}

/* chips */
.lf-chips{display:flex;flex-wrap:wrap;gap:10px;}
.lf-chip{
  display:inline-flex;align-items:center;min-height:38px;padding:0 15px;
  background:var(--surface-2);border:1px solid var(--accent-edge);border-radius:var(--radius-sm);
  color:var(--brand-ink);font-size:15px;font-weight:600;
}
.lf-chip:hover{background:var(--accent-wash-2);color:var(--brand-ink);}

/* rows */
.lf-rows{display:flex;flex-direction:column;}
.lf-row{
  display:flex;gap:15px;padding:16px 0;border-bottom:1px solid var(--line-soft);
}
.lf-row:last-child{border-bottom:0;padding-bottom:4px;}
.lf-row-body{flex:1 1 auto;min-width:0;}
.lf-row-title{font-size:16px;font-weight:700;color:var(--ink-33);line-height:1.45;margin-bottom:4px;}
.lf-row-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--text-dim);margin-bottom:8px;}
.lf-row-text{font-size:15px;color:var(--ink-4d);line-height:1.7;}
.lf-row-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;}
.lf-row-where{font-size:14px;color:var(--brand-ink);font-weight:600;}
.lf-fieldcard{
  flex:none;width:114px;height:152px;border-radius:var(--radius-sm);
  background:var(--surface-2);border:1px dashed var(--accent-edge);
  padding:10px 9px;overflow:hidden;
}
.lf-fieldcard dt{font-size:11px;color:var(--text-dim);line-height:1.4;}
.lf-fieldcard dd{font-size:12px;color:var(--brand-ink);font-weight:700;line-height:1.45;margin:0 0 7px;}
.lf-fieldcard dd:last-child{margin-bottom:0;}

/* fact and step lists */
.lf-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;}
.lf-facts > li{border-bottom:1px solid var(--line-soft);padding:8px 0;font-size:15px;color:var(--ink-4d);}
.lf-facts > li b{color:var(--brand-ink);}
.lf-steps{margin:0;counter-reset:lf-step;}
.lf-steps > li{
  padding:9px 0 9px 34px;position:relative;font-size:15px;color:var(--ink-4d);
  border-bottom:1px solid var(--line-soft);counter-increment:lf-step;
}
.lf-steps > li::before{
  content:counter(lf-step);position:absolute;left:0;top:10px;
  width:22px;height:22px;border-radius:6px;background:var(--brand-deep);color:var(--accent-ink);
  font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;
}
.lf-table{width:100%;border-collapse:collapse;font-size:15px;}
.lf-table caption{text-align:left;font-size:14px;color:var(--text-dim);padding-bottom:8px;}
.lf-table th,.lf-table td{border:1px solid var(--line);padding:9px 11px;text-align:left;vertical-align:top;}
.lf-table th{background:var(--surface-2);color:var(--brand-ink);font-weight:700;}
.lf-table-wrap{overflow-x:auto;}
.lf-faq dt{font-size:16px;font-weight:700;color:var(--ink-33);margin-top:16px;}
.lf-faq dt:first-child{margin-top:0;}
.lf-faq dd{margin:6px 0 0;font-size:15px;color:var(--ink-4d);}
.lf-region-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.lf-region-grid a{
  display:block;padding:11px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);
  background:var(--surface);color:var(--text);font-size:15px;font-weight:600;
}
.lf-region-grid a:hover{border-color:var(--brand);color:var(--brand-ink);}
.lf-region-grid a small{display:block;font-size:12px;color:var(--text-dim);font-weight:400;margin-top:2px;}

/* ---------------------------------------------------------------- footer */
.lf-foot{background:var(--surface);padding:26px 0 18px;margin-top:8px;border-top:1px solid var(--line);}
.lf-foot-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding-bottom:18px;margin-bottom:18px;border-bottom:1px dashed var(--accent-dash);
}
.lf-foot-brand{display:inline-flex;align-items:center;gap:7px;font-size:15px;font-weight:700;color:var(--foot-brand);}
.lf-foot-brand:hover{color:var(--brand-deep);}
.lf-foot-brand span{
  display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;
  border-radius:50%;background:var(--surface-2);
}
.lf-foot-brand svg{display:block;width:14px;height:14px;fill:var(--brand-deep);}
.lf-foot-line{font-size:15px;color:var(--text-muted);}
.lf-foot-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.lf-foot-links h3{font-size:14px;color:var(--text-muted);margin-bottom:8px;}
.lf-foot-links ul{display:flex;flex-direction:column;gap:6px;}
.lf-foot-links a{font-size:15px;color:var(--ink-55);}
.lf-foot-links a:hover{color:var(--brand-ink);}
.lf-foot-bottom{margin-top:20px;font-size:12px;color:var(--text-dim);text-align:center;line-height:1.7;}

/* ------------------------------------------------------------------- CTA */
.site-cta{
  position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:950;
  display:inline-flex;align-items:center;justify-content:center;
  width:min(508px,calc(100vw - 24px));
  min-height:var(--cta-h);padding:0 26px;
  border-radius:var(--radius-pill);
  background:linear-gradient(180deg,var(--cta-top),var(--brand-deep));
  color:var(--accent-ink);
  font-size:17px;font-weight:800;letter-spacing:.6px;text-align:center;
  box-shadow:var(--shadow-cta);
  overflow:hidden;
  text-decoration:none;
}
.site-cta:hover,.site-cta:focus-visible,.site-cta:active{
  color:var(--accent-ink);
  background:linear-gradient(180deg,var(--cta-hover-top),var(--brand-ink));
}
.site-cta::before{
  content:"";position:absolute;left:-8%;right:-8%;bottom:-46%;height:126%;
  background:radial-gradient(62% 74% at 50% 100%,var(--cta-bloom) 0%,var(--cta-bloom-out) 72%);
  opacity:0;
  animation:lf-paper-bloom 3s cubic-bezier(.2,.7,.3,1) infinite;
  pointer-events:none;
}
.site-cta::after{
  content:"";position:absolute;left:13%;right:13%;bottom:7px;height:2px;
  background:linear-gradient(90deg,var(--cta-line-soft),var(--cta-line) 45%,var(--cta-line-soft));
  background-size:220% 100%;
  background-position:100% 50%;
  clip-path:inset(0 100% 0 0);
  animation:lf-ink-rule-draw 3s cubic-bezier(.2,.7,.3,1) infinite;
  pointer-events:none;
}
@keyframes lf-paper-bloom{
  0%{opacity:0;}
  20%{opacity:1;}
  64%{opacity:1;}
  100%{opacity:0;}
}
@keyframes lf-ink-rule-draw{
  0%{clip-path:inset(0 100% 0 0);opacity:.45;background-position:0% 50%;}
  46%{clip-path:inset(0 0 0 0);opacity:1;background-position:55% 50%;}
  78%{clip-path:inset(0 0 0 0);opacity:.4;background-position:100% 50%;}
  100%{clip-path:inset(0 0 0 0);opacity:0;background-position:100% 50%;}
}

/* ------------------------------------------------------------ responsive */
@media (max-width:1200px){
  .lf-shell{padding:0 14px;}
  .lf-nav a{padding:0 9px;font-size:15px;}
  .lf-region-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:992px){
  .lf-nav{display:none;}
  .lf-nav-static{
    display:flex;flex-wrap:wrap;gap:6px;
    width:100%;max-width:var(--shell);margin:0 auto;padding:4px 15px 10px;
  }
  .lf-nav-static a{
    padding:5px 11px;border-radius:var(--radius-pill);font-size:14px;
    color:var(--brand-ink);background:var(--accent-soft);
  }
  .lf-burger{display:inline-flex;}
  .lf-jump{display:none;}
  .lf-quick{grid-template-columns:repeat(3,minmax(0,1fr));}
  .lf-foot-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
}
@media (max-width:768px){
  body{padding-bottom:112px;}
  h1{font-size:25px;}
  h2{font-size:20px;}
  h3{font-size:17px;}
  .lf-main{padding:14px 0 4px;}
  .lf-card,.lf-hero{padding:16px 14px;}
  .lf-quick{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lf-facts{grid-template-columns:minmax(0,1fr);}
  .lf-row{flex-direction:column;gap:12px;}
  .lf-fieldcard{width:100%;height:auto;}
  .lf-fieldcard dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;}
  .lf-fieldcard dd{margin-bottom:2px;}
  .lf-foot-links{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lf-region-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .site-cta{font-size:16px;min-height:56px;letter-spacing:.3px;padding:0 18px;}
}
@media (max-width:576px){
  .lf-shell{padding:0 12px;}
  .lf-brand{font-size:15px;padding:3px 13px 3px 3px;}
  .lf-brand-mark{width:25px;height:25px;margin-right:6px;}
  .lf-quick{grid-template-columns:minmax(0,1fr);}
  .lf-foot-top{flex-direction:column;align-items:flex-start;}
  .lf-foot-links{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lf-region-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lf-table{font-size:14px;}
  .lf-table th,.lf-table td{padding:8px;}
}
@media (prefers-reduced-motion:reduce){
  .site-cta::before{animation:none;opacity:1;}
  .site-cta::after{
    animation:none;opacity:.92;clip-path:inset(0 0 0 0);background-position:55% 50%;
  }
  .lf-burger,.lf-drawer-panel{transition:none;}
}
