/* ============================================================
   TEMPLATE 10 — Aurum List
   纯黑+白+金色发丝线,极端留白,奢侈极简编辑风。
   适用:premium SaaS / 个人 AI 助理 / 高端服务 niche。
   字体:Bodoni Moda(display)+ Outfit(body)。
   ============================================================ */

:root {
  --black: #0a0a0a;
  --panel: #111111;
  --white: #fafafa;
  --grey: #a3a3a3;
  --grey-dim: #8a8a8a;
  --hairline: #262626;
  --gold: #b5a266;
  --gold-dim: #8a7a4b;
  --font-head: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 90px; }
body {
  font-family: var(--font-body); background: var(--black); color: var(--white);
  line-height: 1.7; font-size: 16.5px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--white); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.14; letter-spacing: 0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: 1.8rem; }
.container { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 700px; }
.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim), transparent); border: 0; }

/* ---------- 顶栏:字距拉开,极致简约 ---------- */
.topbar { border-bottom: 1px solid var(--hairline); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.brand { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: 0.42em; text-transform: uppercase; }
.brand span { color: var(--gold); }
.topnav { display: flex; gap: 30px; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.topnav a { color: var(--grey); }
.topnav a:hover { color: var(--gold); }
@media (max-width: 720px) { .topnav { display: none; } }

/* ---------- Hero:纯留白仪式 ---------- */
.hero { text-align: center; padding: 96px 0 72px; }
.hero .numeral { font-family: var(--font-head); color: var(--gold); font-size: 1.1rem; letter-spacing: 0.5em; margin-bottom: 30px; }
.hero h1 em { font-style: italic; }
.hero .lede { color: var(--grey); max-width: 52ch; margin: 26px auto 0; font-size: 1.05rem; font-weight: 300; }
.hero-meta { margin-top: 34px; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey-dim); }

/* ---------- 排名:居中仪式行 ---------- */
.register { padding: 30px 0 50px; }
.reg-entry {
  display: grid; grid-template-columns: 130px 1fr 130px; gap: 20px; align-items: baseline;
  padding: 34px 0; border-bottom: 1px solid var(--hairline);
  transition: background 0.25s ease;
}
.reg-entry:hover { background: var(--panel); }
@media (max-width: 860px) { .reg-entry { grid-template-columns: 70px 1fr; } .reg-entry .r-grade { grid-column: 2; text-align: left; } }
.r-pos { font-family: var(--font-head); font-size: 2.2rem; color: var(--grey-dim); }
.reg-entry:first-child .r-pos { color: var(--gold); }
.r-body h3 { font-size: 1.7rem; margin-bottom: 8px; }
.r-body h3 .dist { font-family: var(--font-body); font-size: 0.66rem; font-weight: 300; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-left: 14px; }
.r-body p { color: var(--grey); font-size: 0.95rem; font-weight: 300; max-width: 60ch; }
.r-grade { text-align: right; }
.r-grade .score { font-family: var(--font-head); font-size: 2rem; color: var(--white); display: inline-block; margin-bottom: 10px; }
.r-grade .lbl { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey-dim); }
.r-grade a { display: inline-block; margin-top: 10px; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey); border-bottom: 1px solid var(--gold-dim); padding-bottom: 3px; }
.r-grade a:hover { color: var(--gold); }

/* ---------- 表格 ---------- */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 24px 0; font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--hairline); padding: 13px 14px; text-align: left; }
.compare-table th { font-family: var(--font-body); font-weight: 300; font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.compare-table td:first-child { color: var(--grey); }

/* ---------- 正文 ---------- */
.prose { padding: 56px 0 72px; }
.prose h2 { margin: 44px 0 16px; }
.prose h2::after { content: ""; display: block; width: 56px; height: 1px; background: var(--gold-dim); margin-top: 12px; }
.prose p { margin-bottom: 16px; color: #d4d4d4; font-weight: 300; }
.edict { border: 1px solid var(--hairline); padding: 26px 30px; margin: 30px 0; position: relative; }
.edict::before { content: ""; position: absolute; top: -1px; left: 30px; right: 30px; height: 1px; background: var(--gold-dim); }
.edict .e-label { font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--hairline); margin-top: 56px; font-size: 0.84rem; }
.footer-inner { padding: 40px 0; display: grid; gap: 14px; color: var(--grey-dim); text-align: center; }
.related-note { font-size: 0.74rem; color: #555; max-width: 72ch; margin: 0 auto; }

/* ---- micro-interactions / a11y / motion ---- */
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: rgba(181, 162, 102, 0.28); color: #fff; }
a { text-underline-offset: 4px; }
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold-dim); color: var(--gold); background: var(--black); font-size: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 18px; font-weight: 600; }
.skip-link:focus { left: 8px; }
[data-animate] { opacity: 0; transform: translateY(14px); transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1); transition-delay: inherit; will-change: opacity, transform; }
[data-animate].in { opacity: 1; transform: none; }
.r-grade a::after { content: " →"; display: inline-block; transition: transform 0.2s ease; }
.r-grade a:hover::after { transform: translateX(4px); }
.reg-entry:hover .r-pos { color: var(--gold); transition: color 0.25s ease; }
.topbar.scrolled { box-shadow: 0 10px 40px -14px rgba(0, 0, 0, 0.8); }
.topbar { transition: box-shadow 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* R6 hero specialization */
.hero .numeral { animation: numeralin 1.3s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes numeralin { from { letter-spacing: 1.2em; opacity: 0; } to { letter-spacing: 0.5em; opacity: 1; } }
.gold-rule { transform: scaleX(0); animation: goldgrow 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards; }
@keyframes goldgrow { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero .numeral, .gold-rule { animation: none; transform: none; } }

/* R8 score underline growth */
.r-grade .score { position: relative; }
.r-grade .score::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s; }
[data-animate].in .r-grade .score::after, .in .r-grade .score::after { transform: scaleX(1); }

/* R9 tables on narrow screens */
@media (max-width: 640px) {
  .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table tbody { display: table; width: 100%; min-width: 480px; }
}

/* R10 mobile rhythm */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .sheet { padding: 28px 22px; }
  .hero { padding-top: 48px; }
}

/* R15 hover signature */
.reg-entry:hover .r-body h3 { color: var(--gold); transition: color 0.3s ease; }
.r-body h3 { transition: color 0.3s ease; }

/* R1 typography features */
body { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; -webkit-tap-highlight-color: transparent; }

/* R2 editorial measure */
.prose p { text-wrap: pretty; orphans: 3; widows: 3; }
.prose { hyphens: auto; }

/* R5 hover inner response */
.reg-entry:hover .r-pos { transform: translateX(4px); } .r-pos { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1); }

/* R6 prose link underline grow */
.prose p a {
  background: linear-gradient(currentColor, currentColor) bottom left / 0% 1px no-repeat;
  transition: background-size 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: 2px;
}
.prose p a:hover { background-size: 100% 1px; }

/* R7 themed scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #8a7a4b55; border-radius: 5px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #8a7a4b; border: 2px solid transparent; background-clip: content-box; }

/* R8 touch feedback */
.reg-entry:active { transform: scale(0.995); }

/* R9 back-top smooth elevator */
.back-top { transform: translateY(10px); transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.back-top[style*="opacity: 1"], .back-top:hover { transform: translateY(0); }
.back-top:active { transform: translateY(2px); }

/* R3 footer two-column */
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-inner > div:first-child { order: 1; }
  .related-note { order: 2; max-width: 56ch; border-top: 0; padding-top: 0; text-align: right; }
}

/* R4 current page nav state */
.topnav a[aria-current='page'] { color: var(--gold); }
