:root {
  --paper: #f4efe6;
  --paper-deep: #e7decd;
  --card: #fffdf8;
  --ink: #1a1612;
  --muted: #746b60;
  --line: #ddd4c4;
  --seal: #9c2b24;
  --seal-deep: #7a221c;
  --gold: #c4a574;
  --gold-bright: #e4c48a;
  --pine: #3d5c4a;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
}
body {
  min-height: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--seal); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--gold), var(--seal));
  transform-origin: left;
  pointer-events: none;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.2);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(244, 239, 230, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(28, 24, 20, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 6px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.5s ease;
}
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav.is-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 4px;
}
.nav-links a {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 3px;
  text-decoration: none !important;
  height: 38px;
  line-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.nav-links a:hover { color: var(--seal); background: rgba(156, 43, 36, 0.06); }
.nav-login {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  background: var(--card);
}
.nav-cta {
  margin-left: 6px;
  background: var(--seal);
  color: #f7e4c4 !important;
  padding: 0 18px !important;
  box-shadow: 0 8px 18px rgba(156, 43, 36, 0.22);
}
.nav-cta:hover { background: var(--seal-deep); color: #f7e4c4 !important; transform: translateY(-1px); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 480px at 82% -8%, rgba(196, 165, 116, 0.28), transparent 58%),
    radial-gradient(760px 420px at -8% 18%, rgba(156, 43, 36, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f1e6 0%, var(--paper) 70%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}
.orb-a {
  width: 280px;
  height: 280px;
  right: 8%;
  top: -40px;
  background: radial-gradient(circle, rgba(228, 196, 138, 0.45), transparent 68%);
}
.orb-b {
  width: 220px;
  height: 220px;
  left: -40px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(156, 43, 36, 0.18), transparent 70%);
  animation-delay: -4s;
}
.orb-c {
  width: 160px;
  height: 160px;
  left: 38%;
  top: 18%;
  background: radial-gradient(circle, rgba(61, 92, 74, 0.16), transparent 70%);
  animation-delay: -7s;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 165, 116, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 165, 116, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-side {
  position: absolute;
  left: max(12px, calc((100% - 1120px) / 2 - 48px));
  top: 50%;
  writing-mode: vertical-rl;
  letter-spacing: 10px;
  color: rgba(196, 165, 116, 0.55);
  font-size: 13px;
  margin: 0;
  pointer-events: none;
  transform: translateY(-50%);
  animation: fadeSide 1.4s ease both;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 400px);
  gap: 56px;
  align-items: center;
}
.hero-copy { animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.22;
  font-weight: 650;
  overflow-wrap: break-word;
  letter-spacing: 1px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 8px;
  color: var(--gold);
  margin: 0 0 18px;
}
.kicker i {
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: block;
  transform-origin: left;
  animation: growX 0.9s 0.2s ease both;
}
.verse {
  margin: 22px 0 0;
  font-size: 18px;
  letter-spacing: 8px;
  color: var(--seal);
}
.lead {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 36em;
  font-family: var(--sans);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.hero-pills li {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  padding: 6px 12px;
  border-radius: 999px;
  animation: rise 1s ease both;
}
.hero-pills li:nth-child(1) { animation-delay: 0.35s; }
.hero-pills li:nth-child(2) { animation-delay: 0.45s; }
.hero-pills li:nth-child(3) { animation-delay: 0.55s; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  text-align: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 3px;
  text-decoration: none !important;
  cursor: pointer;
  border: 0;
  font-family: var(--sans);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #b4332c, #9c2b24);
  color: #f7e4c4;
  box-shadow: 0 14px 28px rgba(156, 43, 36, 0.28);
}
.btn-main span { position: relative; z-index: 1; }
.btn-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shine 4.8s 1.2s ease-in-out infinite;
}
.btn-ghost {
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-ghost.light {
  background: transparent;
  color: #f3eee4;
  border-color: rgba(196, 165, 116, 0.7);
}

.hero-stage {
  justify-self: end;
  width: 100%;
  max-width: 400px;
  animation: rise 1.2s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
  perspective: 900px;
}
.hero-card {
  position: relative;
  background:
    radial-gradient(320px 180px at 50% 0%, rgba(228, 196, 138, 0.18), transparent 60%),
    linear-gradient(165deg, #2c241e 0%, #161310 52%, #3a241e 100%);
  border: 1px solid rgba(196, 165, 116, 0.5);
  border-radius: 28px;
  padding: 28px 20px 22px;
  text-align: center;
  color: #f3eee4;
  box-shadow:
    0 30px 60px rgba(28, 24, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotateX(0) rotateY(0);
  transition: transform 0.18s ease-out;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(196, 165, 116, 0.18);
  border-radius: 20px;
  pointer-events: none;
}
.seal-float {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 46px;
  height: 46px;
  border: 2px solid #c45a52;
  color: #c45a52;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 4px;
  transform: rotate(-12deg);
  animation: stamp 6s ease-in-out infinite;
  background: rgba(156, 43, 36, 0.12);
  z-index: 2;
}
.lineage { width: 100%; height: auto; display: block; }
.gen-lab {
  fill: rgba(196, 165, 116, 0.55);
  font-size: 11px;
  letter-spacing: 4px;
  font-family: var(--sans);
}
.lineage-bone { opacity: 0.9; }
.lineage-draw path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: draw 1.35s ease both;
}
.lineage-draw path:nth-child(1) { animation-delay: 0.15s; }
.lineage-draw path:nth-child(2) { animation-delay: 0.28s; }
.lineage-draw path:nth-child(3) { animation-delay: 0.32s; }
.lineage-draw path:nth-child(4) { animation-delay: 0.7s; }
.lineage-draw path:nth-child(5) { animation-delay: 0.9s; }
.lineage-draw path:nth-child(6) { animation-delay: 0.98s; }
.lineage-draw path:nth-child(7) { animation-delay: 0.9s; }
.lineage-draw path:nth-child(8) { animation-delay: 0.98s; }
.node circle {
  fill: #1a1612;
  stroke: var(--gold-bright);
  stroke-width: 1.6;
}
.node text {
  fill: #f7e4c4;
  font-size: 12px;
  text-anchor: middle;
  font-family: var(--serif);
}
.node.n-spouse circle {
  fill: rgba(156, 43, 36, 0.18);
  stroke: #d47870;
}
.node.n-spouse text { fill: #f0c4c0; font-size: 11px; }
.node {
  opacity: 0;
  animation: nodeIn 0.7s ease forwards;
}
.node.n0 { animation-delay: 0.08s; }
.node.n1, .node.n2, .node.n3, .node.n-spouse { animation-delay: 0.55s; }
.node.n4, .node.n5, .node.n6, .node.n7 { animation-delay: 1.05s; }
.node.n0 circle { animation: pulse 3.6s 1.6s ease-in-out infinite; }
.hero-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: -8px auto 0;
  display: block;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid rgba(196, 165, 116, 0.4);
  position: relative;
  z-index: 1;
}
.hero-card .sub {
  margin: 14px 0 0;
  color: rgba(243, 238, 228, 0.7);
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1.6;
  font-family: var(--sans);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(196, 165, 116, 0.25);
  background: #161310;
  color: #e8c990;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: marquee 36s linear infinite;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 6px;
}
.ticker-track i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--seal);
  display: block;
  flex-shrink: 0;
  opacity: 0.7;
}

.showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}
.paper-tree {
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(196, 165, 116, 0.14), transparent 60%),
    linear-gradient(180deg, #fbf6ea, #f0e6d2);
  border: 1px solid #e0d3b8;
  border-radius: 24px;
  padding: 22px 18px 16px;
  box-shadow: 0 20px 48px rgba(28, 24, 20, 0.08);
  position: relative;
}
.paper-tree::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: 16px;
  pointer-events: none;
}
.paper-title {
  margin: 0 0 4px;
  text-align: center;
  letter-spacing: 8px;
  color: #9a7b45;
  font-size: 12px;
}
.paper-gen {
  fill: #b89a68;
  font-size: 13px;
  letter-spacing: 4px;
  font-family: var(--sans);
}
.pnode circle {
  fill: #fbf6ea;
  stroke: #8a6a3a;
  stroke-width: 1.6;
}
.pnode text {
  fill: #3a2e22;
  font-size: 13px;
  text-anchor: middle;
  font-family: var(--serif);
}
.pnode.root circle { fill: #1c1814; stroke: #c4a574; }
.pnode.root text { fill: #f7e4c4; font-size: 12px; }
.pnode.mate circle { fill: #f7eee8; stroke: #9c2b24; }
.pnode.mate text { fill: #9c2b24; font-size: 12px; }
.pnode.ghost circle {
  fill: transparent;
  stroke: #c4a574;
  stroke-dasharray: 3 3;
}
.pnode.ghost text { fill: #9a7b45; }
.paper-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  color: #7a7166;
}
.paper-legend .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a6a3a;
  margin-right: 6px;
}
.paper-legend .dot.mate { background: #9c2b24; }
.paper-legend .dot.ghost {
  background: transparent;
  border: 1px dashed #c4a574;
}
.showcase-copy blockquote {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.showcase-copy p {
  margin: 0;
  font-size: 26px;
  letter-spacing: 4px;
  line-height: 1.5;
}
.showcase-copy cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 2px;
}
.showcase-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.showcase-points li {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.showcase-points strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: 3px;
}
.showcase-points span {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.quote-band {
  padding: 72px 0;
  background:
    radial-gradient(800px 200px at 50% 0%, rgba(196, 165, 116, 0.18), transparent 70%),
    #1a1612;
  color: #f3eee4;
  text-align: center;
}
.quote-en {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 8px;
  color: var(--gold);
}
.quote-zh {
  margin: 18px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 10px;
}
.quote-zh span { color: var(--gold); letter-spacing: 0; padding: 0 8px; }
.quote-sub {
  margin: 0;
  font-family: var(--sans);
  color: rgba(243, 238, 228, 0.62);
  letter-spacing: 6px;
  font-size: 13px;
}

.remember {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 380px at 80% 10%, rgba(156, 43, 36, 0.16), transparent 55%),
    radial-gradient(700px 320px at 10% 90%, rgba(196, 165, 116, 0.12), transparent 60%),
    #120f0c;
  color: #f3eee4;
}
.remember-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.remember h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 4px;
  line-height: 1.35;
  color: #f7e4c4;
}
.poem {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}
.poem span {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(243, 238, 228, 0.78);
  opacity: 0;
  transform: translateY(16px);
}
.remember.is-on .poem span {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.remember.is-on .poem span:nth-child(1) { animation-delay: 0.15s; }
.remember.is-on .poem span:nth-child(2) { animation-delay: 0.35s; }
.remember.is-on .poem span:nth-child(3) { animation-delay: 0.55s; }
.remember.is-on .poem span:nth-child(4) { animation-delay: 0.75s; }
.remember.is-on .poem span:nth-child(5) { animation-delay: 0.95s; }
.remember-lead {
  margin: 0;
  font-family: var(--sans);
  color: var(--gold-bright);
  letter-spacing: 2px;
  line-height: 1.8;
  opacity: 0;
}
.remember.is-on .remember-lead {
  animation: rise 0.9s 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ask-line {
  opacity: 0;
  transform: translateY(18px);
}
.remember.is-on .ask-line {
  animation: rise 0.9s 0.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lamps {
  list-style: none;
  margin: 0;
  padding: 8px 0 8px 28px;
  position: relative;
}
.lamps::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(196, 165, 116, 0.2);
}
.lamps::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, #e8c990, #9c2b24);
  box-shadow: 0 0 8px rgba(232, 201, 144, 0.5);
}
.remember.is-on .lamps::after {
  animation: lampLine 2.2s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lamp {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  opacity: 0.28;
  transform: translateX(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.lamp.on {
  opacity: 1;
  transform: none;
}
.lamp i {
  width: 15px;
  height: 15px;
  margin-left: -28px;
  margin-top: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: #1a1612;
  position: relative;
  z-index: 1;
}
.lamp.on i {
  background: #f3e0b0;
  border-color: #f3e0b0;
  box-shadow: 0 0 0 6px rgba(232, 201, 144, 0.12), 0 0 18px rgba(232, 201, 144, 0.55);
  animation: flicker 2.8s ease-in-out infinite;
}
.lamp em {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 2px;
}
.lamp strong {
  display: block;
  font-size: 20px;
  letter-spacing: 6px;
  font-weight: 650;
}
.lamp span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(243, 238, 228, 0.55);
}
.lamp.you strong { color: #f7e4c4; }
.keeps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.keep {
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(196, 165, 116, 0.22);
  border-radius: 18px;
  padding: 26px 22px;
}
.keep-seal {
  width: 40px;
  height: 40px;
  border: 1.5px solid #c45a52;
  color: #c45a52;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
  transform: rotate(-8deg);
  animation: stamp 7s ease-in-out infinite;
}
.keep h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 4px;
  color: #f7e4c4;
}
.keep p {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(243, 238, 228, 0.62);
}
.motes, .smoke, .name-drift {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.motes i {
  position: absolute;
  bottom: -8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e8c990;
  opacity: 0;
  animation: mote 11s linear infinite;
}
.motes i:nth-child(1) { left: 8%; }
.motes i:nth-child(2) { left: 18%; animation-delay: 1.4s; width: 2px; height: 2px; }
.motes i:nth-child(3) { left: 28%; animation-delay: 3s; }
.motes i:nth-child(4) { left: 40%; animation-delay: 0.6s; }
.motes i:nth-child(5) { left: 52%; animation-delay: 4.2s; width: 2px; height: 2px; }
.motes i:nth-child(6) { left: 63%; animation-delay: 2.1s; }
.motes i:nth-child(7) { left: 72%; animation-delay: 5s; }
.motes i:nth-child(8) { left: 81%; animation-delay: 1.1s; }
.motes i:nth-child(9) { left: 90%; animation-delay: 3.6s; }
.motes i:nth-child(10) { left: 14%; animation-delay: 6.4s; }
.motes i:nth-child(11) { left: 47%; animation-delay: 7.2s; }
.motes i:nth-child(12) { left: 76%; animation-delay: 8s; }
.smoke {
  left: auto;
  right: 12%;
  bottom: 6%;
  top: auto;
  width: 140px;
  height: 240px;
}
.smoke span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 238, 228, 0.2), transparent 70%);
  animation: smokeUp 8s ease-in infinite;
}
.smoke span:nth-child(2) { animation-delay: 2.4s; margin-left: -36px; }
.smoke span:nth-child(3) { animation-delay: 4.8s; margin-left: -8px; }
.name-drift {
  font-size: 13px;
  letter-spacing: 8px;
  color: rgba(196, 165, 116, 0.2);
}
.name-drift span {
  position: absolute;
  bottom: -20px;
  white-space: nowrap;
  animation: drift 20s linear infinite;
}
.name-drift span:nth-child(1) { left: 6%; }
.name-drift span:nth-child(2) { left: 22%; animation-delay: -4s; }
.name-drift span:nth-child(3) { left: 48%; animation-delay: -8s; }
.name-drift span:nth-child(4) { left: 68%; animation-delay: -2s; }
.name-drift span:nth-child(5) { left: 84%; animation-delay: -11s; }
.name-drift span:nth-child(6) { left: 36%; animation-delay: -14s; }
.pnode { animation: lampFloat 5.5s ease-in-out infinite; }
.paper-nodes > g:nth-child(2) .pnode { animation-delay: 0.4s; }
.paper-nodes > g:nth-child(3) .pnode { animation-delay: 0.8s; }
.paper-nodes > g:nth-child(5) .pnode { animation-delay: 1.2s; }

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rule {
  background: var(--card);
  border: 1px solid #e6dcc8;
  border-radius: 20px;
  padding: 28px 24px;
  min-height: 220px;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.rule:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(28, 24, 20, 0.1);
}
.rule-num {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--seal);
  margin-bottom: 18px;
}
.rule h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: 4px; }
.rule p { margin: 0; color: var(--muted); line-height: 1.8; font-family: var(--sans); }

.sec { padding: 88px 0; position: relative; }
.sec-alt {
  background:
    linear-gradient(180deg, rgba(231, 222, 205, 0.7), var(--paper) 90%);
}
.sec-head { margin-bottom: 36px; }
.sec-kicker {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 8px;
  color: var(--gold);
}
.sec-kicker.light { color: var(--gold-bright); }
.sec h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 6px;
}
.sec-desc {
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
  max-width: 40em;
  font-family: var(--sans);
}

.pains, .feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid #e6dcc8;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 10px 28px rgba(28, 24, 20, 0.04);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.16), transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(28, 24, 20, 0.1);
  border-color: rgba(196, 165, 116, 0.7);
}
.card.seal { border-left: 5px solid var(--seal); }
.card.gold { border-left: 5px solid var(--gold); }
.card.pine { border-left: 5px solid var(--pine); }
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 4px;
  margin-bottom: 10px;
}
.card.seal .tag { color: var(--seal); }
.card.gold .tag { color: #9a7b45; }
.card.pine .tag { color: var(--pine); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; font-family: var(--sans); }
.feat-no {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 10px;
}

.steps { display: grid; gap: 0; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(196, 165, 116, 0.15));
}
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid #e6dcc8;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 14px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.step:hover { transform: translateX(6px); box-shadow: 0 16px 32px rgba(28, 24, 20, 0.08); }
.num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--seal);
  color: #f7e4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(156, 43, 36, 0.1);
  font-family: var(--sans);
  position: relative;
  z-index: 1;
}
.step h3 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); line-height: 1.7; font-family: var(--sans); }

