@font-face {
  font-family: "Estedad FD";
  src: url("../fonts/Estedad-FD-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Estedad FD";
  src: url("../fonts/Estedad-FD-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Estedad FD";
  src: url("../fonts/Estedad-FD-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Estedad FD";
  src: url("../fonts/Estedad-FD-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Estedad FD";
  src: url("../fonts/Estedad-FD-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --font-primary: "Estedad FD", Tahoma, Arial, sans-serif;
  --gold-50: #fffbeb;
  --gold-100: #fef3c7;
  --gold-300: #fcd34d;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-700: #b45309;
  --ink: #161616;
  --muted: #6b7280;
  --surface: #ffffff;
  --bg: #f8fafc;
  --line: #e5e7eb;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-family: var(--font-primary) !important;
}
body {
  margin: 0;
  font-family: var(--font-primary) !important;
  background: var(--bg);
  color: var(--ink);
}
body *,
body *::before,
body *::after {
  font-family: inherit !important;
}
button,
input,
select,
textarea,
option {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.app-container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 148px;
  height: 42px;
  object-fit: contain;
}
.brand-logo-footer {
  max-width: 132px;
  height: 38px;
}
.brand-logo-fallback {
  display: none;
}
.brand-logo.is-missing + .brand-logo-fallback {
  display: grid;
}

.gold-text {
  background: linear-gradient(135deg, #7c4a03, #f5c451 45%, #9a6506 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-grid {
  background-image:
    radial-gradient(
      circle at 14% 20%,
      rgba(245, 158, 11, 0.14),
      transparent 28%
    ),
    radial-gradient(circle at 85% 8%, rgba(217, 119, 6, 0.1), transparent 22%),
    linear-gradient(135deg, #fff 0%, #fffaf0 52%, #fff 100%);
}
.glass-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(229, 231, 235, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}
.gold-ring {
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.18),
    0 20px 45px rgba(180, 83, 9, 0.18);
}

.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: block;
}
.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.table-scroll {
  overflow-x: auto;
}
.qty-input {
  width: 52px;
  text-align: center;
}
.checkout-step::before {
  content: "";
  position: absolute;
  inset-inline-start: 17px;
  top: 34px;
  bottom: -18px;
  width: 2px;
  background: #e5e7eb;
}
.checkout-step:last-child::before {
  display: none;
}
.focus-gold:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.status-pending {
  background: #fff7ed;
  color: #c2410c;
}
.status-success {
  background: #ecfdf5;
  color: #047857;
}
.status-failed {
  background: #fef2f2;
  color: #b91c1c;
}

.skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%);
  background-size: 400% 100%;
  animation: skeleton 1.4s ease infinite;
}
@keyframes skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@media (max-width: 768px) {
  .app-container {
    width: min(calc(100% - 20px), 1180px);
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-button {
    display: inline-flex !important;
  }
  header .brand-logo {
    max-width: 112px;
  }
  .hero-grid .app-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid .app-container > * {
    min-width: 0;
  }
  .hero-grid .glass-card {
    width: 100%;
  }
}

/* --- Minimal motion & micro-interactions --- */
:root {
  --motion-fast: 160ms;
  --motion-base: 260ms;
  --motion-slow: 520ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.is-page-ready main {
  animation: pageEnter 420ms var(--ease-out) both;
}
@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header {
  transition:
    box-shadow var(--motion-base) ease,
    background-color var(--motion-base) ease;
}
header.is-scrolled {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  background: rgba(255, 255, 255, 0.96) !important;
}

.brand-logo {
  transition:
    transform var(--motion-base) var(--ease-out),
    opacity var(--motion-fast) ease;
}
a:hover > .brand-logo {
  transform: translateY(-1px) scale(1.015);
}
.brand-logo-fallback {
  min-width: 110px;
  padding-inline: 12px;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition-property:
    color, background-color, border-color, box-shadow, transform, opacity;
  transition-duration: var(--motion-fast);
  transition-timing-function: ease;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.34);
  outline-offset: 3px;
}
button:not(:disabled):active,
a[data-pressable]:active,
[data-add-cart]:active,
[data-qty-plus]:active,
[data-qty-minus]:active {
  transform: scale(0.975);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
[data-qty-plus],
[data-qty-minus],
.mobile-menu-button {
  min-width: 44px;
  min-height: 44px;
}

.desktop-nav a,
footer a {
  position: relative;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #d97706;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-base) var(--ease-out);
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.motion-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--motion-slow) var(--ease-out),
    transform var(--motion-slow) var(--ease-out);
}
.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-card {
  transition:
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out),
    border-color var(--motion-base) ease;
}
.motion-list-item,
.empty-state-enter {
  animation: listItemEnter 420ms var(--ease-out) both;
  animation-delay: min(calc(var(--item-index, 0) * 45ms), 180ms);
}
@keyframes listItemEnter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .motion-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.28);
    box-shadow: 0 16px 35px rgba(17, 24, 39, 0.07);
  }
}

