/* ==========================================================================
   Stock Market King Ash - public site styles
   Black / charcoal + gold. Mobile-first.
   ========================================================================== */
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-2: #101013;
  --surface: #151519;
  --surface-2: #1b1b20;
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(212, 175, 55, .38);
  --text: #f4f1ea;
  --muted: #aaa69c;
  --gold: #d4af37;
  --gold-light: #f2dc8c;
  --gold-dark: #a8822a;
  --danger: #ff7b72;
  --success: #6fd09a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.center-text { text-align: center; }
.center-text .hero-actions, .center-actions { justify-content: center; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s, border-color .25s;
}
.btn-gold { background: linear-gradient(135deg, #f2dc8c 0%, #d4af37 45%, #a8822a 100%); color: #15120a; box-shadow: 0 8px 24px rgba(212, 175, 55, .22); }
.btn-gold:hover { color: #15120a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212, 175, 55, .34); }
.btn-outline { background: transparent; border-color: var(--line-gold); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(212, 175, 55, .08); transform: translateY(-2px); }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn.is-disabled { opacity: .5; cursor: not-allowed; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.link-arrow { font-weight: 600; font-size: .95rem; }
.link-arrow::after { content: " \2192"; transition: margin .2s var(--ease); }
.link-arrow:hover::after { margin-left: 4px; }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(11, 11, 13, .86);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 44px; height: auto; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); white-space: nowrap; }
.brand-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.brand-logo-footer { height: 54px; }
.primary-nav { display: none; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; list-style: none; gap: 26px; }
.primary-nav a:not(.btn) { color: var(--muted); font-size: .94rem; font-weight: 500; padding: 6px 0; position: relative; }
.primary-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .3s var(--ease); }
.primary-nav a:not(.btn):hover, .primary-nav a.active { color: var(--text); }
.primary-nav a:not(.btn):hover::after, .primary-nav a.active::after { right: 0; }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.primary-nav.open {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 20px 22px; box-shadow: var(--shadow);
}
.primary-nav.open ul { flex-direction: column; gap: 0; }
.primary-nav.open ul a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
.primary-nav.open ul a::after { display: none; }
.primary-nav.open .nav-cta { margin-top: 12px; }

/* ---- Sections --------------------------------------------------------- */
.section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: var(--gold); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.muted-sm, .muted-sm a { font-size: .85rem; color: var(--muted); }
.center-note { text-align: center; color: var(--muted); margin-top: 36px; }
.split { display: grid; gap: 48px; align-items: center; }
.split-top { align-items: start; }
.prose p { color: #d6d2c8; }
.prose-lg p { font-size: 1.06rem; }
.prose-sm p { font-size: .92rem; color: #cdc9be; }
.page-hero { padding: 76px 0 52px; background: radial-gradient(900px 340px at 80% -10%, rgba(212, 175, 55, .13), transparent 65%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 820px; }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background:
  radial-gradient(900px 520px at 85% 0%, rgba(212, 175, 55, .15), transparent 62%),
  radial-gradient(700px 400px at 0% 100%, rgba(212, 175, 55, .06), transparent 60%), var(--bg); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #e9dfbf 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: .45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 38px; color: var(--muted); font-size: .88rem; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero-panel { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.hero-chart { width: 100%; height: auto; border-radius: 12px; }
.chart-line { stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: draw 2.6s var(--ease) .3s forwards; }
.chart-area { opacity: 0; animation: fadein 1.4s ease 1.6s forwards; }
.chart-dot { opacity: 0; animation: fadein .6s ease 2.7s forwards; }
.chip { position: absolute; background: rgba(11, 11, 13, .92); border: 1px solid var(--line-gold); border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; line-height: 1.25; box-shadow: var(--shadow); }
.chip span { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.chip strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold-light); }
.chip-a { left: -10px; bottom: 36px; }
.chip-b { right: -8px; top: 30px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---- Cards / grids ---------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.card, .why-item, .side-card, .form-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.card { transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-5px); border-color: var(--line-gold); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.market-card .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 18px; }
.market-card h3 { font-size: 1.12rem; }
.market-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.why-item { position: relative; }
.why-num { display: block; font-family: var(--font-head); font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 10px; line-height: 1; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; }

.fact-list { list-style: none; display: grid; gap: 16px; }
.fact-list li { display: flex; flex-direction: column; padding: 18px 22px; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(212, 175, 55, .08), transparent); border-radius: 0 12px 12px 0; }
.fact-list strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--gold-light); font-weight: 600; }
.fact-list span { color: var(--muted); font-size: .92rem; }
.fact-list.compact { margin: 18px 0 24px; }

