@font-face { font-family: "Vignis Display"; src: url("assets/fonts/vignis-playfair-variable.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Vignis WenKai"; src: url("assets/fonts/vignis-wenkai-subset.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Vignis MaShan"; src: url("assets/fonts/vignis-ma-shan-zheng.woff2?v=20260720-2") format("woff2"); font-display: swap; }
@font-face { font-family: "Vignis Thinker"; src: url("assets/fonts/vignis-cormorant-garamond-variable.woff2") format("woff2"); font-style: normal; font-weight: 300 700; font-display: swap; }

:root {
  --paper: #f7f2e6;
  --paper-warm: #f0dfb7;
  --purple: #4b3656;
  --purple-soft: #6f5a78;
  --red: #ad4935;
  --muted: #746b61;
  --line: rgba(75, 54, 86, .17);
  --display: "Vignis Display", "Bodoni 72", Didot, serif;
  --display-zh: "Vignis MaShan", "Ma Shan Zheng", "STKaiti", cursive;
  --thinker-display: "Vignis Thinker", "Cormorant Garamond", "Bodoni 72", Didot, serif;
  --text: Georgia, "Songti SC", serif;
  --ui: Inter, Avenir, "PingFang SC", sans-serif;
  --wordmark: "Avenir Next", Avenir, Futura, "Gill Sans", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color: var(--purple); background: var(--paper); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--purple); background: radial-gradient(circle at 20% 5%, rgba(244, 216, 147, .42), transparent 28%), var(--paper); font: 16px/1.6 var(--text); }
body.is-zh { --text: "Vignis WenKai", "LXGW WenKai", "Songti SC", serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.member-nav { position: sticky; z-index: 20; top: 0; display: flex; justify-content: space-between; align-items: center; height: 78px; padding: 0 clamp(22px, 5.5vw, 88px); border-bottom: 1px solid rgba(75,54,86,.1); background: rgba(247,242,230,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.member-brand { display: flex; align-items: center; gap: 13px; }
.member-brand img { width: 41px; height: 43px; object-fit: contain; }
.member-brand b { margin-right: -.24em; font: 720 20px/.82 var(--wordmark); letter-spacing: .24em; transform: scaleX(.96); transform-origin: left center; }
.member-nav-actions { display: flex; align-items: center; gap: 28px; }
.member-nav-actions > a { padding-bottom: 4px; border-bottom: 1px solid var(--line); font: 700 9px/1.4 var(--ui); letter-spacing: .11em; text-transform: uppercase; }
.member-language { display: flex; align-items: center; gap: 8px; }
.member-language button { border: 0; padding: 4px; color: rgba(75,54,86,.45); background: transparent; cursor: pointer; font: 700 9px/1 var(--ui); letter-spacing: .09em; }
.member-language button.is-active { color: var(--purple); }
.member-language span { width: 1px; height: 12px; background: var(--line); }

main { width: min(1500px, calc(100% - 32px)); margin: 16px auto 0; overflow: hidden; border: 1px solid rgba(75,54,86,.13); border-radius: 32px; background: rgba(255,252,245,.57); box-shadow: 0 22px 80px rgba(74,53,40,.07); }
.member-hero { min-height: 530px; display: grid; grid-template-columns: minmax(260px, .6fr) minmax(500px, 1.4fr); gap: clamp(48px, 8vw, 130px); align-items: center; padding: clamp(72px, 8vw, 128px) clamp(34px, 7vw, 110px); border-bottom: 1px solid var(--line); background: linear-gradient(110deg, rgba(240,223,183,.55), transparent 50%); }
.member-lockup { align-self: start; }
.member-lockup img { width: min(370px, 100%); height: auto; }
.lockup-zh { display: none; }
.is-zh .lockup-en { display: none; }
.is-zh .lockup-zh { display: block; width: min(490px, 100%); }
.member-hero-copy > p:first-child { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; color: var(--red); font: 700 9px/1.4 var(--ui); letter-spacing: .16em; }
.member-hero-copy > p:first-child i { width: 54px; height: 1px; background: currentColor; opacity: .45; }
.member-hero-copy h1 { max-width: none; margin: 0; font: 520 clamp(54px, 5.6vw, 88px)/1.01 var(--display); letter-spacing: -.04em; text-wrap: pretty; }
.is-zh .member-hero-copy h1 { font-size: clamp(48px, 5vw, 76px); line-height: 1.16; letter-spacing: .01em; }
.member-hero-copy > p:last-child { max-width: 70ch; margin: 30px 0 0; color: var(--muted); font-size: 17px; line-height: 1.82; }

.product-folio { padding: clamp(58px, 7vw, 105px) clamp(34px, 7vw, 110px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,252,245,.34), rgba(240,223,183,.18)); }
.product-folio > header { display: grid; grid-template-columns: minmax(170px, .4fr) minmax(480px, 1.15fr); column-gap: clamp(40px, 7vw, 110px); align-items: start; }
.product-folio > header > span, .product-review-grid span { color: var(--red); font: 700 9px/1.4 var(--ui); letter-spacing: .16em; }
.product-folio h2 { margin: 0; font: 520 clamp(43px, 4.8vw, 72px)/1 var(--display); letter-spacing: -.04em; }
.product-folio > header > p { grid-column: 2; max-width: 72ch; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.product-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 82px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-features article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 114px; padding: 22px clamp(14px, 2vw, 30px); }
.product-features article + article { border-left: 1px solid var(--line); }
.product-features i { color: var(--red); font: italic 520 16px/1 var(--display); }
.product-features b { font: 520 clamp(18px, 1.7vw, 25px)/1.25 var(--display); }
.product-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 70px); margin-top: 42px; }
.product-review-grid article { position: relative; padding-left: 24px; }
.product-review-grid article::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: 1px; background: rgba(173,73,53,.38); }
.product-review-grid p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.78; }
.product-price b { display: block; margin-top: 14px; font: 520 clamp(21px, 2vw, 30px)/1.25 var(--display); }
.is-zh .product-folio h2, .is-zh .product-features b, .is-zh .product-price b { font-family: var(--display-zh); font-weight: 400; letter-spacing: .01em; }

