:root {
  --paper: #f4f2ee;
  --paper-deep: #ebe7e0;
  --card: rgba(255, 255, 255, 0.72);
  --ink: #1a1917;
  --muted: #6f6b66;
  --faint: #9a958e;
  --line: rgba(26, 25, 23, 0.08);
  --shadow: 0 30px 80px rgba(40, 36, 30, 0.12);
  --max: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(210, 204, 194, 0.45), transparent 50%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a { color: var(--ink); }
img { max-width: 100%; display: block; }
figure { margin: 0; }

.wrap {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.serif {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Songti TC", Georgia, serif;
  font-weight: 600;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

nav.links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

nav.links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

nav.links a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
  min-height: 78vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.12;
  letter-spacing: 0.08em;
}

.hero p.lead {
  margin: 0 0 36px;
  max-width: 28em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #f7f6f3;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

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

.stage {
  position: relative;
  height: 620px;
}

.phone {
  position: absolute;
  width: 268px;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(180deg, #2a2927, #111);
  box-shadow: var(--shadow);
  will-change: transform;
  transform-style: preserve-3d;
}

.phone img {
  width: 100%;
  border-radius: 28px;
}

.phone.main {
  right: 28px;
  top: 24px;
  z-index: 3;
}

.phone.side {
  width: 220px;
  right: 230px;
  top: 88px;
  z-index: 2;
  transform: rotate(-8deg);
  opacity: 0.92;
}

.phone.ghost {
  width: 200px;
  right: -18px;
  top: 160px;
  z-index: 1;
  transform: rotate(9deg);
  opacity: 0.78;
}

.mark {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.mark .seal {
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--ink);
  will-change: transform;
}

.mark p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 42em;
}

.section-title {
  padding: 72px 0 28px;
}

.section-title span {
  display: block;
  margin-bottom: 10px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.28em;
}

.section-title h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.12em;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 80px;
}

.feature {
  position: relative;
  isolation: isolate;
  background: color-mix(in srgb, var(--paper) 55%, #fff);
  padding: 32px 28px 30px;
  min-height: 220px;
  overflow: hidden;
  transition: background 0.35s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    180px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    color-mix(in srgb, var(--ink) 8%, transparent),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature:hover::after { opacity: 1; }

.feature > * { position: relative; z-index: 1; }

.feature .index {
  display: block;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.closing {
  text-align: center;
  padding: 24px 0 88px;
}

.closing p {
  margin: 0 0 22px;
  color: var(--muted);
}

.prose {
  background: color-mix(in srgb, #fff 70%, var(--paper));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 44px;
  margin: 28px 0 72px;
}

.prose h1 {
  margin: 0 0 8px;
  font-size: 36px;
  letter-spacing: 0.12em;
}

.prose h2 {
  font-size: 18px;
  margin-top: 36px;
  letter-spacing: 0.06em;
}

.prose p, .prose li { color: #3f3c39; }
.prose .meta { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.prose a { text-underline-offset: 3px; }

footer {
  padding: 28px 0 56px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--faint);
  text-decoration: none;
}

footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px 0 24px;
    text-align: left;
  }
  .stage { height: 520px; margin: 0 auto; width: min(100%, 420px); }
  .phone.main { right: 50%; transform: translateX(50%); }
  .phone.side, .phone.ghost { display: none; }
  .features { grid-template-columns: 1fr; }
  .mark { grid-template-columns: 1fr; gap: 8px; }
  .mark .seal { font-size: 48px; }
  .prose { padding: 28px 22px; }
}

.ink-glow,
.ink-dot,
.ink-canvas {
  pointer-events: none;
  position: fixed;
  z-index: 3;
}

.ink-glow {
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ink) 14%, transparent) 0%, transparent 68%);
  opacity: 0;
  transform: translate3d(-100vw, -100vh, 0);
  transition: opacity 0.4s ease;
}

.ink-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
  transform: translate3d(-100vw, -100vh, 0);
  mix-blend-mode: multiply;
}

.ink-canvas {
  inset: 0;
  width: 100%;
  height: 100%;
}

.has-pointer .ink-glow,
.has-pointer .ink-dot { opacity: 1; }

@media (pointer: coarse) {
  .ink-glow, .ink-dot, .ink-canvas { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ink-glow, .ink-dot, .ink-canvas { display: none; }
  .phone, .mark .seal { transform: none !important; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161513;
    --paper-deep: #11100e;
    --card: rgba(255, 255, 255, 0.04);
    --ink: #f3efe8;
    --muted: #b0aaa2;
    --faint: #8a847c;
    --line: rgba(243, 239, 232, 0.1);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  }
  .btn { color: #161513; background: #f3efe8; }
  .btn.ghost { color: var(--ink); }
  .feature { background: rgba(255, 255, 255, 0.03); }
  .prose { background: rgba(255, 255, 255, 0.03); }
  .prose p, .prose li { color: #d8d2ca; }
  .ink-dot { mix-blend-mode: screen; }
}