.check-list { list-style: none; display: grid; gap: 12px; margin: 18px 0 8px; }
.check-list li { position: relative; padding-left: 30px; color: #d6d2c8; font-size: .96rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) scale(.9); transform-origin: center; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 64px; display: flex; flex-direction: column; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); color: var(--gold); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.2rem; background: var(--surface); }
.steps strong { font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; }
.steps span { color: var(--muted); font-size: .94rem; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip-cloud span { border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: 999px; font-size: .84rem; color: #d6d2c8; }

/* ---- Courses ---------------------------------------------------------- */
.course-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.course-card:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: 0 22px 50px rgba(0, 0, 0, .45); }
.course-card-premium { border-color: var(--gold); background: linear-gradient(180deg, #1f1b10, var(--bg-2) 70%); box-shadow: 0 0 0 1px rgba(212, 175, 55, .18), 0 20px 60px rgba(212, 175, 55, .08); }
.ribbon { position: absolute; top: -13px; right: 24px; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); background: linear-gradient(135deg, #f2dc8c, #b8892a); color: #17130a; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.level { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.level-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.level-bars i { width: 6px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.level-bars i:nth-child(1) { height: 6px; } .level-bars i:nth-child(2) { height: 11px; } .level-bars i:nth-child(3) { height: 16px; }
.level-bars i.on { background: var(--gold); }
.level-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.course-card h3 { font-size: 1.7rem; margin-bottom: .2em; }
.price { margin: 0 0 14px; }
.price-amount { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--gold-light); line-height: 1.1; }
.course-desc { color: var(--muted); flex: 0 0 auto; }
.course-more { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.course-more h4 { font-family: var(--font-body); font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin: 14px 0 0; }
.course-meta { font-size: .92rem; color: #d6d2c8; }
.course-actions { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---- Quotes ----------------------------------------------------------- */
.quotes-section { background: radial-gradient(700px 360px at 50% 0%, rgba(212, 175, 55, .10), transparent 70%), var(--bg); }
.quote-slider { position: relative; max-width: 860px; margin: 0 auto; text-align: center; padding: 20px 10px 0; }
.quote-mark { width: 48px; color: rgba(212, 175, 55, .35); margin: 0 auto 18px; }
.quote-stage { display: grid; min-height: 150px; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; display: flex; flex-direction: column; justify-content: center; }
.quote.is-active { opacity: 1; transform: none; visibility: visible; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-head); font-size: clamp(1.4rem, 3.2vw, 2.2rem); line-height: 1.35; color: var(--text); margin: 0; font-weight: 500; }
.quote figcaption { margin-top: 14px; color: var(--gold); font-size: .9rem; letter-spacing: .08em; }
.quote-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 34px; }
.q-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); background: transparent; color: var(--gold); cursor: pointer; font-size: 1.1rem; transition: background .2s, transform .2s; }
.q-btn:hover { background: rgba(212, 175, 55, .12); transform: scale(1.06); }
.q-dots { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; max-width: 240px; }
.q-dot { position: relative; width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .28); cursor: pointer; transition: background .3s, transform .3s; }
.q-dot::after { content: ""; position: absolute; inset: -17px -9px; }  /* 44px hit area */
.q-dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ---- Journal preview -------------------------------------------------- */
.sheet-preview { background: #f7f5ee; color: #222; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-gold); transform: rotate(1.2deg); transition: transform .5s var(--ease); }
.sheet-preview:hover { transform: rotate(0); }
.sheet-bar { background: #0b0b0d; color: var(--gold-light); font-size: .78rem; display: flex; align-items: center; gap: 6px; padding: 10px 14px; }
.sheet-bar i { width: 9px; height: 9px; border-radius: 50%; background: #444; } .sheet-bar i:first-child { background: var(--gold); }
.sheet-bar span { margin-left: 8px; letter-spacing: .04em; }
.sheet-preview table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.sheet-preview th { background: #1a1a1e; color: var(--gold); text-align: left; padding: 9px 12px; font-weight: 600; }
.sheet-preview td { padding: 9px 12px; border-bottom: 1px solid #e5e1d4; color: #666; }
.sheet-preview td.gain { color: #1e8a4c; font-weight: 700; } .sheet-preview td.loss { color: #c0392b; font-weight: 700; }
.sheet-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e1d4; }
.sheet-stats div { background: #fbfaf5; padding: 14px 12px; text-align: center; }
.sheet-stats span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #888; }
.sheet-stats strong { color: #a8822a; font-family: var(--font-head); font-size: 1.2rem; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .3s; }
.faq-item[open] { border-color: var(--line-gold); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { padding: 72px 0; background: linear-gradient(135deg, #1c170a, #0b0b0d 55%), var(--bg); border-top: 1px solid var(--line-gold); }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { color: var(--muted); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Forms ------------------------------------------------------------ */
.contact-grid { display: grid; gap: 40px; align-items: start; }
.info-list { list-style: none; margin: 26px 0; display: grid; gap: 16px; }
.info-list li { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.info-list li > span:first-child { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.form-card { padding: 30px 24px; scroll-margin-top: 90px; }
.form-card h2 { font-size: 1.6rem; }
.form-row { display: grid; gap: 0 18px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, fieldset.field legend { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 7px; color: #dcd8cd; padding: 0; }
.req { color: var(--gold); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; background: #0e0e11; border: 1px solid rgba(255, 255, 255, .14); color: var(--text); border-radius: 10px; padding: 13px 14px;
  font: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
input::placeholder, textarea::placeholder { color: #8b877e; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .16); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: .82rem; margin-top: 6px; }
.check-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; background: #0e0e11; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: .9rem; transition: border-color .2s, background .2s; }
.check:hover { border-color: var(--line-gold); }
.check input { accent-color: var(--gold); width: 20px; height: 20px; flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; text-align: center; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .94rem; }
.alert-error { background: rgba(255, 123, 114, .1); border: 1px solid rgba(255, 123, 114, .4); color: #ffb4ae; }
.alert-warn { background: rgba(212, 175, 55, .1); border: 1px solid var(--line-gold); color: var(--gold-light); }
.success-panel { text-align: center; padding: 14px 4px; }
.success-icon { width: 76px; margin: 0 auto 18px; color: var(--success); }
.success-panel .ref { background: var(--surface-2); border: 1px dashed var(--line-gold); border-radius: 10px; display: inline-block; padding: 8px 18px; }
.success-panel .hero-actions { justify-content: center; }

/* ---- Legal ------------------------------------------------------------ */
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: #cfcbc0; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; display: grid; gap: .4em; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: #070708; border-top: 1px solid var(--line-gold); padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 36px; }
.footer-brand p { color: var(--muted); max-width: 340px; margin-top: 16px; }
.footer-h { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #cfcbc0; }
.site-footer a:hover { color: var(--gold-light); }
.contact-list li { color: #cfcbc0; }
.social { display: flex !important; flex-wrap: wrap; gap: 8px 18px !important; margin-top: 14px; list-style: none; padding: 0; }
.footer-disclaimer { border-top: 1px solid var(--line); padding-top: 22px; }
.footer-disclaimer p { font-size: .82rem; color: #a09c92; max-width: 920px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 14px; padding-bottom: 28px; color: #9a968c; font-size: .84rem; }

/* ---- WhatsApp float --------------------------------------------------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #06361a; padding: 12px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; box-shadow: 0 10px 28px rgba(37, 211, 102, .35); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover { color: #06361a; transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(37, 211, 102, .5); }
.wa-float span { display: none; }

/* ---- Reveal on scroll ------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------- */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .wa-float span { display: inline; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px 40px; }
  .form-card { padding: 38px 36px; }
}
@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .cta-inner { grid-template-columns: 1.4fr auto; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .side-card { position: sticky; top: 100px; }
}
@media (min-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .market-card { padding: 24px 20px; }
}
@media (max-width: 899px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .chip-a { left: 6px; } .chip-b { right: 6px; }
  .brand-name { font-size: 1rem; }
}
@media (max-width: 420px) {
  .brand-mark { width: 38px; }
  .brand-name { font-size: .92rem; white-space: normal; max-width: 150px; line-height: 1.15; }
  .btn-lg { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .chart-line { stroke-dashoffset: 0; } .chart-area, .chart-dot { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- Accessibility helpers ------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.q-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold); background: transparent; color: var(--gold); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.q-pause:hover, .q-btn:hover { background: rgba(212, 175, 55, .12); }
.q-btn svg, .q-pause svg { width: 18px; height: 18px; }
.q-pause .i-play { display: none; } .q-pause[aria-pressed="true"] .i-play { display: block; } .q-pause[aria-pressed="true"] .i-pause { display: none; }
.field-error::before { content: "! "; font-weight: 700; }
.form-group-title { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin: 26px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.form-group-title small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 6px; }
.success-panel:focus { outline: none; }
.btn:focus-visible, .q-btn:focus-visible, .q-dot:focus-visible, .q-pause:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (forced-colors: active) {
  .hero h1 { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
  .btn-gold { border-color: ButtonText; }
}
@media (max-width: 899px) { .primary-nav.open ul a { min-height: 44px; display: flex; align-items: center; } .footer-grid a { display: inline-block; padding: 4px 0; } }

/* ---- Hero blueprint grid animation ----------------------------------- */
.hero > .container { position: relative; z-index: 1; }
.hero-blueprint {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 72% 42%, #000 28%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .18) 100%);
          mask-image: radial-gradient(ellipse 85% 90% at 72% 42%, #000 28%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .18) 100%);
  animation: bp-plot 1.8s var(--ease) both;          /* grid is "plotted" in left to right */
}
.bp-layer { position: absolute; inset: -120px; will-change: transform; }
.bp-minor {
  background-image:
    linear-gradient(rgba(212, 175, 55, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .075) 1px, transparent 1px);
  background-size: 24px 24px;
  animation: bp-drift 48s linear infinite;
}
.bp-major {
  background-image:
    linear-gradient(rgba(212, 175, 55, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .2) 1px, transparent 1px);
  background-size: 120px 120px;
  animation: bp-drift 48s linear infinite;
}
.bp-scan {
  position: absolute; left: 0; right: 0; top: -160px; height: 160px;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, .04) 70%, rgba(242, 220, 140, .17) 98%, transparent 100%);
  opacity: 0; animation: bp-scan 10s linear 2.2s infinite; will-change: transform;
}
.bp-svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.bp-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: bp-draw 2.4s var(--ease) .5s forwards; }
.bp-label { font: 600 11px/1 var(--font-body); letter-spacing: .28em; opacity: .85; }
.bp-pulse { animation: bp-blink 3.2s ease-in-out 2.6s infinite; }
.bp-ring { transform-box: fill-box; transform-origin: center; }
@keyframes bp-plot  { from { clip-path: inset(0 100% 0 0); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes bp-drift { to { transform: translate(120px, 120px); } }
@keyframes bp-scan  { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(900px); opacity: 0; } }
@keyframes bp-draw  { to { stroke-dashoffset: 0; } }
@keyframes bp-spin  { to { transform: rotate(360deg); } }
@keyframes bp-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 700px) {
  .bp-dim, .bp-ticks { display: none; }
  .bp-major { background-size: 96px 96px; animation-name: bp-drift-sm; }
  .bp-minor { background-size: 24px 24px; animation-name: bp-drift-sm; }
  .bp-svg { opacity: .4; }
  .hero-blueprint {  /* centre the grid on small screens, text sits over it so keep it gentle */
    -webkit-mask-image: radial-gradient(ellipse 130% 85% at 50% 38%, #000 25%, rgba(0, 0, 0, .65) 70%, rgba(0, 0, 0, .3) 100%);
            mask-image: radial-gradient(ellipse 130% 85% at 50% 38%, #000 25%, rgba(0, 0, 0, .65) 70%, rgba(0, 0, 0, .3) 100%);
  }
}
@keyframes bp-drift-sm { to { transform: translate(96px, 96px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-blueprint { animation: none; }
  .bp-layer, .bp-scan, .bp-pulse { animation: none !important; }
  .bp-scan { display: none; }
  .bp-draw { animation: none !important; stroke-dashoffset: 0; }
  .bp-ring { animation: none !important; }
}

/* ---- Brand consistency: official domain + social handle notes ---- */
.footer-web { margin: 10px 0 0; font-size: .92rem; }
.footer-web a { color: var(--gold-light); }
.footer-handle { margin-top: 14px; }
.identity-card { border-color: var(--line-gold); background: linear-gradient(180deg, #1b170a, var(--bg-2)); }
.identity-card p { color: #d6d2c8; margin-bottom: 0; }
