/* =========================================================================
   江苏信创云 · 企业名片 H5
   ========================================================================= */

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}

:root {
  --ink: #0a1b33;
  --ink-soft: #3d4d66;
  --muted: #6f7e93;
  --faint: #97a5b8;
  --line: rgba(10, 27, 51, 0.09);
  --paper: #ffffff;
  --accent: #1f5eff;
  --accent-2: #16a4c6;
  --accent-soft: rgba(31, 94, 255, 0.09);
  --navy: #071426;
  --font: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "Inter", "Bahnschrift", "DIN Alternate", "PingFang SC", sans-serif;
  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: #e9eef6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  background: #e9eef6;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: rgba(31, 94, 255, 0.18);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 20px calc(env(safe-area-inset-bottom, 0px) + 8px);
  overflow: hidden;
  isolation: isolate;
  background: #eef2f8;
}

/* ---------------------------------------------------------- background -- */

.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(168deg, #fbfcfe 0%, #edf1f7 40%, #e5eaf2 68%, #f2f5f9 100%);
}

.ambient > span {
  position: absolute;
  display: block;
  pointer-events: none;
}

.silk-a {
  top: -58%;
  right: -46%;
  width: 132%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 196deg at 50% 50%,
    #ffffff 0deg,
    #dbe3ef 34deg,
    #a9b9d2 66deg,
    #f7faff 96deg,
    #cfdaeb 128deg,
    #ffffff 160deg,
    #b9c7dd 196deg,
    #f4f7fc 226deg,
    #c6d3e6 262deg,
    #ffffff 300deg,
    #d6e0ef 332deg,
    #ffffff 360deg
  );
  filter: blur(16px);
  opacity: 0.9;
  transform: rotate(-10deg);
}

.silk-b {
  top: 6%;
  left: -46%;
  width: 96%;
  height: 94%;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0) 24%,
    rgba(255, 255, 255, 0.94) 44%,
    rgba(204, 218, 236, 0.55) 52%,
    rgba(255, 255, 255, 0) 68%
  );
  filter: blur(26px);
  transform: rotate(8deg);
  opacity: 0.9;
}

.silk-c {
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 48%;
  background: linear-gradient(180deg, rgba(247, 249, 252, 0) 0%, rgba(248, 250, 253, 0.88) 48%, #f5f8fc 78%, #f2f5fa 100%);
  filter: blur(10px);
}

.flare {
  top: 7%;
  left: -14%;
  width: 86%;
  height: 2px;
  transform: rotate(-31deg);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(143, 196, 255, 0.7) 24%,
    rgba(255, 255, 255, 0.65) 42%,
    rgba(31, 94, 255, 0.4) 62%,
    rgba(22, 164, 198, 0.35) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(2.5px);
  opacity: 0.55;
}

.grain {
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
}

/* -------------------------------------------------------------- topbar -- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: none;
  padding-top: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: auto;
  flex: none;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding-left: 9px;
  border-left: 1px solid rgba(10, 27, 51, 0.12);
}

.brand-text b {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 6.2px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--faint);
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 6px 10px 6px 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #55657c;
  border: 1px solid rgba(10, 27, 51, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(8px);
}

.pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.12);
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  flex: none;
  margin-top: 10px;
  min-height: 206px;
  display: flex;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 62%;
  padding-top: 6px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #5d6d84;
}

.tagline-line {
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.name {
  margin: 0;
  font-size: clamp(38px, 10.8vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #071426;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.role-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.role {
  display: inline-block;
  padding: 3px 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #44546b;
  border: 1px solid rgba(10, 27, 51, 0.16);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
}

.role-rule {
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(10, 27, 51, 0.22), rgba(10, 27, 51, 0));
}

.company {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 13px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #5b6b82;
  max-width: 98%;
}

.company-dot {
  flex: none;
  width: 4px;
  height: 4px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.1);
}

.tel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 4px 2px 0;
  transition: transform 0.3s var(--ease);
}

.tel:active {
  transform: scale(0.985);
}

.tel-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2f7cff, #1f5eff);
  box-shadow: 0 5px 12px -3px rgba(31, 94, 255, 0.55);
}

.tel-icon .icon {
  width: 14px;
  height: 14px;
}

.tel-num {
  font-family: var(--mono);
  font-size: clamp(19px, 5.2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* portrait */

.portrait {
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -6px;
  width: 47%;
  height: 206px;
  margin: 0;
  pointer-events: none;
}

.portrait-halo {
  position: absolute;
  left: 2%;
  top: 4%;
  width: 98%;
  height: 88%;
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  filter: blur(8px);
}

.portrait-frame {
  position: absolute;
  left: 6%;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 50% 50% 16px 16px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(155deg, #dbe6f5 0%, #f2f7ff 45%, #bfd0e8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 18px 34px -18px rgba(10, 27, 51, 0.35);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(31, 94, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 94, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 75%);
  pointer-events: none;
}

.portrait img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  filter: saturate(0.96) contrast(1.02);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 80%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
}

.monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 96px;
  font-weight: 700;
  color: rgba(31, 94, 255, 0.08);
  letter-spacing: 0;
  -webkit-text-stroke: 1.2px rgba(31, 94, 255, 0.38);
  text-shadow: 0 8px 28px rgba(31, 94, 255, 0.12);
}

