:root {
  --blue-950: #0a1a2e;
  --blue-900: #0f2744;
  --blue-800: #163a5f;
  --blue-700: #1e5a8a;
  --blue-600: #2474b5;
  --blue-500: #2f8fd4;
  --blue-400: #5bb0e8;
  --blue-100: #e8f4fc;
  --cyan: #3ec7c0;
  --ink: #142033;
  --muted: #5a6b7d;
  --line: rgba(30, 90, 138, 0.14);
  --card: #ffffff;
  --bg: #f3f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 39, 68, 0.08);
  --max: 1120px;
  --font-display: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(62, 199, 192, 0.18), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(47, 143, 212, 0.16), transparent 50%),
    linear-gradient(180deg, #eef5fb 0%, var(--bg) 28%, #eaf2f9 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  color: var(--blue-500);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--blue-900);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  background: var(--blue-100);
  color: var(--blue-700);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-800);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 26, 46, 0.88), rgba(30, 90, 138, 0.72)),
    url("/t-home-recommend.jpg") center/cover no-repeat;
  z-index: -1;
}

.hero-panel {
  color: #fff;
  max-width: 720px;
  animation: rise 0.8s ease both;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.25;
  font-weight: 800;
}

.hero p {
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
  opacity: 0.95;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 143, 212, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
  animation: rise 0.7s ease both;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--blue-950);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.media-card,
.info-block,
.feature-tile,
.faq-item,
.legal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #dce8f3;
}

.media-card .cap {
  padding: 0.9rem 1rem 1.1rem;
}

.media-card h3,
.feature-tile h3,
.info-block h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--blue-900);
}

.media-card p,
.feature-tile p,
.info-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-tile,
.info-block,
.faq-item,
.legal-box {
  padding: 1.15rem 1.2rem;
}

.feature-tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(15, 39, 68, 0.12);
}

.feature-tile .num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-100), #d8f5f3);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.prose {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.prose p {
  margin: 0 0 1rem;
  color: #243447;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h3 {
  margin: 1.4rem 0 0.7rem;
  color: var(--blue-900);
  font-size: 1.15rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #243447;
}

.prose li {
  margin-bottom: 0.4rem;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.toc a {
  display: block;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--blue-800);
  font-size: 0.95rem;
}

.toc a:hover {
  border-color: var(--blue-400);
  background: var(--blue-100);
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shot figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  list-style: none;
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.related a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-800);
  font-size: 0.92rem;
}

.page-hero {
  padding: 2.2rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--blue-950);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.legal-box + .legal-box {
  margin-top: 1rem;
}

.legal-box h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: var(--blue-900);
}

.legal-box p,
.legal-box li {
  color: #334556;
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, #123152, var(--blue-950));
  color: rgba(255, 255, 255, 0.88);
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.copyright {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-wrap h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--blue-900);
}

.error-wrap p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.7rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
  }

  .hero {
    padding: 2.4rem 0 2rem;
  }

  .shot-row,
  .toc,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem 0;
  }
}
