*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
[hidden]{display:none!important;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Segoe UI","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--bibo-gray-900);
  background:var(--bibo-white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.no-scroll{overflow:hidden;}
img,svg,video{display:block;max-width:100%;height:auto;}
a{color:var(--bibo-blue);text-decoration:none;transition:color .2s var(--ease);}
a:hover{color:var(--bibo-gray-900);}
button{font-family:inherit;font-size:inherit;cursor:pointer;border:none;background:none;color:inherit;}
input{font-family:inherit;font-size:inherit;}
ul,ol{list-style:none;}
h1,h2,h3,h4{font-weight:700;line-height:1.2;color:var(--bibo-gray-900);}
::selection{background:var(--bibo-blue);color:var(--bibo-white);}
:focus-visible{outline:2px solid var(--bibo-blue);outline-offset:2px;border-radius:4px;}

:root{
  --bibo-gray-900:#1C1C1E;
  --bibo-gray-700:#3A3A3C;
  --bibo-gray-500:#8E8E93;
  --bibo-gray-100:#F2F2F7;
  --bibo-white:#FFFFFF;
  --bibo-blue:#007AFF;
  --bibo-green:#34C759;
  --bibo-shadow:rgba(0,0,0,0.08);
  --header-h:64px;
  --content-w:1200px;
  --radius-lg:16px;
  --radius-md:10px;
  --radius-pill:999px;
  --ease:cubic-bezier(0.32,0.72,0,1);
}

.skip-link{
  position:fixed;
  top:-100px;
  left:16px;
  z-index:9999;
  background:var(--bibo-gray-900);
  color:var(--bibo-white);
  padding:10px 18px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  transition:top .2s var(--ease);
}
.skip-link:focus{top:12px;color:var(--bibo-white);}

.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:rgba(255,255,255,0.72);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid transparent;
  transition:background-color .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(255,255,255,0.96);
  border-bottom-color:rgba(0,0,0,0.06);
  box-shadow:0 1px 12px rgba(0,0,0,0.04);
}
.scroll-progress{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:var(--bibo-blue);
  transform:scaleX(0);
  transform-origin:0 50%;
  pointer-events:none;
  z-index:1001;
}
.header-inner{
  position:relative;
  z-index:1002;
  max-width:var(--content-w);
  height:var(--header-h);
  margin:0 auto;
  padding:0 24px;
  display:flex;
  align-items:center;
  gap:24px;
}
.site-brand{
  display:inline-flex;
  align-items:center;
  font-size:22px;
  font-weight:700;
  letter-spacing:-0.02em;
  color:var(--bibo-gray-900);
  flex-shrink:0;
}
.site-brand::after{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--bibo-blue);
  border-radius:50%;
  margin-left:3px;
  vertical-align:2px;
}
.site-brand:hover{color:var(--bibo-gray-900);}
.site-nav{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:center;
}
.nav-list{display:flex;gap:2px;}
.nav-link{
  display:inline-block;
  padding:8px 14px;
  font-size:14px;
  font-weight:500;
  color:var(--bibo-gray-900);
  border-radius:8px;
  position:relative;
  transition:background-color .2s var(--ease),color .2s var(--ease);
}
.nav-link:hover{background:var(--bibo-gray-100);color:var(--bibo-gray-900);}
.nav-link[aria-current="page"]{color:var(--bibo-blue);font-weight:700;}
.nav-link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:4px;
  height:2px;
  background:var(--bibo-blue);
  border-radius:2px;
}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}

.site-search{position:relative;}
.search-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:14px;
  height:14px;
  border:1.5px solid var(--bibo-gray-500);
  border-radius:50%;
  pointer-events:none;
  transition:border-color .2s var(--ease);
}
.search-icon::after{
  content:"";
  position:absolute;
  right:-5px;
  bottom:-3px;
  width:6px;
  height:1.5px;
  background:var(--bibo-gray-500);
  transform:rotate(45deg);
  border-radius:2px;
  transition:background-color .2s var(--ease);
}
.search-input{
  height:36px;
  width:180px;
  border:none;
  background:var(--bibo-gray-100);
  border-radius:22px;
  padding:0 14px 0 40px;
  font-size:13px;
  color:var(--bibo-gray-900);
  transition:width .3s var(--ease),background-color .3s var(--ease),box-shadow .3s var(--ease);
}
.search-input::placeholder{color:var(--bibo-gray-500);}
.search-input:focus{
  width:220px;
  background:var(--bibo-white);
  box-shadow:0 0 0 2px var(--bibo-blue);
  outline:none;
}
.search-input:focus ~ .search-icon{border-color:var(--bibo-blue);}
.search-input:focus ~ .search-icon::after{background:var(--bibo-blue);}