.portrait.has-avatar .monogram {
  display: none;
}

.portrait-tag {
  position: absolute;
  right: 2px;
  bottom: 8px;
  z-index: 3;
  padding: 4px 7px;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(7, 20, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------- quick -- */

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: none;
  margin-top: 14px;
  padding: 9px 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(12px);
}

.quick-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 1px 0;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #66768c;
  background: none;
  border: 0;
  -webkit-touch-callout: none;
  transition: color 0.25s, transform 0.25s;
}

.quick-item + .quick-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  height: 72%;
  width: 1px;
  background: linear-gradient(180deg, rgba(10, 27, 51, 0), rgba(10, 27, 51, 0.1) 50%, rgba(10, 27, 51, 0));
}

.quick-item .icon {
  width: 17px;
  height: 17px;
}

.quick-item:active {
  color: var(--accent);
  transform: translateY(-1px);
}

.quick-item.has-qr::after {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(50% + 9px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(31, 94, 255, 0.14);
}

/* -------------------------------------------------------------- board -- */

.board {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  padding: 10px 13px 11px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 44px -24px rgba(10, 27, 51, 0.35), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(18px);
}

.tabs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(10, 27, 51, 0.07);
}

.tab {
  position: relative;
  padding: 5px 9px 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8d9caf;
  background: none;
  border: 0;
  transition: color 0.25s;
}

.tab::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.tab.is-active {
  color: #0d1f38;
  font-weight: 700;
}

.tab.is-active::after {
  transform: scaleX(1);
}

.panels {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 9px;
}

.panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}

.panel::-webkit-scrollbar {
  display: none;
}

.panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#panelIntro p {
  margin: 0 0 9px;
  font-size: 12.6px;
  line-height: 1.9;
  letter-spacing: 0.012em;
  text-align: justify;
  color: #4b5b72;
}

#panelIntro p:last-child {
  margin-bottom: 0;
}

#panelIntro strong {
  font-weight: 700;
  color: #0d1f38;
  background: linear-gradient(transparent 64%, rgba(31, 94, 255, 0.14) 64%);
  padding: 0 1px;
}

.panel-more {
  position: absolute;
  z-index: 3;
  right: 4px;
  bottom: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  color: #6f7e93;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(10, 27, 51, 0.09);
  border-radius: 50%;
  box-shadow: 0 4px 12px -4px rgba(10, 27, 51, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(6px);
}

.panel-more span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.panel-more .icon {
  width: 13px;
  height: 13px;
}

.panel-more.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* timeline */

.timeline {
  list-style: none;
  margin: 0;
  padding: 2px 0 0 26px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(31, 94, 255, 0.35), rgba(10, 27, 51, 0.08));
}

.timeline li {
  position: relative;
  padding-bottom: 11px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -22.5px;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--accent);
}

.timeline .phase {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-right: 6px;
}

.timeline .t-title {
  font-size: 12px;
  font-weight: 700;
  color: #0d1f38;
  letter-spacing: 0.02em;
}

