/* CollectTube — premium black, metallic gold, silver accents. */
:root {
  /* White page, gold + silver accents. Text-on-white golds are darker than the
     button gold so they stay readable. */
  --bg: #ffffff;
  --bg2: #f8f7f3;
  --panel: #ffffff;
  --panel2: #f7f5ef;
  --panel3: #ece7da;
  --line: rgba(185, 128, 0, .32);
  --line2: #e7e3d9;
  --gold: #b98000;
  --gold-hi: #9a6700;
  --gold-lo: #d9a21b;
  --gold-grad: linear-gradient(180deg, #ffe58a 0%, #f5bd25 50%, #d39410 100%);
  --gold-text: linear-gradient(180deg, #d99a06 0%, #a06a00 100%);
  --silver: #5b636d;
  --silver-grad: linear-gradient(180deg, #f9fafb 0%, #dde1e6 55%, #b6bdc5 100%);
  --silver-text: linear-gradient(180deg, #4b525c 0%, #1f2329 100%);
  --text: #17140d;
  --muted: #676052;
  --dim: #978f7e;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --info: #1d4ed8;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(40, 30, 0, .10);
  --glow: 0 0 0 1px rgba(205, 150, 20, .35), 0 8px 26px rgba(205, 150, 20, .14);
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 500px at 70% -260px, rgba(245, 189, 37, .10), transparent 60%), var(--bg);
  color: var(--text); font: 15px/1.55 var(--body);
}
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
/* height:auto keeps width/height attributes (set to avoid layout shift) from distorting images. */
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 900; }
h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 800; }
p { margin: 0 0 .8em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; }
.gold-text { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.silver-text { background: var(--silver-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.hidden, [hidden] { display: none !important; }

/* ---- top bar --------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar__in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 8px 16px; min-height: 64px; }
.brandmark img { height: 44px; width: auto; filter: drop-shadow(0 2px 6px rgba(120, 80, 0, .18)); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.nav a:hover, .nav a.on { background: var(--panel2); text-decoration: none; color: var(--gold-hi); }
.search { flex: 1; max-width: 360px; margin-left: auto; }
.search input { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 999px; padding: 9px 16px; outline: none; }
.search input:focus { border-color: var(--gold); }
.acct { display: flex; align-items: center; gap: 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--panel3); border: 2px solid var(--gold-lo); display: inline-grid; place-items: center; font-weight: 800; color: var(--gold); overflow: hidden; }
.avatar--lg { width: 72px; height: 72px; font-size: 28px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }
.drawer { position: fixed; inset: 64px 0 auto 0; z-index: 39; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; display: grid; gap: 4px; }
.drawer a { padding: 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
.drawer a:hover { background: var(--panel2); text-decoration: none; }
.menu { position: absolute; right: 16px; top: 58px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 220px; padding: 6px; z-index: 50; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--text); background: none; border: 0; cursor: pointer; font-size: 14px; }
.menu a:hover, .menu button:hover { background: var(--panel2); text-decoration: none; }
.menu hr { border: 0; border-top: 1px solid var(--line2); margin: 6px 0; }
@media (max-width: 900px) {
  .nav, .search { display: none; }
  .burger { display: block; }
  .acct { margin-left: auto; }
}

/* ---- layout ---------------------------------------------------------------- */
main { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 22px 16px 60px; outline: none; }
.section { margin-top: 42px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section__head h2 { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; font-weight: 700; color: var(--gold); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); padding: 18px; }
.panel--gold { border-color: var(--line); box-shadow: var(--glow); }
.loading { display: grid; place-items: center; min-height: 40vh; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--panel3); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--radius); }

/* ---- buttons, chips, forms --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); padding: 10px 16px; border-radius: 11px; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--gold-lo); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--gold { background: var(--gold-grad); color: #2a1d00; border-color: #d39a12; box-shadow: 0 4px 14px rgba(211, 148, 16, .28), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn--gold:hover { filter: brightness(1.06); }
.btn--silver { background: var(--silver-grad); color: #121418; border-color: #c4c9cf; }
.btn--ghost { background: transparent; }
.btn--danger { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.btn--sm { padding: 6px 10px; font-size: 12.5px; border-radius: 9px; }
.btn--lg { padding: 14px 22px; font-size: 16px; border-radius: 13px; }
.btn--block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--panel3); border: 1px solid var(--line2); color: var(--muted); }
.chip--gold { color: #2a1d00; background: var(--gold-grad); border-color: #e0a91d; }
.chip--silver { color: #15171a; background: var(--silver-grad); border-color: #c4c9cf; }
.chip--ok { color: #166534; background: #ecfdf3; border-color: #a7e3bd; }
.chip--warn { color: #92400e; background: #fffbeb; border-color: #fcd98a; }
.chip--bad { color: #991b1b; background: #fef2f2; border-color: #fca5a5; }
.chip--info { color: #1e40af; background: #eff6ff; border-color: #bfdbfe; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field small { color: var(--dim); font-size: 12px; }
.input, select.input, textarea.input { width: 100%; background: #fff; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; outline: none; }
.input:focus { border-color: var(--gold); }
textarea.input { min-height: 110px; resize: vertical; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button, .tabs a { background: var(--panel); border: 1px solid var(--line2); color: var(--muted); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; }
.tabs .on { color: #2a1d00; background: var(--gold-grad); border-color: #e0a91d; }
.tabs a:hover { text-decoration: none; }

/* ---- hero ------------------------------------------------------------------ */
.hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: center; padding: 26px; border-radius: 22px; overflow: hidden; background: radial-gradient(700px 360px at 80% 40%, rgba(245, 189, 37, .20), transparent 70%), linear-gradient(160deg, #fffaf0, #ffffff 60%); border: 1px solid var(--line); }
.hero h1 { margin-bottom: 12px; }
.hero p.lead { font-size: 17px; color: #4a4436; max-width: 560px; }
.hero__art img { width: 100%; max-height: 480px; object-fit: contain; border-radius: 18px; box-shadow: 0 18px 40px rgba(60, 40, 0, .22); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding: 18px; } .hero__art { order: -1; } .hero__art img { max-height: 260px; width: auto; margin: 0 auto; } }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.pillar { padding: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); }
.pillar b { display: block; font-family: var(--head); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, 1fr); } }

