/* gold.u.cash tier identity — "the hallmark".
   Assay-office / bullion-certificate layer over the shared price skeleton
   (cdn libs/3 site-black.css owns nav, footer, theme-switch, base type).
   Fleet laws: uc-* tokens only for color, theme via [data-theme], zero JS here. */

/* ---------- identity tokens ---------- */
[data-theme="dark"] body.pg-gold { --uc-surface:#151210; --uc-surface-2:#1c1815; --uc-border:#2f2921; }
[data-theme="light"] body.pg-gold { --uc-surface:#f6f1e6; --uc-surface-2:#efe8d9; --uc-border:#e0d5bf; --uc-text:#201b12; --uc-text-dim:#6e6350; }

body.pg-gold {
  --tier-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --tier-hairline: color-mix(in srgb, var(--uc-accent) 26%, var(--uc-border));
  background:
    radial-gradient(1100px 520px at 78% -12%, color-mix(in srgb, var(--uc-accent) 8%, transparent), transparent 62%),
    radial-gradient(900px 600px at -10% 108%, color-mix(in srgb, var(--uc-accent) 5%, transparent), transparent 55%),
    var(--uc-surface);
}
/* paper grain */
body.pg-gold::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
body.pg-gold main, body.pg-gold .footer { position: relative; z-index: 1; }

/* ---------- hero: asymmetric, seal at right ---------- */
.tier-hero { padding: 84px 0 34px; }
.tier-hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tier-hero .eyebrow { justify-content: flex-start; }
.tier-hero .eyebrow .dot { background: var(--uc-accent); box-shadow: 0 0 12px color-mix(in srgb, var(--uc-accent) 60%, transparent); }
.tier-hero h1 { text-align: left; max-width: 13ch; }
.tier-hero .grad-gold {
  font-family: var(--tier-serif); font-style: italic; font-weight: 500; padding-right: .04em;
  background: linear-gradient(120deg, #f0d089 0%, var(--uc-accent) 38%, #9a7420 72%, #e8c469 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tier-hero .lead { text-align: left; margin: 18px 0 0; max-width: 58ch; }
.tier-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; font-size: 13px; color: var(--uc-text-dim); }
.tier-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.tier-note { font-size: 13px; color: var(--uc-text-dim); margin: 0; }
.tier-note b { color: var(--uc-text); font-weight: 600; }

/* seal button */
.btn-tier {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px;
  font: 700 15px/1 var(--uc-font); letter-spacing: .01em; text-decoration: none;
  color: #191410; background: linear-gradient(165deg, #eec97e 0%, var(--uc-accent) 45%, #a67c24 100%);
  box-shadow: 0 10px 34px color-mix(in srgb, var(--uc-accent) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.45);
  border: 1px solid color-mix(in srgb, var(--uc-accent) 70%, #f5deb0);
}
.btn-tier:hover { text-decoration: none; filter: brightness(1.06); transform: translateY(-1px); }
.btn-tier:focus-visible { outline: 2px solid var(--uc-accent); outline-offset: 3px; }
.btn-tier::after { content: "\2197"; font-size: 13px; opacity: .7; }

/* ---------- the seal ---------- */
.seal { width: min(296px, 74vw); margin-inline: auto; color: var(--uc-accent);
  filter: drop-shadow(0 0 44px color-mix(in srgb, var(--uc-accent) 20%, transparent)); }
.seal svg { display: block; width: 100%; height: auto; }
.seal text { fill: currentColor; }
.seal-ring { animation: seal-turn 96s linear infinite; transform-origin: 100px 100px; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal-ring { animation: none; } }

/* ---------- kicker + section titles ---------- */
.kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 10px;
  font: 600 11.5px/1 var(--uc-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--uc-text-dim); }
.kicker::after { content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--uc-accent) 45%, transparent), transparent); }
.section-title { font-family: var(--tier-serif); font-weight: 600; letter-spacing: .005em;
  font-size: clamp(28px, 4vw, 40px); margin: 0 0 30px; }

/* ---------- the ledger (benefits as engraved rows) ---------- */
.ledger { padding: 74px 0 10px; }
.ledger-row {
  display: grid; grid-template-columns: 58px 42px minmax(0, 1fr) auto; gap: 20px; align-items: start;
  padding: 27px 8px; border-top: 1px solid var(--tier-hairline);
  transition: background .18s ease;
}
.ledger-row:last-of-type { border-bottom: 1px solid var(--tier-hairline); }
.ledger-row:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--uc-accent) 6%, transparent), transparent 72%); }
.ledger-num { font-family: var(--tier-serif); font-size: 25px; font-weight: 600; line-height: 1.1; color: var(--uc-accent); }
.ledger-ico { font-size: 22px; color: var(--uc-accent); padding-top: 3px; }
.ledger-row h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.ledger-row p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--uc-text-dim); max-width: 62ch; }
.ledger-chip { margin-top: 5px; align-self: start; white-space: nowrap;
  font: 600 10.5px/1 var(--uc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--uc-accent);
  border: 1px solid color-mix(in srgb, var(--uc-accent) 34%, transparent); border-radius: 999px; padding: 7px 11px; }

/* ---------- hallmarking steps ---------- */
.marks { padding: 74px 0 26px; }
.marks-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; counter-reset: mark; }
.mark { position: relative; padding: 24px 0 0 52px; }
.mark::before {
  content: counter(mark, decimal-leading-zero); counter-increment: mark;
  position: absolute; left: 0; top: 22px; width: 36px; height: 36px;
  font: 500 13px/36px var(--uc-mono); text-align: center; color: #191410;
  background: linear-gradient(165deg, #eec97e, var(--uc-accent) 55%, #a67c24);
  border-radius: 5px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px color-mix(in srgb, var(--uc-accent) 22%, transparent);
}
.mark::after { content: ""; position: absolute; top: 40px; left: 48px; right: -32px; height: 1px;
  background: linear-gradient(90deg, var(--tier-hairline), transparent); }
.mark:last-child::after { display: none; }
.mark h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; }
.mark p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--uc-text-dim); }

/* ---------- close ---------- */
.tier-close { padding: 90px 0 100px; text-align: center; }
.tier-close .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.close-rule { width: 130px; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--uc-accent) 60%, transparent), transparent); }
.tier-close p { margin: 0; max-width: 54ch; color: var(--uc-text-dim); font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .tier-hero { padding-top: 60px; }
  .tier-hero-grid { grid-template-columns: 1fr; }
  .tier-hero .seal-wrap { order: -1; }
  .seal { width: min(210px, 56vw); }
  .tier-hero h1 { max-width: none; }
  .marks-track { grid-template-columns: 1fr; gap: 26px; }
  .mark::after { display: none; }
}
@media (max-width: 700px) {
  .ledger-row { grid-template-columns: 42px minmax(0, 1fr); }
  .ledger-num { display: none; }
  .ledger-chip { grid-column: 2; justify-self: start; }
}
