/* =========================================================
   {{env("APP_NAME")}} — IG-inspired design system
   Palette: white bg, crimson red accent, near-black text
   ========================================================= */

:root {
  /* Surface — IG.com palette */
  --bg:           #FFFFFF;
  --bg-2:         #F5EBE5;      /* hero cream/pink */
  --bg-3:         #FAF2EE;      /* card hover */
  --hero-bg:      #F5EBE5;      /* hero pink */
  --surface:      #FFFFFF;
  --border:       #E8DDD6;      /* warm border to match cream */
  --border-dark:  #C9B8AE;

  /* Text — IG's signature deep maroon (not pure black) */
  --text:         #3A0010;      /* deep maroon — primary text */
  --text-dim:     #5D2030;
  --text-mute:    #806874;
  --text-inverse: #FFFFFF;

  /* Brand — IG coral red-orange (warmer than crimson) */
  --accent:        #E04E2A;
  --accent-hover:  #C43E1E;
  --accent-dark:   #962E15;
  --accent-soft:   rgba(224,78,42,.08);
  --accent-2:      #F58C5F;      /* lighter coral for gradients */

  /* Promo strip — IG's signature mint green */
  --promo-bg:      #A8E89E;
  --promo-text:    #1A3A14;

  /* Status */
  --success: #16A34A;
  --success-soft: rgba(22,163,74,.10);
  --danger:  #DC2626;
  --warning: #D97706;

  /* Effects */
  --radius:    6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(58,0,16,.05);
  --shadow:    0 2px 8px rgba(58,0,16,.06);
  --shadow-lg: 0 8px 32px rgba(58,0,16,.10);

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5 { color: var(--text); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -0.04em; line-height: 1; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 14px; color: var(--text-dim); }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
ul li, ol li { margin-bottom: 6px; color: var(--text-dim); }

/* =========================================================
   LAYOUT
   ========================================================= */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }

/* =========================================================
   ANNOUNCE BAR (sticky top — IG signature)
   ========================================================= */
