:root{
  --bg:#f2f5f7;
  --text:#15191e;
  --muted:#7f8994;
  --blue:#1677ff;
  --edge:rgba(39,53,69,.065);
  --edge-soft:rgba(39,53,69,.045);
  --shadow:0 8px 24px rgba(44,57,72,.04);
}

html,body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
}
body{min-height:100vh;overflow-x:hidden}
button,input,textarea{font:inherit}
button{border:0}

.service-home{
  width:min(100%,520px);
  height:100vh;
  height:100svh;
  min-height:0;
  margin:auto;
  padding:max(9px,env(safe-area-inset-top)) 16px max(10px,env(safe-area-inset-bottom));
  background:var(--bg);
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-radius:0;
  box-shadow:none;
}
.service-home .topbar{
  height:44px;
  flex:0 0 44px;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:relative;
  z-index:10;
}
.service-home .brand{font-size:18px;font-weight:720;letter-spacing:.01em}
.topbar-actions{display:flex;align-items:center;gap:8px}
.login-shortcut{
  min-width:56px;
  height:36px;
  padding:0 14px;
  border:1px solid var(--edge);
  border-radius:13px;
  background:var(--bg);
  box-shadow:0 5px 16px rgba(44,57,72,.035),inset 0 1px 0 rgba(255,255,255,.6);
  color:#252a31;
  font-size:14px;
  font-weight:650;
  cursor:pointer;
  transition:.18s ease;
}
.login-shortcut:active{transform:scale(.97);box-shadow:inset 0 2px 8px rgba(44,57,72,.05)}
.login-shortcut.logged-in{color:#68717c}
.customer-btn{
  width:38px;
  height:38px;
  padding:0;
  border-radius:14px;
  background:var(--bg);
  border:1px solid var(--edge);
  box-shadow:0 5px 16px rgba(44,57,72,.035),inset 0 1px 0 rgba(255,255,255,.6);
  display:grid;
  place-items:center;
  cursor:pointer;
  color:#252a31;
  transition:.18s ease;
}
.customer-btn:active{transform:scale(.97);box-shadow:inset 0 2px 8px rgba(44,57,72,.05)}
.customer-btn svg{width:24px;height:24px}
.customer-menu{
  position:absolute;
  right:16px;
  top:54px;
  width:226px;
  padding:14px;
  background:rgba(242,245,247,.98);
  border:1px solid var(--edge);
  border-radius:19px;
  box-shadow:0 16px 42px rgba(31,45,61,.12);
  opacity:0;
  pointer-events:none;
  transform:translateY(-7px);
  transition:.2s;
  z-index:30;
  backdrop-filter:blur(18px);
}
.customer-menu.open{opacity:1;pointer-events:auto;transform:translateY(0)}
.customer-menu small{color:var(--muted)}
.customer-menu strong{display:block;font-size:20px;margin:6px 0 12px}
.call-btn{
  display:flex;
  height:44px;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:15px;
  background:#20242a;
  color:#fff;
  text-decoration:none;
  font-weight:650;
  box-shadow:0 5px 15px rgba(20,25,30,.10);
}

.service-home .hero{
  flex:1 1 auto;
  min-height:168px;
  height:auto;
  position:relative;
  overflow:hidden;
  margin:0 -16px 8px;
  isolation:isolate;
  background:none;
}
.service-home .hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:radial-gradient(ellipse 56% 64% at 79% 56%,rgba(255,255,255,.42),transparent 74%);
  pointer-events:none;
}
.service-home .hero::after{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:2;
  height:auto;
  pointer-events:none;
  background:linear-gradient(90deg,var(--bg) 0%,rgba(242,245,247,.08) 10%,rgba(242,245,247,0) 78%,var(--bg) 100%),linear-gradient(180deg,var(--bg) 0%,rgba(242,245,247,0) 13%,rgba(242,245,247,0) 66%,var(--bg) 98%);
}
.service-home .hero-copy{
  position:absolute;
  left:14px;
  top:clamp(20px,5.2svh,50px);
  z-index:4;
  max-width:calc(100% - 168px);
  padding:0;
}
.service-home .hero-copy h1{margin:0;font-size:clamp(29px,8.2vw,35px);line-height:1.08;letter-spacing:-.035em;font-weight:760}
.service-home .hero-copy p{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:normal;letter-spacing:.01em;max-width:none;white-space:nowrap}
.service-home .hero-img{
  display:block;
  position:absolute;
  z-index:1;
  right:-72px;
  bottom:15px;
  top:auto;
  left:auto;
  width:clamp(430px,126vw,630px);
  height:auto;
  max-width:none;
  opacity:.92;
  mix-blend-mode:multiply;
  filter:saturate(.82) contrast(.97) drop-shadow(0 14px 17px rgba(35,45,58,.045));
  user-select:none;
  pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 75% 72% at 54% 56%,#000 45%,rgba(0,0,0,.96) 64%,rgba(0,0,0,.55) 76%,transparent 91%);
  mask-image:radial-gradient(ellipse 75% 72% at 54% 56%,#000 45%,rgba(0,0,0,.96) 64%,rgba(0,0,0,.55) 76%,transparent 91%);
}

.service-home .services{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  position:relative;
  z-index:5;
  flex:0 0 auto;
  padding-bottom:1px;
}
.service-home .service-card{
  width:100%;
  min-height:84px;
  height:auto;
  background:var(--bg);
  border:1px solid var(--edge);
  border-radius:20px;
  box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.62);
  display:grid;
  grid-template-columns:50px 1fr 17px;
  align-items:center;
  gap:13px;
  padding:13px 15px;
  text-align:left;
  cursor:pointer;
  color:inherit;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.service-home .service-card:hover{transform:none;box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.62)}