[data-products-grid] article {
  position: relative;
  overflow: hidden;
}
[data-products-grid] article::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 36%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  transform: rotate(18deg);
  transition: left 650ms var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  [data-products-grid] article:hover::after {
    left: 135%;
  }
}

[data-cart-count] {
  transform-origin: center;
}
[data-cart-count].cart-bump {
  animation: cartBump 420ms var(--ease-out);
}
@keyframes cartBump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1);
  }
}

[data-add-cart].is-added {
  background: #047857 !important;
  color: #fff !important;
}

.qty-input {
  transition:
    color var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}
.qty-input.qty-changed {
  animation: qtyPop 260ms var(--ease-out);
}
@keyframes qtyPop {
  50% {
    transform: scale(1.12);
    color: #b45309;
  }
}

[data-cart-item].is-removing {
  pointer-events: none;
  animation: cartItemExit 220ms ease-in both;
}
@keyframes cartItemExit {
  to {
    opacity: 0;
    transform: translateX(-14px) scale(0.985);
  }
}

.menu-icon {
  display: grid;
  width: 20px;
  gap: 4px;
}
.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform var(--motion-base) var(--ease-out),
    opacity var(--motion-fast) ease;
}
[data-mobile-menu][aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}
[data-mobile-menu][aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.35);
}
[data-mobile-menu][aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows var(--motion-base) var(--ease-out),
    opacity var(--motion-fast) ease,
    visibility var(--motion-fast) ease;
}
.mobile-menu > * {
  min-height: 0;
  overflow: hidden;
}
.mobile-menu.open {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    transform var(--motion-base) var(--ease-out),
    opacity var(--motion-fast) ease;
}
.toast::before {
  content: "✓";
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  font-weight: 900;
}

.focus-gold {
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}
.focus-gold:hover {
  border-color: #d1d5db;
}
.focus-gold:focus {
  transform: translateY(-1px);
  background: #fffdf8;
}

input[type="radio"] {
  accent-color: #d97706;
  transition: transform var(--motion-fast) var(--ease-spring);
}
input[type="radio"]:checked {
  transform: scale(1.12);
}

.form-submit-feedback {
  position: relative;
  overflow: hidden;
}
.form-submit-feedback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 80%
  );
  transform: translateX(110%);
}
.form-submit-feedback.is-loading::after {
  animation: submitSweep 1s linear infinite;
}
@keyframes submitSweep {
  to {
    transform: translateX(-110%);
  }
}