.timeline .t-text {
  margin: 3px 0 0;
  font-size: 11.4px;
  line-height: 1.72;
  color: #68788f;
}

/* partners */

.partners {
  display: grid;
  gap: 7px;
  padding-bottom: 2px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(10, 27, 51, 0.07);
  border-radius: 10px;
  background: rgba(248, 250, 253, 0.85);
}

.partner .idx {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.partner .p-name {
  font-size: 11.4px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #33445c;
  line-height: 1.5;
}

.empty {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  border: 1px dashed rgba(10, 27, 51, 0.12);
  border-radius: 10px;
  text-align: center;
}

/* ------------------------------------------------------------ qr strip -- */

.qr-strip {
  position: relative;
  flex: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 9px;
  border-radius: 15px;
  border: 1px solid rgba(10, 27, 51, 0.06);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #f7f9fc, #eef3fa);
  overflow: hidden;
}

.qr-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(10, 27, 51, 0.1), 0 0 0 1px rgba(10, 27, 51, 0.05);
  flex: none;
}

.qr-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.qr-wrap.has-qr img {
  opacity: 1;
}

.qr-corner {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1.2px solid var(--accent);
  opacity: 0.55;
  pointer-events: none;
}

.qr-corner.tl {
  top: -3px;
  left: -3px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 3px;
}
.qr-corner.tr {
  top: -3px;
  right: -3px;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 3px;
}
.qr-corner.bl {
  bottom: -3px;
  left: -3px;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 3px;
}
.qr-corner.br {
  bottom: -3px;
  right: -3px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 3px;
}

.qr-copy {
  min-width: 0;
}

