:root {
  --sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --serif: Georgia, "Source Han Serif SC", "Noto Serif SC", "Songti SC", SimSun, serif;
  --display: "Bodoni MT", Didot, "Bodoni 72", "Playfair Display", "Times New Roman", "Songti SC", SimSun, serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  --paper: #fff;
  --paper-2: #f4f4f6;
  --paper-3: #fafafa;
  --surface: #fff;
  --ink: #191713;
  --ink-soft: #403a30;
  --muted: #776e5f;
  --faint: #9a9080;
  --rule: #d7cebd;
  --rule-strong: #b6ab96;
  --accent: #a3321f;
  --accent-strong: #8b2717;
  --accent-soft: rgba(163, 50, 31, .08);
  --dark: #16130f;
  --dark-soft: #211c16;
  --ok: #4f6b3a;
  --hairline: rgba(25, 23, 19, .12);
  --shadow-soft: 0 30px 80px -58px rgba(25, 23, 19, .65);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  background-color: var(--paper);
  background-image: none;
  background-size: 5px 5px;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(163, 50, 31, .18); }
a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-strong); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper);
}
.skip-link:focus { left: 12px; top: 12px; color: var(--paper); }

/* 顶部刊头 */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 82px; padding: 14px 32px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 22px 55px -48px rgba(25, 23, 19, .55);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--accent); color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1;
  transition: transform .3s ease, background .2s ease;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); background: var(--accent-strong); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: .08em; }
.brand-name em { color: var(--accent); font-style: normal; }
.brand-sub { margin-top: 7px; color: var(--muted); font-size: 8px; letter-spacing: .24em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav > a { position: relative; padding: 4px 0; color: var(--ink-soft); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1);
}
.nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-auth { display: flex; align-items: center; gap: 9px; padding-left: 20px; border-left: 1px solid var(--rule); }
.nav-auth .button { padding: 8px 13px; }
.nav-user { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.nav-user:hover { color: var(--accent); }
.nav-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--paper-2); }
.nav-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-size: 12.5px; }

/* 按钮 */
.button, .button:visited {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--rule-strong); border-radius: 0;
  background: transparent; color: var(--ink); text-decoration: none;
  font-family: var(--sans); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-1px); }
.button.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.button.accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.button.accent:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--paper); }
.button.ghost { border-color: var(--hairline); color: var(--muted); }
.button.ghost:hover { background: var(--paper-3); border-color: var(--ink); color: var(--ink); }
button.button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }

/* 主布局 */
main { width: min(100% - 64px, 1180px); margin: 0 auto; padding: clamp(44px, 7vw, 94px) 0 100px; }
.kicker { margin: 0 0 20px; color: var(--accent); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; }
.hero { position: relative; padding-bottom: clamp(42px, 7vw, 80px); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero::after {
  content: "R"; position: absolute; right: -24px; top: -90px; z-index: 0;
  color: rgba(25, 23, 19, .032); font-family: var(--display); font-size: clamp(260px, 38vw, 500px);
  line-height: 1; pointer-events: none; user-select: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 900px; }
.hero h1 {
  margin: 0 0 26px; font-family: var(--display); font-size: clamp(46px, 8.8vw, 104px);
  font-weight: 400; line-height: 1.02; letter-spacing: -.025em;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-lead { max-width: 580px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 15.5px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; padding-top: 18px;
  border-top: 1px solid var(--hairline); color: var(--faint);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em;
}
.hero-meta span::before { content: "◦"; margin-right: 8px; color: var(--accent); }

/* 原则 */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 0; }
.principle { padding: 20px 20px 22px; border: 1px solid var(--rule); background: rgba(255, 253, 247, .55); transition: border-color .2s, transform .2s; }
.principle:hover { border-color: var(--ink); transform: translateY(-2px); }
.principle-number { color: var(--accent); font-family: var(--display); font-size: 20px; font-style: italic; }
.principle h2 { margin: 12px 0 7px; font-family: var(--serif); font-size: 15px; font-weight: 700; }
.principle p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 12.5px; line-height: 1.8; }