.trust {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 24px;
  background: linear-gradient(90deg, #f7eee8, #f3e6d4);
  border: 1px solid rgba(196, 165, 116, 0.55);
  border-radius: 18px;
}
.trust-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 2px solid var(--seal);
  color: var(--seal);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  border-radius: 4px;
  animation: stamp 7s ease-in-out infinite;
}
.trust p { margin: 0; color: #7a2e2a; line-height: 1.85; font-family: var(--sans); }

.start {
  background:
    radial-gradient(500px 240px at 90% 10%, rgba(196, 165, 116, 0.2), transparent 60%),
    linear-gradient(165deg, #221c18, #14110f 58%, #2e1c18);
  color: #f3eee4;
  border-radius: 28px;
  padding: 48px 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 30px 60px rgba(28, 24, 20, 0.18);
  position: relative;
  overflow: hidden;
}
.start h2 { color: #f3eee4; margin-bottom: 8px; }
.start p { color: rgba(243, 238, 228, 0.72); font-family: var(--sans); }
.start ol { margin: 8px 0 0; padding-left: 18px; color: rgba(243, 238, 228, 0.86); line-height: 2; font-family: var(--sans); }
.start-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
}
.start-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(196, 165, 116, 0.28);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.start-ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(196, 165, 116, 0.35);
  border-radius: 50%;
  animation: spin 28s linear infinite reverse;
}
.start img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  background: #fffdf8;
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.copy-row { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.mp-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.5);
  background: rgba(42, 34, 28, 0.8);
  color: #f7e4c4;
  padding: 0 18px;
  letter-spacing: 6px;
  font-size: 16px;
}

