@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap");

:root {
  --tide-ink: #142033;
  --tide-muted: #5a6a7e;
  --tide-mint: #2bb8a6;
  --tide-mint-deep: #1a8f82;
  --tide-cherry: #e24b72;
  --tide-cherry-soft: #ffd6e2;
  --tide-sky: #e8f7f4;
  --tide-blush: #fff1f5;
  --tide-paper: #fbfcfe;
  --tide-line: rgba(20, 32, 51, 0.08);
  --tide-glass: rgba(255, 255, 255, 0.72);
  --tide-shadow: 0 18px 40px rgba(26, 88, 92, 0.12);
  --tide-radius: 22px;
  --tide-max: 1120px;
  --tide-font-display: "ZCOOL XiaoWei", "Noto Sans SC", sans-serif;
  --tide-font-body: "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--tide-font-body);
  color: var(--tide-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d9fff6 0%, transparent 55%),
    radial-gradient(900px 500px at 95% 5%, #ffe5ee 0%, transparent 50%),
    linear-gradient(180deg, var(--tide-sky) 0%, var(--tide-paper) 38%, var(--tide-blush) 100%);
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--tide-mint-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--tide-cherry);
}

.tide-wrap {
  width: min(100% - 28px, var(--tide-max));
  margin-inline: auto;
}

.tide-top-promo {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--tide-line);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  padding: 10px 0 6px;
}

.tide-promo-rail,
[data-tide-promo] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px 8px;
}

.tide-ad-chip {
  flex: 0 0 calc(25% - 8px);
  width: calc(25% - 8px);
  max-width: 78px;
  text-decoration: none;
  color: var(--tide-muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.25;
}

.tide-ad-chip img {
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(20, 32, 51, 0.12);
  transition: transform 0.2s ease;
}

.tide-ad-chip:hover img {
  transform: translateY(-3px);
}

.tide-ad-chip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .tide-ad-chip {
    flex-basis: calc(12.5% - 8px);
    width: calc(12.5% - 8px);
  }
}

.tide-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(251, 252, 254, 0.82);
  border-bottom: 1px solid var(--tide-line);
}

.tide-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.tide-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tide-ink);
}

.tide-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.tide-brand strong {
  font-family: var(--tide-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.tide-links {
  display: none;
  gap: 18px;
  align-items: center;
}

.tide-links a {
  text-decoration: none;
  color: var(--tide-ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.tide-links a:hover {
  color: var(--tide-mint-deep);
}

.tide-menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--tide-line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.tide-menu-btn span,
.tide-menu-btn span::before,
.tide-menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--tide-ink);
  position: relative;
  transition: 0.2s ease;
}

.tide-menu-btn span::before,
.tide-menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.tide-menu-btn span::before {
  top: -6px;
}

.tide-menu-btn span::after {
  top: 6px;
}

.tide-drawer {
  display: none;
  padding: 0 0 14px;
}

.tide-drawer.is-open {
  display: grid;
  gap: 10px;
}

.tide-drawer a {
  text-decoration: none;
  color: var(--tide-ink);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

@media (min-width: 900px) {
  .tide-links {
    display: flex;
  }
  .tide-menu-btn {
    display: none;
  }
  .tide-drawer {
    display: none !important;
  }
}

.tide-hero {
  padding: 36px 0 28px;
  position: relative;
  overflow: hidden;
}

.tide-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .tide-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.tide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tide-mint-deep);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tide-kicker::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--tide-mint), var(--tide-cherry));
}

.tide-hero h1 {
  font-family: var(--tide-font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.25;
  margin: 12px 0 14px;
  font-weight: 400;
}

.tide-hero-lead {
  font-size: 1.05rem;
  color: var(--tide-muted);
  margin: 0 0 18px;
  max-width: 34em;
}

.tide-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tide-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--tide-line);
  font-size: 0.88rem;
  color: var(--tide-ink);
}

.tide-hero-visual {
  position: relative;
  min-height: 320px;
}

.tide-phone {
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--tide-shadow);
  border: 3px solid #fff;
  transform: rotate(-3deg);
  animation: tideFloat 5.5s ease-in-out infinite;
}

.tide-phone-alt {
  position: absolute;
  width: min(46%, 180px);
  right: 4%;
  bottom: 8%;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--tide-shadow);
  transform: rotate(7deg);
  animation: tideFloat 6.2s ease-in-out infinite reverse;
}

@keyframes tideFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

.tide-phone-alt {
  animation-name: tideFloatAlt;
}

@keyframes tideFloatAlt {
  0%,
  100% {
    transform: translateY(0) rotate(7deg);
  }
  50% {
    transform: translateY(-8px) rotate(8deg);
  }
}

.tide-orb {
  position: absolute;
  inset: auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.45;
  z-index: -1;
}

.tide-orb-a {
  background: var(--tide-mint);
  top: 10%;
  left: 8%;
  animation: tidePulse 4s ease-in-out infinite;
}

.tide-orb-b {
  background: var(--tide-cherry);
  right: 0;
  bottom: 12%;
  animation: tidePulse 5s ease-in-out infinite reverse;
}

@keyframes tidePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.55;
  }
}

.tide-section {
  padding: 42px 0;
}