.success-pop {
  animation: successPop 650ms var(--ease-out) both;
}
@keyframes successPop {
  0% {
    transform: scale(0.65);
    opacity: 0;
  }
  65% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .motion-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Home experience — obsidian hero, gold price board, coin cards
   ============================================================ */
@font-face {
  font-family: "Morabba";
  src: url("../fonts/Morabba/Morabba-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Morabba";
  src: url("../fonts/Morabba/Morabba-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-display: "Morabba", "Estedad FD", Tahoma, serif;
  --obsidian: #0b0b0e;
  --gold: #dfb247;
  --gold-soft: #f0d089;
  --gold-deep: #a8761b;
  --page: #f5f4f2;
  --hairline: #e8e5df;
  --hairline-soft: #f4f2ee;
  --text-dim: #77736c;
  --text-faint: #9a968e;
  --up: #0f7a52;
  --down: #c0392b;
}

/* The global `font-family: inherit !important` reset locks every element to the
   body face; this re-opens a single escape hatch for the display face. */
.font-display,
.font-display * {
  font-family: var(--font-display) !important;
}
.tnum {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.page-shell {
  background: var(--page);
}

/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--obsidian);
  color: #f7f5f1;
  padding-block: clamp(52px, 7vw, 92px) clamp(96px, 11vw, 130px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      62% 72% at 74% 14%,
      rgba(223, 178, 71, 0.3),
      transparent 62%
    ),
    radial-gradient(
      48% 58% at 6% 98%,
      rgba(168, 118, 27, 0.22),
      transparent 68%
    ),
    linear-gradient(160deg, #0b0b0e 0%, #15141b 48%, #0b0b0e 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    72% 62% at 50% 28%,
    #000,
    transparent 78%
  );
  mask-image: radial-gradient(72% 62% at 50% 28%, #000, transparent 78%);
}
.hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(36px, 5vw, 60px);
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(223, 178, 71, 0.34);
  border-radius: 999px;
  background: rgba(223, 178, 71, 0.09);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-soft);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(223, 178, 71, 0.16);
}

.hero__title {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.6vw, 58px);
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: #fdfcfa;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, #f8e5b0, #dfb247 48%, #a8761b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(247, 245, 241, 0.62);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__assure {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: rgba(247, 245, 241, 0.66);
}
.hero__assure > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero__assure > div::before {
  content: "";
  width: 6px;
  height: 6px;
  rotate: 45deg;
  background: var(--gold);
}

.hero__coin {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  --ring: min(94%, 450px);
}
.hero__coin::before {
  content: "";
  position: absolute;
  width: min(86%, 400px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(223, 178, 71, 0.4),
    rgba(223, 178, 71, 0.06) 58%,
    transparent 72%
  );
  filter: blur(4px);
}
.hero__coin::after {
  content: "";
  position: absolute;
  width: var(--ring);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(223, 178, 71, 0.18);
  box-shadow:
    0 0 0 28px rgba(223, 178, 71, 0.045),
    0 0 0 64px rgba(223, 178, 71, 0.028);
}
.hero__coin img {
  position: relative;
  width: min(76%, 350px);
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.6));
}

