:root {
  --ink: #09070b;
  --ink-2: #110e13;
  --card: #151117;
  --line: rgba(232, 199, 143, 0.18);
  --gold: #e8c78f;
  --gold-2: #c09a62;
  --text: #f5f1ea;
  --muted: rgba(245, 241, 234, 0.62);
  --faint: rgba(245, 241, 234, 0.4);
  --starter: #9e9e9e;
  --common: #dbe0ea;
  --rare: #74b8ff;
  --epic: #c785ff;
  --legendary: #f5c76b;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(9, 7, 11, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 24px; font-size: 14px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 24px 0 72px; text-align: center; }
.hero-img {
  width: 150%;
  max-width: none;
  margin: -20px 0 -40px -25%;
  -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% 46%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 46% 50% at 50% 46%, #000 55%, transparent 100%);
}
@media (min-width: 900px) {
  .hero { padding: 40px 0 96px; text-align: left; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 24px; }
  .hero-img { order: 2; width: 160%; margin: -60px 0 -60px -30%; }
  .hero-text { order: 1; position: relative; z-index: 1; }
  .hero .hero-text .lede { max-width: 30rem; }
  .hero .hero-text h1, .hero .hero-text .lede { margin-left: 0; }
}
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); margin: 14px auto 18px; max-width: 14ch; }
.hero h1 em { color: var(--gold); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 40rem; margin: 0 auto 30px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #1a1208;
       background: linear-gradient(180deg, var(--gold), var(--gold-2)); box-shadow: 0 10px 40px rgba(232, 199, 143, 0.18); }
.cta:hover { text-decoration: none; filter: brightness(1.05); }
.cta small { font-weight: 500; opacity: 0.75; }
.under-cta { margin-top: 14px; font-size: 13px; color: var(--faint); }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 36rem; margin: 14px auto 0; }

/* Collection */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.stone { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; overflow: hidden; position: relative; }
.stone img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.stone .info { padding: 16px 18px 20px; }
.stone h3 { font-size: 26px; }
.stone .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stone .price { color: var(--gold); font-weight: 600; }
.chip { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
        padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); border: 1px solid currentColor; }
.chip.starter { color: var(--starter); } .chip.common { color: var(--common); } .chip.rare { color: var(--rare); }
.chip.epic { color: var(--epic); } .chip.legendary { color: var(--legendary); }
.stone.legendary { border-color: rgba(245, 199, 107, 0.35); }
.soon { color: var(--faint); font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step { padding: 28px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 40px; color: var(--gold); display: block; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* Certificate showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cert { max-width: 380px; justify-self: center; text-align: center; padding: 34px 26px; border-radius: 22px; background: var(--card);
        border: 1px solid rgba(232, 199, 143, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.cert img { width: 70%; margin: 4px auto 6px; border-radius: 12px; }
.cert .t { font-family: var(--serif); font-size: 32px; margin: 8px 0 0; }
.cert .s { font-family: var(--serif); font-size: 22px; color: var(--gold); margin: 0; }
.cert .o { margin: 18px 0 0; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.cert .n { font-family: var(--serif); font-style: italic; font-size: 28px; margin: 0; }
.showcase h2 { font-size: clamp(32px, 4.5vw, 48px); margin: 10px 0 16px; }
.showcase p { color: var(--muted); }

/* Fine print */
.fine { background: var(--ink-2); border-block: 1px solid var(--line); }
.fine-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.fine-list li { padding: 20px 22px; border-radius: 16px; background: var(--card); }
.fine-list strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.fine-list span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; }
summary { cursor: pointer; font-family: var(--serif); font-size: 24px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
footer { padding: 48px 0 56px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { color: var(--muted); }

/* Text pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(38px, 6vw, 56px); margin: 10px 0 8px; }
.doc .updated { color: var(--faint); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 28px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc td { color: var(--muted); }
.table-scroll { overflow-x: auto; }

@media (max-width: 760px) {
  .nav nav { gap: 16px; }
  .nav nav .opt { display: none; }
  section { padding: 60px 0; }
  .hero { padding-top: 16px; }
  .cta small { display: none; }
  .showcase { grid-template-columns: 1fr; gap: 36px; }
}