.nav-toggle{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:40px;
  height:40px;
  border-radius:8px;
  transition:background-color .2s var(--ease);
}
.nav-toggle:hover{background:var(--bibo-gray-100);}
.nav-toggle-line{
  display:block;
  width:20px;
  height:2px;
  border-radius:2px;
  background:var(--bibo-gray-900);
  transition:transform .3s var(--ease),opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.28);
  z-index:998;
}
.nav-overlay.is-visible{display:block;}

.site-footer{
  background:var(--bibo-gray-900);
  color:rgba(255,255,255,0.72);
}
.footer-top{
  max-width:var(--content-w);
  margin:0 auto;
  padding:64px 24px 40px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:48px;
}
.footer-brand-col{padding-right:40px;}
.footer-brand{
  display:inline-block;
  font-size:22px;
  font-weight:700;
  color:var(--bibo-white);
  letter-spacing:-0.02em;
}
.footer-brand::after{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--bibo-green);
  border-radius:50%;
  margin-left:3px;
  vertical-align:2px;
}
.footer-brand:hover{color:var(--bibo-white);}
.footer-tagline{
  font-size:13px;
  color:rgba(255,255,255,0.48);
  margin-top:8px;
}
.footer-note{
  font-size:13px;
  line-height:1.6;
  color:rgba(255,255,255,0.56);
  max-width:270px;
  margin-top:12px;
}
.footer-legend{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:16px;
}
.footer-legend .legend-item{color:rgba(255,255,255,0.56);}
.footer-col{
  display:flex;
  flex-direction:column;
}
.footer-heading{
  font-size:12px;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.36);
  margin-bottom:16px;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  color:rgba(255,255,255,0.72);
  font-size:14px;
  transition:color .2s var(--ease);
}
.footer-links a:hover{color:var(--bibo-white);}
.footer-bottom{
  max-width:var(--content-w);
  margin:0 auto;
  padding:20px 24px;
  border-top:1px solid rgba(255,255,255,0.1);
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  font-size:12px;
  color:rgba(255,255,255,0.36);
}
.footer-meta{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.footer-icp{color:rgba(255,255,255,0.36);}
.footer-contact{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.footer-email,.footer-phone{color:rgba(255,255,255,0.48);}

.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:950;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--bibo-gray-900);
  color:var(--bibo-white);
  box-shadow:0 6px 20px rgba(0,0,0,0.16);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  transform:translateY(12px);
  pointer-events:none;
  transition:opacity .3s var(--ease),transform .3s var(--ease),background-color .3s var(--ease);
}
.back-to-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.back-to-top:hover{background:var(--bibo-blue);}
.back-to-top-icon{
  display:block;
  width:10px;
  height:10px;
  border-left:2px solid currentColor;
  border-top:2px solid currentColor;
  transform:rotate(45deg);
  margin-top:6px;
}