.account-shell { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(540px, 1.32fr); min-height: 690px; scroll-margin-top: 90px; }
.account-index { padding: clamp(46px, 5vw, 78px) clamp(30px, 5vw, 76px); border-right: 1px solid var(--line); background: rgba(240,223,183,.2); }
.account-index > span, .dashboard-head span, .membership-status-card span, .member-library header span { color: var(--red); font: 700 9px/1.4 var(--ui); letter-spacing: .16em; }
.account-index h2 { margin: 22px 0 18px; font: 560 clamp(43px, 4.1vw, 62px)/.94 var(--thinker-display); letter-spacing: -.035em; font-feature-settings: "kern" 1, "liga" 1; text-rendering: optimizeLegibility; }
.account-index > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.plan-prices { display: grid; gap: 0; margin-top: 38px; border-top: 1px solid var(--line); }
.plan-price { display: flex; align-items: baseline; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.plan-price b { font: 520 32px/1 var(--display); }
.plan-price span { color: var(--muted); font: 650 10px/1.4 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
.account-index ul { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.account-index li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14px; }
.account-index li::before { content: "◇"; position: absolute; left: 0; color: var(--red); font-size: 10px; }

.account-stage { position: relative; padding: clamp(46px, 5.5vw, 84px) clamp(34px, 6vw, 96px); }
.backend-notice { margin-bottom: 22px; border: 1px solid rgba(173,73,53,.24); border-radius: 14px; padding: 13px 16px; color: #874032; background: rgba(240,223,183,.35); font: 13px/1.55 var(--ui); }
.auth-panel { max-width: 780px; }
.auth-eyebrow { display: block; margin-bottom: 22px; color: var(--red); font: 700 9px/1.4 var(--ui); letter-spacing: .16em; }
.auth-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.auth-tabs button { min-width: 146px; border: 0; padding: 0 4px 13px; color: var(--muted); background: transparent; cursor: pointer; font: 700 9px/1.4 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
.auth-tabs button.is-active { color: var(--red); box-shadow: 0 2px 0 var(--red); }
.auth-panel h2, .dashboard-head h2 { margin: 0; font: 520 clamp(42px, 4.5vw, 68px)/1.02 var(--display); letter-spacing: -.035em; }
.auth-panel > p { max-width: 55ch; margin: 22px 0 0; color: var(--muted); line-height: 1.78; }
.auth-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 38px 0 32px; }
.auth-method { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 112px; border: 1px solid rgba(75,54,86,.16); border-radius: 20px; padding: 18px 17px; text-align: left; background: rgba(255,255,255,.38); cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease), transform .35s var(--ease); }
.auth-method::after { content: ""; position: absolute; right: 18px; bottom: -1px; left: 18px; height: 2px; background: transparent; transform: scaleX(.2); transition: background .3s var(--ease), transform .35s var(--ease); }
.auth-method:hover { border-color: rgba(173,73,53,.34); background: rgba(255,255,255,.58); transform: translateY(-2px); }
.auth-method:disabled { cursor: wait; opacity: .58; transform: none; }
.auth-method.is-active { border-color: rgba(173,73,53,.26); background: rgba(240,223,183,.25); }
.auth-method.is-active::after { background: var(--red); transform: scaleX(1); }
.auth-method-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(75,54,86,.12); border-radius: 50%; background: rgba(255,255,255,.62); }
.auth-method-icon svg { width: 21px; height: 21px; }
.auth-method-email .auth-method-icon svg { fill: none; stroke: var(--purple); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.auth-method-copy { display: grid; gap: 5px; min-width: 0; }
.auth-method-copy b { color: var(--purple); font: 520 17px/1.25 var(--display); }
.auth-method-copy small { overflow: hidden; color: var(--muted); font: 10px/1.45 var(--ui); text-overflow: ellipsis; white-space: nowrap; }
.auth-method > i { align-self: start; color: var(--red); font: normal 14px/1 var(--ui); }
.email-auth-panel { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.email-auth-panel::before { content: ""; position: absolute; top: -1px; left: 0; width: 54px; height: 1px; background: var(--red); }
#auth-form { display: grid; }
#auth-form label { margin: 17px 0 7px; color: var(--purple-soft); font: 700 9px/1.4 var(--ui); letter-spacing: .12em; text-transform: uppercase; }
#auth-form input { width: 100%; border: 1px solid rgba(75,54,86,.2); border-radius: 12px; padding: 15px 16px; color: var(--purple); background: rgba(255,255,255,.48); outline: 0; }
#auth-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(173,73,53,.09); }
#auth-form button, .subscribe-button { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; border: 0; border-radius: 12px; padding: 16px 18px; color: #fff; background: var(--purple); cursor: pointer; font: 700 10px/1.4 var(--ui); letter-spacing: .11em; text-transform: uppercase; transition: background .25s, transform .3s var(--ease); }
#auth-form button:hover, .subscribe-button:hover { background: var(--red); transform: translateY(-2px); }
#auth-form button:disabled, .subscribe-button:disabled { cursor: wait; opacity: .55; transform: none; }
#auth-form button i, .subscribe-button i { color: #edb383; font-style: normal; }
.account-status { min-height: 22px; margin: 15px 0 0; color: var(--red); font: 13px/1.6 var(--ui); }

.dashboard { display: grid; gap: 42px; }
.dashboard-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.dashboard-head h2 { margin-top: 16px; }
.dashboard-head p { margin: 10px 0 0; color: var(--muted); font: 13px/1.5 var(--ui); }
.quiet-button { border: 0; border-bottom: 1px solid var(--line); padding: 7px 2px; color: var(--muted); background: transparent; cursor: pointer; font: 700 9px/1.4 var(--ui); letter-spacing: .11em; text-transform: uppercase; }
.membership-status-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(390px, 1.3fr); gap: 32px; align-items: start; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(240,223,183,.24); }
.membership-status-card b { display: block; margin-top: 9px; font: 520 27px/1.2 var(--display); }
.membership-status-card p { max-width: 50ch; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.purchase-options { display: grid; gap: 15px; }
.plan-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan-choices-single { grid-template-columns: 1fr; }
.plan-choice { display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; text-align: left; color: var(--purple); background: rgba(255,255,255,.38); cursor: pointer; }
.plan-choice b { margin: 0; font: 520 17px/1.2 var(--display); }
.plan-choice small { color: var(--muted); font: 9px/1.4 var(--ui); letter-spacing: .04em; }
.plan-choice em { justify-self: start; margin-top: 2px; border-radius: 999px; padding: 3px 7px; color: var(--red); background: rgba(173,73,53,.08); font: 700 7px/1 var(--ui); font-style: normal; letter-spacing: .09em; text-transform: uppercase; }
.plan-choice.is-selected { border-color: rgba(173,73,53,.5); background: rgba(255,252,245,.78); box-shadow: inset 0 -2px var(--red); }
.purchase-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; color: var(--muted); font: 11px/1.6 var(--ui); cursor: pointer; }
.purchase-consent input { margin-top: 3px; accent-color: var(--red); }
.purchase-legal { display: flex; flex-wrap: wrap; gap: 16px; font: 700 8px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.purchase-legal a { border-bottom: 1px solid var(--line); }
.subscribe-button { min-width: 210px; margin: 0; }
.sales-closed-notice { align-self: stretch; border-top: 1px solid var(--line); padding: 20px 0 0; }
.sales-closed-notice > span { color: var(--red); font: 700 8px/1.4 var(--ui); letter-spacing: .16em; }
.sales-closed-notice > b { max-width: 24ch; margin-top: 14px; font-size: clamp(24px, 2.2vw, 32px); }
.sales-closed-notice > p { max-width: 54ch; margin-top: 12px; line-height: 1.7; }
.sales-closed-notice > a { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding-bottom: 5px; border-bottom: 1px solid var(--purple); font: 700 9px/1.4 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.sales-closed-notice > a i { color: var(--red); font-style: normal; }
.membership-status-card.is-active { background: rgba(255,255,255,.52); }
.membership-status-card.is-active .purchase-options { display: none; }
.membership-status-card.is-sales-closed { grid-template-columns: minmax(0, 1fr); padding: 32px 36px 35px; }
.membership-status-card.is-sales-closed .membership-current-status { display: none; }
.membership-status-card.is-sales-closed .sales-closed-notice { border-top: 0; padding-top: 0; }
.membership-status-card.is-sales-closed .sales-closed-notice > b { max-width: none; }
.membership-status-card.is-sales-closed .sales-closed-notice > p { max-width: none; }
.member-library { padding-top: 34px; border-top: 1px solid var(--line); }
.member-library h3 { margin: 14px 0 28px; font: 520 clamp(32px, 3.6vw, 48px)/1.05 var(--display); }
.member-paths { border-top: 1px solid var(--line); }
.member-paths article { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 72px; border-bottom: 1px solid var(--line); }
.member-paths article > span { color: var(--red); font: italic 520 15px/1 var(--display); }
.member-paths article div { display: grid; gap: 4px; }
.member-paths small { color: var(--muted); font: 700 8px/1.3 var(--ui); letter-spacing: .12em; }
.member-paths b { font: 520 18px/1.3 var(--display); }

.is-zh .member-hero-copy h1,
.is-zh .plan-price b,
.is-zh .dashboard-head h2,
.is-zh .membership-status-card b,
.is-zh .plan-choice b,
.is-zh .member-library h3,
.is-zh .member-paths b {
  font-family: var(--display-zh);
  font-weight: 400;
}
.member-paths i { color: var(--muted); font: normal 700 9px/1 var(--ui); }
.open-library { display: inline-flex; align-items: center; gap: 18px; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--purple); font: 700 9px/1.4 var(--ui); letter-spacing: .11em; text-transform: uppercase; }
.open-library i { color: var(--red); font-style: normal; }

footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 110px; padding: 30px clamp(24px, 6vw, 96px); color: rgba(75,54,86,.58); font: 700 8px/1.5 var(--ui); letter-spacing: .15em; }
footer nav { display: flex; flex-wrap: wrap; gap: 15px; }

@media (min-width: 1081px) {
  .member-hero-copy h1 {
    max-width: 18ch;
    white-space: normal;
    font-size: clamp(48px, 4.15vw, 66px);
    text-wrap: balance;
  }
  .is-zh .member-hero-copy h1 { max-width: 17ch; font-size: clamp(42px, 3.8vw, 60px); }
}

@media (min-width: 901px) {
  .is-zh .member-hero-copy h1 { max-width: none; white-space: nowrap; font-size: clamp(38px, 3.2vw, 52px); }
  .is-zh .membership-status-card.is-sales-closed .sales-closed-notice > b { white-space: nowrap; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; }
}

@media (max-width: 900px) {
  .member-hero { grid-template-columns: 1fr; min-height: 0; }
  .member-lockup img { width: 300px; }
  .account-shell { grid-template-columns: 1fr; }
  .product-folio > header { grid-template-columns: 1fr; }
  .product-folio h2, .product-folio > header > p { grid-column: 1; }
  .product-folio h2 { margin-top: 24px; }
  .product-features { grid-template-columns: 1fr; }
  .product-features article + article { border-top: 1px solid var(--line); border-left: 0; }
  .product-review-grid { grid-template-columns: 1fr; }
  .account-index { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .member-nav { height: 68px; padding-inline: 17px; }
  .member-brand img { width: 34px; height: 36px; }
  .member-brand b { font-size: 11px; }
  .member-nav-actions { gap: 13px; }
  .member-nav-actions > a { display: none; }
  main { width: calc(100% - 16px); margin-top: 8px; border-radius: 24px; }
  .member-hero { gap: 50px; padding: 64px 23px; }
  .product-folio { padding: 54px 24px; }
  .member-hero-copy h1 { font-size: clamp(44px, 12vw, 60px); }
  .is-zh .member-hero-copy h1 { font-size: clamp(40px, 11vw, 54px); }
  .account-index, .account-stage { padding: 46px 24px; }
  .auth-methods { grid-template-columns: 1fr; }
  .auth-method { min-height: 96px; }
  .auth-tabs { width: 100%; }
  .auth-tabs button { min-width: 0; }
  .dashboard-head { align-items: start; flex-direction: column; }
  .membership-status-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .plan-choices { grid-template-columns: 1fr; }
  .subscribe-button { min-width: 0; width: 100%; }
  .member-paths article { grid-template-columns: 30px minmax(0, 1fr); padding: 13px 0; }
  .member-paths article > i { grid-column: 2; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