.service-home .service-card:active{transform:scale(.987);border-color:rgba(39,53,69,.085);box-shadow:inset 0 2px 10px rgba(44,57,72,.035)}
.service-home .icon{
  width:50px;
  height:50px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.17);
  border:1px solid var(--edge-soft);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
  color:#2b3036;
}
.service-home .icon svg{width:27px;height:27px}
.service-home .service-card h2{font-size:18px;margin:0 0 4px;line-height:1.2;font-weight:700;letter-spacing:-.01em}
.service-home .service-card p{font-size:12.5px;color:var(--muted);margin:0;line-height:1.45}
.service-home .chev{color:#a5adb6;font-size:23px;font-weight:300;line-height:1;transform:translateY(-1px)}
.ai-dock[hidden]{display:none!important}

@media(max-height:700px){
  .service-home{padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(7px,env(safe-area-inset-bottom))}
  .service-home .topbar{height:40px;flex-basis:40px}
  .service-home .brand{font-size:17px}
  .topbar-actions{gap:7px}
  .login-shortcut{min-width:52px;height:33px;padding:0 12px;border-radius:12px;font-size:13px}
  .customer-btn{width:35px;height:35px;border-radius:12px}
  .service-home .hero{min-height:148px;margin-bottom:6px}
  .service-home .hero-copy{left:12px;top:14px;max-width:calc(100% - 156px)}
  .service-home .hero-copy h1{font-size:27px}
  .service-home .hero-copy p{font-size:12px;margin-top:8px;max-width:none}
  .service-home .hero-img{width:120vw;right:-60px;bottom:11px}
  .service-home .services{gap:6px}
  .service-home .service-card{min-height:73px;border-radius:18px;grid-template-columns:44px 1fr 15px;gap:11px;padding:9px 13px}
  .service-home .icon{width:44px;height:44px;border-radius:14px}
  .service-home .icon svg{width:24px;height:24px}
  .service-home .service-card h2{font-size:16.5px;margin-bottom:3px}
  .service-home .service-card p{font-size:11.5px}
  .service-home .chev{font-size:21px}
}
@media(max-width:360px){
  .service-home{padding-left:13px;padding-right:13px}
  .service-home .hero{margin-left:-13px;margin-right:-13px}
  .service-home .hero-copy{left:11px;max-width:calc(100% - 150px)}
  .service-home .hero-img{right:-76px}
  .service-home .service-card{grid-template-columns:44px 1fr 14px;padding-left:12px;padding-right:12px}
  .service-home .service-card p{font-size:11.5px}
}
@media(min-width:760px){
  body{padding:24px 0}
  .service-home{height:min(820px,calc(100vh - 48px));border-radius:30px;box-shadow:0 24px 72px rgba(32,46,66,.10)}
}