.container{
  width:100%;
  max-width:var(--content-w);
  margin:0 auto;
  padding:0 24px;
}
.section{padding:80px 0;}
.section--dark{
  background:var(--bibo-gray-900);
  color:rgba(255,255,255,0.76);
}
.section--dark .section-title{color:var(--bibo-white);}
.section-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--bibo-blue);
  margin-bottom:12px;
}
.section-label::before{
  content:"";
  width:24px;
  height:1px;
  background:var(--bibo-blue);
}
.section-title{
  font-size:32px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:-0.02em;
  color:var(--bibo-gray-900);
  margin-bottom:16px;
}
.coord-index{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:12px;
  letter-spacing:0.08em;
  color:var(--bibo-gray-500);
  text-transform:uppercase;
}
.coord-index strong{
  color:var(--bibo-blue);
  font-weight:700;
}
.card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.card{
  background:var(--bibo-gray-100);
  border:1px solid rgba(0,0,0,0.04);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  position:relative;
  transition:background-color .3s var(--ease),box-shadow .3s var(--ease),transform .3s var(--ease);
}
.card:hover{
  background:var(--bibo-white);
  box-shadow:0 8px 32px rgba(0,0,0,0.08);
  transform:translateY(-4px);
}
.card__num{
  display:block;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:40px;
  font-weight:700;
  line-height:1;
  color:var(--bibo-blue);
  margin-bottom:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 24px;
  border-radius:22px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .2s var(--ease),box-shadow .2s var(--ease),transform .2s var(--ease),border-color .2s var(--ease);
}
.btn:hover{
  transform:translateY(-1px);
  text-decoration:none;
}
.btn-primary{
  background:var(--bibo-blue);
  color:var(--bibo-white);
  box-shadow:0 4px 16px rgba(0,122,255,0.24);
}
.btn-primary:hover{
  background:#006ADF;
  color:var(--bibo-white);
  box-shadow:0 6px 20px rgba(0,122,255,0.32);
}
.btn-ghost{
  background:var(--bibo-white);
  color:var(--bibo-gray-900);
  border:1px solid var(--bibo-gray-700);
}
.btn-ghost:hover{
  border-color:var(--bibo-blue);
  color:var(--bibo-blue);
}
.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:28px;
  padding:0 12px;
  border-radius:var(--radius-pill);
  background:var(--bibo-gray-100);
  font-size:12px;
  font-weight:600;
  color:var(--bibo-gray-700);
}
.tag--green{
  background:rgba(52,199,89,0.12);
  color:#248A3D;
}
.tag--green::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--bibo-green);
}
.legend-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--bibo-gray-700);
}
.legend-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--bibo-blue);
  flex-shrink:0;
}
.legend-dot--green{background:var(--bibo-green);}
.image-frame{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-lg);
  background:var(--bibo-gray-100);
  aspect-ratio:4/3;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:160px;
}
.image-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.image-frame--wide{aspect-ratio:16/9;}
.image-frame--tall{aspect-ratio:3/4;}
.hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:calc(var(--header-h) + 64px) 24px 56px;
  background:var(--bibo-gray-100);
  color:var(--bibo-gray-900);
}
.hero--dark{
  background:var(--bibo-gray-900);
  color:var(--bibo-white);
}
[data-reveal]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s var(--ease),transform .6s var(--ease);
}
[data-reveal].is-revealed{
  opacity:1;
  transform:translateY(0);
}

@media (max-width:1024px){
  .search-input{width:140px;}
  .search-input:focus{width:170px;}
  .nav-link{padding:8px 10px;font-size:13px;}
  .card-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
  .section{padding:64px 0;}
  .footer-top{grid-template-columns:1fr 1fr;}
  .footer-brand-col{grid-column:1/-1;}
}
@media (max-width:768px){
  .header-inner{height:56px;padding:0 16px;}
  .site-brand{font-size:20px;}
  .site-header{
    background:rgba(255,255,255,0.98);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  .nav-toggle{display:flex;}
  .site-nav{
    position:fixed;
    top:56px;
    right:0;
    bottom:0;
    z-index:1003;
    width:min(320px,85vw);
    padding:24px 16px 32px;
    background:var(--bibo-white);
    border-left:1px solid var(--bibo-gray-100);
    box-shadow:-8px 0 32px rgba(0,0,0,0.10);
    transform:translateX(100%);
    visibility:hidden;
    transition:transform .3s var(--ease),visibility 0s linear .3s;
    display:block;
    overflow-y:auto;
  }
  .site-nav[data-open]{
    transform:translateX(0);
    visibility:visible;
    transition:transform .3s var(--ease);
  }
  .nav-list{flex-direction:column;gap:0;}
  .nav-list li{width:100%;}
  .nav-link{
    display:block;
    padding:14px 12px;
    font-size:17px;
    border-bottom:1px solid var(--bibo-gray-100);
    border-radius:0;
    color:var(--bibo-gray-900);
  }
  .nav-link[aria-current="page"]{color:var(--bibo-blue);}
  .nav-link[aria-current="page"]::after{
    left:0;
    right:auto;
    top:0;
    bottom:0;
    width:3px;
    height:auto;
    background:var(--bibo-blue);
    border-radius:0 3px 3px 0;
  }
  .site-search{display:none;}
  .card-grid{grid-template-columns:1fr;gap:16px;}
  .card{padding:24px 20px;}
  .footer-top{
    grid-template-columns:1fr;
    gap:32px;
    padding:48px 16px 24px;
  }
  .footer-brand-col{padding-right:0;}
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    padding:16px;
  }
  .footer-meta,
  .footer-contact{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  .back-to-top{
    right:16px;
    bottom:16px;
    width:38px;
    height:38px;
  }
  .hero{
    padding:calc(56px + 40px) 16px 40px;
  }
}
@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:0.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:0.01ms!important;
    scroll-behavior:auto!important;
  }
  [data-reveal]{
    opacity:1;
    transform:none;
  }
}
