:root {
  color-scheme: light;
  --ink: #16151d;
  --muted: #696777;
  --line: rgba(30, 27, 47, 0.1);
  --paper: #f7f7fa;
  --white: #ffffff;
  --accent: #ff6257;
  --accent-strong: #e8473d;
  --accent-soft: #ffe4df;
  --accent-pale: #fff4f1;
  --accent-ink: #5e1d1a;
  --secondary: #8a66e8;
  --shadow: 0 30px 80px rgba(41, 34, 70, 0.16);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.theme-moments {
  --accent: #7454e8;
  --accent-strong: #5e3fd1;
  --accent-soft: #e8e2ff;
  --accent-pale: #f5f2ff;
  --accent-ink: #2e1d6c;
  --secondary: #3f63de;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, var(--accent-pale) 0, transparent 26rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand,
.back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 11px;
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--ink);
  transform: rotate(-5deg);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--accent);
}

.brand-mark::before {
  width: 10px;
  height: 10px;
  left: 5px;
  top: 5px;
}

.brand-mark::after {
  width: 7px;
  height: 7px;
  right: 5px;
  bottom: 5px;
  background: #fff;
}

.back-link {
  min-height: 44px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 650;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.back-link:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--white);
  transform: translateY(-1px);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  align-items: center;
  gap: 56px;
  min-height: 786px;
  padding-block: 54px 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
  animation: rise-in 560ms both ease-out;
}

.author-chip {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-size: 20px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.author-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.author-name {
  width: 100%;
  font-size: 15px;
  font-weight: 750;
}

.author-meta {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(58px, 5.3vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 820;
}

.title-accent {
  position: relative;
  display: inline-block;
  color: var(--accent-strong);
}

.title-accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0.02em;
  right: -0.05em;
  bottom: 0.02em;
  height: 0.18em;
  border-radius: 999px;
  background: var(--accent-soft);
}

.hero-summary {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.72;
  letter-spacing: -0.015em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-cta,
.text-cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 720;
}

.primary-cta {
  border: 0;
  padding: 0 23px;
  border-radius: 16px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(22, 21, 29, 0.18);
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 21, 29, 0.22);
}

.primary-cta svg,
.text-cta svg {
  width: 17px;
  height: 17px;
}