.qr-title {
  margin: 0 0 3px;
  font-size: 11.8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1d2d44;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qr-hint {
  margin: 0;
  font-size: 9.2px;
  letter-spacing: 0.03em;
  color: #8797ab;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 7px 9px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #fff;
  background: #0d1f38;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 5px 12px -4px rgba(10, 27, 51, 0.5);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.ghost-btn .icon {
  width: 13px;
  height: 13px;
}

.ghost-btn:active {
  transform: scale(0.96);
  background: #000;
}

/* ------------------------------------------------------------ subpages -- */

.frame.is-subpage .hero,
.frame.is-subpage .quick,
.frame.is-subpage .board {
  display: none;
}

.subpage {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 2px 12px;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.subpage::-webkit-scrollbar {
  display: none;
}

.subpage[hidden] {
  display: none !important;
}

.frame.is-subpage .subpage {
  display: block;
  animation: fade 0.35s var(--ease) both;
}

.subpage-inner {
  padding: 2px 0 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
}

.back-link::before {
  content: "←";
  color: var(--accent);
}

.sub-eyebrow {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.sub-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #071426;
}

.sub-desc {
  max-width: 520px;
  margin: 8px 0 20px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.sub-body {
  display: grid;
}

.sub-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.sub-num {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.sub-tag {
  display: inline-block;
  padding: 2px 6px;
  margin-bottom: 5px;
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(31, 94, 255, 0.08);
  border-radius: 3px;
}

.sub-item-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #14243b;
}

.sub-item-desc {
  margin: 4px 0 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: #68788f;
}

.sub-case {
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.sub-case img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sub-case-body {
  padding: 13px 14px 15px;
}

.sub-result {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 8px;
  font-size: 9.5px;
  color: var(--accent);
  background: rgba(31, 94, 255, 0.07);
  border-radius: 4px;
}

.sub-result .icon {
  width: 11px;
  height: 11px;
}

.sub-cred-list {
  border-top: 1px solid var(--line);
}

.sub-cred {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: #3e4e66;
}

.sub-cred-text {
  flex: 1;
}

.sub-note {
  margin: 14px 0 0;
  font-size: 10px;
  line-height: 1.8;
  color: var(--faint);
}

.sub-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  margin-top: 20px;
  padding: 0 16px;
  font-size: 11px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 7px;
}

/* --------------------------------------------------------------- dock -- */

.dock {
  flex: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 9px;
  padding: 5px 3px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px -16px rgba(10, 27, 51, 0.4);
  backdrop-filter: blur(16px);
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 3px 0 2px;
  font-size: 8.8px;
  letter-spacing: 0.04em;
  color: #7d8ca1;
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}

.dock-item .icon {
  width: 18px;
  height: 18px;
}

.dock-item.is-active {
  color: var(--accent);
  background: rgba(31, 94, 255, 0.06);
}

/* -------------------------------------------------------------- toast -- */

.toast {
  position: absolute;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  max-width: 78vw;
  padding: 9px 15px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  background: rgba(7, 20, 38, 0.94);
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, 10px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.not-found {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
  background:
    radial-gradient(90% 60% at 50% 18%, #ffffff 0%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(170deg, #f6f9fe, #e9eff8);
}

.not-found[hidden] {
  display: none;
}

.not-found img {
  width: 64px;
  height: auto;
  margin-bottom: 8px;
}

.nf-eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.not-found h2 {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 700;
  color: #0a1b33;
}

.not-found p {
  max-width: 280px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.nf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  margin-top: 18px;
  padding: 0 18px;
  font-size: 11.5px;
  color: #fff;
  text-decoration: none;
  background: var(--accent);
  border-radius: 7px;
}

/* ------------------------------------------------------------- sheets -- */

.sheet-layer {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  background: rgba(5, 14, 28, 0.42);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.sheet-layer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-panel {
  width: 100%;
  max-height: 84%;
  overflow-y: auto;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  background: #fbfcfe;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -24px 60px rgba(5, 14, 28, 0.25);
  transform: translateY(102%);
  transition: transform 0.42s var(--ease);
  scrollbar-width: none;
}

.sheet-panel::-webkit-scrollbar {
  display: none;
}

.sheet-layer.is-open .sheet-panel {
  transform: none;
}

.grabber {
  width: 34px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: rgba(10, 27, 51, 0.14);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sheet-eyebrow {
  margin: 0 0 5px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.sheet-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0d1f38;
}

.sheet-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  color: #4f5f75;
  background: #edf2f9;
  border: 0;
  border-radius: 50%;
}

.sheet-close .icon {
  width: 14px;
  height: 14px;
}

.sheet-sub {
  margin: 8px 0 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #7b8ba1;
}

.sheet-body {
  margin-top: 12px;
}

.sheet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sheet-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(10, 27, 51, 0.07);
}

.sheet-list li:last-child {
  border-bottom: 0;
}

.sheet-list .num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 2px;
  flex: none;
  width: 18px;
}

.sheet-list h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #17243a;
}

.sheet-list p {
  margin: 3px 0 0;
  font-size: 11.2px;
  line-height: 1.66;
  color: #6d7d93;
}

.sheet-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  text-align: left;
  background: none;
  border: 0;
}

.sheet-list .tag {
  flex: none;
  font-size: 8.5px;
  color: var(--accent);
}

.sheet-list .title {
  flex: 1;
  font-size: 12.5px;
  font-weight: 500;
  color: #17243a;
}

.sheet-list .icon {
  width: 13px;
  height: 13px;
  color: #a7b6ca;
}

.sheet-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
}

.sheet-desc {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #4b5b72;
}

.sheet-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 10px;
  color: var(--accent);
  background: rgba(31, 94, 255, 0.08);
  border-radius: 4px;
}

.sheet-result .icon {
  width: 12px;
  height: 12px;
}

.sheet-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.sheet-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  font-size: 11.5px;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 7px;
}

.contact-card {
  padding: 14px;
  border-radius: 10px;
  background: #f2f6fc;
  border: 1px solid rgba(10, 27, 51, 0.06);
}

.contact-card .label {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #8797ab;
}

.contact-card .hotline {
  display: block;
  margin: 4px 0 8px;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 600;
  color: #0d1f38;
  text-decoration: none;
}

.contact-card p {
  margin: 3px 0;
  font-size: 11px;
  line-height: 1.7;
  color: #63738a;
}

.wechat-qr-card {
  max-width: 300px;
  margin: 0 auto;
  padding: 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.wechat-qr-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  -webkit-touch-callout: default;
}

.wechat-qr-card p {
  margin: 10px 0 2px;
  font-size: 12px;
  font-weight: 600;
  color: #17243a;
}