/* The coin stays still; an engraved bezel and two light glints carry the motion. */
.hero__rim,
.hero__ticks,
.hero__shine {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 999px;
  pointer-events: none;
}
.hero__rim {
  width: calc(var(--ring) * 0.92);
  border: 1px solid rgba(223, 178, 71, 0.13);
}
.hero__ticks {
  width: var(--ring);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(223, 178, 71, 0.5) 0deg 0.32deg,
    transparent 0.32deg 2.5deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 9px),
    #000 calc(100% - 9px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 9px),
    #000 calc(100% - 9px)
  );
  animation: bezelTurn 60s linear infinite;
}
.hero__ticks--major {
  background: repeating-conic-gradient(
    from 0deg,
    rgba(248, 229, 176, 0.75) 0deg 0.7deg,
    transparent 0.7deg 22.5deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 14px),
    #000 calc(100% - 14px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 14px),
    #000 calc(100% - 14px)
  );
}
.hero__shine {
  width: var(--ring);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(248, 229, 176, 0) 44deg,
    rgba(248, 229, 176, 0.9) 90deg,
    rgba(248, 229, 176, 0) 136deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  animation: bezelTurn 6.5s linear infinite;
}
/* Second glint, half a turn behind — the way light reads on a polished rim. */
.hero__shine--lag {
  animation-delay: -3.25s;
}
@keyframes bezelTurn {
  to {
    rotate: 360deg;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 15px 26px;
  font-size: 13.5px;
  font-weight: 800;
}
.btn-gold {
  background: linear-gradient(135deg, #f4d894, #dfb247 55%, #bf8f24);
  color: #1a1305;
  box-shadow: 0 16px 32px -16px rgba(223, 178, 71, 0.8);
}
.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f7f5f1;
}
.btn-ghost:hover {
  border-color: rgba(223, 178, 71, 0.5);
  background: rgba(223, 178, 71, 0.09);
}
.btn-ink {
  background: #111116;
  color: #fff;
}
.btn-ink:hover {
  background: linear-gradient(135deg, #dfb247, #bf8f24);
  color: #1a1305;
}

/* --- Price board (signature) --- */
.board-wrap {
  position: relative;
  z-index: 6;
  margin-top: -58px;
}
.board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 26px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 30px 60px -34px rgba(11, 11, 14, 0.55);
}
/* Hairline across the top edge: it fills over one polling interval so the wait
   for the next price is visible, and sweeps while the request is in flight. */
.board__bar {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  pointer-events: none;
}
.board__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}
.board__bar.is-counting::after {
  animation: board-countdown var(--board-poll, 60000ms) linear forwards;
}
.board__bar.is-fetching::after {
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 45%,
    var(--gold-soft) 55%,
    transparent
  );
  background-size: 45% 100%;
  background-repeat: no-repeat;
  animation: board-sweep 1.1s linear infinite;
}
@keyframes board-countdown {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes board-sweep {
  from {
    background-position: -45% 0;
  }
  to {
    background-position: 145% 0;
  }
}
.board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px 16px;
  border-bottom: 1px solid var(--hairline);
}
.board__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}
.board__status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.board__meta {
  margin: 0;
  font-size: 11.5px;
  color: var(--text-faint);
}
.board__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 9px 3px 8px;
  background: #e9f6f0;
  font-size: 11px;
  font-weight: 700;
  color: var(--up);
}
.board__live[hidden] {
  display: none;
}
.board__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--up);
  animation: board-pulse 2.4s ease-out infinite;
}
@keyframes board-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 122, 82, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(15, 122, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 122, 82, 0);
  }
}
.board__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.board__item {
  padding: 18px 20px;
  border-inline-start: 1px solid var(--hairline);
}
.board__item:nth-child(1) {
  border-inline-start: 0;
}
.board__name {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #5f5c56;
}
.board__price {
  display: block;
  margin-top: 9px;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.board__unit {
  font-style: normal;
  margin-inline-start: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
}
.board__delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0 0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
}
.is-up {
  background: #e9f6f0;
  color: var(--up);
}
.is-down {
  background: #fdecea;
  color: var(--down);
}
.is-flat {
  background: #f3f2ef;
  color: var(--text-dim);
}
/* A row only carries these when its price really moved between two readings,
   so the flash stays a signal rather than decoration. */
.board__item.is-tick-up,
.board__item.is-tick-down {
  animation: board-tick 1.8s ease-out;
}
.board__item.is-tick-down {
  --board-tick-tint: rgba(192, 57, 43, 0.12);
  --board-tick-from: -7px;
}
.board__item.is-tick-up .board__price,
.board__item.is-tick-down .board__price {
  animation: board-roll 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes board-tick {
  0% {
    background: var(--board-tick-tint, rgba(15, 122, 82, 0.12));
  }
  100% {
    background: transparent;
  }
}
@keyframes board-roll {
  from {
    opacity: 0;
    transform: translateY(var(--board-tick-from, 7px));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .board-wrap {
    margin-top: -44px;
  }
  .board {
    padding: 16px;
    border-radius: 22px;
  }
  .board__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board__item {
    padding: 14px;
  }
  .board__item:nth-child(odd) {
    border-inline-start: 0;
  }
  .board__item:nth-child(n + 3) {
    border-top: 1px solid var(--hairline);
  }
}

/* --- Section scaffolding --- */
.sec {
  padding-block: clamp(54px, 7vw, 86px);
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.sec-head--center {
  justify-content: center;
  text-align: center;
}
.sec-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-deep);
}
.sec-eyebrow::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(to left, var(--gold), transparent);
}
.sec-head--center .sec-eyebrow {
  justify-content: center;
}
.sec-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.3vw, 36px);
  line-height: 1.45;
  color: #121215;
}
.sec-note {
  margin: 14px 0 0;
  max-width: 44rem;
  font-size: 14px;
  line-height: 2.05;
  color: var(--text-dim);
}
.sec-head--center .sec-note {
  margin-inline: auto;
}
.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dim);
}
.sec-link:hover {
  color: var(--gold-deep);
}

