/* 舵手 Helmsman — dsh-ds.com
   单页静态站点。无外部字体、无 CDN，全部走本域名。 */

:root {
  --navy: #06182f;
  --navy-soft: #0a2445;
  --ink: #0b1b30;
  --muted: #5a6b84;
  --blue: #0a6cff;
  --blue-deep: #0a57cc;
  --gold: #f0b429;
  --ice: #f3f7ff;
  --line: #e2eaf7;
  --max: 1160px;
  --shadow-sm: 0 10px 30px -18px rgba(10, 50, 110, .35);
  --shadow: 0 22px 60px -28px rgba(10, 50, 110, .35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.18;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

::selection { background: #cfe2ff; color: #06214a; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid #7db1ff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.btn--primary {
  background: linear-gradient(180deg, #1b7cff, #0a5fdf);
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(10, 108, 255, .85);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -14px rgba(10, 108, 255, .95);
}

.btn--ghost {
  color: #e8f0ff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .35);
}

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 24, 47, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6);
}
.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.1;
}
.brand__text em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .26em;
  color: rgba(200, 218, 244, .62);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14.5px;
  color: rgba(214, 228, 249, .8);
}
.nav__links a {
  text-decoration: none;
  padding: 6px 2px;
  transition: color .15s ease;
}
.nav__links a:hover { color: #fff; }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #eaf2ff;
  padding: 148px 0 104px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(880px 620px at 76% 16%, rgba(24, 106, 255, .36), transparent 62%),
    radial-gradient(760px 560px at 6% -6%, rgba(23, 84, 194, .3), transparent 64%),
    linear-gradient(180deg, #05142a 0%, #071b36 52%, #06182f 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(72% 62% at 60% 36%, #000 20%, transparent 76%);
  mask-image: radial-gradient(72% 62% at 60% 36%, #000 20%, transparent 76%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 12px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  font-size: 13px;
  color: #b8cde9;
  letter-spacing: .01em;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, .16);
}

.hero h1 {
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.hero h1 .grad {
  background: linear-gradient(96deg, #ffffff 8%, #9ec7ff 58%, #6ba8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 480px;
  margin-top: 26px;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.75;
  color: rgba(208, 223, 245, .82);
}
.lede strong { color: #fff; font-weight: 650; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: rgba(178, 199, 228, .78);
}
.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.facts li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fc0ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 11px 11px no-repeat,
    rgba(52, 122, 255, .18);
}

/* 手机与浮层 */

.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 500px);
  padding: 30px 0;
}

.halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 121, 255, .38), rgba(38, 121, 255, 0) 66%);
  filter: blur(6px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 320px;
  margin-inline: auto;
  padding: 7px;
  border-radius: 42px;
  background: linear-gradient(160deg, #22344f, #0a1424 55%, #16263d);
  box-shadow:
    0 50px 90px -34px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(255, 255, 255, .1) inset,
    0 2px 0 rgba(255, 255, 255, .16) inset;
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 35px;
}

.float {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 26px 54px -20px rgba(2, 20, 50, .55), 0 0 0 1px rgba(9, 40, 90, .05);
  animation: floaty 7s ease-in-out infinite;
}

.float--ask {
  width: 218px;
  top: 24%;
  left: -8%;
  padding: 13px 15px 14px;
}
.float__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.tag {
  display: inline-block;
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tag--gold {
  color: #8a5a00;
  background: #fff2cf;
}
.float__meta { font-size: 11.5px; color: #96a3b6; }

.float__title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.float__sub {
  margin-top: 3px;
  font-size: 12px;
  color: #7b8aa1;
  font-variant-numeric: tabular-nums;
}
.float__btns {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.mini {
  flex: 1;
  padding: 6px 0;
  border-radius: 9px;
  background: #eef2f8;
  color: #53627a;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}
.mini--solid {
  background: linear-gradient(180deg, #1b7cff, #0a5fdf);
  color: #fff;
}

.float--done {
  display: flex;
  align-items: center;
  gap: 10px;
  right: -4%;
  bottom: 10%;
  padding: 11px 16px 11px 12px;
  animation-delay: -3.4s;
}
.float__check {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: #e7f8ef;
  color: #16a05d;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 通用区块 ---------- */

.section { padding: 104px 0; }

section[id] { scroll-margin-top: 92px; }

.section--tint {
  background: linear-gradient(180deg, #f8fbff, #eef4ff 58%, #f8fbff);
  border-top: 1px solid #e9f0fb;
  border-bottom: 1px solid #e9f0fb;
}

.sec-head {
  max-width: 700px;
  margin-bottom: 54px;
}
.kicker {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .16em;
  color: var(--blue);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: 4px;
  border-radius: 2px;
  background: currentColor;
}
.kicker--light { color: #7fb2ff; }

.sec-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.03em;
}
.sec-sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- 三条承诺 ---------- */

.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.promise {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.promise:hover {
  transform: translateY(-4px);
  border-color: #cfe0f8;
  box-shadow: var(--shadow);
}
.promise__num {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: .2em;
  color: #9db6da;
}
.promise h3 {
  margin: 20px 0 12px;
  font-size: 23px;
}
.promise p {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--muted);
}
.promise__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #dde7f6;
  font-size: 13.5px !important;
  color: #7d8ca4 !important;
}

/* ---------- 三步 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 34px;
  border-top: 2px solid #d9e5f7;
}
.step__num {
  position: absolute;
  top: -19px;
  left: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1b7cff, #0a5fdf);
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  box-shadow: 0 10px 22px -10px rgba(10, 108, 255, .9);
}
.step h3 {
  font-size: 19.5px;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--muted);
}
.step__meta {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #1a5fce;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

/* ---------- 能力 ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #cfe0f8;
  box-shadow: var(--shadow-sm);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: #edf4ff;
  color: #0a5fdf;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 边界 ---------- */

.limits {
  background:
    radial-gradient(760px 520px at 84% 8%, rgba(24, 106, 255, .22), transparent 62%),
    var(--navy);
  color: #dfe9f8;
  padding-bottom: 0;
}

.limits__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.limits h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  color: #fff;
  letter-spacing: -.03em;
}
.limits__copy p:last-child {
  margin-top: 20px;
  max-width: 380px;
  font-size: 15.5px;
  color: rgba(198, 215, 238, .72);
}

.limits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.limits__list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.cross {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cross::before,
.cross::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.6px;
  border-radius: 2px;
  background: #9fb4d4;
}
.cross::before { transform: translate(-50%, -50%) rotate(45deg); }
.cross::after { transform: translate(-50%, -50%) rotate(-45deg); }

.limits__list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
}
.limits__list p {
  font-size: 14.5px;
  color: rgba(198, 215, 238, .7);
}

/* 收尾 CTA */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 84px;
  padding-top: 54px;
  padding-bottom: 76px;
  padding-right: 190px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cta__text { max-width: 620px; }
.cta h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  color: #fff;
}
.cta p {
  margin-top: 12px;
  font-size: 15.5px;
  color: rgba(198, 215, 238, .72);
}
.cta .btn { margin-left: auto; flex: none; }
.cta__pet {
  position: absolute;
  right: 0;
  bottom: 6px;
  width: 150px;
  height: auto;
  opacity: .92;
  transform: rotate(-6deg);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45));
  pointer-events: none;
}

/* ---------- 页脚 ---------- */

.footer {
  padding: 30px 0;
  background: #f6f9ff;
  border-top: 1px solid #e6eefb;
  color: #6d7d95;
  font-size: 13px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3c4d66;
  font-weight: 650;
}
.footer__brand img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.footer__tag {
  font-weight: 400;
  color: #8794a9;
}
.footer__meta {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer__meta a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer__meta a:hover { border-bottom-color: currentColor; }
.footer__sep { color: #c2cede; }

/* ---------- 进场动画（有 JS 才启用） ---------- */

body.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
body.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero__grid { gap: 20px; }
  .float--ask { left: 0; width: 196px; }
  .float--done { right: 0; }
  .limits__grid { gap: 48px; }
}

@media (max-width: 980px) {
  .hero { padding: 128px 0 96px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .hero__copy { max-width: 640px; }
  .hero__visual { width: min(100%, 430px); }
  .promises, .grid, .steps { grid-template-columns: 1fr 1fr; }
  .limits__grid { grid-template-columns: 1fr; }
  .limits__copy p:last-child { max-width: 560px; }
  .cta { flex-wrap: wrap; padding-right: 0; }
  .cta .btn { margin-left: 0; }
  .cta__pet { right: 0; bottom: 8px; width: 112px; opacity: .5; }
  .nav__links { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .sec-head { margin-bottom: 40px; }
  .promises, .grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 40px; }
  .hero { padding: 112px 0 64px; }
  .float { display: none; }
  .phone { width: 272px; }
  .cta { padding-bottom: 48px; }
  .cta__pet { display: none; }
  .footer__inner { justify-content: flex-start; }
  .facts { gap: 8px 18px; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 18px; }
  .actions .btn { flex: 1 1 auto; }
  .phone { width: 248px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  body.js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* 打印：去掉装饰 */
@media print {
  .nav, .float, .halo, .cta__pet { display: none !important; }
  .hero { background: #fff; color: #000; }
}
