:root {
  --bg: #0c0a08;
  --bg-card: #16130e;
  --bg-elevated: #1e1a12;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dim: rgba(201, 162, 39, 0.15);
  --text: #f5f0e6;
  --muted: #a89f8c;
  --border: rgba(201, 162, 39, 0.22);
  --success: #5cb87a;
  --danger: #e07070;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(ellipse 120% 80% at 50% -20%, #2a2418 0%, var(--bg) 55%);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(12, 10, 8, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--gold-light);
  background: var(--gold-dim);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #a8841e 100%);
  color: #1a1408;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--border);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--border);
  background: var(--gold-dim);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-apple {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-apple:hover {
  background: #1a1a1a;
  color: #fff;
}

.nav-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: stretch;
}

.store-buttons-hero {
  margin-top: 0.25rem;
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 148px;
  padding: 0.55rem 1rem 0.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.15;
}

.store-badge:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.store-badge-small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.store-badge-big {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.store-badge-google {
  background: linear-gradient(135deg, #1e1a12 0%, #0c0a08 100%);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-badge-google:hover {
  color: var(--gold-light);
  border-color: rgba(201, 162, 39, 0.45);
}

.store-badge-apple {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-badge-apple:hover {
  color: #fff;
}

.cta-actions .store-buttons {
  width: 100%;
  margin-top: 0.25rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #f0e6c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-home {
  position: relative;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-orb-gold {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.55) 0%, transparent 70%);
}

.hero-orb-silver {
  width: min(380px, 70vw);
  height: min(380px, 70vw);
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(156, 163, 175, 0.25) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

a.pill {
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

a.pill:hover {
  transform: translateY(-1px);
}

.pill-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.pill-store.pill-google {
  color: #fff;
  border-color: rgba(66, 133, 244, 0.45);
  background: rgba(66, 133, 244, 0.12);
}

.pill-store.pill-google:hover {
  border-color: rgba(66, 133, 244, 0.65);
  background: rgba(66, 133, 244, 0.2);
}

.pill-store.pill-apple {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.pill-store.pill-apple:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.pill-live {
  color: var(--gold-light);
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.1);
}

.pill-live:hover {
  color: var(--gold-light);
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.16);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.hero-brand {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.65rem;
}

.hero-title {
  font-size: clamp(2.15rem, 5.5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.hero-slogan {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin-inline: auto;
  max-width: 54ch;
}

.hero-home .hero-lead {
  max-width: min(100%, 46rem);
}

@media (min-width: 900px) {
  .hero-home .hero-lead {
    max-width: none;
    white-space: nowrap;
  }
}

.hero-disclaimer {
  margin-top: 1.5rem;
}

.hero-home .hero-actions {
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-solo {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.phone-mock {
  background: linear-gradient(160deg, #2a2418, #12100c);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.mock-screen {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1rem;
  min-height: 360px;
}

.spot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.spot-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.spot-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spot-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

.spot-change {
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.spot-change.up {
  color: var(--success);
}

.spot-change.down {
  color: var(--danger);
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.features-bento .feature-card-highlight {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.12), var(--bg-card) 55%);
  border-color: rgba(201, 162, 39, 0.35);
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
}

.feature-link:hover {
  text-decoration: underline;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.section-steps {
  padding-bottom: 4rem;
}

.steps-timeline {
  position: relative;
  gap: 1.5rem;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  pointer-events: none;
}

.step {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-dim), rgba(0, 0, 0, 0.3));
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-weight: 800;
}

.cta-band {
  margin: 2.5rem 0 0;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), rgba(30, 26, 18, 0.9));
  border: 1px solid var(--border);
  text-align: center;
}

.cta-band-premium {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 2rem;
  margin-top: 3rem;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(201, 162, 39, 0.2), transparent);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content .lead {
  margin: 0.5rem auto 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer-tagline {
  margin-top: 0.75rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid p,
.footer-grid li {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Calculator page */
.page-hero {
  padding: 2.5rem 0 1.5rem;
}

.section-head-calc {
  margin-bottom: 1.25rem;
}

.section-head-calc h1,
.section-head-calc .calc-title {
  margin-bottom: 0;
}

.calc-title {
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold-light);
}

.panel-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.panel-head-row h2 {
  margin-bottom: 0;
}

.panel-head-row .currency-toggle {
  flex-shrink: 0;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

@media (min-width: 901px) {
  .calc-layout {
    align-items: stretch;
  }

  .calc-layout .panel {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .calc-layout .panel .disclaimer {
    margin-top: auto;
  }
}

.calc-cta {
  margin-top: 0.5rem;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.panel h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .page-calculator .form-row {
    gap: 0.5rem;
  }

  .page-calculator label {
    font-size: 0.75rem;
  }
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

input,
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  min-height: 44px;
  box-sizing: border-box;
}

input:focus,
select:focus {
  outline: 2px solid rgba(201, 162, 39, 0.45);
  border-color: var(--gold);
}

.input-with-btn {
  display: flex;
  gap: 0.5rem;
}

.input-with-btn input {
  flex: 1;
}

.calc-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.calc-total-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.calc-total-box strong {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

.breakdown {
  display: grid;
  gap: 0.55rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.breakdown-row strong {
  color: var(--text);
}

.breakdown-total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-light);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  padding-left: 0.85rem;
  margin: 1.5rem 0;
}

.global-section {
  padding-top: 0;
  margin-top: -1rem;
}

.market-shell {
  background: linear-gradient(180deg, rgba(30, 26, 18, 0.95) 0%, rgba(12, 10, 8, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.global-head {
  margin-bottom: 1.25rem;
}

.global-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.global-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.global-status {
  margin: 0;
}

.global-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.currency-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.currency-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.currency-btn.active {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.global-assets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.global-asset-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  transition: transform 0.2s ease;
}

.global-asset-card:hover {
  transform: translateY(-2px);
}

.global-asset-card.gold {
  background: linear-gradient(155deg, rgba(201, 162, 39, 0.22) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.08);
}

.global-asset-card.silver {
  background: linear-gradient(155deg, rgba(156, 163, 175, 0.18) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-color: rgba(156, 163, 175, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.asset-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.asset-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.asset-icon-gold {
  background: rgba(201, 162, 39, 0.25);
  color: var(--gold-light);
}

.asset-icon-silver {
  background: rgba(156, 163, 175, 0.25);
  color: #d1d5db;
}

.global-asset-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.global-asset-oz {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 0.15rem;
  letter-spacing: -0.02em;
}

.global-asset-card.silver .global-asset-oz {
  color: #d1d5db;
}

.global-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.metric-cell {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.metric-cell span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.metric-cell strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.global-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.global-panel h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.ratio-panel {
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.08), var(--bg-card));
}

.panel-hint {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.ratio-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

.purity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.purity-cell {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  font-size: 0.78rem;
}

.purity-cell span {
  display: block;
  color: var(--muted);
}

.purity-cell strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.88rem;
  margin-top: 0.1rem;
}

.global-disclaimer {
  margin: 1rem 0 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .features,
  .steps,
  .footer-grid,
  .calc-layout,
  .global-assets,
  .global-panels {
    grid-template-columns: 1fr;
  }

  .features-bento .feature-card-highlight {
    grid-column: span 1;
  }

  .steps-timeline::before {
    display: none;
  }

  .hero-home {
    padding: 3.5rem 0 2.5rem;
  }

  .market-shell {
    padding: 1.1rem;
  }

  .global-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .page-calculator .form-row > div {
    min-width: 0;
  }

  .page-calculator .input-with-btn {
    display: block;
  }

  .page-calculator .input-with-btn input {
    width: 100%;
    display: block;
  }

  .page-calculator .input-with-btn .btn {
    width: 100%;
    margin-top: 0.5rem;
    min-height: 44px;
    padding-inline: 0.5rem;
    font-size: 0.72rem;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page-calculator input,
  .page-calculator select {
    font-size: 16px;
    padding: 0.85rem 0.9rem;
    min-height: 48px;
  }

  .page-calculator .panel {
    padding: 1rem;
  }

  .page-calculator .calc-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-calculator .panel-head-row {
    flex-direction: column;
    align-items: stretch;
  }

  .page-calculator .panel-head-row .currency-toggle {
    align-self: stretch;
    justify-content: center;
  }

  .page-calculator .calc-layout {
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .page-calculator .breakdown-row {
    font-size: 1rem;
  }
}