.text-cta {
  padding: 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.author-share {
  max-width: 520px;
  margin-top: 18px;
  padding: 13px 14px 11px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(37, 32, 60, 0.045);
}

.author-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-share-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.author-share-icon svg {
  width: 18px;
  height: 18px;
}

.author-share-copy {
  min-width: 0;
  flex: 1;
}

.author-share-copy span,
.author-share-copy strong {
  display: block;
}

.author-share-copy span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.author-share-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.author-share-time {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.author-share audio {
  width: 100%;
  height: 36px;
  display: block;
  margin-top: 9px;
  accent-color: var(--accent);
}

.author-share p {
  margin: 6px 0 0;
  color: #888592;
  font-size: 10px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  isolation: isolate;
  animation: rise-in 660ms 80ms both ease-out;
}

.visual-panel {
  position: absolute;
  inset: 16px 0 24px 56px;
  z-index: -2;
  overflow: hidden;
  border-radius: 48px;
  background: var(--accent-soft);
}

.visual-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -145px;
  right: -130px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.17;
  filter: blur(2px);
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(45, 34, 75, 0.34) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.visual-orbit {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(55, 43, 92, 0.13);
}

.visual-orbit::before {
  width: 24px;
  height: 24px;
  right: 48px;
  top: 65px;
}

.visual-orbit::after {
  width: 14px;
  height: 14px;
  left: 50px;
  bottom: 80px;
  background: var(--accent);
}

.device-wrap {
  position: relative;
  transform: translateX(20px) rotate(1.4deg);
  filter: drop-shadow(0 35px 34px rgba(42, 31, 77, 0.22));
}

.device {
  position: relative;
  width: 350px;
  height: 704px;
  overflow: hidden;
  border: 11px solid #17151d;
  border-radius: 50px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.device::after {
  content: "";
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 6px;
  width: 104px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  transform: translateX(-50%);
  pointer-events: none;
}

.device-island {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 9px;
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #17151d;
  transform: translateX(-50%);
  pointer-events: none;
}

.device iframe {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 220ms ease;
}

.device iframe.is-ready {
  opacity: 1;
}

.frame-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.loading-pill {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 24px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #494654;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(35, 29, 56, 0.12);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 650;
  pointer-events: none;
}

.spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

.fallback-action {
  position: absolute;
  z-index: 8;
  left: 18px;
  right: 18px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  color: #4b4757;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(35, 29, 56, 0.15);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 650;
}

.fallback-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.floating-note {
  position: absolute;
  z-index: 12;
  right: -54px;
  bottom: 100px;
  width: 144px;
  padding: 16px 17px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(56, 42, 91, 0.13);
  backdrop-filter: blur(12px);
  transform: rotate(-2deg);
}

.floating-note strong,
.floating-note span {
  display: block;
}

.floating-note strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.floating-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.device-wrap.is-fallback .floating-note {
  display: none;
}

body.dialog-open {
  overflow: hidden;
}

.experience-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 12px;
}

.experience-dialog[hidden] {
  display: none;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(18, 16, 28, 0.68);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.dialog-panel {
  position: relative;
  z-index: 2;
  width: min(454px, 100%);
  height: min(812px, calc(100vh - 24px));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 32px;
  background: rgba(249, 249, 252, 0.96);
  box-shadow: 0 34px 100px rgba(9, 7, 18, 0.38);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 190ms ease, transform 190ms ease;
}

.experience-dialog.is-open .dialog-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dialog-header {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px 10px 10px;
}

.dialog-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 760;
}

.dialog-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.dialog-close:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  transform: rotate(3deg);
}

.dialog-close svg {
  width: 19px;
  height: 19px;
}

.dialog-phone {
  width: 100%;
  min-height: 0;
  flex: 1;
  display: grid;
  place-items: center;
}

.dialog-phone .device {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 704px;
  aspect-ratio: 350 / 704;
  filter: drop-shadow(0 22px 28px rgba(30, 24, 52, 0.18));
}

.dialog-close:focus-visible,
.dialog-backdrop:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 3px;
}