/* --- Product card --- */
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 26px;
  background: #fff;
}
.pcard__well {
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px 20px 20px;
  background: radial-gradient(72% 70% at 50% 28%, #fdf5e2, #fff 74%);
}
.pcard__badge {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  border-radius: 999px;
  background: rgba(11, 11, 14, 0.9);
  padding: 5px 11px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--gold-soft);
}
.pcard__img {
  width: min(74%, 172px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(122, 83, 16, 0.22));
  transition: transform 420ms var(--ease-out);
}
.pcard:hover .pcard__img {
  transform: scale(1.06) rotate(-2.5deg);
}
.pcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 15px;
  border-top: 1px solid var(--hairline-soft);
  padding: 18px 20px 20px;
}
.pcard__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}
.pcard__name a:hover {
  color: var(--gold-deep);
}
.pcard__sub {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-faint);
  /* Product blurbs come from the API and can run long; two lines keep every
     card in a row the same height. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.pcard__specs {
  display: flex;
  gap: 8px;
  margin: 0;
}
.pcard__specs > div {
  flex: 1;
  border-radius: 14px;
  background: #f7f6f3;
  padding: 9px 11px;
}
.pcard__specs dt {
  font-size: 10.5px;
  color: var(--text-faint);
}
.pcard__specs dd {
  margin: 3px 0 0;
  font-size: 12.5px;
  font-weight: 800;
}
.pcard__foot {
  margin-top: auto;
}
.pcard__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.pcard__label {
  margin: 0;
  font-size: 10.5px;
  color: var(--text-faint);
}
.pcard__price {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 600;
}
.pcard__old {
  margin: 3px 0 0;
  font-size: 11px;
  color: #b3afa7;
  text-decoration: line-through;
}
.pcard__cta {
  display: block;
  width: 100%;
  margin-top: 15px;
  text-align: center;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 800;
}

/* --- Steps --- */
.steps {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.step {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: #fff;
  padding: 24px 22px;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: #111116;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-soft);
}
.step h3 {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 800;
}
.step p {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 2;
  color: var(--text-dim);
}
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    inset-inline-end: -18px;
    width: 18px;
    border-top: 1px dashed #d9d5cc;
  }
}

/* --- Assurance --- */
.assure {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .assure {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.assure__item {
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: #fff;
  padding: 26px 24px;
}
.assure__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdf3d9, #f2dda3);
  color: #7a5310;
}
.assure__item h3 {
  margin: 20px 0 0;
  font-size: 15.5px;
  font-weight: 800;
}
.assure__item p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 2.05;
  color: var(--text-dim);
}

/* --- FAQ --- */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}
.faq details {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: #fff;
  padding: 0 22px;
  transition:
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease;
}
.faq details[open] {
  border-color: rgba(223, 178, 71, 0.45);
  box-shadow: 0 18px 40px -30px rgba(11, 11, 14, 0.5);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 800;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--gold-deep);
  transition: transform var(--motion-base) var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 0;
  border-top: 1px solid var(--hairline-soft);
  padding: 16px 0 20px;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--text-dim);
}

/* --- Closing call to action --- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(150deg, #111116, #1c1a22 55%, #0d0d10);
  color: #fff;
  padding: clamp(30px, 5vw, 56px);
}
.cta::before {
  content: "";
  position: absolute;
  inset-block-start: -90px;
  inset-inline-end: -90px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(223, 178, 71, 0.26),
    transparent 66%
  );
}
.cta__inner {
  position: relative;
  display: grid;
  gap: 26px;
  align-items: center;
}
@media (min-width: 1024px) {
  .cta__inner {
    grid-template-columns: 1fr auto;
  }
}
.cta h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
}
.cta p {
  margin: 16px 0 0;
  max-width: 46rem;
  font-size: 13.5px;
  line-height: 2.1;
  color: rgba(247, 245, 241, 0.6);
}

/* --- Footer --- */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
  padding: 32px 0 26px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 38px 0 30px;
  }
}
/* Brand takes the full first row on small screens so the link columns pair up. */
.footer-brand {
  min-width: 0;
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .footer-brand {
    grid-column: auto;
  }
}
.footer-tagline {
  margin: 12px 0 0;
  max-width: 28rem;
  font-size: 12.5px;
  line-height: 2;
  color: var(--text-dim);
}
.enamad-seal {
  display: inline-flex;
  border-radius: 10px;
  outline-offset: 3px;
}
.enamad-seal img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.foot-col {
  display: grid;
  align-content: start;
  gap: 8px;
}
.foot-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: #121215;
}
/* Links are grid items: keep the box to the text so the RTL start edge stays flush. */
.foot-link {
  display: block;
  width: fit-content;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}
