:root {
  --bg: #fff8f7;
  --card: #ffffff;
  --text: #2d2020;
  --muted: #755f5f;
  --brand: #e83d53;
  --brand-dark: #a7192d;
  --soft: #ffe7ea;
  --line: #f3cdcf;
  --shadow: 0 20px 60px rgba(168, 33, 52, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #fff8f7 0%, #fff 52%, #fff7f5 100%);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 247, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px 12px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-logo img {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand-logo strong,
.footer-brand h2 {
  display: block;
  font-size: 22px;
  letter-spacing: 0.06em;
}

.brand-logo em {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

.primary-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-nav a,
.footer-links a,
.tag,
.metric,
.domain-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--brand-dark);
}

.primary-nav a:hover,
.footer-links a:hover {
  background: var(--soft);
}

.search-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
}

.search-form {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 30px rgba(168, 33, 52, 0.08);
}

.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 15px;
  min-width: 0;
}

.search-form button,
.cta,
.play-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--brand), #ff775d);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(232, 61, 83, 0.2);
}

.search-note {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}

.hero,
.section,
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 7vw, 74px);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 22px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta.secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

.domain-card,
.card,
.video-card,
.review-card,
.faq-item,
.timeline-item,
.guide-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.domain-card {
  padding: 18px;
  margin-top: 26px;
  max-width: 560px;
}

.domain-card strong {
  color: var(--brand-dark);
}

.hero-media {
  position: relative;
}

.hero-media img,
.card img,
.video-thumb img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-description {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.review-card,
.faq-item,
.timeline-item,
.guide-step {
  padding: 24px;
}

.video-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.video-card.is-hovered,
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(168, 33, 52, 0.18);
}

.video-thumb {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--soft);
}

.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.video-thumb video {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-card:hover .play-button,
.video-card.is-hovered .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-body {
  padding: 22px;
}

.metrics,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.metric {
  color: var(--muted);
  font-size: 13px;
}

.tag {
  background: #fff7f8;
  font-size: 13px;
}

.story-band {
  background: linear-gradient(135deg, #fff, #fff1f2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-band .section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.review-card blockquote {
  margin: 0;
  color: var(--text);
}

.review-card cite {
  display: block;
  margin-top: 18px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 700;
}

.faq-item summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 800;
}

.faq-item p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-panel .card {
  min-height: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #321e22;
  color: #fff;
  padding: 48px 20px;
}

.footer-brand,
.footer-links,
.copyright {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-brand img {
  border-radius: 22px;
}

.footer-brand p,
.copyright {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.footer-links a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-hero {
  padding-bottom: 28px;
}

.breadcrumb {
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--brand-dark);
}

.timeline {
  display: grid;
  gap: 18px;
}

@media (max-width: 960px) {
  .header-inner,
  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .search-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .search-form {
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 36px;
  }
}