/* 产品矩阵 */
.section { margin-top: clamp(54px, 8vw, 90px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-family: var(--display); font-size: clamp(28px, 4vw, 42px); font-weight: 400; line-height: 1.12; }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 13px; line-height: 1.8; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card {
  position: relative; display: flex; flex-direction: column; min-height: 240px;
  padding: 22px 22px 20px; border: 1px solid var(--rule); background: var(--surface);
  color: var(--ink);
  transition: transform .26s cubic-bezier(.2, .7, .3, 1), box-shadow .26s ease, border-color .26s ease;
  animation: rise .5s backwards; animation-delay: calc(var(--i, 0) * 55ms);
}
a.product-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 30px 65px -48px rgba(25, 23, 19, .55); color: var(--ink); }
.product-card.is-soon { background: rgba(255, 253, 247, .48); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-index { color: var(--faint); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.product-status { padding: 3px 7px 2px; border: 1px solid var(--rule-strong); color: var(--muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.product-card.is-live .product-status { border-color: var(--accent); color: var(--accent); }
.product-name { margin: 30px 0 6px; font-family: var(--display); font-size: 29px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.product-tag { color: var(--accent); font-family: var(--sans); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; }
.product-description { margin: 16px 0 0; color: var(--muted); font-family: var(--serif); font-size: 12.5px; line-height: 1.8; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; color: var(--faint); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; }
.product-arrow { color: var(--accent); font-size: 16px; transition: transform .22s ease; }
a.product-card:hover .product-arrow { transform: translateX(4px); }

/* 身份说明暗色区 */
.identity-band {
  margin-top: clamp(54px, 8vw, 90px); padding: clamp(28px, 4vw, 46px);
  background: var(--dark); color: var(--paper); position: relative; overflow: hidden;
}
.identity-band::after {
  content: "ID"; position: absolute; right: 20px; bottom: -70px;
  color: rgba(242, 237, 227, .04); font-family: var(--display); font-size: 260px; line-height: 1;
  pointer-events: none; user-select: none;
}
.identity-band .kicker { color: var(--accent); }
.identity-band h2 { position: relative; z-index: 1; max-width: 680px; margin: 0 0 18px; font-family: var(--display); font-size: clamp(30px, 4.8vw, 52px); font-weight: 400; line-height: 1.12; }
.identity-band p { position: relative; z-index: 1; max-width: 680px; margin: 0; color: rgba(242, 237, 227, .66); font-family: var(--serif); font-size: 14px; line-height: 1.9; }
.identity-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.identity-step { padding-top: 14px; border-top: 1px solid rgba(242, 237, 227, .2); }
.identity-step strong { display: block; color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.identity-step span { display: block; margin-top: 8px; color: rgba(242, 237, 227, .8); font-family: var(--serif); font-size: 12.5px; line-height: 1.7; }

/* 账户页 */
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.account-head h1 { margin: 0; font-family: var(--display); font-size: clamp(40px, 6vw, 68px); font-weight: 400; line-height: 1.05; }
.account-head p { max-width: 440px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 13px; line-height: 1.8; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
.account-card { border: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow-soft); }
.account-card-head { padding: 20px 24px; border-bottom: 1px solid var(--hairline); }
.account-card-head .kicker { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.account-card-head h2 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 700; }
.account-card-body { padding: 24px; }
.profile-row { display: flex; align-items: center; gap: 18px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: var(--paper-2); flex: none; }
.avatar-fallback { display: grid; place-items: center; color: var(--paper); background: var(--accent); font-family: var(--display); font-size: 18px; font-weight: 700; }
.avatar-lg { width: 72px; height: 72px; font-size: 25px; }
.profile-name { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.1; }
.profile-username { margin: 6px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10.5px; }
.profile-list { margin: 24px 0 0; border-top: 1px solid var(--rule); }
.profile-item { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.profile-item dt { color: var(--muted); font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; }
.profile-item dd { margin: 0; color: var(--ink-soft); font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; text-align: right; }
.account-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 24px; }
.account-actions .button { width: 100%; }
.account-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--faint); font-family: var(--serif); font-size: 11.5px; line-height: 1.8; }
.account-side .account-card-body { padding: 22px; }
.account-side h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 16px; }
.account-side p { color: var(--muted); font-family: var(--serif); font-size: 12px; line-height: 1.8; }
.account-side-note { margin-top: 20px !important; }
.account-side .button { width: 100%; margin-top: 8px; }
.account-guest { max-width: 620px; margin: 0 auto; padding: clamp(30px, 5vw, 56px); border: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow-soft); text-align: center; }
.account-guest h1 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(36px, 5vw, 54px); font-weight: 400; }
.account-guest p { margin: 0 auto 24px; max-width: 420px; color: var(--muted); font-family: var(--serif); font-size: 13.5px; line-height: 1.9; }
.account-guest .hero-actions { justify-content: center; }
.status-line { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; }
.status-line::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* 确认页 */
.confirm-main { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 54px 20px 80px; }
.confirm-card {
  width: min(100%, 540px); padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--rule-strong); background: var(--surface); box-shadow: var(--shadow-soft);
  animation: rise .4s backwards;
}
.confirm-card .kicker { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.confirm-card h1 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(32px, 5vw, 46px); font-weight: 400; line-height: 1.14; }
.confirm-card > p { margin: 0 0 24px; color: var(--muted); font-family: var(--serif); font-size: 13px; line-height: 1.85; }
.identity-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.identity-row .avatar { width: 58px; height: 58px; }
.identity-name { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 700; }
.identity-meta { margin: 5px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10px; overflow-wrap: anywhere; }
.confirm-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.confirm-actions .button { width: 100%; }
.confirm-actions .button.primary { padding: 13px 16px; font-size: 10px; }
.confirm-foot { margin: 20px 0 0; color: var(--faint); font-family: var(--serif); font-size: 11px; line-height: 1.75; font-style: italic; }