a.foot-link:hover {
  color: var(--gold-deep);
}
.foot-link.tnum {
  unicode-bidi: isolate;
}
.footer-bottom {
  border-top: 1px solid #f5f5f5;
  padding: 13px 0;
  text-align: center;
  font-size: 11.5px;
  color: #a3a3a3;
}

/* --- Home refinements --- */
.pcard__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.pcard__price {
  margin: 6px 0 0;
  font-size: 12px;
}
.pcard__old {
  margin: 0;
  flex: none;
}

@media (max-width: 640px) {
  .pcard__img {
    width: min(56%, 200px);
  }
  .board__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hero {
    padding-block: 44px 92px;
  }
  .hero__coin img {
    width: min(64%, 260px);
  }
}

/* The coin tilt is the card's hover signature; drop the inherited shine sweep. */
.pcard::after {
  content: none;
}

/* --- Ornamental gold: photo cards keep the shot full-bleed --- */
[hidden] {
  display: none !important;
}
.pcard__well--photo {
  padding: 0;
  background: #fff;
}
.pcard__well--photo .pcard__img {
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: none;
}
.pcard:hover .pcard__well--photo .pcard__img {
  transform: scale(1.06);
}
.pcard__well--photo .pcard__badge {
  background: rgba(255, 255, 255, 0.92);
  color: #3a2a07;
}

/* --- Skeletons ---
   Painted with the page, then replaced by data.js/app.js. The shapes copy the
   board item and product card so nothing shifts when the real content lands. */
.sk {
  background: linear-gradient(90deg, #f1efea 25%, #e3e0d9 37%, #f1efea 63%);
  background-size: 400% 100%;
  border-radius: 8px;
  animation: skeleton 1.4s ease infinite;
}
.sk-line {
  height: 11px;
}
.sk-line + .sk-line {
  margin-top: 9px;
}
.sk-line--lg {
  height: 18px;
  border-radius: 9px;
}
.sk-pill {
  width: 62px;
  height: 24px;
  margin-top: 12px;
  border-radius: 999px;
}

.board__item.sk-board {
  padding-block: 20px;
}

/* The well repeats .pcard__well's padding so the placeholder coin sits exactly
   where the real one will. */
.pcard-sk__well:not(.pcard-sk__well--photo) {
  background: radial-gradient(72% 70% at 50% 28%, #fdf5e2, #fff 74%);
}
.pcard-sk__well {
  display: grid;
  place-items: center;
  padding: 28px 20px 20px;
}
.pcard-sk__coin {
  width: min(74%, 172px);
  aspect-ratio: 1;
  border-radius: 999px;
}
.pcard-sk__well--photo {
  padding: 0;
  aspect-ratio: 1;
  border-radius: 0;
}
.pcard-sk__specs {
  display: flex;
  gap: 8px;
}
.pcard-sk__specs > div {
  flex: 1;
  height: 46px;
  border-radius: 14px;
}
.pcard-sk__foot {
  margin-top: auto;
}
.pcard-sk__cta {
  height: 42px;
  margin-top: 15px;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .pcard-sk__coin {
    width: min(56%, 200px);
  }
}

/* Photos arrive after the markup; hold the card's well until they decode. */
.pcard__img.is-loading {
  opacity: 0;
}
.pcard__img {
  transition: transform 420ms var(--ease-out), opacity 320ms var(--ease-out);
}
