:root{
  --paper:#f4f6f7;
  --white:#ffffff;
  --ink:#0d2941;
  --muted:#647582;
  --road:#d6dde1;
  --road-light:#e9edef;
  --route:#12a88d;
  --route-dark:#087c6a;
  --cue:#ef8739;
  --line:#cbd4d9;
  --shell:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:"Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button,a,summary{outline-offset:4px}
a:focus-visible,summary:focus-visible{outline:3px solid var(--cue)}
.shell{width:min(calc(100% - 40px),var(--shell));margin-inline:auto}

.site-header{
  position:relative;
  z-index:20;
  background:rgba(244,246,247,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}
.nav{height:76px;display:flex;align-items:center;gap:42px}
.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;letter-spacing:.08em}
.brand img{display:block;width:38px;height:38px;border-radius:10px}
.nav-links{display:flex;align-items:center;gap:30px;margin-left:auto;font-size:14px;font-weight:700;color:#465b6a}
.nav-links a{position:relative;padding:27px 0}
.nav-links a[aria-current="page"]::after{
  content:"";position:absolute;left:0;right:0;bottom:18px;height:3px;background:var(--route);border-radius:4px;
}
.cta{
  display:inline-flex;
  min-width:116px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:10px 22px;
  border:1px solid var(--ink);
  border-radius:7px;
  background:var(--ink);
  color:var(--white);
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  word-break:keep-all;
  writing-mode:horizontal-tb;
  transition:transform .2s ease,background .2s ease;
}
.cta:hover{transform:translateY(-2px);background:#163b58}
.cta-large{min-height:52px;padding-inline:30px}

.route-hero{overflow:hidden;padding:88px 0 96px;background:linear-gradient(180deg,#f8fafb 0%,var(--paper) 100%)}
.hero-copy{position:relative;z-index:4;max-width:var(--shell);padding-right:650px}
.route-label,.section-index{
  margin:0 0 18px;
  color:var(--route-dark);
  font-family:Consolas,"Microsoft YaHei UI",sans-serif;
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
}
.route-label{display:flex;align-items:center;gap:10px}
.route-label span{width:28px;height:3px;background:var(--route)}
.hero-copy h1{
  margin:0;
  font-family:"Microsoft JhengHei UI","Microsoft YaHei UI",sans-serif;
  font-size:clamp(50px,6vw,82px);
  line-height:1.04;
  letter-spacing:-.06em;
  font-weight:900;
}
.hero-intro{max-width:490px;margin:26px 0 30px;color:#516673;font-size:17px}
.map-stage{
  position:relative;
  min-height:620px;
  margin-top:-150px;
  transform:translateX(295px) rotate(-3deg);
  transform-origin:center;
  overflow:hidden;
  border:1px solid #ccd4d8;
  border-radius:20px;
  background:
    linear-gradient(33deg,transparent 47%,rgba(214,221,225,.34) 48%,rgba(214,221,225,.34) 51%,transparent 52%),
    linear-gradient(105deg,transparent 43%,rgba(214,221,225,.27) 44%,rgba(214,221,225,.27) 47%,transparent 48%),
    #edf1f2;
  box-shadow:0 36px 90px rgba(13,41,65,.14);
}
.diagram-note{
  position:absolute;top:21px;right:26px;z-index:6;margin:0;padding:6px 10px;border-radius:4px;
  background:rgba(255,255,255,.84);color:#63747e;font-size:11px;font-weight:700;letter-spacing:.08em;
}
.road{position:absolute;z-index:1;border-radius:40px;background:var(--road);box-shadow:inset 0 0 0 7px var(--road-light)}
.road::after{content:"";position:absolute;inset:50% 0 auto;border-top:2px dashed rgba(255,255,255,.95)}
.road-a{width:110%;height:36px;left:-10%;top:120px;transform:rotate(8deg)}
.road-b{width:90%;height:30px;left:5%;top:370px;transform:rotate(-12deg)}
.road-c{width:72%;height:38px;right:-9%;top:500px;transform:rotate(22deg)}
.road-d{width:35px;height:115%;left:43%;top:-10%;transform:rotate(15deg)}
.road-d::after,.road-e::after,.road-f::after{inset:0 auto 0 50%;border-top:0;border-left:2px dashed rgba(255,255,255,.95)}
.road-e{width:29px;height:100%;left:72%;top:-12%;transform:rotate(-21deg)}
.road-f{width:25px;height:75%;left:18%;top:25%;transform:rotate(-32deg)}
.route-line{position:absolute;z-index:2;height:11px;border-radius:20px;background:var(--route);box-shadow:0 0 0 4px rgba(18,168,141,.12)}
.route-line-a{width:330px;left:260px;top:337px;transform:rotate(-12deg)}
.route-line-b{width:230px;left:548px;top:287px;transform:rotate(18deg);transform-origin:left}
.location-pin{
  position:absolute;z-index:4;width:26px;height:26px;border:7px solid var(--ink);border-radius:50% 50% 50% 0;
  background:var(--white);transform:rotate(-45deg);filter:drop-shadow(0 6px 5px rgba(13,41,65,.22));
}
.pin-start{left:244px;top:319px}
.pin-end{left:756px;top:338px}
.turn-cue{
  position:absolute;z-index:5;left:560px;top:255px;width:50px;height:50px;display:grid;place-items:center;border-radius:10px;
  background:var(--cue);color:var(--white);font-size:28px;font-weight:900;box-shadow:0 9px 18px rgba(239,135,57,.28);
}
.route-search{
  position:absolute;z-index:7;left:38px;top:34px;width:245px;padding:12px 15px;border:1px solid #d5dde1;border-radius:12px;
  background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(13,41,65,.12);
}
.route-search>div{position:relative;display:flex;gap:12px;align-items:center;padding:8px 0}
.route-search>div:not(:last-child)::after{content:"";position:absolute;left:5px;top:33px;width:2px;height:17px;background:#c8d2d7}
.step-mark{position:relative;z-index:2;flex:0 0 12px;width:12px;height:12px;border:3px solid var(--ink);border-radius:50%;background:#fff}
.step-mark.via{border-color:var(--cue);border-radius:2px}
.step-mark.finish{border-color:var(--route)}
.route-search p{margin:0;display:flex;flex-direction:column;line-height:1.3}
.route-search small{color:#84919a;font-size:10px}
.route-search strong{font-size:13px}
.route-summary{
  position:absolute;z-index:7;left:50px;bottom:42px;width:305px;padding:22px;border-radius:15px;background:var(--ink);color:#fff;
  box-shadow:0 22px 45px rgba(13,41,65,.25);
}
.summary-title{margin:0 0 12px;font-size:12px;letter-spacing:.15em;color:#a9becd}
.summary-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid rgba(255,255,255,.13)}
.summary-row>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1b435e;color:#a9becd;font:700 11px Consolas}
.summary-row.active>span{background:var(--route);color:#fff}
.summary-row p{margin:0;display:flex;flex-direction:column;line-height:1.4}
.summary-row strong{font-size:13px}.summary-row small{color:#a9becd;font-size:10px}
.device-on-map{
  position:absolute;z-index:5;right:64px;bottom:10px;width:410px;margin:0;transform:rotate(3deg);
  filter:drop-shadow(0 24px 30px rgba(13,41,65,.16));
}

.preference-strip{padding:0 0 92px}
.preference-layout{
  display:grid;grid-template-columns:1.1fr .85fr 1fr;align-items:center;gap:55px;padding:34px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.preference-layout h2,.location-copy h2,.walk-layout h2,.log-layout h2,.drawer-layout h2,.destination-layout h2{
  margin:0;font-size:clamp(30px,4vw,48px);line-height:1.15;letter-spacing:-.045em;
}
.preference-layout .section-index{margin-bottom:9px}
.preference-control{padding:17px 18px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px}
.preference-control .control-label{display:block;margin-bottom:10px;color:#75858f;font-size:11px}
.preference-control strong{color:var(--route-dark)}
.preference-control i{display:inline-block;width:44px;height:22px;margin:0 12px;vertical-align:middle;border-radius:15px;background:var(--route);position:relative}
.preference-control i::after{content:"";position:absolute;width:16px;height:16px;left:24px;top:3px;border-radius:50%;background:#fff}
.preference-copy{margin:0;color:#5f717c;font-size:14px}

.device-location{padding:90px 0 130px;background:#fff}
.location-layout{display:grid;grid-template-columns:190px .8fr 1.25fr;align-items:center;gap:54px}
.location-sign{
  position:relative;align-self:stretch;min-height:440px;padding:34px 25px;border-radius:95px 95px 14px 14px;background:var(--ink);color:#fff;text-align:center;
}
.sign-icon{display:block;width:48px;height:48px;margin:5px auto 38px;border:12px solid var(--route);border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
.location-sign p{margin:0;color:#9fb4c3;font-size:12px;letter-spacing:.18em}
.location-sign strong{display:block;margin-top:14px;font-size:20px;line-height:1.45}
.location-sign::after{content:"";position:absolute;left:50%;bottom:-70px;width:8px;height:82px;background:var(--ink);transform:translateX(-50%)}
.location-copy p:not(.section-index){margin:24px 0 28px;color:#5d707c}
.product-landscape{margin:0;border-left:1px solid var(--line);padding-left:34px}

.direction-walkthrough{padding:120px 0;background:var(--paper)}
.walk-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:100px}
.walk-layout header>p:last-child{max-width:420px;color:#687a85}
.direction-list{position:relative;margin:0;padding:0;list-style:none}
.direction-list::before{content:"";position:absolute;left:30px;top:50px;bottom:50px;width:4px;background:var(--route)}
.direction-list li{
  position:relative;display:grid;grid-template-columns:62px 1fr 62px;align-items:center;gap:24px;min-height:142px;border-bottom:1px solid var(--line);
}
.direction-number{position:relative;z-index:2;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--ink);color:#fff;font:800 15px Consolas}
.direction-list small{color:var(--route-dark);font-size:11px;font-weight:800;letter-spacing:.16em}
.direction-list h3{margin:3px 0;font-size:20px}.direction-list p{margin:0;color:#687a85;font-size:14px}
.direction-list b{font-size:34px;text-align:center;color:var(--route)}.direction-list b.orange{color:var(--cue)}

.guidance-log{padding:110px 0;background:var(--ink);color:#fff}
.log-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:100px}
.log-layout .section-index{color:#73d7c6}
.log-lines article{display:grid;grid-template-columns:75px 1fr;column-gap:28px;padding:27px 0;border-top:1px solid rgba(255,255,255,.18)}
.log-lines article:last-child{border-bottom:1px solid rgba(255,255,255,.18)}
.log-lines span{grid-row:1/3;color:#73d7c6;font:700 12px Consolas;letter-spacing:.12em}
.log-lines h3{margin:0 0 7px;font-size:20px}.log-lines p{margin:0;color:#aebdc7;font-size:14px}

.help-drawer{position:relative;padding:38px 0 105px;background:#fff;border-radius:30px 30px 0 0}
.drawer-handle{width:72px;height:5px;margin:0 auto 48px;border-radius:6px;background:#c9d1d5}
.drawer-layout{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:26px;align-items:start}
.drawer-layout details{border-top:3px solid var(--route);padding:20px 0}
.drawer-layout summary{cursor:pointer;font-weight:800;list-style:none}
.drawer-layout summary::after{content:"+";float:right;color:var(--route);font-size:20px}
.drawer-layout details[open] summary::after{content:"−"}
.drawer-layout details p{margin:12px 0 0;color:#637580;font-size:14px}
.help-link{grid-column:2/4;justify-self:end;color:var(--route-dark);font-size:14px;font-weight:800}

.destination-cta{padding:52px 0;background:var(--route)}
.destination-layout{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:24px;color:#fff}
.destination-layout p{margin:0;font-size:12px;font-weight:800;letter-spacing:.18em}
.destination-pin{width:54px;height:54px;border:14px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
.cta-light{border-color:#fff;background:#fff;color:var(--ink)}
.cta-light:hover{background:#eef7f5}

.site-footer{padding:72px 0 28px;background:#081d2d;color:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px;padding-bottom:50px}
.footer-grid h2{margin:0 0 12px;font-size:28px}.footer-grid h3{margin:0 0 16px;color:#7fd3c5;font-size:13px}
.footer-grid p{max-width:440px;margin:0;color:#9fb0bc;font-size:14px}
.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:9px}
.footer-grid a{color:#c6d1d8;font-size:14px}
.footer-grid a:hover{color:#fff}
.copyright{padding-top:24px;border-top:1px solid rgba(255,255,255,.13);color:#758b99;font-size:12px}

@media (max-width:980px){
  .nav-links{display:none}
  .hero-copy{padding-right:0;max-width:680px}
  .map-stage{margin-top:55px;transform:rotate(-2deg);min-height:590px}
  .preference-layout{grid-template-columns:1fr 1fr}.preference-copy{grid-column:1/-1}
  .location-layout{grid-template-columns:150px 1fr}.product-landscape{grid-column:2}
  .walk-layout,.log-layout{grid-template-columns:1fr;gap:55px}
  .drawer-layout{grid-template-columns:1fr 1fr}.drawer-layout>div{grid-column:1/-1}.help-link{grid-column:1/-1}
}

@media (max-width:680px){
  .shell{width:min(calc(100% - 28px),var(--shell))}
  .nav{height:68px}.nav>.cta{min-width:104px;margin-left:auto}.brand{font-size:18px}
  .route-hero{padding:58px 0 72px}
  .hero-copy h1{font-size:47px}
  .map-stage{min-height:680px;margin-top:45px;transform:none}
  .diagram-note{top:12px;right:12px}
  .route-search{top:48px;left:18px;right:18px;width:auto}
  .route-summary{left:18px;right:18px;bottom:20px;width:auto}
  .device-on-map{right:30px;bottom:240px;width:300px}
  .route-line-a{left:50px;top:365px;width:210px}.route-line-b{left:230px;top:325px;width:150px}
  .pin-start{left:40px;top:348px}.pin-end{left:auto;right:30px;top:355px}.turn-cue{left:220px;top:295px}
  .preference-strip{padding-bottom:55px}.preference-layout{grid-template-columns:1fr;gap:24px}.preference-copy{grid-column:auto}
  .device-location{padding:70px 0 100px}
  .location-layout{grid-template-columns:1fr;gap:40px}
  .location-sign{min-height:auto;border-radius:14px;padding:25px;text-align:left}
  .sign-icon{display:inline-block;width:34px;height:34px;margin:0 20px 0 0;border-width:8px;vertical-align:middle}
  .location-sign p,.location-sign strong{display:inline}.location-sign strong{margin-left:8px;font-size:16px}.location-sign::after{display:none}
  .product-landscape{grid-column:auto;border-left:0;border-top:1px solid var(--line);padding:30px 0 0}
  .direction-walkthrough,.guidance-log{padding:80px 0}
  .direction-list li{grid-template-columns:52px 1fr;gap:16px;padding:18px 0}.direction-list b{display:none}
  .direction-list::before{left:24px}.direction-number{width:50px;height:50px}
  .direction-list h3{font-size:17px}
  .log-lines article{grid-template-columns:58px 1fr;column-gap:16px}.log-lines h3{font-size:17px}
  .drawer-layout{grid-template-columns:1fr}.drawer-layout>div,.help-link{grid-column:auto}.help-link{justify-self:start}
  .destination-layout{grid-template-columns:48px 1fr}.destination-pin{width:42px;height:42px;border-width:10px}.destination-layout .cta{grid-column:1/-1;width:100%}
  .footer-grid{grid-template-columns:1fr 1fr;gap:34px}.footer-grid>div:first-child{grid-column:1/-1}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}

/* Hero media safety override: preserve source proportions and prevent crop/stretch. */
.map-stage{align-items:center}
.device-on-map{align-self:center;height:auto;padding:0;margin:0;overflow:visible}
.device-on-map img,
.product-landscape img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:center;
  min-height:0;
  max-height:none;
  margin:0;
  padding:0;
  clip-path:none;
  transform:none;
}
