@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/syne-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #12242f;
  --ink-soft: #243846;
  --teal: #0f7a72;
  --teal-deep: #0b5f59;
  --sky: #c8dde8;
  --frost: #e9f2f6;
  --paper: #f3f7f9;
  --line: rgba(18, 36, 47, 0.14);
  --muted: #516570;
  --white: #f8fcfd;
  --font-brand: "Syne", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* —— Header —— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--teal-deep);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 5.5rem 0 3.5rem;
}

.hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 48% at 78% 42%, rgba(15, 122, 114, 0.18), transparent 70%),
    radial-gradient(ellipse 70% 55% at 18% 8%, rgba(200, 221, 232, 0.95), transparent 62%),
    linear-gradient(160deg, #b9d0dd 0%, #d7e7ef 38%, #e8f1f5 68%, var(--paper) 100%);
  animation: wash-breathe 12s var(--ease) infinite alternate;
}

.hero__clock {
  position: absolute;
  left: max(52%, calc(50% + 40px));
  top: 50%;
  width: min(46vw, 560px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0;
  animation: clock-in 1.15s var(--ease) 0.12s forwards;
}

.hero__clock-ring {
  fill: rgba(248, 252, 253, 0.42);
  stroke: rgba(18, 36, 47, 0.38);
  stroke-width: 5;
}

.hero__clock-ring--inner {
  fill: none;
  stroke: rgba(15, 122, 114, 0.55);
  stroke-width: 2.5;
  stroke-dasharray: 8 14;
  animation: ring-spin 48s linear infinite;
  transform-origin: 320px 320px;
}

.hero__clock-marks line {
  stroke: rgba(18, 36, 47, 0.62);
  stroke-width: 5;
  stroke-linecap: round;
}

.hero__clock-hands {
  transform-origin: 320px 320px;
  animation: hand-settle 1.4s var(--ease) 0.55s both;
}

.hero__hand {
  stroke: var(--ink);
  stroke-linecap: round;
}

.hero__hand--hour {
  stroke-width: 12;
}

.hero__hand--minute {
  stroke: var(--teal);
  stroke-width: 8;
}

.hero__hand-hub {
  fill: var(--ink);
}

.hero__clock-label {
  fill: rgba(18, 36, 47, 0.58);
  font-family: var(--font-brand);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__desk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(243, 247, 249, 0.4) 40%, var(--paper) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
  width: 100%;
}

.hero__content > * {
  max-width: min(30rem, 50%);
}

.hero__brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(3.6rem, 8.5vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: none;
  width: max-content;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise-in 0.9s var(--ease) 0.1s forwards;
}

.hero__headline {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(0.9rem);
  animation: rise-in 0.85s var(--ease) 0.24s forwards;
}

.hero__support {
  margin: 0 0 1.7rem;
  max-width: 26rem;
  font-size: 1.06rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(0.9rem);
  animation: rise-in 0.85s var(--ease) 0.36s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
  max-width: min(34rem, 58%);
  opacity: 0;
  transform: translateY(0.9rem);
  animation: rise-in 0.85s var(--ease) 0.48s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(248, 252, 253, 0.55);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(18, 36, 47, 0.28);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--teal);
  color: var(--teal-deep);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clock-in {
  from {
    opacity: 0;
    transform: translateY(-46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes hand-settle {
  from {
    transform: rotate(-18deg);
    opacity: 0.35;
  }
  to {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes wash-breathe {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.08);
  }
}

/* —— Products —— */
.section {
  padding: 5.25rem 0 4.5rem;
  background: var(--paper);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.section__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section__lead {
  margin: 0 0 2.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
}

.product-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.25rem;
  align-items: start;
  padding: 1.35rem 0 1.45rem;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product-link + .product-link {
  border-top: none;
}

.product-link:hover {
  transform: translateX(6px);
  border-color: rgba(15, 122, 114, 0.45);
}

.product-link__mark {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-top: 0.2rem;
  color: var(--teal-deep);
  background: linear-gradient(160deg, rgba(200, 221, 232, 0.55), rgba(15, 122, 114, 0.08));
  transition: color 0.2s var(--ease), background 0.25s var(--ease);
}

.product-link__mark svg {
  width: 1.7rem;
  height: 1.7rem;
}

.product-link:hover .product-link__mark {
  color: var(--ink);
  background: linear-gradient(160deg, rgba(15, 122, 114, 0.16), rgba(200, 221, 232, 0.4));
}

.product-link__body {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.product-link__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
}

.product-link__name {
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.3s var(--ease), color 0.2s var(--ease);
  width: fit-content;
}

.product-link__status {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
  border: 1px solid rgba(15, 122, 114, 0.28);
  padding: 0.18rem 0.5rem;
  line-height: 1.2;
}

.product-link:hover .product-link__name {
  background-size: 100% 2px;
  color: var(--teal-deep);
}

.product-link__caps {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.product-link__desc {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-link__go {
  margin-top: 0.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-deep);
}

/* —— Custom / lead CTA —— */
.custom {
  padding-top: 0;
}

.lead-cta {
  padding: 2.4rem 0 0.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(ellipse 65% 90% at 50% 0%, rgba(15, 122, 114, 0.08), transparent 68%);
}

.lead-cta__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
}

.lead-cta__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 700;
  color: var(--ink);
}

.lead-cta__lead {
  margin: 0 auto 1.15rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.lead-cta__action {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.lead-cta__hint {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--paper);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1rem;
}

.site-footer__links {
  margin: 0;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

.site-footer__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover {
  color: var(--teal-deep);
}

.site-footer__contact {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer__copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.wechat-copy {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--teal-deep);
  font: inherit;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.05rem 0.15rem;
  border-bottom: 1px dashed rgba(15, 122, 114, 0.45);
}

.wechat-copy:hover {
  color: var(--teal);
}

.wechat-copy.is-copied {
  color: var(--teal-deep);
  border-bottom-color: transparent;
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .hero__content > * {
    max-width: 22rem;
  }

  .hero__actions {
    max-width: 24rem;
  }

  .hero__clock {
    left: auto;
    right: -14%;
    width: min(68vw, 460px);
    opacity: 0.72;
  }

  .hero__clock-label {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: end;
    padding: 0 0 3.25rem;
  }

  .hero__content {
    padding-top: 5.5rem;
  }

  .hero__content > * {
    max-width: none;
  }

  .hero__actions {
    max-width: none;
  }

  .hero__clock {
    top: 38%;
    left: auto;
    right: -40%;
    width: 115vw;
    max-width: none;
    opacity: 0.4;
  }

  .hero__brand {
    font-size: clamp(3.4rem, 18vw, 4.8rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .product-link {
    grid-template-columns: auto 1fr;
    gap: 0.75rem 0.9rem;
  }

  .product-link__mark {
    width: 2.6rem;
    height: 2.6rem;
  }

  .product-link__mark svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .section {
    padding: 3.5rem 0 3.25rem;
  }

  .product-link:hover {
    transform: translateX(3px);
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 0.45rem;
  }

  .site-nav {
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-nav a {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__brand,
  .hero__headline,
  .hero__support,
  .hero__actions,
  .hero__clock,
  .hero__clock-hands {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero__clock {
    transform: translateY(-50%);
  }

  .hero__clock-ring--inner,
  .hero__wash {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-link:hover,
  .btn--primary:hover {
    transform: none;
  }
}