/* ---- cards ----------------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--line); box-shadow: var(--glow); text-decoration: none; }
.card__media { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 30%, #ffffff, #f3efe4 75%); display: grid; place-items: center; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--contain img { object-fit: contain; padding: 10px; }
.card__body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.card__title { font-weight: 800; font-family: var(--head); font-size: 15px; line-height: 1.25; }
.card__meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.price { font-weight: 800; font-family: var(--head); }
.ph { width: 46%; opacity: .5; }

/* ---- founding campaign ------------------------------------------------------- */
.founding { position: relative; padding: 22px; border-radius: 18px; background: linear-gradient(150deg, #fff8e6, #ffffff 70%); border: 1px solid rgba(205, 150, 20, .45); box-shadow: var(--glow); overflow: hidden; }
.founding__art { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; border: 2px solid var(--gold-lo); flex: none; }
.founding__count { font-family: var(--head); font-weight: 900; font-size: 34px; }
.progress { height: 10px; border-radius: 99px; background: var(--panel3); overflow: hidden; border: 1px solid var(--line2); }
.progress > i { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; }
.rank { font-family: var(--head); font-weight: 900; letter-spacing: .02em; }

/* ---- ledger / registry -------------------------------------------------------- */
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ledger td { padding: 10px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.ledger tr:hover td { background: #fbf9f3; }
.ledger .rank { color: var(--gold-hi); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line2); border-radius: var(--radius); background: var(--panel); }
.who { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.who .avatar { width: 26px; height: 26px; font-size: 12px; border-width: 1px; }

/* ---- certificate --------------------------------------------------------------- */
.cert { position: relative; max-width: 760px; margin: 0 auto; padding: 34px 30px 28px; border-radius: 20px; text-align: center;
  background: radial-gradient(500px 220px at 50% 0%, rgba(245, 189, 37, .16), transparent 70%), linear-gradient(170deg, #fffdf6, #fffaf0 65%);
  border: 2px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 2px #d9a21b, 0 0 0 9px #fff6dc, 0 0 0 10px rgba(205, 150, 20, .45), var(--shadow); }
.cert::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(245, 197, 66, .35); border-radius: 14px; pointer-events: none; }
.cert__logo { height: 34px; width: auto; margin: 0 auto 14px; }
.cert__type { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 800; }
.cert__title { font-size: clamp(24px, 4vw, 38px); margin: 8px 0 4px; }
.cert__rank { font-size: clamp(40px, 8vw, 72px); font-family: var(--head); font-weight: 900; line-height: 1; margin: 10px 0; }
.cert__art { width: 140px; height: 140px; object-fit: cover; border-radius: 16px; margin: 12px auto; border: 2px solid var(--gold-lo); }
.cert__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; text-align: left; margin-top: 18px; }
.cert__grid div { background: #ffffff; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; }
.cert__grid b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cert--revoked { filter: grayscale(.85); }
.stamp { position: absolute; top: 26px; right: -40px; transform: rotate(35deg); background: #7f1d1d; color: #fee2e2; font-weight: 900; letter-spacing: .2em; padding: 6px 50px; font-size: 13px; }
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid; margin: 0 auto 18px; max-width: 760px; }
.verdict--ok { background: #f0fdf4; border-color: #86efac; }
.verdict--bad { background: #fef2f2; border-color: #fca5a5; }
.verdict--warn { background: #fffbeb; border-color: #fcd34d; }
.verdict__icon { font-size: 22px; line-height: 1; }
.proof-levels { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.proof-levels > div { padding: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); }
.proof-levels .on { border-color: var(--gold); box-shadow: var(--glow); }

/* ---- product -------------------------------------------------------------------- */
.gallery__main { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #ffffff, #f3efe4 75%); border: 1px solid var(--line2); display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery__thumbs button { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--panel); cursor: pointer; }
.gallery__thumbs button.on { border-color: var(--gold); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.buybox .price { font-size: 30px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.facts div { padding: 10px 12px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line2); }
.facts b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.distinction { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; font-size: 13px; }
.distinction div { padding: 10px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line2); }
.distinction b { color: var(--gold-hi); }

/* ---- brand page ------------------------------------------------------------------ */
.brandhead { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #ffffff; }
.brandhead__banner { height: 240px; background-size: cover; background-position: center; filter: saturate(1.05); }
.brandhead__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(255, 255, 255, .97) 100%); }
.brandhead__body { position: relative; margin-top: -90px; padding: 0 22px 22px; display: flex; gap: 18px; align-items: end; flex-wrap: wrap; }
.brandhead__logo { width: 120px; height: 120px; border-radius: 22px; object-fit: cover; background: var(--panel2); border: 3px solid var(--gold); box-shadow: var(--shadow); }
.brandhead__body h1 { margin: 0; }

/* ---- collection ------------------------------------------------------------------ */
.profilehead { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 20px; border-radius: 18px; background: linear-gradient(150deg, #fff8e6, #ffffff); border: 1px solid var(--line); }
.stat { text-align: center; min-width: 80px; }
.stat b { display: block; font-family: var(--head); font-size: 24px; }
.stat span { font-size: 12px; color: var(--muted); }
.statrow { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }

/* ---- toasts + modal ----------------------------------------------------------------- */
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast { padding: 12px 16px; border-radius: 12px; background: #ffffff; border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 600; animation: rise .2s ease-out; }
.toast--bad { border-color: rgba(239, 68, 68, .5); }
.toast--ok { border-color: rgba(34, 197, 94, .5); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(20, 15, 0, .45); display: grid; place-items: center; padding: 16px; }
.modal__box { width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.modal__box h2 { margin-top: 0; }
.celebrate { text-align: center; }
.celebrate .cert__rank { margin: 6px 0 12px; }

/* ---- admin ---------------------------------------------------------------------------- */
.admin { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
.admin__nav { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; padding: 10px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--radius); }
.admin__nav a { padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.admin__nav a.on, .admin__nav a:hover { background: var(--panel2); color: var(--gold-hi); text-decoration: none; }
.admin__nav .sep { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); padding: 10px 12px 4px; }
@media (max-width: 900px) { .admin { grid-template-columns: 1fr; } .admin__nav { position: static; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } .admin__nav .sep { display: none; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line2); }
.kpi b { display: block; font-family: var(--head); font-size: 26px; }
.kpi span { font-size: 12px; color: var(--muted); }
.typepicker { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.typepicker button { text-align: left; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); cursor: pointer; color: var(--text); }
.typepicker button:hover, .typepicker button.on { border-color: var(--gold); box-shadow: var(--glow); }
.typepicker b { display: block; font-family: var(--head); margin-bottom: 4px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar__track { flex: 1; height: 12px; border-radius: 6px; background: var(--panel3); overflow: hidden; }
.bar__fill { height: 100%; background: var(--gold); border-radius: 6px; }
.codebox { background: #faf8f2; border: 1px dashed var(--gold-lo); border-radius: 10px; padding: 12px; font-family: ui-monospace, Consolas, monospace; }

/* ---- founders program ---------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line2); box-shadow: var(--shadow); }
.tier--silver { background: linear-gradient(180deg, #f7f8fa, #ffffff 60%); border-color: #cfd4da; }
.tier--gold { background: linear-gradient(180deg, #fff8e6, #ffffff 60%); border-color: rgba(205, 150, 20, .45); }
.tier--top { border: 2px solid #d9a21b; box-shadow: var(--glow); }
.tier__flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--gold-grad); color: #2a1d00; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; border: 1px solid #d39a12; }
.tier__name { font-family: var(--head); font-weight: 900; font-size: 20px; }
.tier__price { font-family: var(--head); font-weight: 800; font-size: 26px; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier--silver .tier__price { background: var(--silver-text); -webkit-background-clip: text; background-clip: text; }
.tier__count { font-size: 13px; }
.tier__count b { font-family: var(--head); font-size: 18px; }
.tier__perks { margin: 4px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); flex: 1; }
.tier__perks li { margin: 4px 0; }
.tier__mine { text-align: center; }
.founders-banner { padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, #fff4d6, #fffaf0); border: 1px solid rgba(205, 150, 20, .45); font-size: 14px; }
.founder-badge { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: linear-gradient(90deg, #fff4d6, #ffffff); border: 2px solid #d9a21b; }
.founder-badge .rank { font-size: 24px; }
.cert--silver { box-shadow: 0 0 0 2px #b6bdc5, 0 0 0 9px #f3f5f7, 0 0 0 10px #cfd4da, var(--shadow); background: linear-gradient(170deg, #ffffff, #f6f7f9 65%); }
.cert--silver::before { border-color: #cfd4da; }

/* ---- footer ----------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); background: var(--bg2); margin-top: 40px; }
.foot__in { max-width: 1280px; margin: 0 auto; padding: 28px 16px 36px; display: grid; gap: 10px; }
.foot__in img { height: 40px; width: auto; }
.foot__tag { color: var(--muted); margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__links a { color: var(--text); font-weight: 600; font-size: 14px; }
.foot__fine { font-size: 12px; color: var(--dim); margin: 0; }
.tier__art { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line2); }