.announce {
  background: var(--text);
  color: #fff;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
}
.announce a { color: #fff; text-decoration: underline; font-weight: 500; }

/* =========================================================
   NAV (IG-style — white, dense, sticky)
   ========================================================= */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-mark { display: inline-block; }
.brand-text { color: var(--text); }
.brand-text .accent { color: var(--accent); }

.nav-links {
  display: flex; gap: 4px; align-items: center;
  flex: 1; justify-content: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 4px;
  transition: background .15s;
}
.nav-links a:hover { background: var(--bg-2); color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================
   BUTTONS (IG-style — sharp, bold, red primary)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  text-decoration: none;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.btn-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn-primary:hover { background: #1a2540; color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-dark);
}
.btn-ghost:hover { background: var(--bg-2); color: var(--accent); border-color: var(--accent); }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* =========================================================
   TICKER (live prices)
   ========================================================= */
.ticker {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  font-size: 13px;
}
.ticker-track {
  display: flex;
  gap: 32px;
  padding: 10px 24px;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  width: max-content;
}
.ticker-item { color: var(--text-dim); font-weight: 500; }
.ticker-item strong { color: var(--text); margin-right: 8px; }
.ticker-item .price { font-family: var(--font-mono); margin-right: 6px; }
.ticker-item .delta.up   { color: var(--success); }
.ticker-item .delta.down { color: var(--danger); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   HERO (IG-style — bold headline left, screenshot right)
   ========================================================= */
.hero {
  background: var(--bg);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.hero h1 { color: var(--text); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-lede {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-mute);
}
.hero-trust .item { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--success); }

/* Hero visual — mock platform window */
.hero-visual {
  background: var(--text);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}
.hv-chrome {
  background: #1a2540;
  padding: 10px 14px;
  display: flex; gap: 6px;
  border-bottom: 1px solid #2a3856;
}
.hv-chrome span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.hv-chrome span:nth-child(2) { background: #ffbd2e; }
.hv-chrome span:nth-child(3) { background: #28ca42; }
.hv-head {
  padding: 18px 22px 12px;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff;
  border-bottom: 1px solid #2a3856;
}
.hv-pair { display: flex; gap: 12px; align-items: center; }
.hv-pair .flag { width: 36px; height: 36px; border-radius: 50%; background: #f5b820; color: #1a2540; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; }
.hv-pair > div > div { font-weight: 600; font-size: 15px; }
.hv-pair > div > small { display: block; color: rgba(255,255,255,.55); font-size: 12px; }
.hv-price { text-align: right; }
.hv-price .big { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: #fff; }
.hv-price .delta { font-size: 13px; color: var(--success); font-weight: 600; }
.hv-tabs {
  display: flex; gap: 4px;
  padding: 8px 22px;
  border-bottom: 1px solid #2a3856;
  background: rgba(0,0,0,.15);
}
.hv-tabs span {
  padding: 4px 10px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  border-radius: 3px;
  font-weight: 500;
  cursor: pointer;
}
.hv-tabs span.on { background: var(--accent); color: #fff; }
.hv-chart {
  height: 200px;
  padding: 16px 22px;
  position: relative;
  background: linear-gradient(180deg, rgba(220,38,38,.06), transparent);
}
.hv-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #2a3856;
  background: #1a2540;
}
.hv-stats .s { padding: 14px 18px; color: #fff; border-right: 1px solid #2a3856; }
.hv-stats .s:last-child { border-right: none; }
.hv-stats .lbl { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.hv-stats .val { font-family: var(--font-mono); font-size: 17px; font-weight: 700; }

/* =========================================================
   STAT BAR (under hero)
   ========================================================= */
.stat-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }
.stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat .lbl { color: var(--text-mute); font-size: 13px; font-weight: 500; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.section-head h2 { color: var(--text); }
.section-head p { font-size: 1.05rem; color: var(--text-dim); }

/* =========================================================
   FEATURE GRID
   ========================================================= */
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .15s, box-shadow .15s;
}
.feat:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.feat .icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat .icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14px; margin: 0; color: var(--text-dim); }

/* =========================================================
   INSTRUMENTS GRID (markets preview)
   ========================================================= */
.inst-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
@media (max-width: 800px) { .inst-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .inst-grid { grid-template-columns: 1fr; } }
.inst {
  display: flex; gap: 16px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.inst:hover { border-color: var(--accent); transform: translateX(4px); }
.inst .ico {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.inst .ico svg { width: 22px; height: 22px; }
.inst h4 { color: var(--text); font-size: 16px; margin: 0 0 2px; }
.inst small { color: var(--text-mute); font-size: 13px; }

/* =========================================================
   ACCOUNT CARDS (3-tier)
   ========================================================= */
.acc-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; } }
.acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.acc:hover { border-color: var(--text); box-shadow: var(--shadow); }
.acc.featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 6px 32px rgba(220,38,38,.10);
}
.acc.featured::before {
  content: "MOST POPULAR";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}
.acc h3 { font-size: 1.6rem; color: var(--text); margin-bottom: 4px; }
.acc .meta { color: var(--text-mute); font-size: 13px; margin-bottom: 24px; min-height: 36px; }
.acc .price { font-size: 2.6rem; font-weight: 800; color: var(--text); margin: 0 0 6px; letter-spacing: -0.025em; }
.acc .price small { font-size: 14px; font-weight: 500; color: var(--text-mute); }
.acc ul {
  list-style: none; padding: 0;
  margin: 28px 0;
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.acc ul li {
  padding: 9px 0;
  color: var(--text-dim);
  font-size: 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.acc ul li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 3px;
}
.acc .btn { width: 100%; }

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compare th, .compare td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.compare th {
  background: var(--bg-2);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare td:first-child { font-weight: 600; color: var(--text); }
.compare td { color: var(--text-dim); }
.compare tr:last-child td { border-bottom: none; }
.compare tr:hover td { background: var(--bg-3); }

/* Live spread/price tables (markets page) */
table.prices {
  width: 100%;
  border-collapse: collapse;
}
.prices th, .prices td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.prices th {
  background: var(--bg-2);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-mute);
}
.prices td.mono { font-family: var(--font-mono); }
.prices td.up { color: var(--success); font-weight: 600; }
.prices td.down { color: var(--danger); font-weight: 600; }
.prices tr:hover td { background: var(--bg-3); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: var(--text);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 28px; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.tst-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
@media (max-width: 900px) { .tst-grid { grid-template-columns: 1fr; } }
.tst {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.tst .stars { color: #FFAA00; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.tst p { color: var(--text); font-size: 15px; margin-bottom: 18px; }
.tst .who { display: flex; gap: 12px; align-items: center; }
.tst .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.tst .who strong { color: var(--text); display: block; font-size: 14px; }
.tst .who small { color: var(--text-mute); font-size: 12px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .ans { padding-top: 14px; color: var(--text-dim); font-size: 15px; }

/* =========================================================
   FOOTER (IG-style — big, dense, regulatory)
   ========================================================= */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer .container { max-width: 1240px; }
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid .about p { color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 16px; }
.foot-grid h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; font-weight: 700; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid ul li { margin-bottom: 10px; }
.foot-grid ul li a { color: rgba(255,255,255,.7); font-size: 14px; }
.foot-grid ul li a:hover { color: #fff; }
.foot-socials { display: flex; gap: 12px; margin-top: 16px; }
.foot-socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.05); color: rgba(255,255,255,.7); transition: background .15s, color .15s; }
.foot-socials a:hover { background: var(--accent); color: #fff; }
.foot-socials svg { width: 16px; height: 16px; }

.foot-disclaimer {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: 12px;
  line-height: 1.6;
}
.foot-disclaimer strong { color: #fff; }

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom a { color: rgba(255,255,255,.6); margin: 0 8px; }
.foot-bottom a:hover { color: #fff; }

/* =========================================================
   BADGES
   ========================================================= */
.badge { display: inline-block; padding: 3px 10px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.badge-accent { background: var(--accent); color: #fff; }
.badge-success { background: var(--success-soft); color: var(--success); }

/* =========================================================
   PAGE HEADER (sub-pages)
   ========================================================= */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
}
.page-head h1 { font-size: 2.4rem; margin-bottom: 12px; }
.page-head p { font-size: 1.05rem; color: var(--text-dim); max-width: 720px; margin: 0; }
.crumb { color: var(--text-mute); font-size: 13px; margin-bottom: 16px; }
.crumb a { color: var(--text-mute); }
.crumb a:hover { color: var(--accent); }

/* =========================================================
   IG-FAITHFUL ADDITIONS (rebuild v2)
   ========================================================= */

/* Top utility nav (Personal/Professional/Institutional) */
.utility-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.utility-nav .inner {
  max-width: 1240px; margin: 0 auto;
  padding: 8px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.utility-nav .seg { display: flex; gap: 4px; }
.utility-nav .seg a {
  padding: 4px 12px; color: var(--text-mute);
  border-radius: 4px; font-weight: 500;
}
.utility-nav .seg a.active { color: var(--text); font-weight: 600; }
.utility-nav .extras { display: flex; gap: 18px; }
.utility-nav .extras a { color: var(--text-mute); font-weight: 500; }
.utility-nav .extras a:hover { color: var(--accent); }
@media (max-width: 800px) { .utility-nav { display: none; } }

/* Promo strip */
.promo-strip {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}
.promo-strip a { color: #fff; text-decoration: underline; font-weight: 600; margin-left: 6px; }
.promo-strip a:hover { color: var(--accent); }

/* IG-style hero (huge type + phone photo) */
.hero-ig {
  background: var(--bg);
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border);
}
.hero-ig .inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-ig { padding: 56px 0 72px; }
  .hero-ig .inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}
.hero-ig h1 { margin-bottom: 28px; color: var(--text); }
.hero-ig .lede {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.55;
}
@media (max-width: 1000px) { .hero-ig .lede { margin-left: auto; margin-right: auto; } }
.hero-ig .lede strong { color: var(--text); font-weight: 700; }
.hero-ig .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1000px) { .hero-ig .ctas { justify-content: center; } }
.hero-photo {
  display: flex; justify-content: center;
  position: relative;
}
.hero-photo svg { width: 100%; max-width: 460px; height: auto; }

/* Trustpilot strip */
.trust-strip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}
.trust-strip .label {
  font-size: 13px; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px;
}
.trust-strip .stars {
  display: inline-flex; align-items: center; gap: 12px;
}
.trust-strip .stars-graphic {
  display: inline-flex; gap: 2px;
}
.trust-strip .stars-graphic span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: #00B67A; color: #fff;
  font-size: 16px;
}
.trust-strip .score {
  font-weight: 700; color: var(--text); font-size: 15px;
}

/* Section label — IG style: small, bold, plain text (not red) */
.section-label {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}

/* 3-up product cards (Trade / Invest / Crypto) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.product-card:hover { border-color: var(--text); box-shadow: var(--shadow); }
.product-card .label {
  color: var(--accent); font-size: 14px; font-weight: 600;
  margin-bottom: 14px;
}
.product-card h3 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text);
}
.product-card ul {
  list-style: none; padding: 0;
  margin: 0 0 32px;
  flex: 1;
}
.product-card ul li {
  padding: 10px 0;
  color: var(--text-dim);
  font-size: 15px;
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid var(--border);
}
.product-card ul li:last-child { border-bottom: none; }
.product-card ul li strong { color: var(--text); font-weight: 700; }
.product-card .btn { align-self: flex-start; }

/* Offers / promo cards (IG's cashback grid) */
.offer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .offer-grid { grid-template-columns: 1fr; } }
.offer {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
}
.offer .code-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.offer .code-label strong { color: var(--text); font-weight: 700; }
.offer h3 {
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.offer h3 strong { color: var(--text); display: inline; font-weight: 800; }
.offer .desc { color: var(--text); font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.offer .offer-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.offer .find-out {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid var(--text);
  padding-bottom: 2px;
  align-self: center;
}
.offer .find-out:hover { color: var(--accent); border-bottom-color: var(--accent); }
.offer .tiny {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.offer .tiny strong { color: var(--text); }
.offer .tiny a { color: var(--text); text-decoration: underline; }

/* App promo (Build with IG section — tabs + big phone image) */
.app-promo {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
}
.app-promo .inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.app-promo .header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.app-promo h2 { margin-bottom: 16px; }
.app-promo .header p { font-size: 18px; }
.app-tabs {
  display: flex; justify-content: center;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 48px;
}
.app-tabs button {
  background: none; border: none;
  padding: 16px 32px;
  color: var(--text-mute);
  font-family: inherit; font-size: 17px; font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.app-tabs button.active, .app-tabs button:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) { .app-content { grid-template-columns: 1fr; } }
.app-content .feature { padding: 24px 0; border-bottom: 1px solid var(--border); }
.app-content .feature:last-child { border-bottom: none; }
.app-content .feature h4 { font-size: 1.25rem; color: var(--text); margin-bottom: 8px; }
.app-content .feature p { font-size: 15px; color: var(--text-dim); margin: 0; }
.app-content .visual { display: flex; justify-content: center; }
.app-content .visual svg { width: 100%; max-width: 360px; height: auto; }

/* Real-time data strip */
.data-strip {
  background: var(--text);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.data-strip .section-label { color: #ff7a7a; }
.data-strip h2 { color: #fff; max-width: 800px; margin: 0 auto 16px; }
.data-strip p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }

/* Market range grid (simple tiles, link-only) */
.range-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .range-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .range-grid { grid-template-columns: repeat(2, 1fr); } }
.range-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  transition: border-color .15s, transform .15s, color .15s;
}
.range-tile:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* Footnotes (IG signature — numbered tiny print at bottom) */
.footnotes {
  background: var(--bg-2);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.7;
}
.footnotes .container { max-width: 1240px; }
.footnotes p { margin: 0 0 8px; color: var(--text-mute); font-size: 12px; }
.footnotes sup { color: var(--accent); font-weight: 700; margin-right: 4px; }
.footnotes a { color: var(--accent); }

/* =========================================================
   IG EXACT-MATCH ADDITIONS (polish pass v3)
   ========================================================= */

/* Hero lede: 4 separate visual lines (IG signature) */
.hero-ig .lede-stack {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.5;
}
.hero-ig .lede-stack p {
  margin: 0 0 6px;
  color: var(--text);
}
.hero-ig .lede-stack p strong { font-weight: 700; }
.hero-ig .lede-stack sup {
  color: var(--text-mute);
  font-size: 0.7em;
  font-weight: 600;
  margin-left: 1px;
}
@media (max-width: 1000px) {
  .hero-ig .lede-stack { margin-left: auto; margin-right: auto; }
}

/* Product card refinements: smaller headings, dividers between bullets */
.product-card h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.product-card .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.product-card ul li {
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 0;
}
.product-card .btn {
  font-weight: 700;
}

/* App promo tab refinement */
.app-tabs button {
  font-size: 1.4rem;
  font-weight: 800;
  padding: 18px 36px;
  color: var(--text);
  opacity: 0.4;
}
.app-tabs button.active {
  opacity: 1;
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Section "head" with bigger label space */
.ig-section-head {
  margin-bottom: 56px;
  max-width: 900px;
}
.ig-section-head .section-label { margin-bottom: 24px; }

/* Footer additions: "Connect with us" + regulatory paragraphs */
.foot-connect {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.foot-connect h5 { margin: 0; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.foot-connect .socials { display: flex; gap: 14px; }
.foot-connect .socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.foot-connect .socials a:hover { background: var(--accent); }
.foot-connect .socials svg { width: 18px; height: 18px; }

.foot-regulatory {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}
.foot-regulatory p { margin: 0 0 12px; color: rgba(255,255,255,.55); font-size: 12px; }
.foot-regulatory strong { color: rgba(255,255,255,.85); }
.foot-regulatory a { color: rgba(255,255,255,.7); text-decoration: underline; }

.foot-partner {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: 12px;
}
.foot-partner-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04);
  padding: 10px 16px; border-radius: 6px;
  color: rgba(255,255,255,.8);
  font-size: 13px; font-weight: 600;
}
.foot-partner-badge svg { width: 18px; height: 18px; }

/* Trustpilot widget refinement */
.trust-strip { padding: 36px 0; }
.trust-strip .label { font-size: 13px; font-weight: 500; }
.trust-strip .score { font-size: 16px; }
.trust-strip .stars-graphic span { width: 32px; height: 32px; font-size: 18px; }

/* =========================================================
   HERO PHOTO (Unsplash) + IG-STYLE FLOATING BADGES
   ========================================================= */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  object-fit: cover;
}
@media (max-width: 1000px) {
  .hero-photo { min-height: 480px; }
  .hero-img { max-width: 400px; }
}

/* Floating pill badges (IG signature treatment) */
.hero-badge {
  position: absolute;
  background: #fff;
  color: var(--text);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.04);
  white-space: nowrap;
  animation: badge-float 4s ease-in-out infinite;
}
.hero-badge sup {
  color: var(--text-mute);
  font-size: 0.65em;
  font-weight: 600;
  margin-left: 1px;
}
.hero-badge-1 {
  top: 28%;
  left: -10%;
  animation-delay: 0s;
}
.hero-badge-2 {
  top: 14%;
  right: -8%;
  animation-delay: 0.6s;
}
.hero-badge-3 {
  bottom: 30%;
  right: -4%;
  animation-delay: 1.2s;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (max-width: 1000px) {
  .hero-badge { font-size: 14px; padding: 10px 18px; }
  .hero-badge-1 { left: 0%; top: 22%; }
  .hero-badge-2 { right: 0%; top: 8%; }
  .hero-badge-3 { right: 4%; bottom: 22%; }
}
@media (max-width: 600px) {
  .hero-badge { font-size: 12px; padding: 8px 14px; }
}

/* =========================================================
   HERO PHOTO OVERRIDE — IG.com exact match
   ========================================================= */
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 640px;
  padding: 0;
}

/* Remove card-style shadow/radius — photo should float, IG-style */
.hero-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  /* Multiply blend hides pure-white background on white hero,
     making the photo appear "cut out". For best result, re-export
     the source PNG with a real transparent background. */
  mix-blend-mode: multiply;
}
@media (max-width: 1000px) {
  .hero-photo { min-height: 480px; }
  .hero-img { max-width: 460px; }
}

/* Hero section spacing — IG uses more vertical breathing room */
.hero-ig {
  padding: 100px 0 120px;
}
@media (max-width: 1000px) {
  .hero-ig { padding: 64px 0 72px; }
}

/* Tighten hero grid for IG-style proportions */
.hero-ig .inner {
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
}
@media (max-width: 1000px) {
  .hero-ig .inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Hero CTAs — IG uses primary red button + text-link "Download the app" */
.hero-ig .ctas .btn-ghost {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}
.hero-ig .ctas .btn-ghost:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* =========================================================
   IG.COM EXACT COLOR APPLICATION
   ========================================================= */

/* Announce bar — deep maroon (IG signature, not pure black) */
.announce {
  background: var(--text);
  color: rgba(255,255,255,0.95);
  padding: 12px 24px;
  font-size: 13px;
  line-height: 1.5;
}
.announce strong { color: #fff; font-weight: 700; }

/* Promo strip — IG mint green with dark text */
.promo-strip {
  background: var(--promo-bg);
  color: var(--promo-text);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}
.promo-strip a {
  color: var(--promo-text);
  text-decoration: none;
  font-weight: 600;
  margin-left: 8px;
}
.promo-strip a:hover { text-decoration: underline; }
.promo-strip strong { font-weight: 700; color: var(--promo-text); }

/* Hero section — IG's signature cream/pink background */
.hero-ig {
  background: var(--hero-bg);
  border-bottom: none;
}

/* Hero text on cream — maroon, no pure black */
.hero-ig h1 {
  color: var(--text);
  font-weight: 800;
}
.hero-ig .lede-stack p {
  color: var(--text);
}
.hero-ig .lede-stack strong { color: var(--text); }

/* Nav — white but with maroon text */
.nav { background: #fff; border-bottom: 1px solid var(--border); }
.nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--accent); background: var(--bg-3); }
.brand-text { color: var(--text); }
.brand-text .accent { color: var(--accent); }

/* Logo mark (favicon background) should be coral red */
.brand-mark { border-radius: 6px; }

/* Buttons — coral red instead of crimson */
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* Hero ghost CTA — IG uses thin outline maroon */
.hero-ig .ctas .btn-ghost {
  border: 1.5px solid var(--text);
  color: var(--text);
  background: transparent;
}
.hero-ig .ctas .btn-ghost:hover {
  background: var(--text);
  color: #fff;
}

/* Section headings — maroon */
h1, h2, h3, h4, h5, .section-head h2, .section-label { color: var(--text); }

/* Body text — slightly softer maroon */
p, .lede { color: var(--text-dim); }

/* Trust strip background */
.trust-strip { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Footer stays dark maroon (consistent with --text) */
.footer { background: var(--text); }

/* Section that follows hero — keep white default */
.section { background: var(--bg); }

/* Cards — keep white but soft border */
.product-card, .feat, .acc, .offer, .contact-card {
  background: #fff;
  border-color: var(--border);
}
/* .prod */