.tide-section h2 {
  font-family: var(--tide-font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  line-height: 1.35;
}

.tide-section h3 {
  font-size: 1.18rem;
  margin: 22px 0 10px;
  color: var(--tide-ink);
}

.tide-lead {
  color: var(--tide-muted);
  margin: 0 0 20px;
  max-width: 46em;
}

.tide-prose p {
  margin: 0 0 16px;
  font-size: 1.02rem;
}

.tide-split {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .tide-split {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .tide-split.is-reverse .tide-split-media {
    order: 2;
  }
  .tide-split.is-reverse .tide-split-copy {
    order: 1;
  }
}

.tide-frame {
  border-radius: var(--tide-radius);
  overflow: hidden;
  box-shadow: var(--tide-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
}

.tide-frame img {
  width: 100%;
}

.tide-caption {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: var(--tide-muted);
  text-align: center;
}

.tide-mosaic {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .tide-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
  .tide-mosaic .tide-card:nth-child(1) {
    grid-column: span 2;
  }
}

.tide-card {
  background: var(--tide-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--tide-line);
  border-radius: var(--tide-radius);
  padding: 20px;
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tide-shadow);
}

.tide-card h3 {
  margin-top: 0;
  font-family: var(--tide-font-display);
}

.tide-card p {
  margin: 0;
  color: var(--tide-muted);
}

.tide-card-media {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
}

.tide-band {
  background: linear-gradient(120deg, rgba(43, 184, 166, 0.12), rgba(226, 75, 114, 0.1));
  border-block: 1px solid var(--tide-line);
}

.tide-timeline {
  display: grid;
  gap: 16px;
  counter-reset: tide-step;
}

.tide-step {
  position: relative;
  padding: 18px 18px 18px 64px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  border: 1px solid var(--tide-line);
}

.tide-step::before {
  counter-increment: tide-step;
  content: counter(tide-step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: var(--tide-font-display);
  font-size: 1.2rem;
  color: var(--tide-cherry);
}

.tide-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.tide-btn-primary {
  background: linear-gradient(135deg, var(--tide-mint), var(--tide-mint-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(43, 184, 166, 0.28);
}

.tide-btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

.tide-btn-ghost {
  background: #fff;
  color: var(--tide-ink);
  border: 1px solid var(--tide-line);
}

.tide-btn-ghost:hover {
  color: var(--tide-cherry);
}

.tide-crumb {
  padding: 18px 0 0;
  font-size: 0.9rem;
  color: var(--tide-muted);
}

.tide-crumb a {
  color: var(--tide-muted);
  text-decoration: none;
}

.tide-crumb a:hover {
  color: var(--tide-mint-deep);
}

.tide-legal {
  padding: 18px 0 60px;
}

.tide-legal article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--tide-line);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 12px 30px rgba(20, 32, 51, 0.04);
}

.tide-legal h1 {
  font-family: var(--tide-font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 12px;
}

.tide-legal h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
}

.tide-error {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0 80px;
}

.tide-error-code {
  font-family: var(--tide-font-display);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--tide-mint), var(--tide-cherry));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.tide-footer {
  margin-top: 40px;
  padding: 36px 0 120px;
  border-top: 1px solid var(--tide-line);
  background: rgba(255, 255, 255, 0.45);
}

.tide-footer-grid {
  display: grid;
  gap: 22px;
}

@media (min-width: 760px) {
  .tide-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.tide-footer h3 {
  margin: 0 0 10px;
  font-family: var(--tide-font-display);
  font-size: 1.1rem;
}

.tide-footer a {
  display: block;
  text-decoration: none;
  color: var(--tide-muted);
  margin: 6px 0;
}

.tide-footer a:hover {
  color: var(--tide-cherry);
}

.tide-copy {
  margin-top: 22px;
  color: var(--tide-muted);
  font-size: 0.88rem;
}

.tide-sticky-dl {
  position: sticky;
  top: var(--tide-nav-h, 64px);
  z-index: 39;
  display: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tide-line);
  box-shadow: 0 8px 24px rgba(20, 32, 51, 0.08);
  max-height: min(36vh, 220px);
  overflow-x: hidden;
  overflow-y: auto;
}

.tide-sticky-dl.is-show {
  display: block;
}

.tide-sticky-inner {
  width: min(100% - 20px, var(--tide-max));
  margin: 0 auto;
  padding: 8px 0 10px;
}

.tide-sticky-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--tide-muted);
  text-align: center;
}

.tide-sticky-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 8px;
}

.tide-sticky-grid .tide-ad-chip {
  flex: 0 0 calc(25% - 8px);
  width: calc(25% - 8px);
  max-width: 78px;
}

@media (min-width: 768px) {
  .tide-sticky-grid .tide-ad-chip {
    flex-basis: calc(12.5% - 8px);
    width: calc(12.5% - 8px);
  }
}

.tide-quote {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--tide-mint);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 16px 16px 0;
  color: var(--tide-ink);
}

.tide-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tide-tag {
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px dashed rgba(43, 184, 166, 0.45);
  color: var(--tide-mint-deep);
}

.tide-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .tide-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tide-gallery .tide-frame {
  margin: 0;
}

.tide-note {
  font-size: 0.92rem;
  color: var(--tide-muted);
}

@media (max-width: 720px) {
  body {
    padding-bottom: 8px;
  }
}