/* 信息页 */
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-head { padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.legal-head h1 { margin: 10px 0 14px; font-family: var(--display); font-size: clamp(38px, 6vw, 62px); font-weight: 400; line-height: 1.08; }
.legal-meta { margin: 0; color: var(--faint); font-family: var(--mono); font-size: 9.5px; }
.article { padding-top: 34px; color: var(--ink-soft); font-family: var(--serif); font-size: 15px; line-height: 1.95; }
.article h2 { margin: 1.7em 0 .6em; padding-bottom: .3em; border-bottom: 1px solid var(--rule); color: var(--ink); font-family: var(--display); font-size: 1.45em; font-weight: 700; }
.article h3 { margin: 1.5em 0 .5em; color: var(--ink); font-family: var(--serif); font-size: 1.05em; }
.article p, .article ul { margin: 1em 0; }
.article li { margin: .35em 0; }
.article a { border-bottom: 1px solid rgba(163, 50, 31, .3); }
.article code { padding: .1em .35em; border: 1px solid var(--rule); background: var(--paper-3); color: #8b2f1e; font-family: var(--mono); font-size: .85em; }

/* 空状态和提示 */
.notice { padding: 13px 16px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--ink-soft); font-family: var(--serif); font-size: 12.5px; line-height: 1.75; }
.muted { color: var(--muted); }

/* 页脚 */
.site-footer {
  width: min(100% - 64px, 1180px); margin: 0 auto; padding: 22px 0 36px;
  border-top: 1px solid var(--rule); color: var(--faint);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
}
.footer-links { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a:hover { color: var(--accent); }

/* 动效 */
@keyframes rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
.delay-0 { animation-delay: 0ms; }
.delay-1 { animation-delay: 55ms; }
.delay-2 { animation-delay: 110ms; }
.delay-3 { animation-delay: 165ms; }
.delay-4 { animation-delay: 220ms; }
.delay-5 { animation-delay: 275ms; }
@media (max-width: 980px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { padding: 14px 18px; gap: 14px; }
  .nav { gap: 14px; }
  .nav-auth { padding-left: 0; border-left: 0; }
  main { width: min(100% - 36px, 1180px); padding-top: 40px; }
  .hero h1 { font-size: clamp(44px, 14vw, 66px); }
  .principles, .identity-steps { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .product-card { min-height: 210px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .site-footer { width: min(100% - 36px, 1180px); }
  .confirm-main { padding: 30px 16px 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* Portal 品牌首屏 */
body:has(.portal-main) { background: #fff; }
.portal-topbar { position: absolute; inset: 0 0 auto; z-index: 40; min-height: 76px; padding: 16px clamp(20px, 4vw, 72px); background: transparent; border: 0; box-shadow: none; flex-wrap: nowrap; }
.portal-brand { gap: 12px; flex: 0 0 auto; }
.portal-lockup { display: block; width: clamp(125px, 12vw, 190px); height: auto; filter: brightness(0) invert(1); }
.portal-nav { gap: clamp(16px, 2.5vw, 42px); justify-content: flex-start; margin-left: clamp(18px, 3vw, 48px); margin-right: auto; }
.portal-nav > a, .portal-account > a { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: none; text-shadow: 0 1px 10px #10151980; }
.portal-nav > a:hover, .portal-account > a:hover { color: #fff; opacity: .7; }
.portal-nav > a::after { background: #fff; }
.portal-account { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.portal-account .nav-auth { padding: 0; border: 0; }
.portal-account .nav-auth .button { color: #fff; border-color: #ffffff80; background: transparent; }
.portal-account .nav-auth .button:hover { color: #141414; background: #fff; }
.portal-account .nav-user, .portal-account .nav-name { color: #fff; }
.portal-main { width: 100%; margin: 0; padding: 0; }
.portal-hero { position: relative; display: grid; place-items: center; width: 100%; min-height: 100svh; overflow: hidden; background: radial-gradient(circle at 54% 60%, #5b6063 0, #242c32 46%, #0c151e 100%); color: #fff; }
.portal-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portal-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #05090e70 0%, #06090d10 43%, #05080d80 100%); }
.portal-hero-center { position: relative; text-align: center; padding: 96px 20px; }
.portal-hero-label { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .52em; }
.portal-hero h1 { margin: 0; color: #fff; font-family: Impact, "Arial Narrow", "Helvetica Neue", sans-serif; font-style: italic; font-weight: 900; font-stretch: condensed; font-size: clamp(68px, 10vw, 150px); line-height: .85; letter-spacing: -.065em; text-shadow: 0 4px 30px #0006; transform: skewX(-8deg); }
.portal-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 12px; letter-spacing: .12em; white-space: nowrap; }
.portal-scroll:hover { color: #fff; opacity: .7; }
.portal-scroll span { display: block; text-align: center; font-size: 22px; }
.portal-content { width: min(100% - 64px, 1180px); margin: 0 auto; padding: 72px 0 100px; }
.portal-content .principles { margin-top: 0; }
@media (max-width: 900px) { .portal-topbar { flex-wrap: wrap; gap: 12px; } .portal-nav { order: 3; width: 100%; margin: 0; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } .portal-nav > a { white-space: nowrap; } .portal-account { margin-left: auto; } }
@media (max-width: 600px) { .portal-topbar { padding: 16px; } .portal-content { width: min(100% - 32px, 1180px); } .portal-account .nav-auth { display: none; } .portal-hero h1 { font-size: clamp(58px, 16vw, 110px); } }
@media (prefers-reduced-motion: reduce) { .portal-hero-video { display: none; } }

/* 首屏与产品展区 */
.portal-topbar { position: fixed; inset: 0 0 auto; transition: background-color .25s ease, backdrop-filter .25s ease; }
.portal-topbar.is-glass { background: rgba(248, 248, 250, .78); backdrop-filter: blur(22px) saturate(145%); -webkit-backdrop-filter: blur(22px) saturate(145%); border: 0; box-shadow: none; }
.portal-hero h1 { font-family: "PingFang TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif; font-size: clamp(64px, 9vw, 150px); font-weight: 800; font-style: normal; letter-spacing: .04em; line-height: 1.1; transform: none; }
.portal-content { width: 100%; padding: 0 0 96px; }
.portal-content #products { margin: 0; padding: 88px clamp(18px, 3vw, 48px) 28px; scroll-margin-top: 70px; background: #fff; }
.portal-content #products .section-head { display: block; margin: 0 auto 46px; text-align: center; }
.portal-content #products .section-head h2 { font-family: var(--sans); font-size: clamp(38px, 5vw, 68px); font-weight: 700; letter-spacing: -.04em; }
.portal-content #products .section-head p { max-width: 700px; margin: 12px auto 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; }
.portal-content .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.portal-content .product-card { min-height: 590px; padding: 64px 36px 38px; align-items: center; text-align: center; border: 0; background: #f4f4f6; box-shadow: none; animation: none; }
.portal-content .product-card:nth-child(4n+1) { background: #f4f4f6; color: #1d1d1f; }
.portal-content .product-card:nth-child(4n+1) .product-description { color: #424245; }
.portal-content .product-card:hover { transform: none; box-shadow: none; border: 0; }
.portal-content .product-top { order: 2; margin-top: 28px; }
.portal-content .product-index, .portal-content .product-status { display: none; }
.portal-content .product-name { order: 0; margin: 0 0 16px; font-family: var(--sans); font-size: clamp(38px, 4vw, 64px); font-weight: 750; letter-spacing: -.045em; }
.portal-content .product-tag { order: 1; margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: inherit; }
.portal-content .product-description { order: 3; max-width: 420px; margin: 24px auto 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; }
.portal-content .product-foot { order: 4; margin: 28px 0 0; padding: 0; font-family: var(--sans); font-size: 14px; color: #06c; }
.portal-content .product-arrow { display: none; }
.portal-content .principles, .portal-content .identity-band { width: min(100% - 64px, 1180px); margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .portal-content .products { grid-template-columns: 1fr; } .portal-content .product-card { min-height: 430px; padding: 52px 24px; } .portal-content .principles, .portal-content .identity-band { width: min(100% - 32px, 1180px); } }

/* 产品名称、介绍与操作 */
.portal-content .product-card { justify-content: center; gap: 0; padding: 64px 36px; }
.portal-content .product-name { width: 100%; margin: 0; font-size: clamp(42px, 4.3vw, 72px); line-height: 1.08; letter-spacing: -.045em; text-align: center; }
.portal-content .product-logo { display: block; width: auto; height: 72px; max-width: 100%; margin: 0 auto; object-fit: contain; }
.portal-content .product-logo[data-product="atrip"],
.portal-content .product-logo[data-product="adocx"],
.portal-content .product-logo[data-product="arahome"],
.portal-content .product-logo[data-product="acafe"] { height: 94px; }
.portal-content .product-description { width: min(100%, 530px); margin: 18px auto 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif; font-size: clamp(15px, 1.12vw, 18px); font-weight: 400; letter-spacing: -.015em; line-height: 1.5; text-align: center; }
.portal-content .product-actions { margin-top: 26px; display: flex; justify-content: center; }
.portal-content .product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 24px; border-radius: 999px; background: #0071e3; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 0; transition: background-color .18s ease; }
.portal-content .product-button:hover { background: #0077ed; color: #fff; }
.portal-content .product-soon { color: #6e6e73; font-size: 15px; }
.portal-content .product-card:nth-child(4n+1) .product-soon { color: #6e6e73; }
@media (max-width: 700px) { .portal-content .product-card { padding: 52px 24px; } }

/* 产品区固定导航 */
.portal-topbar.is-glass .portal-lockup { filter: none; }
.portal-topbar.is-glass .portal-nav > a,
.portal-topbar.is-glass .portal-account > a,
.portal-topbar.is-glass .nav-user,
.portal-topbar.is-glass .nav-name { color: #1d1d1f; text-shadow: none; }
.portal-topbar.is-glass .portal-nav > a::after { background: #1d1d1f; }
.portal-topbar.is-glass .nav-auth .button { color: #1d1d1f; border-color: #a7a7ac; text-shadow: none; }
.portal-topbar.is-glass .nav-auth .button:hover { color: #fff; background: #1d1d1f; border-color: #1d1d1f; }
.portal-content .product-card { color: #1d1d1f; }
.portal-content .product-description, .portal-content .product-card:nth-child(4n+1) .product-description { color: rgba(66, 66, 69, .68); }

/* Portal 顶栏菜单与统一页脚 */
.portal-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; color: #fff; }
.portal-icon-button.portal-products-trigger { display: none; }
.portal-menu { position: relative; display: flex; align-items: center; }
.portal-icon-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 5px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.portal-icon-button:hover, .portal-icon-button[aria-expanded="true"] { background: #ffffff24; }
.portal-icon-button svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.portal-dropdown { position: absolute; top: calc(100% + 12px); right: 0; z-index: 60; display: grid; min-width: 164px; padding: 7px; border-radius: 12px; background: rgba(248, 248, 250, .96); color: #1d1d1f; box-shadow: 0 16px 40px #0003; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.portal-dropdown[hidden] { display: none; }
.portal-dropdown button, .portal-dropdown a { display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: inherit; text-align: left; font-size: 13px; font-weight: 500; letter-spacing: 0; text-shadow: none; }
.portal-dropdown button:hover, .portal-dropdown a:hover, .portal-dropdown [aria-current="true"] { background: #1d1d1f12; color: #1d1d1f; }
.portal-menu-name { padding: 9px 12px 12px; border-bottom: 1px solid #1d1d1f20; color: #6e6e73; font-size: 12px; }
.portal-topbar.is-glass .portal-tools { color: #1d1d1f; }
.portal-topbar.is-glass .portal-icon-button:hover { background: #1d1d1f12; }
body:has(.portal-main) .site-footer { width: 100%; max-width: none; margin: 0; padding: 30px clamp(18px, 3vw, 48px) 42px; border: 0; background: #f4f4f6; color: #6e6e73; font-family: var(--sans); font-size: 12px; }
body:has(.portal-main) .site-footer a { color: #424245; font-size: 12px; }
body:has(.portal-main) .site-footer a:hover { color: #0071e3; }
@media (max-width: 900px) { .portal-tools { margin-left: auto; } }

/* Hero slogan typography */
.portal-hero-center { width: min(100% - 36px, 1100px); padding: 88px 18px; }
.portal-hero h1 {
  font-family: "Noto Sans CJK TC", "PingFang TC", "Microsoft JhengHei", "Arial Black", sans-serif;
  font-size: clamp(34px, 4.7vw, 66px);
  font-weight: 1000;
  font-style: normal;
  letter-spacing: -.085em;
  line-height: 1;
  text-wrap: balance;
  transform: skewX(-5deg);
  text-shadow: 0 8px 32px #0008;
  -webkit-text-stroke: .7px currentColor;
}
.portal-hero-center::after {
  content: "";
  display: block;
  width: clamp(48px, 6vw, 86px);
  height: 3px;
  margin: 20px auto 0;
  background: currentColor;
  opacity: .8;
  transform: skewX(-18deg);
}
@media (max-width: 600px) { .portal-hero h1 { font-size: clamp(31px, 7vw, 46px); letter-spacing: -.075em; } }

/* Arrow cue follows the A.TELIER homepage rhythm. */
.portal-scroll { bottom: clamp(24px, 5vh, 55px); display: grid; place-items: center; width: 58px; height: 50px; padding: 8px; animation: portal-cue-reveal 1.2s .5s both; }
.portal-scroll svg { width: 42px; height: 34px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: portal-arrow-breathe 2.5s ease-in-out infinite; }
.portal-scroll:hover svg, .portal-scroll:focus-visible svg { stroke-width: 2.5; }
@keyframes portal-cue-reveal { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes portal-arrow-breathe { 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .portal-scroll, .portal-scroll svg { animation: none; } }

/* 账户中心沿用产品区的排版与 AdoX 米色主题。 */
.account-page { background: #fff; background-image: none; color: #1d1d1f; }
.account-page .topbar { min-height: 70px; padding: 12px clamp(20px, 4vw, 72px); border: 0; background: rgba(255, 255, 255, .82); box-shadow: none; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.account-page .portal-lockup { width: clamp(126px, 12vw, 190px); filter: none; }
.account-page .nav > a { color: #424245; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.account-page .nav-auth { border: 0; }
.account-page .nav-auth .button { border-radius: 999px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.account-page main { width: min(100% - 40px, 1120px); min-height: calc(100svh - 185px); padding: clamp(60px, 8vw, 110px) 0 90px; }
.account-page .kicker { color: #6e6e73; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.account-page .account-head { align-items: start; margin-bottom: 38px; }
.account-page .account-head h1, .account-page .account-guest h1 { color: #1d1d1f; font-family: var(--sans); font-size: clamp(38px, 5vw, 64px); font-weight: 750; letter-spacing: -.055em; line-height: 1.08; }
.account-page .account-head > p { max-width: 420px; color: #6e6e73; font-family: var(--sans); font-size: 14px; line-height: 1.7; }
.account-page .account-grid { gap: 18px; }
.account-page .account-card, .account-page .account-guest { overflow: hidden; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 16px 50px #1917130c; }
.account-page .account-card-head { padding: 30px 32px 24px; border-bottom: 1px solid #19171312; }
.account-page .account-card-head .kicker { margin-bottom: 9px; padding: 0; border: 0; }
.account-page .account-card-head h2 { font-family: var(--sans); font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.account-page .account-card-body { padding: 30px 32px 34px; }
.account-page .profile-name { font-family: var(--sans); font-size: 25px; letter-spacing: -.025em; }
.account-page .profile-username, .account-page .profile-item dd { font-family: var(--sans); font-size: 13px; }
.account-page .profile-item dt { color: #6e6e73; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.account-page .profile-list { border-top-color: #19171316; }
.account-page .profile-item { padding: 15px 0; border-bottom-color: #19171312; }
.account-page .account-note, .account-page .account-side p, .account-page .account-guest p { color: #6e6e73; font-family: var(--sans); font-size: 13px; line-height: 1.7; }
.account-page .account-side h2 { font-family: var(--sans); font-size: 22px; }
.account-page .button, .account-page button.button { min-height: 42px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.account-page .button.primary { border-color: #1d1d1f; background: #1d1d1f; color: #fff; }
.account-page .button.primary:hover { background: #424245; border-color: #424245; }
.account-page .button:not(.primary):hover { background: #fff; color: #1d1d1f; border-color: #c8beb0; }
.account-page .avatar-fallback { background: #fff; color: #1d1d1f; font-family: var(--sans); }
.account-page .account-guest { padding: clamp(35px, 6vw, 72px); }
.account-page .site-footer, body:has(.portal-main) .site-footer { background: #fff; color: #6e6e73; font-size: 12px; letter-spacing: 0; text-transform: none; }
.account-page .site-footer { width: 100%; max-width: none; margin: 0; padding: 30px clamp(20px, 4vw, 72px) 42px; border: 0; }
.account-page .footer-links a, body:has(.portal-main) .footer-links a { color: #424245; font-size: 12px; letter-spacing: 0; text-transform: none; }
.account-page .footer-links a:hover, body:has(.portal-main) .footer-links a:hover { color: #1d1d1f; }
@media (max-width: 700px) { .account-page .account-card-head, .account-page .account-card-body { padding-inline: 24px; } .account-page .account-head { display: block; } }

/* 所有 Portal 页面使用相同的页脚背景与版权排版。 */
.site-footer { width: 100%; max-width: none; margin: 0; padding: 30px clamp(20px, 4vw, 72px) 42px; border: 0; background: #fff; color: #6e6e73; font-family: var(--sans); font-size: 12px; letter-spacing: 0; text-transform: none; }
.site-footer .footer-links a { color: #424245; font-size: 12px; letter-spacing: 0; text-transform: none; }
.site-footer .footer-links a:hover { color: #1d1d1f; }

/* Standalone brandmark for secondary page headers. */
.brand-symbol { display: block; width: 42px; height: 42px; object-fit: contain; flex: none; }

/* 手机布局 */
@media (max-width: 700px) {
  .portal-topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 12px 16px; }
  .portal-brand { min-width: 0; }
  .portal-lockup { width: clamp(120px, 34vw, 160px); max-width: 100%; }
  .portal-tools { margin: 0; gap: 4px; }
  .portal-icon-button.portal-products-trigger { display: grid; }
  .portal-icon-button { width: 44px; height: 44px; }
  .portal-nav { display: none; position: absolute; top: calc(100% + 4px); left: 16px; right: 16px; width: auto; max-height: min(70svh, 420px); margin: 0; padding: 8px; overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; border-radius: 14px; background: rgba(248, 248, 250, .98); box-shadow: 0 16px 40px #0003; backdrop-filter: blur(20px); }
  .portal-nav.is-open { display: flex; }
  .portal-nav > a, .portal-topbar.is-glass .portal-nav > a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 8px; color: #1d1d1f; font-size: 14px; text-shadow: none; }
  .portal-nav > a:hover { color: #1d1d1f; background: #1d1d1f12; opacity: 1; }
  .portal-dropdown { right: 0; max-width: min(280px, calc(100vw - 32px)); }
  .portal-hero { min-height: 100svh; }
  .portal-hero-center { padding-inline: 12px; }
  .portal-content { padding-bottom: 36px; }
  .portal-content #products { padding: 56px 16px 20px; scroll-margin-top: 76px; }
  .portal-content #products .section-head { margin-bottom: 28px; }
  .portal-content #products .section-head h2 { font-size: clamp(34px, 9vw, 48px); }
  .portal-content #products .section-head p { font-size: 14px; }
  .portal-content .products { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .portal-content .product-card { min-height: 360px; padding: 48px 22px; }
  .portal-content .product-logo { height: 58px; }
  .portal-content .product-logo[data-product="atrip"],
  .portal-content .product-logo[data-product="adocx"],
  .portal-content .product-logo[data-product="arahome"],
  .portal-content .product-logo[data-product="acafe"] { height: 76px; }
  .portal-content .product-description { max-width: 32ch; margin-top: 16px; font-size: 15px; }
  .portal-content .product-actions { margin-top: 22px; }
  .portal-content .product-button { min-height: 44px; }
  .account-page .topbar { gap: 10px; padding: 12px 16px; }
  .account-page .nav { width: 100%; gap: 16px; }
  .account-page .nav-auth { margin-left: auto; }
  .account-page main { width: min(100% - 32px, 1120px); padding: 44px 0 64px; }
  .account-page .account-guest { padding: 36px 24px; }
  .confirm-main { min-height: auto; padding: 24px 16px 56px; }
  .confirm-card { padding: 28px 22px; }
  .identity-row { min-width: 0; }
  .identity-row > div { min-width: 0; }
  .site-footer, .account-page .site-footer, body:has(.portal-main) .site-footer { padding: 24px 16px 32px; }
}
