/* ==========================================================================
   Urja Investment — Section 1 (Nav · Hero · Trust Bar · Ticker)
   Tokens follow "Urja Brand Guidelines v1".
   ========================================================================== */

:root {
  /* Foundation */
  --bg: #FAF6EC;
  --bg-warm: #F8F4EC;
  --surface: #FFFFFF;
  --text: #191919;
  --text-soft: #4A4640;

  /* Signature */
  --gold: #F5C25E;
  --bronze: #82602E;
  --cta-from: #D9A441;
  --cta-to: #8A5B17;

  /* Structural */
  --navy: #10222E;
  --navy-soft: #1C3546;
  --slate: #6B6D74;
  --line: #E4DCC8;
  --text-on-dark: #F7F1E2;

  /* Semantic — price movement only */
  --gain: #1E7D5C;
  --loss: #B23A3A;

  /* Type */
  /* Heebo is the face of the Urja wordmark and the live site — the brand's own voice.
     Heebo is the only family on the site. */
  --font-display: 'Heebo', 'Roboto', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Heebo', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: var(--font-display); /* no second family — Heebo only */
  --font-mono: 'Heebo', 'Roboto', -apple-system, 'Segoe UI', sans-serif; /* figures: tabular, not monospace */

  /* Shape */
  --r-btn: 18px;
  --r-card: 28px;
  --r-sm: 12px;

  /* Layout */
  --wrap: min(100%, 2040px);
  --gutter: clamp(14px, 3.4vw, 72px);
  --nav-h: 88px;
  --hero-h: clamp(620px, 82vh, 880px);

  --shadow-card: 0 30px 80px -24px rgba(16, 34, 46, .28), 0 2px 8px rgba(16, 34, 46, .06);
  --shadow-btn: 0 10px 26px -10px rgba(138, 91, 23, .65);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1A22;
    --bg-warm: #0D1A22;
    --surface: #142631;
    --text: #F5F1E6;
    --text-soft: #C9C2B0;
    --bronze: #E0AE5C;
    --navy: #0A151C;
    --navy-soft: #16303F;
    --slate: #8B8D93;
    --line: #223541;
    --gain: #3FAE85;
    --loss: #E2685F;
    --shadow-card: 0 30px 80px -24px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --bg: #0D1A22; --bg-warm: #0D1A22; --surface: #142631;
  --text: #F5F1E6; --text-soft: #C9C2B0; --bronze: #E0AE5C;
  --navy: #0A151C; --navy-soft: #16303F; --slate: #8B8D93; --line: #223541;
  --gain: #3FAE85; --loss: #E2685F;
  --shadow-card: 0 30px 80px -24px rgba(0, 0, 0, .7);
}

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg-warm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.is-gain { color: var(--gain); }
.is-loss { color: var(--loss); }

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--text-on-dark); padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  padding: 13px 24px; font-size: .95rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--lg { padding: 18px 32px; font-size: 1.02rem; border-radius: 20px; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gold {
  background: linear-gradient(135deg, var(--cta-from), var(--cta-to));
  color: #FFF8EA; box-shadow: var(--shadow-btn);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(138, 91, 23, .75); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--bronze); color: var(--bronze); }

.btn--outline { background: var(--surface); border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg-warm); transform: translateY(-2px); }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-warm) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; min-height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
}
.nav__logo img { height: 40px; width: auto; }
:root[data-theme="dark"] .nav__logo img,
.nav__logo img { transition: filter .2s ease; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav__logo img { filter: invert(1) hue-rotate(180deg) brightness(1.35) saturate(1.25); }
}
:root[data-theme="dark"] .nav__logo img { filter: invert(1) hue-rotate(180deg) brightness(1.35) saturate(1.25); }

.nav__menu { margin-inline: auto; }
.nav__menu ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__menu a, .nav__menu button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  padding: 10px 2px; font-size: .95rem; font-weight: 500; color: var(--text);
  position: relative;
}
.nav__menu a::after, .nav__menu button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__menu a:hover::after, .nav__menu button:hover::after,
.nav__menu button[aria-expanded="true"]::after { transform: scaleX(1); }
.caret { width: 10px; height: 6px; transition: transform .2s ease; }
.nav__menu button[aria-expanded="true"] .caret { transform: rotate(180deg); }

.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 320px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: grid; gap: 2px;
}
.submenu[hidden] { display: none; }
.submenu a { display: block; padding: 10px 14px; border-radius: 12px; }
.submenu a::after { display: none; }
.submenu a span { display: block; font-weight: 600; font-size: .92rem; }
.submenu a small { display: block; font-size: .8rem; color: var(--text-soft); line-height: 1.4; }
.submenu a:hover { background: var(--bg); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--text);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: color-mix(in srgb, var(--bronze) 12%, transparent); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: grid; gap: 4px; padding: 14px var(--gutter) 24px;
  border-top: 1px solid var(--line); background: var(--surface);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { display: flex; gap: 10px; margin-top: 14px; }
.mobile-menu__cta .btn { flex: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: var(--hero-h);
  display: flex; align-items: center; overflow: hidden;
  background: var(--bg-warm);
}

.hero__media { position: absolute; inset: 0; pointer-events: none; }

/* Placeholder skyline — replace .hero__photo background with a licensed photograph */
.hero__photo {
  position: absolute; inset: 0 0 0 36%;
  background:
    linear-gradient(180deg, #F7E3BC 0%, #EFCF9A 42%, #D9A441 100%),
    var(--bg-warm);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
}
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 30% 18%, rgba(255, 246, 225, .95), transparent 70%),
    repeating-linear-gradient(90deg, rgba(16, 34, 46, .40) 0 14px, rgba(16, 34, 46, 0) 14px 34px),
    linear-gradient(180deg, transparent 0 34%, rgba(16, 34, 46, .28) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0 30%, #000 62%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0 30%, #000 62%, #000 100%);
}
.hero__trails {
  position: absolute; right: 0; bottom: 0; width: 62%; height: 46%;
  background:
    linear-gradient(104deg, transparent 0 46%, rgba(255, 233, 186, .75) 47% 48%, transparent 49%),
    linear-gradient(98deg, transparent 0 58%, rgba(255, 214, 140, .55) 59% 60%, transparent 61%),
    linear-gradient(112deg, transparent 0 68%, rgba(255, 245, 219, .5) 69% 70%, transparent 71%);
  filter: blur(1.5px);
  -webkit-mask-image: radial-gradient(70% 90% at 70% 100%, #000, transparent 75%);
          mask-image: radial-gradient(70% 90% at 70% 100%, #000, transparent 75%);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-warm) 0 34%, color-mix(in srgb, var(--bg-warm) 55%, transparent) 46%, transparent 62%);
}
.hero__arc { position: absolute; inset: auto 0 0 0; width: 100%; height: 72%; color: var(--bronze); }

.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  display: grid; grid-template-columns: 45fr 55fr; align-items: center; gap: clamp(24px, 4vw, 56px);
}

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bronze);
  margin-bottom: 22px;
}
.eyebrow__rule { width: 46px; height: 2px; background: var(--bronze); flex: none; }