.content-section {
  padding-block: 100px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.section-heading h2,
.model-copy h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

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

.feature-card {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(37, 32, 60, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:nth-child(2) {
  background: var(--accent-pale);
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  box-shadow: 0 18px 42px rgba(37, 32, 60, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.model-section {
  padding-block: 36px 110px;
}

.model-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 54px;
  align-items: center;
  padding: 58px;
  border-radius: 38px;
  color: #fff;
  background: var(--ink);
}

.model-card::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -140px;
  top: -150px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.24;
  filter: blur(2px);
}

.model-copy {
  position: relative;
  z-index: 2;
}

.model-copy h2 {
  margin-bottom: 16px;
}

.model-copy p {
  max-width: 360px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.72;
}

.revenue-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1.14fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.flow-node {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.flow-node.is-core {
  border-color: color-mix(in srgb, var(--accent) 65%, white);
  background: var(--accent);
}

.flow-step {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 720;
}

.flow-node.is-core .flow-step {
  color: rgba(255, 255, 255, 0.72);
}

.flow-node strong {
  max-width: 150px;
  font-size: 18px;
  line-height: 1.25;
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.46);
  font-size: 24px;
}

.site-footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-link {
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
}

.brand:focus-visible,
.back-link:focus-visible,
.primary-cta:focus-visible,
.text-cta:focus-visible,
.fallback-link:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 4px;
}

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

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

@media (max-width: 1060px) {
  .product-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 24px;
  }

  .visual-panel {
    left: 22px;
  }

  .device-wrap {
    transform: scale(0.92) translateX(12px) rotate(1deg);
  }

  .floating-note {
    right: -18px;
  }

  .model-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 32px, 620px);
  }

  .site-header {
    height: 66px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .back-link {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
    padding-block: 36px 52px;
  }

  .author-chip {
    margin-bottom: 20px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 13.5vw, 56px);
    line-height: 1.02;
  }

  .hero-summary {
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.65;
  }

  .primary-cta,
  .text-cta {
    min-height: 48px;
  }

  .hero-visual {
    min-height: 666px;
    margin-inline: -8px;
  }

  .visual-panel {
    inset: 18px 0 22px;
    border-radius: 34px;
  }

  .visual-orbit {
    width: min(410px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .device-wrap {
    transform: scale(0.9) rotate(0.8deg);
  }

  .floating-note {
    right: -14px;
    bottom: 72px;
  }

  .content-section {
    padding-block: 78px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading h2,
  .model-copy h2 {
    font-size: 40px;
  }

  .section-heading p {
    margin-top: 13px;
    margin-bottom: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 176px;
    padding: 24px;
  }

  .model-section {
    padding-block: 16px 82px;
  }

  .model-card {
    gap: 34px;
    padding: 34px 24px;
    border-radius: 30px;
  }

  .revenue-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-node {
    min-height: 104px;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .site-footer {
    min-height: 126px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .shell {
    width: calc(100% - 28px);
  }

  .brand-copy {
    max-width: 118px;
    line-height: 1.2;
  }

  .back-link span {
    display: none;
  }

  .back-link::after {
    content: "作品展馆";
  }

  .author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .author-meta {
    padding-inline: 8px;
    font-size: 11px;
  }

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

  .product-hero {
    padding-block: 30px 44px;
  }

  .author-chip {
    margin-bottom: 17px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(41px, 12.2vw, 49px);
  }

  .hero-summary {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  .primary-cta,
  .text-cta {
    width: 100%;
  }

  .text-cta {
    display: none;
  }

  .hero-visual {
    min-height: 574px;
    margin-inline: -5px;
    margin-top: -20px;
  }

  .author-share {
    margin-top: 14px;
    padding: 11px 12px 9px;
    border-radius: 18px;
  }

  .device-wrap {
    transform: scale(0.79) rotate(0.5deg);
  }

  .floating-note {
    right: -28px;
    bottom: 72px;
    width: 130px;
  }

  .experience-dialog {
    padding: 8px;
  }

  .dialog-panel {
    height: calc(100vh - 16px);
    padding: 10px;
    border-radius: 25px;
  }

  .dialog-header {
    min-height: 50px;
    padding: 0 2px 8px 8px;
  }
}

/* v0.7 — 与图度官网及作品馆统一的品牌外壳 */
:root {
  color-scheme: dark;
  --site-bg: #011d2e;
  --site-surface: #062638;
  --site-paper: #f2e8e1;
  --site-muted: #b4aba1;
  --site-gold: #c99a4e;
  --site-gold-soft: #e2be7d;
  --site-line: rgba(201, 154, 78, 0.28);
  --ink: var(--site-paper);
  --muted: var(--site-muted);
  --line: var(--site-line);
  --paper: var(--site-bg);
  --white: var(--site-paper);
  --accent: var(--site-gold);
  --accent-strong: var(--site-gold-soft);
  --accent-soft: rgba(201, 154, 78, 0.15);
  --accent-pale: rgba(6, 38, 56, 0.94);
  --accent-ink: var(--site-bg);
  --secondary: var(--site-gold-soft);
  --shadow: 0 28px 80px rgba(0, 8, 14, 0.32);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.theme-parent {
  --project-tone: #3e1720;
  --project-glow: rgba(107, 21, 24, 0.52);
}

body.theme-moments {
  --accent: var(--site-gold);
  --accent-strong: var(--site-gold-soft);
  --accent-soft: rgba(201, 154, 78, 0.15);
  --accent-pale: rgba(6, 38, 56, 0.94);
  --accent-ink: var(--site-bg);
  --secondary: var(--site-gold-soft);
  --project-tone: #24203f;
  --project-glow: rgba(73, 58, 128, 0.48);
}

html {
  background: var(--site-bg);
}

body {
  color: var(--site-paper);
  background:
    radial-gradient(ellipse at 50% -120px, rgba(201, 154, 78, 0.12), transparent 46rem),
    var(--site-bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: none;
  height: 100px;
  margin: 0;
  padding: 14px 5vw;
  border-bottom: 0;
  background: linear-gradient(to bottom, rgba(1, 29, 46, 0.98), rgba(1, 29, 46, 0.82));
  backdrop-filter: blur(8px);
}

.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
}

.brand-mobile-name {
  display: none;
}

.back-link {
  min-height: 40px;
  padding: 8px 0 7px;
  border: 0;
  border-bottom: 1px solid var(--site-gold);
  border-radius: 0;
  color: var(--site-paper);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.back-link:hover {
  border-color: var(--site-gold-soft);
  color: var(--site-gold-soft);
  background: transparent;
  transform: none;
}

.product-hero {
  min-height: 790px;
  padding-block: 54px 76px;
}

.author-avatar {
  color: var(--site-gold-soft);
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  box-shadow: none;
}

.author-name {
  color: var(--site-paper);
  letter-spacing: 0.04em;
}

.author-meta {
  border-color: var(--site-line);
  color: var(--site-muted);
  background: rgba(6, 38, 56, 0.86);
}

h1,
.section-heading h2,
.model-copy h2 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  letter-spacing: 0.035em;
  font-weight: 700;
}

h1 {
  max-width: 690px;
  font-size: clamp(52px, 4.8vw, 68px);
  line-height: 1.12;
}

.title-accent {
  color: var(--site-gold-soft);
}

.title-accent::after {
  display: none;
}

.hero-summary,
.section-heading p,
.feature-card p {
  color: var(--site-muted);
}

.primary-cta {
  border-radius: 999px;
  color: var(--site-bg);
  background: linear-gradient(135deg, var(--site-gold-soft), var(--site-gold));
  box-shadow: 0 14px 34px rgba(201, 154, 78, 0.14);
}

.primary-cta:hover {
  box-shadow: 0 18px 38px rgba(201, 154, 78, 0.2);
}

.text-cta {
  color: var(--site-muted);
}

.text-cta:hover {
  color: var(--site-gold-soft);
}

.author-share {
  margin-top: 24px;
  padding: 16px 16px 14px;
  border-color: var(--site-line);
  border-radius: 18px;
  background: rgba(6, 38, 56, 0.88);
  box-shadow: none;
}

.author-share-head {
  gap: 12px;
}

.author-share-copy span {
  margin-bottom: 4px;
}

.author-share-icon,
.feature-icon {
  color: var(--site-gold-soft);
  background: rgba(201, 154, 78, 0.13);
}

.author-share-copy span,
.author-share-time,
.author-share p {
  color: var(--site-muted);
}

.author-share audio {
  color-scheme: dark;
  margin-top: 12px;
  accent-color: var(--site-gold);
}

.author-share p {
  margin-top: 9px;
  line-height: 1.55;
}

.visual-panel {
  border: 1px solid var(--site-line);
  background:
    linear-gradient(145deg, rgba(201, 154, 78, 0.14), transparent 42%),
    linear-gradient(160deg, var(--project-tone), var(--site-surface) 76%);
}

.visual-panel::before {
  background: var(--project-glow);
  opacity: 0.72;
}

.visual-panel::after {
  opacity: 0.2;
  background-image: radial-gradient(rgba(226, 190, 125, 0.58) 1px, transparent 1px);
}

.visual-orbit {
  border-color: rgba(226, 190, 125, 0.25);
}

.visual-orbit::before,
.visual-orbit::after {
  background: var(--site-gold-soft);
  box-shadow: 0 0 20px rgba(201, 154, 78, 0.38);
}

.device-wrap {
  filter: drop-shadow(0 34px 36px rgba(0, 8, 14, 0.44));
}

.floating-note {
  border-color: var(--site-line);
  color: var(--site-paper);
  background: rgba(6, 38, 56, 0.94);
  box-shadow: 0 18px 38px rgba(0, 8, 14, 0.32);
}

.loading-pill,
.fallback-action {
  border-color: var(--site-line);
  color: var(--site-paper);
  background: rgba(6, 38, 56, 0.92);
}

.fallback-link {
  color: var(--site-bg);
  background: var(--site-gold-soft);
}

.content-section {
  border-top: 1px solid rgba(201, 154, 78, 0.14);
}

.feature-card,
.feature-card:nth-child(2) {
  border-color: var(--site-line);
  border-radius: 20px;
  background: rgba(6, 38, 56, 0.82);
  box-shadow: none;
}

.feature-card:hover {
  border-color: rgba(226, 190, 125, 0.62);
  box-shadow: 0 18px 42px rgba(0, 8, 14, 0.22);
}

.feature-card h3 {
  color: var(--site-paper);
}

.model-card {
  border: 1px solid var(--site-line);
  border-radius: 24px;
  color: var(--site-paper);
  background: #021725;
}

.model-card::after {
  background: var(--site-gold);
  opacity: 0.14;
}

.flow-node {
  border-color: var(--site-line);
  border-radius: 16px;
  background: rgba(6, 38, 56, 0.82);
}

.flow-node.is-core {
  border-color: var(--site-gold-soft);
  color: var(--site-bg);
  background: linear-gradient(135deg, var(--site-gold-soft), var(--site-gold));
}

.flow-node.is-core .flow-step {
  color: rgba(1, 29, 46, 0.68);
}

.flow-arrow {
  color: var(--site-gold);
}

.site-footer {
  border-color: rgba(201, 154, 78, 0.16);
  color: var(--site-muted);
}

.footer-link {
  color: var(--site-paper);
  border-bottom: 1px solid var(--site-gold);
}

.dialog-backdrop {
  background: rgba(0, 10, 17, 0.78);
}

.dialog-panel {
  border-color: var(--site-line);
  color: var(--site-paper);
  background: rgba(2, 23, 37, 0.98);
  box-shadow: 0 34px 100px rgba(0, 7, 12, 0.56);
}

.dialog-close {
  border-color: var(--site-line);
  color: var(--site-paper);
  background: var(--site-surface);
}

.dialog-close:hover {
  border-color: var(--site-gold-soft);
}

.brand:focus-visible,
.back-link:focus-visible,
.primary-cta:focus-visible,
.text-cta:focus-visible,
.fallback-link:focus-visible,
.footer-link:focus-visible,
.dialog-close:focus-visible,
.dialog-backdrop:focus-visible {
  outline-color: var(--site-gold-soft);
}

@media (max-width: 780px) {
  .site-header {
    height: 72px;
    padding: 11px 4vw;
  }

  .brand-logo {
    content: url("assets/todo-shield.png");
    width: 38px;
    height: 46px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mobile-name {
    display: block;
    color: var(--site-paper);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .product-hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 52px);
    line-height: 1.12;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding-inline: 16px;
  }

  .back-link {
    min-height: 38px;
    font-size: 12px;
    letter-spacing: 0.8px;
  }

  .product-hero {
    padding-top: 28px;
  }

  .author-share {
    margin-top: 20px;
    padding: 14px 14px 12px;
    border-radius: 16px;
  }

  .hero-visual {
    margin-top: -8px;
  }

  .device-wrap {
    transform: translateY(-24px) scale(0.79) rotate(0.5deg);
  }
}

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