.wechat-qr-card small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #8797ab;
}

.contact-wechat {
  max-width: 250px;
  margin: 14px auto 0;
  padding: 10px;
}

.legal {
  margin-top: 14px;
  font-size: 9px;
  line-height: 1.8;
  color: #9aa8bb;
}

/* -------------------------------------------------------------- motion -- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes portrait-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.frame.is-ready .topbar {
  animation: fade 0.7s var(--ease) both;
}

.frame.is-ready .tagline {
  animation: rise 0.7s 0.04s var(--ease) both;
}

.frame.is-ready .name {
  animation: rise 0.8s 0.1s var(--ease) both;
}

.frame.is-ready .role-row {
  animation: rise 0.7s 0.16s var(--ease) both;
}

.frame.is-ready .company {
  animation: rise 0.7s 0.22s var(--ease) both;
}

.frame.is-ready .tel {
  animation: rise 0.7s 0.28s var(--ease) both;
}

.frame.is-ready .portrait {
  animation: portrait-in 0.9s 0.08s var(--ease) both;
}

.frame.is-ready .quick {
  animation: rise 0.7s 0.3s var(--ease) both;
}

.frame.is-ready .board {
  animation: rise 0.8s 0.34s var(--ease) both;
}

.frame.is-ready .dock {
  animation: rise 0.7s 0.4s var(--ease) both;
}

/* ------------------------------------------------------------ compact --- */

@media (max-height: 760px) {
  .frame {
    padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
  .hero {
    min-height: 186px;
    margin-top: 6px;
  }
  .portrait {
    height: 178px;
  }
  .tagline {
    margin-bottom: 9px;
  }
  .company {
    margin-top: 9px;
  }
  .tel {
    margin-top: 8px;
  }
  .quick {
    margin-top: 10px;
    padding: 7px 0;
  }
  .board {
    margin-top: 9px;
  }
  .qr-wrap {
    width: 62px;
    height: 62px;
  }
  .qr-strip {
    margin-top: 7px;
    padding: 6px 7px;
  }
  .dock {
    margin-top: 7px;
    padding: 4px 3px;
  }
  .dock-item .icon {
    width: 17px;
    height: 17px;
  }
}

@media (max-height: 660px) {
  .hero {
    min-height: 164px;
  }
  .portrait {
    height: 154px;
  }
  .name {
    font-size: 34px;
  }
  .qr-wrap {
    width: 56px;
    height: 56px;
    padding: 4px;
  }
  .qr-hint {
    display: none;
  }
  .qr-title {
    font-size: 11px;
  }
  .qr-strip {
    gap: 8px;
  }
}

@media (max-width: 374px) {
  .frame {
    padding-left: 15px;
    padding-right: 15px;
  }
  .brand-text {
    display: none;
  }
  .pill {
    font-size: 8px;
    padding: 5px 8px;
  }
  .company {
    font-size: 10.6px;
  }
  .tel-num {
    font-size: 18px;
  }
  .ghost-btn span {
    display: none;
  }
  .ghost-btn {
    padding: 9px;
  }
}

/* ------------------------------------------------------------- desktop -- */

@media (min-width: 820px) and (min-height: 700px) {
  html,
  body {
    background: #0a0d12;
    overflow: hidden;
  }

  .screen {
    padding: 32px;
    background:
      radial-gradient(55% 45% at 50% -6%, #1c2740 0%, rgba(10, 13, 18, 0) 70%),
      radial-gradient(40% 34% at 82% 100%, #101a2e 0%, rgba(10, 13, 18, 0) 72%),
      radial-gradient(38% 34% at 10% 92%, #0f1726 0%, rgba(10, 13, 18, 0) 70%),
      #0a0d12;
  }

  .frame {
    width: 412px;
    height: min(900px, calc(100vh - 64px));
    height: min(900px, calc(100dvh - 64px));
    border-radius: 46px;
    padding-left: 22px;
    padding-right: 22px;
    box-shadow:
      0 60px 140px -30px rgba(0, 0, 0, 0.85),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 0 9px rgba(255, 255, 255, 0.025);
  }

  .toast {
    bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
