:root {
  --ink: #0b1018;
  --ink-soft: #111927;
  --panel: #151f2e;
  --panel-light: #1b2738;
  --gold: #d6ad57;
  --gold-light: #f0d78c;
  --cream: #f6f1e7;
  --muted: #aab4c2;
  --line: rgba(240, 215, 140, 0.2);
  --white: #ffffff;
  --danger: #ffcfcc;
  --success: #b8e9cf;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 85% 8%, rgba(214, 173, 87, 0.11), transparent 28rem),
    radial-gradient(circle at 8% 48%, rgba(71, 111, 148, 0.1), transparent 25rem),
    var(--ink);
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(11, 16, 24, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-logo { width: 176px; height: auto; display: block; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  box-shadow: 0 8px 28px rgba(214, 173, 87, 0.22);
}

.brand small {
  display: block;
  margin-top: -0.2rem;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.nav-menu {
  display: none;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 78px;
  padding: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.nav-menu.open { display: grid; }
.nav-menu a { padding: 0.75rem 0.9rem; border-radius: 10px; color: #dfe5ed; font-weight: 700; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: rgba(214,173,87,0.12); color: var(--gold-light); }
.nav-menu .nav-cta { margin-top: 0.35rem; text-align: center; color: var(--ink); background: var(--gold-light); }

.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }

.hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid { display: grid; gap: 3.4rem; align-items: center; }
.eyebrow { color: var(--gold-light); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 820px; margin: 0.75rem 0 1.25rem; font-size: clamp(2.65rem, 8vw, 5.7rem); }
h2 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 3.45rem); }
h3 { margin: 0 0 0.65rem; font-size: 1.25rem; }

.lead { max-width: 700px; color: #c5ced9; font-size: clamp(1.05rem, 2vw, 1.27rem); }
.gold-text { color: var(--gold-light); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.max-copy { max-width: 720px; }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.button-secondary { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.035); }
.button-ghost { color: var(--gold-light); border-color: var(--line); }
.button-block { width: 100%; }

.micro-trust { display: flex; flex-wrap: wrap; gap: 0.55rem 1rem; margin-top: 1.4rem; color: var(--muted); font-size: 0.82rem; }
.micro-trust span::before { content: "✓"; margin-right: 0.4rem; color: var(--success); }

.market-visual {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(145deg, rgba(214,173,87,0.1), rgba(17,25,39,0.92));
  background-size: 56px 56px, 56px 56px, auto;
  box-shadow: var(--shadow);
}

.photo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.hero-photo img { min-height: 420px; object-position: 63% center; }

.photo-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 13px;
  color: #dfe6ed;
  background: rgba(11,16,24,0.82);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
}

.media-grid { display: grid; gap: 2rem; align-items: center; }

.market-visual::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 50%;
  height: 3px;
  transform: rotate(-7deg);
  background: linear-gradient(90deg, transparent 2%, var(--gold) 20%, var(--gold-light) 72%, transparent 95%);
  box-shadow: 0 0 24px rgba(214,173,87,0.65);
}

.market-visual::after {
  content: "XAU / USD";
  position: absolute;
  right: 1.4rem;
  top: 1.4rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--gold-light);
  background: rgba(11,16,24,0.76);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.visual-card {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  max-width: 250px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(11,16,24,0.86);
}

.visual-card strong { display: block; margin-bottom: 0.2rem; font-size: 1.35rem; }
.visual-card span { color: var(--muted); font-size: 0.82rem; }

.section { padding: 5.5rem 0; }
.section-soft { border-block: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.022); }
.section-head { max-width: 700px; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.card {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,0.052), rgba(255,255,255,0.018));
}
.card p:last-child { margin-bottom: 0; }
.card-number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1.2rem; border-radius: 12px; color: var(--ink); background: var(--gold-light); font-weight: 950; }
.card-icon { color: var(--gold-light); font-size: 1.5rem; }

.compare { overflow: hidden; padding: 0; }
.compare-head { padding: 1.3rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.compare-body { padding: 1.5rem; }
.feature-list { list-style: none; padding: 0; margin: 1rem 0; }
.feature-list li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; color: #d2d9e2; border-bottom: 1px solid rgba(255,255,255,0.055); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

.pricing-grid { display: grid; gap: 1rem; }
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(240,215,140,0.48); background: linear-gradient(150deg, rgba(214,173,87,0.13), rgba(255,255,255,0.025)); }
.price-card .button { margin-top: auto; }
.price { margin: 0.5rem 0; font-size: 2.35rem; font-weight: 950; letter-spacing: -0.05em; }
.price small { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0; }
.badge { display: inline-block; width: fit-content; padding: 0.35rem 0.6rem; border-radius: 999px; color: var(--ink); background: var(--gold-light); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }

.notice { padding: 1rem 1.15rem; border: 1px solid rgba(255,207,204,0.25); border-radius: 14px; color: #f1d4d1; background: rgba(137,48,43,0.12); }
.notice-gold { border-color: var(--line); color: #e9dfc5; background: rgba(214,173,87,0.08); }

.page-hero { padding: 5.5rem 0 3rem; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.55rem, 7vw, 4.8rem); }
.breadcrumbs { margin-bottom: 1.2rem; color: var(--muted); font-size: 0.85rem; }
.breadcrumbs a:hover { color: var(--gold-light); }

.prose { color: #d7dee7; }
.prose h2 { margin-top: 3.25rem; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.prose h3 { margin-top: 2rem; }
.prose a { color: var(--gold-light); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.45rem 0; }
.legal-meta { margin: -0.3rem 0 2rem; color: var(--muted); font-size: 0.9rem; }

.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid rgba(255,255,255,0.09); border-radius: 15px; background: rgba(255,255,255,0.025); }
.faq-item summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 850; }
.faq-item p { padding: 0 1.2rem 1.15rem; margin: 0; color: var(--muted); }
.faq-item[open] { border-color: var(--line); }

.contact-card { padding: 1.5rem; border: 1px dashed rgba(240,215,140,0.42); border-radius: var(--radius); background: rgba(214,173,87,0.07); }
.todo { color: #fff0ad; font-weight: 900; }

.cta-band { padding: 2rem; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(120deg, rgba(214,173,87,0.15), rgba(255,255,255,0.025)); }

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; gap: 2rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1rem; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.risk-strip { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.08); color: #96a2b2; font-size: 0.76rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; margin-top: 1.4rem; color: #798698; font-size: 0.78rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 200;
  width: min(calc(100% - 2rem), 480px);
  padding: 0.85rem 1rem;
  transform: translate(-50%, 140%);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--cream);
  background: #182130;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.25fr 1fr; }
  .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
}

@media (min-width: 1020px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; position: static; align-items: center; padding: 0; border: 0; background: none; box-shadow: none; }
  .nav-menu a { padding: 0.55rem 0.66rem; font-size: 0.88rem; }
  .nav-menu .nav-cta { margin: 0 0 0 0.35rem; padding-inline: 0.95rem; }
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; }
  .media-grid { grid-template-columns: 0.95fr 1.05fr; }
  .grid-4, .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