.faq details {
  background: var(--card);
  border: 1px solid #e6dcc8;
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] {
  border-color: rgba(196, 165, 116, 0.7);
  box-shadow: 0 12px 28px rgba(28, 24, 20, 0.06);
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  padding: 16px 28px 16px 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq p { margin: 0 0 16px; color: var(--muted); line-height: 1.8; font-family: var(--sans); }

.site-foot {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}
.site-foot .row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.pains .reveal:nth-child(2), .feats .reveal:nth-child(2), .steps .reveal:nth-child(2), .faq .reveal:nth-child(2) { transition-delay: 0.08s; }
.pains .reveal:nth-child(3), .feats .reveal:nth-child(3), .steps .reveal:nth-child(3), .faq .reveal:nth-child(3) { transition-delay: 0.16s; }
.pains .reveal:nth-child(4), .feats .reveal:nth-child(4), .faq .reveal:nth-child(4) { transition-delay: 0.24s; }
.pains .reveal:nth-child(5), .feats .reveal:nth-child(5) { transition-delay: 0.32s; }
.pains .reveal:nth-child(6), .feats .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeSide {
  from { opacity: 0; transform: translateY(calc(-50% + 16px)); }
  to { opacity: 0.8; transform: translateY(-50%); }
}
@keyframes growX {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, 18px, 0); }
}
@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes nodeIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { stroke-width: 1.4; }
  50% { stroke-width: 3; }
}
@keyframes stamp {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-4px); }
}
@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes lampLine {
  to { height: calc(100% - 36px); }
}
@keyframes flicker {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 6px rgba(232, 201, 144, 0.12), 0 0 18px rgba(232, 201, 144, 0.55); }
  50% { opacity: 0.72; box-shadow: 0 0 0 4px rgba(232, 201, 144, 0.08), 0 0 10px rgba(232, 201, 144, 0.35); }
}
@keyframes mote {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.7; }
  100% { transform: translate3d(18px, -110vh, 0); opacity: 0; }
}
@keyframes smokeUp {
  0% { transform: translate3d(0, 0, 0) scale(0.5); opacity: 0; }
  20% { opacity: 0.45; }
  100% { transform: translate3d(12px, -180px, 0) scale(1.6); opacity: 0; }
}
@keyframes drift {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-110vh); opacity: 0; }
}
@keyframes lampFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 860px) {
  .hero-grid, .pains, .feats, .start, .showcase, .rules, .remember-grid, .keeps { grid-template-columns: 1fr; }
  .hero-stage { justify-self: stretch; max-width: none; }
  .hero-side { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 239, 230, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { height: 44px; line-height: 44px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero { padding: 44px 0 56px; }
  .sec { padding: 56px 0; }
  .start { padding: 32px 22px; }
  .steps::before { left: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .grain, .scroll-progress { display: none; }
  .lineage-draw path { stroke-dashoffset: 0 !important; }
  .ticker-track { animation: none; }
  .poem span, .ask-line, .remember-lead { opacity: 1; transform: none; }
  .lamp { opacity: 1; transform: none; }
  .motes, .smoke, .name-drift { display: none; }
}
