:root {
  --bg: #FCFAF7;
  --paper: #FCFAF7;
  --ink: #111111;
  --muted: #6B6560;
  --wine: #8E2F45;
  --peach: #F2B5A0;
  --lavender: #EFE3EE;
  --line: #E6DED5;
  --line-dark: #CFC5BB;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "Times New Roman", serif;
  --sans: "PingFang SC", "Helvetica Neue", "Inter", system-ui, -apple-system, sans-serif;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 18% -12%, rgba(239, 227, 238, .9) 0%, rgba(239, 227, 238, 0) 64%),
    radial-gradient(820px 480px at 92% -8%, rgba(249, 228, 216, .85) 0%, rgba(249, 228, 216, 0) 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
::selection { background: var(--peach); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

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

/* ---------- nav ---------- */
.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 32px 18px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.logo-text { font-family: var(--serif); font-size: 19px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-family: var(--serif); font-size: 14.5px; color: var(--ink); }
.nav-links a { position: relative; padding-bottom: 2px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--ink); transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-start {
  border: 0; background: none; padding: 0 0 3px;
  font-family: var(--serif); font-size: 14.5px; color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.nav-start span { color: var(--wine); margin-left: 3px; }
.nav-start:hover { color: var(--wine); border-color: var(--wine); }

/* ---------- buttons ---------- */
.btn {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--wine); border-color: var(--wine); color: #FFF9F4; }
.btn-ghost { background: transparent; border-color: var(--line-dark); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 14px; font-size: 12px; }
.btn-large { padding: 16px 30px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px 0;
}
.hero-kicker {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 8.6vw, 124px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: 1180px;
  animation: heroRise .9s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 .hello {
  display: block;
  font-size: .72em;
  letter-spacing: -.035em;
  margin-bottom: 6px;
}
.hero h1 .wave { font-family: var(--sans); font-size: .78em; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--ink); }
.hero h1 .period { color: var(--wine); }
.hero-bottom {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: end;
  margin-top: 48px;
}
.hero-sub {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-end; align-items: baseline; }
.link-cta, .link-ghost {
  border: 0; border-bottom: 1px solid var(--ink); background: none;
  padding: 0 0 4px; font-family: var(--serif); font-size: 18px; color: var(--ink);
  transition: color .2s ease, border-color .2s ease;
}
.link-cta span { color: var(--wine); margin-left: 4px; }
.link-cta:hover, .link-ghost:hover { color: var(--wine); border-color: var(--wine); }
.link-ghost { color: var(--muted); border-color: var(--line-dark); font-size: 15px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 26px;
  margin-top: 44px; padding-top: 15px;
  border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 12.5px; color: var(--muted);
}
.work-label {
  margin: 92px 0 16px;
  font-family: var(--serif); font-size: 15px; color: var(--ink);
  border-top: 1px solid var(--line); padding-top: 16px;
}
.hero-tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  padding-bottom: 20px;
}
.hero-tiles figure { margin: 0; animation: heroRise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-tiles figure:nth-child(2) { animation-delay: .12s; }
.hero-tiles img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.94) contrast(.98);
}
.hero-tiles figure:first-child img { object-position: center 72%; }
.hero-tiles figcaption {
  display: flex; gap: 10px; align-items: baseline;
  margin-top: 10px; font-family: var(--serif); font-size: 10.5px;
  letter-spacing: .1em; color: var(--muted); text-transform: uppercase;
}
.hero-tiles figcaption span { color: var(--wine); }

/* ---------- sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: 140px 32px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 1000px; margin-bottom: 64px; }
.eyebrow {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
}
.section h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section-sub { margin: 0; max-width: 620px; color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* process as editorial rows */
.process-grid { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.process-card {
  display: grid;
  grid-template-columns: 84px 1fr 1.15fr;
  gap: 26px;
  align-items: baseline;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
  background: none;
}
.process-card:hover { background: none; }
.step-no { font-family: var(--serif); font-size: 14px; color: var(--wine); }
.process-card h3 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.02em; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 560px; }

/* report */
.section-report { max-width: none; padding: 140px 32px; background: #F8F3EC; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-grid {
  display: grid; grid-template-columns: 1fr .9fr; gap: 90px;
  align-items: center; max-width: 1216px; margin: 0 auto;
}
.report-list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.report-list li { display: flex; gap: 24px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.report-list b { min-width: 96px; font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--ink); }
.report-list span { color: var(--muted); font-size: 12.5px; }
.report-mock {
  max-width: 430px; margin-left: auto;
  padding: 28px 28px 22px;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.mock-head { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 9px; letter-spacing: .14em; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.mock-type { padding: 24px 0 18px; }
.mock-type small { display: block; font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.mock-type strong { display: block; font-family: var(--serif); font-size: 70px; font-weight: 400; line-height: 1; margin-top: 4px; }
.mock-type em { display: block; font-style: normal; font-family: var(--serif); font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-top: 4px; }
.mock-type p { margin: 12px 0 0; font-size: 11.5px; color: var(--muted); }
.mock-palette { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 8px 0 18px; }
.mock-palette i { height: 54px; background: var(--c); }
.mock-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 10px; }
.mock-row span { color: var(--muted); }
.mock-row b { font-weight: 400; font-family: var(--serif); text-align: right; }
.mock-foot { margin-top: 14px; font-family: var(--serif); font-size: 8.5px; letter-spacing: .14em; color: var(--wine); text-align: center; }

/* types */
.type-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.type-card {
  display: block; background: var(--bg); border: 0; border-radius: 0;
  padding: 0; text-align: left; color: var(--ink);
  transition: background .2s ease;
}
.type-card:hover { background: #F8F2EB; }
.type-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 108px; }
.type-strip i { background: var(--c); }
.type-body { padding: 18px 16px 22px; }
.type-body h3 { margin: 0; font-family: var(--serif); font-size: 29px; font-weight: 400; letter-spacing: -.02em; }
.type-body em { display: block; font-style: normal; font-family: var(--serif); font-size: 8.5px; letter-spacing: .16em; color: var(--muted); margin-top: 4px; }
.type-body p { margin: 12px 0 0; font-size: 11px; color: var(--muted); line-height: 1.65; }
.type-more { display: inline-block; margin-top: 14px; font-family: var(--serif); font-size: 10px; color: var(--wine); border-bottom: 1px solid transparent; }
.type-card:hover .type-more { border-color: var(--wine); }

/* quote */
.quote { padding: 160px 32px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote p {
  margin: 0 auto 20px; max-width: 980px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.16; letter-spacing: -.04em;
}
.quote span { font-family: var(--serif); font-size: 10px; letter-spacing: .18em; color: var(--muted); }

/* pricing */
.pricing-wrap { display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: center; }
.pricing-copy h2 { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
.pricing-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pricing-points span { font-family: var(--serif); font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line-dark); padding-bottom: 3px; }
.pricing-card { background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; }
.pricing-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.pricing-badge { font-size: 9px; color: var(--wine); border: 1px solid var(--wine); padding: 4px 7px; letter-spacing: .04em; }
.pricing-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 14px; }
.pricing-price s { color: #A8A29A; font-size: 13px; }
.pricing-price strong { font-family: var(--serif); font-size: 64px; color: var(--ink); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.pricing-price small { font-family: var(--serif); font-size: 11px; color: var(--wine); }
.pricing-card ul { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.pricing-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.pricing-card li::before { content: "—"; color: var(--wine); margin-right: 9px; }
.pricing-card .btn { width: 100%; }
.pricing-note { margin: 10px 0 0; text-align: center; font-size: 8.5px; color: #9A938B; line-height: 1.6; }

/* faq */
.faq-list { max-width: 900px; border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: 24px; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--wine); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0 0 24px; max-width: 740px; color: var(--muted); font-size: 13px; line-height: 1.9; }

/* cta */
.cta-band {
  margin: 0 auto; max-width: 1280px; padding: 170px 32px;
  text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; color: var(--ink); border-radius: 0;
}
.cta-band .eyebrow { color: var(--muted); }
.cta-band h2 { margin: 0 0 34px; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 94px); line-height: 1.02; letter-spacing: -.045em; }
.cta-band .btn-primary { background: var(--ink); color: var(--bg); }
.cta-band .btn-primary:hover { background: var(--wine); }
.cta-note { display: block; margin-top: 20px; font-family: var(--serif); font-size: 11px; letter-spacing: .06em; color: var(--muted); }

/* footer */
.footer { max-width: 1280px; margin: 0 auto; padding: 50px 32px 26px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 8px 0 0; font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.footer-links { display: flex; gap: 22px; font-family: var(--serif); font-size: 12px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; font-size: 9px; color: #9A938B; letter-spacing: .04em; }

/* ---------- test overlay ---------- */
.test-overlay {
  position: fixed; inset: 0; z-index: 100;
  background:
    radial-gradient(800px 420px at 15% -10%, rgba(239,227,238,.8), transparent 60%),
    radial-gradient(700px 400px at 90% -10%, rgba(249,228,216,.7), transparent 60%),
    var(--bg);
  overflow-y: auto; opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.test-overlay.open { opacity: 1; visibility: visible; }
.test-top {
  position: sticky; top: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: 100%; padding: 16px max(24px, calc((100vw - 860px) / 2)) 13px;
  background: rgba(252,250,247,.94); border-bottom: 1px solid var(--line);
}
.test-logo { justify-self: start; display: flex; align-items: center; gap: 7px; }
.test-top .logo-text { font-family: var(--serif); font-size: 17px; }
.test-top .logo-dot { width: 8px; height: 8px; }
.test-top .test-step { justify-self: center; font-family: var(--serif); font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.test-top .icon-btn { justify-self: end; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 0;
  border: 1px solid var(--line-dark); background: transparent;
  color: var(--ink); font-size: 19px; line-height: 1;
}
.icon-btn:hover { border-color: var(--wine); color: var(--wine); }
.test-progress { position: sticky; top: 61px; z-index: 2; max-width: 860px; margin: 0 auto; height: 1px; background: var(--line); }
.test-progress span { display: block; height: 100%; width: 0; background: var(--wine); transition: width .4s ease; }
.test-stage { max-width: 860px; margin: 0 auto; padding: 44px 24px 90px; }

.test-intro { max-width: 680px; margin: 0 auto; text-align: center; padding-top: 16px; }
.test-intro h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; }
.test-intro p { margin: 0 auto; max-width: 500px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.eyebrow { font-family: var(--serif); }

.upload-zone {
  margin: 34px auto 0; max-width: 600px; min-height: 320px;
  border: 1px dashed var(--line-dark); border-radius: var(--radius);
  background: transparent; display: grid; place-items: center;
  padding: 28px; text-align: center;
  transition: background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--wine); background: #F8F1EC; }
.upload-icon {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; border: 1px solid var(--line-dark);
  color: var(--wine); font-size: 20px; background: transparent;
}
.upload-zone strong { display: block; font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.upload-zone span { display: block; color: var(--muted); font-size: 11px; line-height: 1.8; }
.upload-zone input { display: none; }
.upload-preview { margin: 26px auto 0; max-width: 600px; text-align: center; }
.upload-preview img { max-height: 320px; margin: 0 auto; border-radius: var(--radius); }
.upload-preview p { margin: 10px 0 0; font-size: 10px; color: var(--muted); }
.skip-link { margin-top: 18px; display: inline-block; font-family: var(--serif); font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.skip-link:hover { color: var(--wine); }

.photo-status {
  display: flex; align-items: center; gap: 12px; max-width: 600px;
  margin: 14px auto 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: left;
}
.photo-status b { display: block; color: var(--ink); font-family: var(--serif); font-size: 13px; font-weight: 400; }
.photo-status .skin-swatch { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--c, #E8C8B8); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--line-dark); }
.photo-status .spinner { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 1px solid var(--line); border-top-color: var(--wine); animation: spin .9s linear infinite; }
.photo-status .status-icon { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--wine); font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

.question-wrap { max-width: 720px; margin: 0 auto; }
.question-count { margin: 0 0 14px; font-family: var(--serif); font-size: 11px; letter-spacing: .14em; color: var(--wine); }
.question-title { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -.03em; }
.question-hint { margin: 0 0 32px; color: var(--muted); font-size: 12px; }
.option-list { display: grid; gap: 10px; }
.option-card {
  width: 100%; text-align: left; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: transparent; padding: 19px 20px; display: flex; align-items: center; gap: 14px;
  transition: background .2s ease, border-color .2s ease;
}
.option-card:hover { border-color: var(--ink); }
.option-card.selected { border-color: var(--wine); background: #F8EDEF; }
.option-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-dark); flex: none; display: grid; place-items: center; }
.option-card.selected .option-dot { border-color: var(--wine); }
.option-card.selected .option-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); }
.option-text { font-size: 14px; line-height: 1.5; }
.test-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; }
.test-nav .btn { min-width: 120px; }

.analyzing { text-align: center; padding: 90px 0; }
.analyzing h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 46px; letter-spacing: -.03em; }
.analyzing p { margin: 0; color: var(--muted); font-size: 12px; }
.analyze-dots { display: flex; justify-content: center; gap: 9px; margin: 36px 0; }
.analyze-dots i { width: 24px; height: 24px; background: var(--c); animation: pulse 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes pulse { 0%,100% { transform: scale(.7); opacity: .3; } 50% { transform: scale(1); opacity: 1; } }
.analyze-bar { max-width: 300px; height: 1px; margin: 0 auto; background: var(--line); overflow: hidden; }
.analyze-bar span { display: block; height: 100%; width: 0; background: var(--wine); animation: load 2.2s ease forwards; }
@keyframes load { to { width: 100%; } }

/* ---------- result ---------- */
.result { max-width: 820px; margin: 0 auto; }
.sample-banner { margin-bottom: 20px; padding: 10px 0; border-top: 1px solid var(--wine); border-bottom: 1px solid var(--wine); font-family: var(--serif); font-size: 11px; color: var(--wine); letter-spacing: .04em; }
.result-head { border-bottom: 1px solid var(--line-dark); padding-bottom: 30px; }
.result-kicker { margin: 0 0 12px; font-family: var(--serif); font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.result-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(82px, 13vw, 138px); line-height: .88; letter-spacing: -.06em; color: var(--ink); }
.result-en { display: block; margin-top: 10px; font-family: var(--serif); font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }
.result-tagline { margin: 18px 0 0; font-family: var(--serif); font-size: 25px; line-height: 1.3; color: var(--wine); }
.result-desc { margin: 16px 0 0; max-width: 660px; color: var(--muted); font-size: 13px; line-height: 1.95; }

.photo-signal { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; }
.photo-signal .skin-swatch { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--c); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--line-dark); }
.photo-signal b { display: block; font-family: var(--serif); font-size: 12px; font-weight: 400; }
.photo-signal p { margin: 3px 0 0; font-size: 9.5px; color: var(--muted); letter-spacing: .02em; }
.photo-signal .signal-tag { margin-left: auto; flex: none; font-family: var(--serif); font-size: 9px; color: var(--wine); border: 1px solid var(--wine); padding: 4px 7px; }

.scene-switch { display: flex; flex-wrap: wrap; gap: 26px; margin: 26px 0 8px; border-bottom: 1px solid var(--line); }
.scene-tab {
  border: 0; background: none; padding: 0 0 9px; margin-bottom: -1px;
  font-family: var(--serif); font-size: 16px; color: var(--muted);
  border-bottom: 1px solid transparent;
}
.scene-tab:hover { color: var(--ink); }
.scene-tab.active { color: var(--wine); border-bottom-color: var(--wine); }
.scene-note { margin: 0 0 24px; color: var(--muted); font-size: 11px; line-height: 1.8; }

.result-section { margin-top: 42px; }
.result-section h3 { margin: 0 0 7px; font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.02em; }
.result-section .sub { margin: 0 0 18px; color: var(--muted); font-size: 11px; }
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.color-card {
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: transparent;
  padding: 8px; text-align: left; transition: border-color .2s ease, background .2s ease;
}
.color-card:hover { border-color: var(--ink); background: #F8F2EB; }
.color-card .swatch { height: 112px; background: var(--c); margin-bottom: 10px; }
.color-card .cname { font-family: var(--serif); font-size: 15px; }
.color-card .chex { font-size: 9px; color: var(--muted); letter-spacing: .08em; margin-top: 3px; }
.color-card .cuse { font-size: 9px; color: var(--muted); margin-top: 6px; }
.free-hint { margin: 12px 0 0; font-size: 9.5px; color: #9A938B; line-height: 1.7; }

.avoid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avoid-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 8px; background: transparent; }
.avoid-card .swatch { height: 64px; background: var(--c); margin-bottom: 8px; }
.avoid-card b { display: block; font-family: var(--serif); font-size: 12px; font-weight: 400; }
.avoid-card span { display: block; font-size: 8.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

.makeup-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.makeup-card { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 12px; background: transparent; }
.makeup-card .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--c); margin-bottom: 10px; }
.makeup-card b { display: block; font-family: var(--serif); font-size: 13px; font-weight: 400; }
.makeup-card span { display: block; font-size: 8.5px; color: var(--muted); margin-top: 3px; }

.outfit-grid { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.outfit-card { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); background: transparent; }
.outfit-colors { display: flex; gap: 3px; flex: none; }
.outfit-colors i { width: 30px; height: 42px; background: var(--c); }
.outfit-card b { display: block; font-family: var(--serif); font-size: 14px; font-weight: 400; }
.outfit-card p { margin: 3px 0 0; font-size: 10px; color: var(--muted); line-height: 1.55; }

.celeb-row { display: flex; flex-wrap: wrap; gap: 8px; }
.celeb-chip { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 7px 10px; font-family: var(--serif); font-size: 11px; color: var(--ink); background: transparent; }
.celeb-chip span { color: var(--muted); font-size: 9px; margin-left: 5px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag { font-family: var(--serif); font-size: 9.5px; letter-spacing: .06em; color: var(--wine); border: 1px solid var(--wine); border-radius: 0; padding: 4px 8px; }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.result-note { margin-top: 24px; font-size: 9px; color: #9A938B; line-height: 1.7; }

.locked-panel { margin: 42px 0 0; padding: 30px 24px 24px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; text-align: center; }
.locked-panel .lock-icon { width: 38px; height: 38px; margin: 0 auto 12px; display: grid; place-items: center; border: 1px solid var(--wine); color: var(--wine); font-size: 14px; }
.locked-panel h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 40px; font-weight: 400; letter-spacing: -.03em; }
.locked-panel p { margin: 0 auto; max-width: 460px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.locked-panel .price-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 18px 0 14px; }
.locked-panel .price-row s { color: #A8A29A; font-size: 13px; }
.locked-panel .price-row strong { font-family: var(--serif); font-size: 64px; color: var(--ink); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.locked-panel .price-row small { font-family: var(--serif); font-size: 11px; color: var(--wine); }
.locked-panel .price-note { font-size: 9px; color: #9A938B; margin-top: 12px; }
.share-discount { display: inline-block; margin-top: 12px; font-family: var(--serif); font-size: 12px; color: var(--wine); border: 0; border-bottom: 1px solid var(--wine); background: none; padding: 0 0 3px; }

/* share / pay */
.share-modal, .pay-modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 20px;
  background: rgba(17,17,17,.42); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.share-modal.open, .pay-modal.open { opacity: 1; visibility: visible; }
.share-panel {
  width: min(92vw, 440px); max-height: 92vh; overflow: auto;
  background: var(--bg); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 16px;
}
.share-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: var(--serif); font-size: 13px; }
.share-panel canvas { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 0; }
.share-actions { display: flex; gap: 8px; margin-top: 12px; }
.share-actions .btn { flex: 1; padding: 11px 10px; font-size: 11px; }
.invite-box { margin-top: 12px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.invite-row { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 11px; color: var(--muted); }
.invite-row b { color: var(--wine); letter-spacing: .12em; font-size: 13px; font-weight: 400; }
.share-link-row { display: flex; gap: 6px; margin-top: 8px; }
.share-link-row input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 0; padding: 8px 10px; font-size: 9.5px; color: var(--muted); background: transparent; }
.share-link-row .btn { padding: 8px 12px; font-size: 10px; }
.share-tip { margin: 8px 0 0; font-size: 9px; color: #9A938B; line-height: 1.6; }
.share-friend { width: 100%; margin-top: 8px; font-size: 10px; }

.pay-panel {
  width: min(92vw, 460px); max-height: 92vh; overflow: auto;
  background: var(--bg); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 24px;
}
.pay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: var(--serif); font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.pay-panel h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 48px; font-weight: 400; letter-spacing: -.04em; }
.pay-sub { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.pay-price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 8px; }
.pay-price span { font-family: var(--serif); font-size: 64px; color: var(--ink); line-height: 1; letter-spacing: -.04em; }
.pay-price small { color: var(--wine); font-size: 12px; }
.pay-price em { margin-left: auto; font-style: normal; font-family: var(--serif); font-size: 9px; color: #9A938B; }
.pay-list { margin: 14px 0 18px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pay-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.pay-list li::before { content: "—"; color: var(--wine); margin-right: 8px; }
.pay-btn { width: 100%; margin-top: 8px; }
.pay-note { margin: 12px 0 0; text-align: center; font-size: 9px; color: #9A938B; }

/* invite / toast */
.invite-banner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 9px 32px; background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-size: 11px; letter-spacing: .05em;
  position: relative; z-index: 55;
}
.invite-close { position: absolute; right: 18px; border: 0; background: transparent; color: var(--bg); font-size: 17px; line-height: 1; opacity: .65; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 140;
  transform: translate(-50%, 14px); background: var(--ink); color: var(--bg);
  border-radius: var(--radius); padding: 10px 18px; font-size: 11px; letter-spacing: .03em;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(54px, 10vw, 96px); }
  .hero-bottom { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions { justify-content: flex-start; }
  .hero-tiles { gap: 12px; }
  .process-card { grid-template-columns: 60px 1fr 1.2fr; gap: 18px; }
  .process-card h3 { font-size: 28px; }
  .report-grid { grid-template-columns: 1fr; gap: 44px; }
  .report-mock { margin: 0 auto; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-wrap { grid-template-columns: 1fr; gap: 34px; }
  .nav-links { display: none; }
  .nav-start { margin-left: auto; }
}
@media (max-width: 680px) {
  .nav { padding: 18px 18px 12px; }
  .logo-text { font-size: 17px; }
  .nav-start { font-size: 12.5px; }
  .hero { padding: 44px 18px 0; }
  .hero h1 { font-size: clamp(32px, 10.5vw, 76px); }
  .hero h1 .hello { font-size: .78em; }
  .hero-kicker { font-size: 10px; }
  .hero-sub { font-size: 13.5px; }
  .hero-meta { gap: 12px 18px; font-size: 11px; }
  .work-label { margin-top: 54px; }
  .hero-tiles { grid-template-columns: 1fr; gap: 18px; }
  .hero-tiles img { aspect-ratio: 4 / 3; }
  .section { padding: 76px 18px; }
  .section-report { padding: 76px 18px; }
  .section h2 { font-size: clamp(38px, 11vw, 56px); }
  .process-card { grid-template-columns: 42px 1fr; gap: 10px 16px; padding: 20px 0 24px; }
  .process-card p { grid-column: 2; }
  .process-card h3 { font-size: 24px; }
  .report-list b { min-width: 80px; font-size: 13px; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .type-strip { height: 76px; }
  .type-body { padding: 12px 10px 16px; }
  .type-body h3 { font-size: 22px; }
  .type-body p { display: none; }
  .quote { padding: 90px 18px; }
  .quote p { font-size: 32px; }
  .pricing-card { padding: 18px; }
  .pricing-price strong { font-size: 52px; }
  .faq-list summary { font-size: 19px; padding: 20px 0; }
  .cta-band { padding: 100px 18px; }
  .cta-band h2 { font-size: 42px; }
  .footer { padding: 38px 18px 22px; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 12px; }
  .test-top { padding: 13px 18px 11px; }
  .test-progress { top: 55px; }
  .test-stage { padding: 26px 18px 70px; }
  .test-intro h2 { font-size: 36px; }
  .option-card { padding: 16px; }
  .option-text { font-size: 13px; }
  .question-title { font-size: 32px; }
  .result-name { font-size: 86px; }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .color-card .swatch { height: 88px; }
  .avoid-grid { grid-template-columns: repeat(2, 1fr); }
  .makeup-row { grid-template-columns: 1fr 1fr 1fr; }
  .locked-panel h3 { font-size: 32px; }
  .locked-panel .price-row strong { font-size: 52px; }
  .pay-panel h2 { font-size: 38px; }
  .pay-price span { font-size: 52px; }
  .invite-banner { justify-content: flex-start; padding: 8px 38px 8px 14px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- QR payment ---------- */
.pay-order { margin: 0 0 14px; font-family: var(--serif); font-size: 9.5px; color: var(--muted); letter-spacing: .06em; }
.pay-order b { color: var(--wine); font-weight: 400; letter-spacing: .12em; }
.qr-pay { margin: 16px 0 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.qr-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-family: var(--serif); font-size: 12px; color: var(--muted); }
.qr-top b { color: var(--wine); font-weight: 400; }
.qr-img { width: 300px; max-width: 82%; height: auto; margin: 0 auto; border: 1px solid var(--line); }
.qr-note { margin: 10px auto 12px; max-width: 320px; font-size: 9px; color: #9A938B; line-height: 1.6; }
.qr-pay .btn { width: 100%; }

/* ---------- order status / review ---------- */
.pay-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 10px; color: #9A938B; }
.pay-status b { font-weight: 400; font-family: var(--serif); font-size: 12px; color: var(--ink); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wine); animation: pulse 1.4s ease-in-out infinite; }
.review-modal {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; padding: 20px;
  background: rgba(17,17,17,.46); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.review-modal.open { opacity: 1; visibility: visible; }
.review-panel {
  width: min(92vw, 430px); background: var(--bg); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 38px 30px 30px; text-align: center;
}
.review-orbit { position: relative; width: 108px; height: 108px; margin: 0 auto 24px; }
.review-orbit span { position: absolute; inset: 0; border: 1px solid var(--line-dark); border-radius: 50%; animation: orbit 2.6s linear infinite; }
.review-orbit span:nth-child(1) { border-top-color: var(--wine); }
.review-orbit span:nth-child(2) { inset: 16px; animation-direction: reverse; border-bottom-color: var(--peach); }
.review-orbit i { position: absolute; inset: 40px; border-radius: 50%; background: var(--wine); animation: pulse 1.4s ease-in-out infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.review-panel h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 48px; letter-spacing: -.04em; }
.review-panel p { margin: 0 auto; max-width: 300px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.review-order { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.review-order b { color: var(--wine); font-weight: 400; letter-spacing: .12em; }
.review-note { margin-top: 12px !important; font-size: 9px !important; color: #9A938B !important; }

/* ---------- unlocked report page ---------- */
.report-body { background: var(--bg); }
.report-nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 24px 32px;
  border-bottom: 1px solid var(--line);
}
.report-back { font-family: var(--serif); font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line-dark); padding-bottom: 3px; }
.report-page { max-width: 920px; margin: 0 auto; padding: 44px 32px 110px; }
.report-page .result { max-width: none; padding: 0; }
.report-loading { padding: 140px 0; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 14px; }
.report-loading .spinner { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.report-pending { padding: 130px 0; text-align: center; }
.report-pending h1 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 72px); letter-spacing: -.04em; }
.report-pending p { margin: 0 auto; max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.report-pending .review-orbit { margin-bottom: 26px; }
.report-meta { margin: 14px 0 0; font-family: var(--serif); font-size: 9.5px; color: #9A938B; letter-spacing: .04em; }
.report-doc .result-name { font-size: clamp(82px, 13vw, 132px); }
.report-actions { margin-top: 44px; }
@media (max-width: 680px) {
  .report-nav { padding: 18px; }
  .report-page { padding: 30px 18px 80px; }
  .report-pending { padding: 90px 0; }
}
@media print {
  .report-nav, .report-actions, .toast, .review-modal { display: none !important; }
  body { background: #fff; }
  .report-page { max-width: none; padding: 0; }
  .result-section { break-inside: avoid; }
  .color-card, .avoid-card, .makeup-card, .outfit-card { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.share-pending {
  margin: 10px 0 0;
  font-size: 9.5px;
  color: #8E2F45;
  line-height: 1.6;
}

.qr-brand { display: flex; align-items: center; gap: 8px; }
.wechat-pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #07C160;
  color: #FFFFFF;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: 4px;
  padding: 4px 8px;
}
.wechat-pay-badge::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #FFFFFF;
}
.qr-channel-en {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .14em;
  color: #9A938B;
}
.qr-hint {
  margin: 0 0 10px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .04em;
}

.lan-chip {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 36px);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 10px 26px rgba(58, 38, 34, 0.12);
  backdrop-filter: blur(10px);
}
.lan-chip-label {
  flex: none;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--wine);
  letter-spacing: .08em;
}
.lan-chip code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  color: var(--muted);
}
.lan-chip-btn {
  flex: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--ink);
  color: var(--bg);
  font-size: 8.5px;
}
@media (max-width: 680px) {
  .lan-chip { display: none !important; }
}