.hero__copy h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.25rem);
  line-height: .98; margin-bottom: 26px;
}
.hero__copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cta-from), var(--cta-to));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  max-width: 44ch; font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  color: var(--text-soft); margin-bottom: 36px;
}
.hero__lede strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__note {
  margin-top: 26px; font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .04em; color: var(--slate);
}

.hero__visual { position: relative; display: flex; justify-content: flex-end; }
.hero__visual { padding-top: 46px; }
.hero__motif {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-body); font-size: .72rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze); opacity: .95;
}
.hero__motif--right { left: auto; right: 0; text-align: right; color: var(--bronze); }

/* ---------- floating market card ---------- */
.mcard {
  position: relative; width: min(620px, 100%);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px;
  padding: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(150%) blur(18px);
  border: 1px solid color-mix(in srgb, #FFFFFF 55%, var(--line));
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

.mcard__tabs { display: flex; gap: 2px; padding: 4px; background: var(--bg); border-radius: 14px; margin-bottom: 16px; }
.mcard__tabs button {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  padding: 8px 6px; border-radius: 11px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--text-soft);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mcard__tabs button[aria-selected="true"] {
  background: var(--surface); color: var(--text); box-shadow: 0 2px 8px rgba(16, 34, 46, .1);
}

.mcard__name { font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.mcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.mcard__price .price { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; }
.delta { font-family: var(--font-mono); font-size: .82rem; font-weight: 500; }
.delta__caret { font-size: .7rem; }

.mcard__ranges { display: flex; gap: 6px; margin: 14px 0 10px; }
.mcard__ranges button {
  border: 0; background: transparent; cursor: pointer;
  padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: var(--text-soft);
}
.mcard__ranges button.is-active { background: color-mix(in srgb, var(--gold) 45%, transparent); color: var(--navy); }

.mcard__chart { position: relative; padding: 0 44px 20px 0; }
.mcard__chart svg { width: 100%; height: 140px; display: block; color: var(--slate); overflow: visible; }
.mcard__yaxis {
  position: absolute; top: 0; right: 0; height: 140px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: .64rem; color: var(--slate);
}
.mcard__xaxis {
  display: flex; justify-content: space-between; margin-top: 8px; padding-right: 44px;
  font-size: .64rem; color: var(--slate);
}

.mcard__side { display: flex; flex-direction: column; gap: 12px; }
.mcard__portfolio, .mcard__gainers {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px;
}
.mcard__label { font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.mcard__value { font-size: 1.35rem; font-weight: 600; margin-top: 4px; }
.mcard__change { font-family: var(--font-mono); font-size: .72rem; color: var(--slate); }
.mcard__change .is-gain { font-weight: 600; }

.bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 10px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--cta-from), color-mix(in srgb, var(--cta-from) 45%, transparent));
}

.mcard__gainers-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.mcard__gainers-head a { font-size: .72rem; color: var(--bronze); font-weight: 500; }
.mcard__gainers-head a:hover { text-decoration: underline; }
.mcard__gainers table { width: 100%; border-collapse: collapse; font-size: .7rem; }
.mcard__gainers th { text-align: left; font-weight: 500; color: var(--text); }
.mcard__gainers td { text-align: right; padding: 3.5px 0; color: var(--text-soft); }
.mcard__gainers td:last-child { font-weight: 600; }
.mcard__gainers tr + tr th, .mcard__gainers tr + tr td { border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }

.mcard__disclosure {
  grid-column: 1 / -1; margin-top: 2px;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .05em;
  color: var(--slate); text-align: right;
}

/* ---------- trust bar ---------- */
.trust { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px clamp(18px, 3vw, 40px);
}
.trust__item { display: flex; align-items: center; gap: 12px; position: relative; }
.trust__item + .trust__item::before {
  content: ''; position: absolute; left: clamp(-20px, -1.5vw, -9px); top: 50%; transform: translateY(-50%);
  width: 1px; height: 38px; background: var(--line);
}
.trust__item--years { flex-direction: column; align-items: flex-start; gap: 0; }
.trust__big { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; color: var(--bronze); line-height: 1.1; }
.trust__big--reg { font-family: var(--font-mono); font-size: 1.28rem; letter-spacing: -.01em; }
.trust__item:not(.trust__item--badge) { flex-direction: column; align-items: flex-start; gap: 0; }
.trust__name { font-size: .92rem; font-weight: 600; }
.trust__cap { font-size: .75rem; color: var(--text-soft); }

.mark {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .02em;
  border: 1px solid var(--line); background: var(--surface); color: var(--navy);
}
.mark--sebi { color: #1B3A93; }
.mark--nse  { color: #C8102E; }
.mark--bse  { color: #0C4DA2; }
.mark--mcx  { color: #B23A3A; }
:root[data-theme="dark"] .mark { color: var(--text); }

/* ---------- live ticker ---------- */
.ticker {
  display: flex; align-items: stretch;
  background: #0B0B0C; color: var(--text-on-dark);
  border-top: 1px solid rgba(245, 194, 94, .22);
}
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 9px;
  padding: 0 22px 0 var(--gutter);
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  border-right: 1px solid rgba(247, 241, 226, .12);
}
.ticker__label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.ticker__viewport { flex: 1; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker__track:hover, .ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ticker__list { display: flex; align-items: center; }
.ticker__list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px clamp(18px, 2.4vw, 34px);
  font-size: .8rem; white-space: nowrap;
  border-right: 1px solid rgba(247, 241, 226, .08);
}
.ticker__list .sym { font-family: var(--font-body); font-weight: 600; letter-spacing: .06em; color: var(--text-on-dark); }
.ticker__list .val { color: rgba(247, 241, 226, .88); }
.ticker__list .chg { font-weight: 600; }
.ticker .is-gain { color: #3FAE85; }
.ticker .is-loss { color: #E2685F; }

.ticker__next {
  flex: none; width: 52px; background: none; border: 0; cursor: pointer;
  color: rgba(247, 241, 226, .7); font-size: 1.3rem;
  border-left: 1px solid rgba(247, 241, 226, .12);
}
.ticker__next:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--ghost { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { justify-content: flex-start; }
  .hero__motif { display: none; }
  .mcard { width: 100%; }
  .hero__photo { inset: 0; opacity: .5; }
  .hero__scrim { background: linear-gradient(180deg, var(--bg-warm) 0 18%, color-mix(in srgb, var(--bg-warm) 72%, transparent) 60%, color-mix(in srgb, var(--bg-warm) 40%, transparent) 100%); }
}

@media (max-width: 760px) {
  :root { --hero-h: auto; --nav-h: 72px; }
  .nav__logo img { height: 32px; }
  .mcard { grid-template-columns: 1fr; }
  .hero__copy h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .trust__inner { gap: 18px 24px; }
  .trust__item + .trust__item::before { display: none; }
  .ticker__label { padding-left: 20px; font-size: .68rem; }
  .ticker__next { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   Shared section furniture (Sections 2–6)
   ========================================================================== */
:root {
  --gold-deep: #B07A23;
  --rhythm: clamp(64px, 7vw, 96px);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, .06);
  --shadow-lift: 0 28px 70px -20px rgba(16, 34, 46, .22);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--rhythm) 0; position: relative; }
.sec h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.03; }
.sec h2 em, .finalcta h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cta-from), var(--cta-to));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec h3 { font-size: 1.12rem; }

.eyebrow--onDark { color: var(--gold); }
.eyebrow--onDark .eyebrow__rule { background: var(--gold); }

.link-gold {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; font-weight: 600; color: var(--gold-deep);
}
.link-gold span { transition: transform .18s ease; }
.link-gold:hover span { transform: translateX(4px); }
.link-gold--onDark { color: var(--gold); }

.ico { width: 26px; height: 26px; color: var(--gold-deep); }
.ico-circle {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold-deep);
}
.ico-circle svg { width: 24px; height: 24px; }

.figures-note {
  margin-top: 16px; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .04em; color: var(--slate);
}

/* editorial heading */
.edhead {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr) auto;
  align-items: start; gap: clamp(24px, 4vw, 56px); margin-bottom: 44px;
}
.edhead__lede { max-width: 42ch; color: var(--text-soft); padding-left: clamp(0px, 2vw, 28px); border-left: 1px solid var(--line); }
.edhead__lede--tight { border: 0; padding: 0; margin-top: 18px; }
.edhead__props { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.edhead__props li {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  font-size: .86rem; line-height: 1.4; color: var(--text-soft);
  padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line);
}
.edhead__props li:first-child { border-left: 0; padding-left: 0; }
.edhead__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.edhead__aside { display: flex; gap: clamp(18px, 3vw, 44px); align-items: flex-start; justify-content: flex-end; }

.quotecard {
  margin: 0; padding: 22px 26px; border-radius: 22px;
  background: color-mix(in srgb, var(--gold) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
  position: relative; max-width: 360px;
}
.quotecard::before {
  content: '“'; position: absolute; left: 12px; top: 2px;
  font-family: var(--font-display); font-size: 2.6rem; color: color-mix(in srgb, var(--gold-deep) 40%, transparent);
}
.quotecard p { font-family: var(--font-display); font-size: 1.16rem; font-style: italic; line-height: 1.35; padding-left: 22px; }
.quotecard cite {
  display: block; margin-top: 12px; padding-left: 22px;
  font-family: var(--font-mono); font-style: normal; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bronze);
}
.sidemotif {
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  line-height: 2.2; text-align: right; color: var(--text-soft);
}

.playlink { display: inline-flex; align-items: center; gap: 12px; }
.playlink__btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--gold-deep); color: var(--gold-deep); font-size: .8rem;
}
.playlink strong { display: block; font-size: .92rem; }
.playlink small { display: block; font-size: .78rem; color: var(--text-soft); }
.playlink:hover .playlink__btn { background: var(--gold-deep); color: #FFF8EA; }

/* ==========================================================================
   Section 2 — Investment solutions & trust
   ========================================================================== */
.scards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scard {
  position: relative; overflow: hidden; min-height: 300px;
  padding: 26px 24px 24px; border-radius: var(--r-card);
  background: linear-gradient(170deg, var(--surface), color-mix(in srgb, var(--gold) 8%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.scard__ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 14px; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold-deep);
}
.scard__ico svg { width: 24px; height: 24px; }
.scard h3 { margin-bottom: 8px; }
.scard p { font-size: .88rem; color: var(--text-soft); max-width: 26ch; }
.scard .link-gold { margin-top: 14px; }
.scard__art { position: absolute; right: -6px; bottom: -6px; width: 70%; max-width: 230px; pointer-events: none; }
.scard__art svg { width: 100%; height: auto; }
.candles line { stroke: color-mix(in srgb, var(--gold-deep) 35%, transparent); stroke-width: 1.5; }
.candles rect { fill: color-mix(in srgb, var(--gold) 45%, transparent); }
.bull { fill: url(#none) var(--gold-deep); opacity: .9; }
.coins ellipse { fill: color-mix(in srgb, var(--cta-from) 75%, transparent); stroke: color-mix(in srgb, var(--cta-to) 60%, transparent); stroke-width: .8; }
.stem { stroke: #4C7A43; }
.leaf { fill: #5E9150; }
.podium { fill: color-mix(in srgb, var(--gold) 40%, transparent); }
.podium-sh { fill: color-mix(in srgb, var(--cta-to) 14%, transparent); }
.ipo { font-family: var(--font-display); font-weight: 900; font-size: 44px; fill: var(--gold-deep); letter-spacing: .02em; }
.bar { stroke: color-mix(in srgb, var(--cta-to) 40%, transparent); stroke-width: 1; }
.bar--gold { fill: var(--cta-from); }
.bar--gold2 { fill: color-mix(in srgb, var(--cta-from) 85%, #fff); }
.bar--silver { fill: #C9CBD0; }
.bar--silver-top { fill: #DEE0E4; }

.trustpanel {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: stretch;
  margin-top: 22px; padding: 22px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.trustpanel__copy { padding: 18px 6px 6px 14px; align-self: center; }
.trustpanel__copy h3 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.08; margin: 12px 0 16px; }
.trustpanel__copy p { color: var(--text-soft); font-size: .93rem; max-width: 40ch; margin-bottom: 24px; }
.trustpanel__list { display: grid; align-content: center; gap: 18px; padding: 0 clamp(8px, 2vw, 26px); }
.trustpanel__list li { display: flex; align-items: center; gap: 14px; }
.trustpanel__list strong { display: block; font-size: .95rem; }
.trustpanel__list small { display: block; font-size: .8rem; color: var(--text-soft); }

.appshow {
  position: relative; overflow: hidden; border-radius: 22px;
  background: radial-gradient(120% 90% at 80% 100%, #23180A 0%, #0B0B0C 60%);
  color: var(--text-on-dark); padding: 30px 26px; display: flex; gap: 18px; align-items: flex-end;
}
.appshow::after {
  content: ''; position: absolute; inset: auto -10% -30% 30%; height: 70%;
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(217, 164, 65, .45), transparent 70%),
    repeating-linear-gradient(-14deg, rgba(255, 224, 160, .30) 0 1.5px, transparent 1.5px 12px);
  filter: blur(.4px); pointer-events: none;
}
.appshow__copy { position: relative; z-index: 1; max-width: 21ch; }
.appshow__copy h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; margin: 10px 0 10px; color: #fff; }
.appshow__copy p { font-size: .86rem; color: rgba(247, 241, 226, .78); margin-bottom: 18px; }
.appshow__stores { display: flex; flex-wrap: wrap; gap: 10px; }
.appshow__motif {
  position: absolute; right: 18px; top: 26px; z-index: 1;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; line-height: 2.1;
  text-align: right; color: rgba(247, 241, 226, .55);
}

.storebtn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 10px; background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}
.storebtn svg { width: 22px; height: 22px; }
.storebtn span { display: grid; font-size: .86rem; font-weight: 600; line-height: 1.15; }
.storebtn small { font-size: .58rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.storebtn:hover { border-color: var(--gold); }

/* phone mock */
.phone { position: relative; z-index: 1; flex: none; width: 178px; }
.phone__screen {
  border-radius: 26px; padding: 12px 12px 10px;
  background: linear-gradient(180deg, #11161C, #070B10);
  border: 3px solid #2A2F36; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8);
  color: #F5F1E6;
}
.phone__status { display: flex; justify-content: space-between; font-size: .5rem; opacity: .7; margin-bottom: 8px; }
.phone__brand { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .78rem; letter-spacing: .04em; }
.flame {
  width: 10px; height: 14px; border-radius: 60% 10% 55% 10%;
  background: linear-gradient(160deg, var(--cta-from), var(--cta-to)); transform: rotate(-8deg);
}
.phone__greet { font-family: var(--font-display); font-size: .92rem; line-height: 1.15; margin: 8px 0 10px; }
.phone__quote { background: rgba(255, 255, 255, .05); border-radius: 12px; padding: 8px 10px; }
.phone__idx { font-size: .55rem; opacity: .7; }
.phone__val { font-size: 1rem; font-weight: 600; }
.phone__chg { font-size: .56rem; color: #3FAE85; }
.phone__spark { width: 100%; height: 34px; margin-top: 4px; }
.phone__tabs { display: flex; justify-content: space-between; margin-top: 10px; font-size: .48rem; opacity: .65; }
.phone__list { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 8px; }
.phone__listhead { font-size: .55rem; opacity: .7; margin-bottom: 4px; }
.phone__list p { display: flex; justify-content: space-between; gap: 6px; font-size: .5rem; padding: 2px 0; }
.phone__list .up, .phone .up { color: #3FAE85; }

.metrics {
  display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: center;
  margin-top: 22px; padding: 26px clamp(20px, 3vw, 34px);
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.metric { padding-left: 18px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric__val { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--gold-deep); line-height: 1.1; }
.metric__cap { font-size: .84rem; color: var(--text-soft); }
.pullquote { margin: 0; padding-left: clamp(18px, 2.5vw, 32px); border-left: 1px solid var(--line); }
.pullquote p { font-family: var(--font-display); font-style: italic; font-size: 1.16rem; line-height: 1.3; }
.pullquote cite { font-family: var(--font-mono); font-style: normal; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }

/* ==========================================================================
   Section 3 — Live market dashboard
   ========================================================================== */
.sec--markets { background: var(--bg-warm); }
.edhead--markets, .edhead--insights, .edhead--why { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.edhead--markets .edhead__aside, .edhead--insights .edhead__aside, .edhead--why .edhead__aside { align-items: flex-start; }

.idxcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.idxcard {
  padding: 20px 20px 8px; border-radius: 24px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.idxcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.idxcard__name { font-size: .85rem; font-weight: 600; color: var(--text-soft); }
.idxcard__val { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }
.idxcard__chg { font-size: .78rem; font-weight: 500; margin-top: 2px; }
.idxcard__spark { width: 100%; height: 58px; margin-top: 10px; display: block; }

.terminal {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 0; border-radius: var(--r-card); overflow: hidden;
  background: linear-gradient(135deg, #071018, #0F2235);
  color: var(--text-on-dark); box-shadow: 0 40px 90px -30px rgba(7, 16, 24, .65);
}
.terminal__chart { padding: 18px 20px 14px; border-right: 1px solid rgba(247, 241, 226, .1); min-width: 0; }
.terminal__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.pilltabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(247, 241, 226, .06); border-radius: 14px; }
.pilltabs button {
  border: 0; background: transparent; cursor: pointer; color: rgba(247, 241, 226, .72);
  padding: 7px 14px; border-radius: 10px; font-size: .78rem; font-weight: 600;
}
.pilltabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: #1A1204; }
.pilltabs--sm button { padding: 6px 11px; font-size: .74rem; }
.rangetabs { display: flex; gap: 2px; padding: 4px; background: rgba(247, 241, 226, .06); border-radius: 14px; }
.rangetabs button { border: 0; background: transparent; cursor: pointer; color: rgba(247, 241, 226, .72); padding: 6px 11px; border-radius: 10px; font-size: .74rem; font-weight: 600; }
.rangetabs button.is-active { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: #1A1204; }

.terminal__quote { margin: 16px 0 6px; }
.terminal__sym { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.terminal__price { display: flex; align-items: baseline; gap: 12px; }
.terminal__price [data-t="val"] { font-size: 1.5rem; font-weight: 600; }
.terminal__price .is-gain { color: #3FAE85; }
.terminal__price .is-loss { color: #E2685F; }
.terminal__canvas { position: relative; padding-right: 58px; }
.terminal__canvas svg { width: 100%; height: clamp(220px, 26vw, 300px); display: block; }
.terminal__yaxis {
  position: absolute; top: 0; right: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: .68rem; color: rgba(247, 241, 226, .55);
}
.terminal__xaxis { display: flex; justify-content: space-between; padding-right: 58px; margin-top: 8px; font-size: .68rem; color: rgba(247, 241, 226, .5); }
.terminal__credit { margin-top: 10px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .05em; color: rgba(247, 241, 226, .4); }

.terminal__movers { padding: 18px 20px; min-width: 0; }
.terminal__movers-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.movers { width: 100%; border-collapse: collapse; font-size: .78rem; }
.movers th { text-align: right; font-weight: 500; font-size: .68rem; color: rgba(247, 241, 226, .5); padding-bottom: 8px; }
.movers th:first-child, .movers td:first-child { text-align: left; }
.movers td { text-align: right; padding: 9px 0; border-top: 1px solid rgba(247, 241, 226, .08); }
.movers td:first-child { font-weight: 600; }
.movers .up { color: #3FAE85; }
.movers .down { color: #E2685F; }
.terminal__note { margin-top: 12px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .05em; color: rgba(247, 241, 226, .42); }

.featcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.featcard, .pillar, .value {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.featcard:hover, .pillar:hover, .value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.featcard h3, .pillar h3, .value h3 { margin-bottom: 5px; }
.featcard p, .pillar p, .value p { font-size: .86rem; color: var(--text-soft); }

.quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.quicklinks__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.quicklinks ul { display: flex; flex-wrap: wrap; gap: 10px; }
.quicklinks a {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .84rem; font-weight: 500;
}
.quicklinks li a:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.quicklinks__cta { margin-left: auto; padding: 0; border: 0; background: none; }

/* ==========================================================================
   Section 4 — Insights & research hub
   ========================================================================== */
.sec--insights { overflow: hidden; }
.insights__art {
  position: absolute; top: 0; right: 0; width: 34%; height: 46%;
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(255, 244, 219, .95), transparent 70%),
    linear-gradient(200deg, #EBD6AE, #C99B4A);
  -webkit-mask-image: radial-gradient(75% 75% at 78% 22%, #000 35%, transparent 72%);
          mask-image: radial-gradient(75% 75% at 78% 22%, #000 35%, transparent 72%);
  opacity: .55; pointer-events: none;
}

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; transition: all .18s ease;
}
.chip:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.chip.is-active { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); border-color: transparent; color: #FFF8EA; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  display: flex; flex-direction: column;
  border-radius: var(--r-card); overflow: hidden; padding: 16px 16px 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.post[hidden] { display: none; }
.post__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.badge {
  padding: 5px 12px; border-radius: 999px; font-size: .68rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--bronze);
}
.post__meta time { font-size: .78rem; color: var(--slate); }
.post__img { height: 168px; border-radius: 16px; margin-bottom: 16px; position: relative; overflow: hidden; }
.post__img--bull { background: linear-gradient(140deg, #E7D6B4, #B98C43 60%, #6D5324); }
.post__img--sip { background: linear-gradient(140deg, #DCE7C8, #8FAE6B 55%, #47632F); }
.post__img--ipo { background: linear-gradient(140deg, #2A2B33, #0D1016 60%, #1D1508); }
.post__img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(45% 55% at 68% 38%, rgba(255, 240, 208, .7), transparent 70%);
}
.post h3 { font-size: 1.24rem; line-height: 1.2; margin-bottom: 10px; }
.post h3 a:hover { color: var(--gold-deep); }
.post p { font-size: .88rem; color: var(--text-soft); }
.post__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.readtime { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--slate); }
.readtime svg { width: 15px; height: 15px; }

.newsletter {
  position: relative; overflow: hidden; margin-top: 30px; padding: 34px clamp(24px, 3.5vw, 46px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(20px, 3vw, 44px);
  border-radius: var(--r-card); background: radial-gradient(120% 140% at 85% 100%, #241906 0%, #070B10 62%);
  color: var(--text-on-dark);
}
.newsletter::after {
  content: ''; position: absolute; right: -6%; bottom: -60%; width: 60%; height: 140%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(217, 164, 65, .35), transparent 70%);
  pointer-events: none;
}
.newsletter__copy h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12; margin-top: 10px; color: #fff; }
.newsletter__lede { font-size: .9rem; color: rgba(247, 241, 226, .78); padding-left: clamp(0px, 2vw, 26px); border-left: 1px solid rgba(247, 241, 226, .16); }
.newsletter__form { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.field {
  flex: 1 1 240px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 0 14px; color: var(--slate);
}
.field svg { width: 20px; height: 20px; flex: none; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 15px 0; font: inherit; font-size: .92rem; color: var(--text); }
.newsletter__note { flex-basis: 100%; font-size: .74rem; color: rgba(247, 241, 226, .6); }
.newsletter__note.is-error { color: #E2685F; }
.newsletter__note.is-ok { color: #3FAE85; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }

/* ==========================================================================
   Section 5 — Why Urja & conversion
   ========================================================================== */
.sec--why { padding-bottom: 0; overflow: hidden; }
.why__art {
  position: absolute; top: 0; right: 0; width: 32%; height: 42%;
  background: linear-gradient(200deg, #F0DEBC, #A9855180), var(--bg-warm);
  -webkit-mask-image: radial-gradient(70% 70% at 80% 24%, #000 30%, transparent 70%);
          mask-image: radial-gradient(70% 70% at 80% 24%, #000 30%, transparent 70%);
  opacity: .6; pointer-events: none;
}
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.stories {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.6fr);
  gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 26px;
}
.stories__intro h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); line-height: 1.1; margin: 12px 0 12px; }
.stories__intro p { font-size: .9rem; color: var(--text-soft); }
.stories__nav { display: flex; gap: 10px; margin-top: 20px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); font-size: 1.2rem; color: var(--text);
}
.round-btn--gold { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); border-color: transparent; color: #FFF8EA; }
.round-btn:hover { transform: translateY(-2px); }

.stories__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc(33.333% - 12px));
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.stories__track::-webkit-scrollbar { display: none; }
.story {
  position: relative; scroll-snap-align: start; min-width: 0;
  padding: 24px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.story::after {
  content: '”'; position: absolute; right: 18px; bottom: 2px;
  font-family: var(--font-display); font-size: 4rem; line-height: 1;
  color: color-mix(in srgb, var(--gold) 30%, transparent);
}
.stars { color: var(--cta-from); letter-spacing: .18em; font-size: .9rem; margin-bottom: 12px; }
.story blockquote { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--text-soft); }
.story__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--cta-from), var(--cta-to)); color: #FFF8EA;
  font-size: .86rem; font-weight: 700; letter-spacing: .02em;
}
.story__who strong { display: block; font-size: .93rem; }
.story__who small { display: block; font-size: .8rem; color: var(--text-soft); }

.finalcta { position: relative; overflow: hidden; margin-top: var(--rhythm); background: #0B1018; color: var(--text-on-dark); }
.finalcta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(217, 164, 65, .22), transparent 65%),
    linear-gradient(180deg, #131A23 0%, #0B1018 55%),
    #0B1018;
}
.finalcta__bg::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 62%;
  background:
    linear-gradient(170deg, transparent 40%, rgba(138, 91, 23, .55) 100%),
    conic-gradient(from 200deg at 30% 120%, #1B222B, #0D1219 30%, #171F28 60%, #0B1018);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%);
          mask-image: linear-gradient(180deg, transparent, #000 35%);
}
.finalcta__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr);
  align-items: center; gap: clamp(20px, 3vw, 48px); padding-block: clamp(44px, 5vw, 68px);
}
.finalcta h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: #fff; margin: 10px 0 12px; }
.finalcta__copy p { font-size: .95rem; color: rgba(247, 241, 226, .78); max-width: 42ch; }
.finalcta__action { display: grid; justify-items: center; gap: 10px; }
.finalcta__sub { font-size: .72rem; letter-spacing: .1em; color: rgba(247, 241, 226, .65); }
.finalcta__assure { display: grid; gap: 16px; padding-left: clamp(16px, 2.5vw, 34px); border-left: 1px solid rgba(247, 241, 226, .16); }
.finalcta__assure li { display: flex; align-items: center; gap: 12px; font-size: .84rem; line-height: 1.35; }
.finalcta__assure svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.finalcta__sign {
  grid-column: 1 / -1; justify-self: end; margin-top: 14px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}

/* ==========================================================================
   Section 6 — App showcase & footer
   ========================================================================== */
.sec--app { background: var(--bg-warm); padding-bottom: clamp(56px, 6vw, 80px); }
.app__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .9fr); gap: clamp(24px, 3vw, 52px); align-items: center; }
.app__copy h2 { margin-top: 10px; }
.app__lede { max-width: 38ch; margin: 18px 0 26px; color: var(--text-soft); font-size: 1.02rem; }
.download { display: flex; align-items: center; gap: 20px; }
.qr { padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.qr img { width: 118px; height: 118px; }
.download__text { font-size: 1rem; line-height: 1.5; color: var(--text-soft); }
.download__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.storebtn--dark { padding: 11px 18px; border-radius: 12px; }
.app__note { margin-top: 14px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .04em; color: var(--slate); }

.devices { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.devices .phone--front { width: 212px; z-index: 2; }
.devices .phone--back { width: 200px; margin-left: -34px; margin-bottom: 30px; z-index: 1; opacity: .97; }
.devices .phone--back .phone__screen { padding-left: 46px; }
.phone__sym { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.phone__symsub { font-size: .55rem; opacity: .75; margin-bottom: 8px; }
.phone__candles { width: 100%; height: 88px; }
.phone__range { display: flex; gap: 4px; margin-top: 8px; font-size: .48rem; }
.phone__range span { padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, .06); }
.phone__range .on { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: #1A1204; font-weight: 600; }
.phone__trade { display: flex; gap: 6px; margin-top: 10px; font-size: .58rem; font-weight: 700; }
.phone__trade span { flex: 1; text-align: center; padding: 6px 0; border-radius: 7px; }
.phone__trade .buy { background: #1E7D5C; color: #F2FBF7; }
.phone__trade .sell { background: #B23A3A; color: #FDF3F2; }
.phone__ohlc { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 6px; }
.phone__ohlc p { display: flex; justify-content: space-between; font-size: .5rem; padding: 2.5px 0; opacity: .85; }

.appfeat { display: grid; gap: 20px; }
.appfeat li { display: flex; align-items: center; gap: 14px; }
.appfeat h3 { font-size: 1.05rem; }
.appfeat p { font-size: .86rem; color: var(--text-soft); }
.appfeat__sign { padding-top: 16px; border-top: 1px solid var(--line); }
.appfeat__sign span {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-deep); line-height: 1.9;
}

.footer { position: relative; background: #070B10; color: var(--text-on-dark); padding-top: 62px; }
.footer__wave {
  position: absolute; top: -1px; left: 0; right: 0; height: 64px; transform: translateY(-100%);
  background:
    repeating-linear-gradient(-4deg, rgba(217, 164, 65, .38) 0 1.2px, transparent 1.2px 11px);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 100%, #000 30%, transparent 72%);
          mask-image: radial-gradient(120% 100% at 50% 100%, #000 30%, transparent 72%);
  pointer-events: none;
}
.footer__inner {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.1fr);
  gap: clamp(22px, 3vw, 44px); padding-bottom: 46px;
}
.footer__logo { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { margin-top: 18px; font-size: .88rem; color: rgba(247, 241, 226, .68); max-width: 38ch; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(247, 241, 226, .07); color: rgba(247, 241, 226, .85);
}
.social svg { width: 19px; height: 19px; }
.social a:hover { background: linear-gradient(135deg, var(--cta-from), var(--cta-to)); color: #1A1204; }

.footer__col h3 {
  font-family: var(--font-body); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid rgba(217, 164, 65, .3);
}
.footer__col li { margin-bottom: 9px; }
.footer__col a, .footer__contact span { font-size: .88rem; color: rgba(247, 241, 226, .72); }
.footer__col a { position: relative; }
.footer__col a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer__contact svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.footer__entity { font-family: var(--font-mono); font-size: .64rem; color: rgba(247, 241, 226, .45); }

.compliance { border-top: 1px solid rgba(217, 164, 65, .25); padding: 20px 0 30px; }
.compliance__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; justify-content: space-between; }
.compliance__regs, .compliance__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.compliance__regs li { font-size: .72rem; color: rgba(247, 241, 226, .7); }
.compliance__links a { font-size: .78rem; color: rgba(247, 241, 226, .72); }
.compliance__links a:hover { color: var(--gold); }
.compliance__copy { font-size: .76rem; color: rgba(247, 241, 226, .55); }
.compliance__risk { margin-top: 16px; font-size: .74rem; line-height: 1.6; color: rgba(247, 241, 226, .5); max-width: 110ch; }

/* ==========================================================================
   Responsive — Sections 2–6
   ========================================================================== */
@media (max-width: 1180px) {
  .edhead, .edhead--markets, .edhead--insights, .edhead--why { grid-template-columns: 1fr; }
  .edhead__lede { border: 0; padding-left: 0; }
  .edhead__aside { justify-content: flex-start; }
  .sidemotif { display: none; }
  .scards, .idxcards, .featcards, .pillars, .values { grid-template-columns: repeat(2, 1fr); }
  .trustpanel { grid-template-columns: 1fr; }
  .terminal { grid-template-columns: 1fr; }
  .terminal__chart { border-right: 0; border-bottom: 1px solid rgba(247, 241, 226, .1); }
  .metrics { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter__lede { border-left: 0; padding-left: 0; }
  .stories { grid-template-columns: 1fr; }
  .stories__track { grid-auto-columns: minmax(280px, 1fr); }
  .finalcta__inner { grid-template-columns: 1fr; }
  .finalcta__assure { border-left: 0; padding-left: 0; grid-template-columns: repeat(3, 1fr); }
  .finalcta__sign { justify-self: start; }
  .app__inner { grid-template-columns: 1fr; }
  .devices { justify-content: flex-start; }
  .appfeat { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .scards, .idxcards, .featcards, .pillars, .values, .posts, .appfeat, .metrics__grid { grid-template-columns: 1fr; }
  .metric { border-left: 0; padding-left: 0; }
  .edhead__props { flex-wrap: wrap; }
  .pullquote { border-left: 0; padding-left: 0; }
  .appshow { flex-direction: column; align-items: flex-start; }
  .appshow__motif { display: none; }
  .quicklinks__cta { margin-left: 0; }
  .finalcta__assure { grid-template-columns: 1fr; }
  .devices .phone--back { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .download { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Fluid width & small-device passes
   Container: full-bleed up to 2040px, gutters scale with the viewport.
   Floors tested down to 280px (Galaxy Fold, closed).
   ========================================================================== */

/* horizontal pill rows scroll instead of wrapping into a broken stack */
.mcard__tabs, .mcard__ranges, .pilltabs, .rangetabs, .chips,
.quicklinks ul, .compliance__regs, .compliance__links, .stories__track {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mcard__tabs::-webkit-scrollbar, .mcard__ranges::-webkit-scrollbar,
.pilltabs::-webkit-scrollbar, .rangetabs::-webkit-scrollbar,
.chips::-webkit-scrollbar, .quicklinks ul::-webkit-scrollbar,
.compliance__regs::-webkit-scrollbar, .compliance__links::-webkit-scrollbar { display: none; }
.mcard__tabs button, .mcard__ranges button, .pilltabs button, .rangetabs button, .chip { flex: 0 0 auto; }
.pilltabs, .rangetabs { flex-wrap: nowrap; }

/* ---------- very large screens: let the layout breathe, cap line length ---------- */
@media (min-width: 1800px) {
  .scards, .idxcards, .featcards, .pillars, .values { gap: 26px; }
  .posts { gap: 30px; }
  .hero__lede { font-size: 1.24rem; }
  .sec h3 { font-size: 1.2rem; }
  .scard p, .featcard p, .pillar p, .value p, .post p { font-size: .92rem; }
  .mcard { width: min(720px, 100%); }
  .terminal__canvas svg { height: clamp(300px, 20vw, 420px); }
}

@media (min-width: 2300px) {
  .edhead__lede, .hero__lede { max-width: 48ch; }
  .compliance__risk { max-width: 130ch; }
}

/* ---------- tablets and small laptops ---------- */
@media (max-width: 1024px) {
  .trustpanel__copy { padding: 6px; }
  .trustpanel__list { padding: 0 6px; }
  .stories__track { grid-auto-columns: minmax(250px, calc(50% - 9px)); }
  .footer__inner { gap: 26px; }
}

/* ---------- phones ---------- */
@media (max-width: 560px) {
  :root { --r-card: 22px; --r-btn: 16px; }
  .hero__copy h1 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .hero__lede { font-size: 1rem; }
  .hero__inner { padding-block: clamp(36px, 9vw, 64px); }
  .hero__visual { padding-top: 34px; }
  .hero__motif, .hero__motif--right { font-size: .62rem; letter-spacing: .14em; }
  .hero__note { font-size: .64rem; }

  .mcard { padding: 14px; gap: 14px; }
  .mcard__chart { padding-right: 40px; }
  .mcard__yaxis li, .mcard__xaxis li { font-size: .58rem; }
  .mcard__disclosure { text-align: left; }

  .trust__inner { padding-block: 20px; }
  .mark { width: 40px; height: 40px; font-size: .62rem; }
  .trust__big { font-size: 1.5rem; }
  .trust__big--reg { font-size: 1.05rem; }

  .sec h2 { font-size: clamp(1.75rem, 8.4vw, 2.5rem); }
  .edhead { margin-bottom: 30px; }
  .quotecard { padding: 18px 20px; }
  .quotecard p { font-size: 1.04rem; }

  .scard { min-height: 250px; padding: 22px 18px 20px; }
  .scard__art { width: 62%; opacity: .9; }
  .terminal__chart, .terminal__movers { padding: 14px; }
  .terminal__canvas { padding-right: 46px; }
  .terminal__canvas svg { height: clamp(180px, 46vw, 240px); }
  .movers { font-size: .72rem; }
  .movers th { font-size: .62rem; }

  .newsletter { padding: 26px 20px; }
  .newsletter__form .btn { width: 100%; }
  .post__img { height: 150px; }
  .stories__track { grid-auto-columns: minmax(230px, 88%); }
  .finalcta__inner { padding-block: 40px; }
  .finalcta__action { justify-items: stretch; }
  .finalcta__action .btn { width: 100%; }
  .compliance__inner { gap: 10px 16px; }
}

/* ---------- foldables & very narrow phones (down to 280px) ---------- */
@media (max-width: 400px) {
  :root { --gutter: 14px; --r-card: 18px; }
  .nav__inner { gap: 8px; }
  .nav__logo img { height: 28px; }
  .nav__actions { gap: 4px; }
  .nav__actions .btn--gold { padding: 10px 14px; font-size: .84rem; }
  .nav__actions .btn--gold .btn__arrow { display: none; }
  .icon-btn { width: 36px; height: 36px; }

  .hero__copy h1 { font-size: clamp(1.85rem, 11vw, 2.4rem); line-height: 1.04; }
  .eyebrow { font-size: .62rem; letter-spacing: .1em; gap: 8px; }
  .eyebrow__rule { width: 26px; }
  .hero__cta { gap: 10px; }
  .btn--lg { padding: 15px 22px; font-size: .94rem; }

  .mcard__price .price { font-size: 1.32rem; }
  .delta { font-size: .72rem; }
  .mcard__value { font-size: 1.15rem; }
  .mcard__gainers table { font-size: .66rem; }
  .mcard__chart { padding-right: 36px; }

  .trust__inner { gap: 14px 18px; }
  .trust__item--badge { gap: 9px; }
  .mark { width: 36px; height: 36px; font-size: .56rem; border-radius: 10px; }
  .trust__name { font-size: .85rem; }
  .trust__cap { font-size: .7rem; }
  .ticker__label { padding: 0 12px; font-size: .62rem; letter-spacing: .08em; }
  .ticker__list li { padding: 13px 14px; font-size: .74rem; gap: 7px; }

  .sec h2 { font-size: clamp(1.6rem, 9vw, 2.1rem); }
  .sec { padding: 52px 0; }
  .edhead__props { gap: 14px; }
  .edhead__props li { padding-left: 14px; font-size: .76rem; }
  .edhead__props .ico { width: 22px; height: 22px; }
  .scard { min-height: 0; }
  .scard__art { position: static; width: 100%; max-width: none; margin-top: 14px; }
  .ico-circle, .scard__ico { width: 40px; height: 40px; border-radius: 12px; }
  .ico-circle svg, .scard__ico svg { width: 21px; height: 21px; }

  .metric__val { font-size: 1.35rem; }
  .idxcard__val { font-size: 1.28rem; }
  .terminal__price [data-t="val"] { font-size: 1.2rem; }
  .terminal__quote { margin-top: 12px; }
  .movers { font-size: .68rem; }
  .movers td { padding: 7px 0; }
  .terminal__canvas svg { height: 170px; }

  .post h3 { font-size: 1.1rem; }
  .post__img { height: 128px; }
  .field { flex-basis: 100%; }
  .story { padding: 18px; }
  .story blockquote { font-size: .88rem; }
  .stories__track { grid-auto-columns: minmax(210px, 92%); }

  .qr img { width: 96px; height: 96px; }
  .download { gap: 14px; }
  .devices .phone--front { width: 176px; }
  .phone__screen { border-radius: 20px; padding: 10px 10px 8px; }
  .footer { padding-top: 46px; }
  .footer__logo { height: 34px; }
  .compliance__regs li { font-size: .66rem; }
  .compliance__links a { font-size: .72rem; }
  .compliance__risk { font-size: .68rem; }
}

/* Fold-closed width: drop anything that cannot survive 280px */
@media (max-width: 300px) {
  :root { --gutter: 12px; }
  .hero__motif, .hero__motif--right { display: none; }
  .nav__logo img { height: 24px; }
  .nav__actions .btn--gold { padding: 9px 11px; font-size: .78rem; }
  .hero__copy h1 { font-size: 1.7rem; }
  .mcard__chart { padding-right: 0; }
  .mcard__yaxis { display: none; }
  .mcard__xaxis { padding-right: 0; }
  .terminal__canvas { padding-right: 0; }
  .terminal__yaxis { display: none; }
  .terminal__xaxis { padding-right: 0; }
  .movers th:nth-child(3), .movers td:nth-child(3) { display: none; }
  .trust__item--years, .trust__item:nth-child(2) { width: 100%; }
}

/* grid/flex children must be allowed to shrink below their content width,
   otherwise a wide table or long ticker pushes the whole track out of view */
.hero__inner > *, .mcard > *, .terminal > *, .edhead > *, .edhead__aside > *,
.trustpanel > *, .metrics > *, .newsletter > *, .stories > *,
.app__inner > *, .footer__inner > *, .scards > *, .idxcards > *,
.featcards > *, .pillars > *, .values > *, .posts > *,
.featcard > *, .pillar > *, .value > *, .appfeat li > *,
.trustpanel__list li > *, .finalcta__inner > * { min-width: 0; }

.mcard__gainers table, .movers { table-layout: fixed; }
.mcard__gainers th, .movers td:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
