/* ============================================================
   Goodflow Securities — Design System v3
   Product-surface layout. Blue dominant. Red = micro accent only.
   ============================================================ */

:root {
  --navy:      #0C1B42;
  --navy-2:    #132A62;
  --blue-900:  #14297A;
  --blue-700:  #1E3FAF;
  --blue:      #2354E6;
  --blue-hov:  #1B44C4;
  --blue-400:  #5B84F2;
  --blue-200:  #B9CBFF;
  --blue-100:  #DCE5FF;
  --blue-50:   #EFF4FF;
  --blue-25:   #F7F9FF;

  --ink:       #14161B;
  --ink-2:     #39404E;
  --muted:     #697084;
  --muted-2:   #8A91A3;
  --line:      #E6E9F0;
  --line-2:    #F1F3F8;
  --soft:      #F5F8FD;
  --white:     #fff;

  --red:       #DD1F26;
  --green:     #12915B;
  --amber:     #B4740A;

  --r-s: 10px; --r: 14px; --r-l: 20px; --r-xl: 28px;
  --sh-s: 0 1px 2px rgba(12,27,66,.05), 0 4px 10px -6px rgba(12,27,66,.10);
  --sh:   0 2px 6px rgba(12,27,66,.05), 0 18px 40px -22px rgba(12,27,66,.24);
  --sh-l: 0 10px 28px rgba(12,27,66,.07), 0 40px 70px -34px rgba(12,27,66,.30);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--font); color:var(--ink); background:var(--white);
  font-size:16px; line-height:1.6; letter-spacing:-.011em; -webkit-font-smoothing:antialiased; }
img,svg { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; border:0; background:none; color:inherit; }
ul { list-style:none; }

.wrap { max-width:1240px; margin:0 auto; padding:0 28px; }

h1,h2,h3,h4 { letter-spacing:-.032em; line-height:1.12; font-weight:700; }
.h-xl { font-size:clamp(34px,4.1vw,50px); }
.h-lg { font-size:clamp(27px,3.2vw,38px); }
.h-md { font-size:clamp(21px,2.2vw,27px); }
.lead { font-size:17.5px; color:var(--muted); letter-spacing:-.006em; }
.small { font-size:14px; color:var(--muted); }
.blue { color:var(--blue); }

/* ---------- buttons ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:15.5px; padding:13px 24px; border-radius:999px;
  transition:.16s ease; white-space:nowrap; }
.btn-p { background:var(--blue); color:#fff; box-shadow:0 6px 16px -8px rgba(35,84,230,.9); }
.btn-p:hover { background:var(--blue-hov); transform:translateY(-1px); }
.btn-s { background:var(--blue-50); color:var(--blue-700); }
.btn-s:hover { background:var(--blue-100); }
.btn-o { border:1.5px solid var(--line); background:#fff; }
.btn-o:hover { border-color:var(--blue-400); color:var(--blue-700); }
.btn-w { background:#fff; color:var(--blue-700); }
.btn-w:hover { transform:translateY(-1px); box-shadow:var(--sh); }
.btn-gl { border:1.5px solid rgba(255,255,255,.3); color:#fff; }
.btn-gl:hover { background:rgba(255,255,255,.1); }
.btn-sm { padding:10px 19px; font-size:14.5px; }
.btn svg { width:17px; height:17px; flex:0 0 auto; }

/* ---------- compliance strip ---------- */
.strip { background:var(--navy); color:rgba(255,255,255,.72); font-size:12.5px; }
.strip .wrap { display:flex; justify-content:space-between; align-items:center; height:36px; gap:16px; flex-wrap:wrap; }
.strip b { color:#fff; font-weight:600; }
.strip .d { display:inline-block; width:3px; height:3px; border-radius:50%; background:rgba(255,255,255,.35); margin:0 9px; vertical-align:middle; }

/* ---------- header + mega menu ---------- */
header.site { position:sticky; top:0; z-index:200; background:#fff; border-bottom:1px solid var(--line-2); }
.nav { display:flex; align-items:center; gap:30px; height:76px; }
.nav .brand { display:flex; align-items:center; }
.nav .brand svg, .nav .brand img { height:32px; width:auto; display:block; }
.mainnav { display:flex; align-items:center; gap:2px; flex:1; }
.mi { position:relative; }
.mi > a, .mi > button {
  display:flex; align-items:center; gap:6px; padding:10px 14px; border-radius:9px;
  font-size:15px; font-weight:500; color:var(--ink-2); transition:.15s;
}
.mi > a:hover, .mi > button:hover { background:var(--blue-25); color:var(--blue-700); }
.mi > a.on { color:var(--blue); font-weight:600; }
.mi .caret { width:13px; height:13px; transition:transform .18s; opacity:.6; }
.mi:hover .caret { transform:rotate(180deg); }

.mega {
  position:absolute; top:calc(100% + 10px); left:-14px; min-width:520px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-l);
  box-shadow:var(--sh-l); padding:22px; z-index:300;
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:.18s ease;
}
.mi:hover .mega { opacity:1; visibility:visible; transform:translateY(0); }
.mega::before { content:""; position:absolute; top:-12px; left:0; right:0; height:12px; }
.mega-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px 10px; }
.mega-link { display:flex; gap:12px; padding:11px 12px; border-radius:11px; transition:.14s; }
.mega-link:hover { background:var(--blue-25); }
.mega-link .mic { width:34px; height:34px; border-radius:9px; background:var(--blue-50); color:var(--blue);
  display:grid; place-items:center; flex:none; }
.mega-link .mic svg { width:17px; height:17px; }
.mega-link b { display:block; font-size:14.5px; font-weight:600; letter-spacing:-.015em; }
.mega-link span { font-size:12.5px; color:var(--muted); line-height:1.4; display:block; }
.mega-foot { margin-top:14px; padding-top:14px; border-top:1px solid var(--line-2);
  display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; color:var(--muted); }
.mega-foot a { color:var(--blue); font-weight:600; }

.nav-right { display:flex; align-items:center; gap:10px; margin-left:auto; }
.burger { display:none; padding:9px; border-radius:9px; }
.burger span { display:block; width:20px; height:2px; background:var(--ink); border-radius:2px; }
.burger span+span { margin-top:5px; }

/* ---------- market ticker (borderless, quiet) ---------- */
.tkr { background:#fff; }
.tkr-vp { position:relative; overflow:hidden; }
.tkr-track { display:flex; align-items:center; width:max-content; padding:12px 0;
  animation:tkrScroll 90s linear infinite; will-change:transform; }
.tkr:hover .tkr-track { animation-play-state:paused; }
.tkr-i { display:inline-flex; align-items:baseline; gap:9px; margin-right:38px;
  font-size:12.5px; white-space:nowrap; letter-spacing:-.005em; }
.tkr-i .n { color:#8A90A2; font-weight:500; }
.tkr-i .p { color:#3F4557; font-weight:500; font-variant-numeric:tabular-nums; }
.tkr-i .c { font-weight:500; font-variant-numeric:tabular-nums; display:inline-flex; align-items:center; gap:3px; }
.tkr-i .c.u { color:#12915B; }
.tkr-i .c.d { color:#CF4A50; }
.tkr-i .c svg { width:8px; height:8px; flex:none; }
.tkr-note { color:#A9AEBD; font-size:11.5px; letter-spacing:.03em; margin-right:38px; white-space:nowrap; }
.tkr-vp::before, .tkr-vp::after { content:""; position:absolute; top:0; bottom:0; width:72px; z-index:2; pointer-events:none; }
.tkr-vp::before { left:0;  background:linear-gradient(90deg,#fff 34%,rgba(255,255,255,0)); }
.tkr-vp::after  { right:0; background:linear-gradient(270deg,#fff 34%,rgba(255,255,255,0)); }
@keyframes tkrScroll { from { transform:translate3d(0,0,0); } to { transform:translate3d(-50%,0,0); } }
@media (prefers-reduced-motion:reduce){ .tkr-track { animation:none; } }

/* ---------- hero ---------- */
.hero { position:relative; overflow:hidden; background:#fff; }
.hero .wrap { position:relative; z-index:2; padding:64px 28px 76px; }
.hero-grid { display:grid; grid-template-columns:1.02fr .98fr; gap:48px; align-items:center; }
.hero-in { max-width:600px; }
.ill { width:100%; height:auto; display:block; }
.ill-hero { max-width:620px; margin-left:auto; }
.pill { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line);
  color:var(--blue-700); font-size:13px; font-weight:600; padding:7px 15px; border-radius:999px;
  box-shadow:var(--sh-s); margin-bottom:24px; }
.pill i { width:6px; height:6px; border-radius:50%; background:var(--red); display:block; }
.hero h1 { margin-bottom:20px; }
.hero .lead { font-size:19px; max-width:560px; }
.hero-cta { display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.hero-badges { display:grid; grid-template-columns:repeat(2,auto); gap:20px 30px; margin-top:42px; justify-content:start; }
.hb { display:flex; align-items:center; gap:10px; }
.hb .hbi { width:36px; height:36px; border-radius:10px; background:#fff; border:1px solid var(--line);
  display:grid; place-items:center; color:var(--blue); box-shadow:var(--sh-s); }
.hb .hbi svg { width:18px; height:18px; }
.hb b { display:block; font-size:14px; font-weight:650; letter-spacing:-.015em; }
.hb span { display:block; font-size:12.5px; color:var(--muted); }

/* ---------- section shells ---------- */
.sec { padding:84px 0; }
.sec.soft { background:#fff; border-top:1px solid var(--line-2); }
.sec.soft + .sec.soft { border-top:0; }
.sec.tight { padding:60px 0; }
.shead { max-width:660px; margin-bottom:40px; }
.shead.center { margin:0 auto 44px; text-align:center; }
.shead .lead { margin-top:12px; }

/* ---------- tabbed explorer ---------- */
.tabbar { display:flex; gap:8px; border-bottom:1px solid var(--line); margin-bottom:32px; overflow-x:auto; }
.tab { padding:14px 20px; font-size:15.5px; font-weight:600; color:var(--muted);
  border-bottom:2.5px solid transparent; margin-bottom:-1px; white-space:nowrap; transition:.15s; }
.tab:hover { color:var(--ink); }
.tab.on { color:var(--blue); border-bottom-color:var(--blue); }
.panel { display:none; }
.panel.on { display:block; animation:fade .28s ease; }
@keyframes fade { from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none} }
.panel-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.pcard { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:24px; transition:.18s; }
.pcard:hover { border-color:var(--blue-200); box-shadow:var(--sh); transform:translateY(-2px); }
.pcard .pic { width:58px; height:58px; border-radius:16px; display:grid; place-items:center; margin-bottom:18px; }
.pcard .pic svg { width:34px; height:34px; }
.tone-a .pic { background:#EFF4FF; color:#2354E6; }
.tone-b .pic { background:#EFF4FF; color:#2354E6; }
.tone-c .pic { background:#EFF4FF; color:#2354E6; }
.tone-d .pic { background:#EFF4FF; color:#2354E6; }
.pcard h3 { font-size:17px; margin-bottom:7px; }
.pcard p { font-size:14px; color:var(--muted); }
.pcard .tagline { margin-top:14px; font-size:12.5px; font-weight:600; color:var(--blue-700); }

/* ---------- showcase blocks ---------- */
.showcase { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.showcase + .showcase { margin-top:96px; }
.showcase.flip .sc-text { order:2; }
.sc-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; color:var(--blue); margin-bottom:16px; }
.sc-eyebrow i { width:22px; height:2px; background:var(--blue); display:block; }
.sc-text h2 { margin-bottom:16px; }
.sc-links { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:26px; }
.sc-link { display:flex; align-items:center; gap:10px; padding:13px 15px; border:1px solid var(--line);
  border-radius:12px; font-size:14.5px; font-weight:600; background:#fff; transition:.15s; }
.sc-link:hover { border-color:var(--blue-400); color:var(--blue-700); transform:translateX(2px); }
.sc-link svg { width:16px; height:16px; color:var(--blue); flex:none; }
.sc-visual { position:relative; }

/* mock panel used in showcase visuals */
.mock { background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); box-shadow:var(--sh-l); padding:22px; }
.mock-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.mock-head b { font-size:14.5px; }
.mock-head .live { display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; color:var(--green); }
.mock-head .live i { width:6px; height:6px; border-radius:50%; background:var(--green); display:block; animation:pl 2s infinite; }
@keyframes pl { 0%,100%{opacity:1} 50%{opacity:.3} }
.mrow { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--line-2); }
.mrow:last-child { border-bottom:0; }
.mrow .l { display:flex; align-items:center; gap:11px; }
.mrow .sym { width:36px; height:36px; border-radius:10px; background:var(--blue-50); color:var(--blue-700);
  display:grid; place-items:center; font-size:11px; font-weight:700; }
.mrow .l b { display:block; font-size:14px; font-weight:600; }
.mrow .l span { font-size:12px; color:var(--muted); }
.mrow .r { text-align:right; }
.mrow .r b { display:block; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; }
.mrow .r span { font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; }
.up { color:var(--green); } .dn { color:var(--red); }
.chip-f { position:absolute; background:#fff; border:1px solid var(--line); border-radius:13px;
  padding:11px 15px; box-shadow:var(--sh); display:flex; align-items:center; gap:10px; z-index:3; }
.chip-f svg { width:17px; height:17px; color:var(--blue); }
.chip-f b { font-size:13px; font-weight:650; display:block; }
.chip-f span { font-size:11.5px; color:var(--muted); display:block; }

/* option chain mock */
.oc { display:grid; grid-template-columns:1fr auto 1fr; font-size:12.5px; font-variant-numeric:tabular-nums; }
.oc div { padding:9px 10px; border-bottom:1px solid var(--line-2); }
.oc .hd { font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted-2); background:var(--soft); }
.oc .strike { font-weight:700; text-align:center; background:var(--blue-25); color:var(--navy); }
.oc .ce { color:var(--green); } .oc .pe { color:var(--red); text-align:right; }

/* commodity bars */
.cbars { display:grid; gap:14px; }
.cbar .cbt { display:flex; justify-content:space-between; font-size:13.5px; font-weight:600; margin-bottom:7px; }
.cbar .cbt span { color:var(--muted); font-weight:500; font-variant-numeric:tabular-nums; }
.cbar .track { height:8px; border-radius:99px; background:var(--blue-50); overflow:hidden; }
.cbar .fill { height:100%; border-radius:99px; background:linear-gradient(90deg,var(--blue-400),var(--blue)); }

/* ---------- tools ---------- */
.tools { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.tool { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:24px; transition:.18s; }
.tool:hover { border-color:var(--blue-200); box-shadow:var(--sh); }
.tool .ti { width:40px; height:40px; border-radius:11px; background:var(--blue-50); color:var(--blue);
  display:grid; place-items:center; margin-bottom:16px; }
.tool .ti svg { width:20px; height:20px; }
.tool b { display:block; font-size:15.5px; letter-spacing:-.018em; margin-bottom:5px; }
.tool span { font-size:13.5px; color:var(--muted); }

/* ---------- credentials ---------- */
.creds { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.cred { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:26px; text-align:center; }
.cred .cn { font-size:26px; font-weight:700; letter-spacing:-.03em; color:var(--navy); }
.cred .ct { font-size:13px; font-weight:600; color:var(--blue-700); margin-top:8px; }
.cred .cs { font-size:12.5px; color:var(--muted); margin-top:4px; }

/* ---------- stats band ---------- */
.band { background:var(--navy); border-radius:var(--r-xl); padding:48px 46px; color:#fff; position:relative; overflow:hidden; }
.band::after { content:""; position:absolute; inset:0;
  background:radial-gradient(620px 300px at 88% 0%, rgba(35,84,230,.45), transparent 62%),
             radial-gradient(420px 260px at 4% 100%, rgba(221,31,38,.10), transparent 60%); }
.band > * { position:relative; z-index:1; }
.bandgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.bandgrid .n { font-size:38px; font-weight:700; letter-spacing:-.035em; }
.bandgrid .l { font-size:13.5px; color:rgba(255,255,255,.68); margin-top:4px; }

/* ---------- steps ---------- */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; counter-reset:s; }
.step { counter-increment:s; position:relative; }
.step-ill { width:110px; height:110px; margin-bottom:18px; }
.step::before { content:"0" counter(s); position:absolute; top:33px; left:126px; right:auto; font-size:40px;
  font-weight:700; letter-spacing:-.04em; color:var(--blue-100); line-height:1; }
.step h3 { font-size:17.5px; margin-bottom:8px; }
.step p { font-size:14.5px; color:var(--muted); }

/* ---------- branches ---------- */
.branches { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.branch { background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:21px; transition:.16s; }
.branch:hover { border-color:var(--blue-200); box-shadow:var(--sh-s); }
.branch .city { font-size:15px; font-weight:650; display:flex; align-items:center; gap:8px; margin-bottom:7px; }
.branch .city i { width:6px; height:6px; border-radius:50%; background:var(--blue); display:block; }
.branch.hq .city i { background:var(--red); }
.branch .tag { display:inline-block; font-size:10px; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; color:var(--red); margin-bottom:5px; }
.branch p { font-size:13px; color:var(--muted); line-height:1.55; }

/* ---------- faq ---------- */
.faq { max-width:840px; margin:0 auto; }
.fitem { border-bottom:1px solid var(--line); }
.fq { width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px;
  text-align:left; padding:21px 0; font-size:16.5px; font-weight:600; letter-spacing:-.018em; }
.fq-t { flex:1 1 auto; min-width:0; }
.fq:hover { color:var(--blue-700); }
.fq .ic { width:27px; height:27px; border-radius:50%; background:var(--blue-50); color:var(--blue);
  display:grid; place-items:center; flex:none; transition:.2s; }
.fq .ic svg { width:13px; height:13px; }
.fitem.open .fq .ic { background:var(--blue); color:#fff; transform:rotate(45deg); }
.fa { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.fa p { font-size:15px; color:var(--muted); padding-bottom:21px; }
.fitem.open .fa { max-height:460px; }

/* ---------- cta ---------- */
.cta { background:linear-gradient(135deg,var(--blue-900),var(--blue-700) 55%,var(--blue));
  border-radius:var(--r-xl); padding:58px 52px; color:#fff; display:flex;
  align-items:center; justify-content:space-between; gap:34px; position:relative; overflow:hidden; }
.cta::after { content:""; position:absolute; inset:0;
  background:radial-gradient(520px 300px at 92% 6%, rgba(255,255,255,.15), transparent 60%); }
.cta > * { position:relative; z-index:1; }
.cta h2 { font-size:clamp(25px,2.9vw,34px); margin-bottom:10px; }
.cta p { color:rgba(255,255,255,.82); max-width:520px; }

/* ---------- footer ---------- */
footer.site { background:var(--navy); color:rgba(255,255,255,.62); padding:64px 0 0; font-size:13.5px; }
.f-brandrow { display:grid; grid-template-columns:1.4fr 3fr; gap:56px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.09); }
.f-brand > img { height:30px; width:auto; display:block; background:#fff;
  padding:11px 15px; border-radius:12px; box-sizing:content-box; }
.f-brand p { margin-top:16px; font-size:13px; line-height:1.7; max-width:290px; }
.f-social { display:flex; gap:9px; margin-top:20px; }
.f-social a { width:34px; height:34px; border-radius:9px; border:1px solid rgba(255,255,255,.16);
  display:grid; place-items:center; transition:.15s; }
.f-social a:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.3); }
.f-social svg { width:15px; height:15px; }
.f-cols { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
footer h4 { color:#fff; font-size:11.5px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; margin-bottom:15px; }
footer li { margin-bottom:9px; }
footer li a:hover { color:#fff; }
.f-mid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; padding:40px 0; border-bottom:1px solid rgba(255,255,255,.09); }
.f-reg { padding:32px 0; border-bottom:1px solid rgba(255,255,255,.09); display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.f-reg .rb b { color:#fff; display:block; font-size:12px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:8px; font-weight:700; }
.f-reg .rb p { font-size:13px; line-height:1.65; }
.f-legal { padding:26px 0; font-size:12px; line-height:1.75; color:rgba(255,255,255,.46); border-bottom:1px solid rgba(255,255,255,.09); }
.f-base { padding:20px 0 28px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12.5px; }
.f-base a:hover { color:#fff; }

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .hero-grid { grid-template-columns:1fr; gap:36px; }
  .ill-hero { max-width:520px; margin:0 auto; }
  .panel-grid,.tools,.creds,.branches { grid-template-columns:repeat(2,1fr); }
  .showcase { grid-template-columns:1fr; gap:44px; }
  .showcase.flip .sc-text { order:0; }
  .bandgrid { grid-template-columns:1fr 1fr; gap:30px 24px; }
  .f-brandrow { grid-template-columns:1fr; gap:36px; }
  .f-cols,.f-mid { grid-template-columns:1fr 1fr; gap:28px; }
  .f-reg { grid-template-columns:1fr; }
}
@media (max-width:820px){
  .mainnav { display:none; position:absolute; top:64px; left:0; right:0; background:#fff;
    border-bottom:1px solid var(--line); flex-direction:column; align-items:stretch;
    padding:12px 20px 20px; box-shadow:var(--sh); max-height:78vh; overflow:auto; }
  .mainnav.open { display:flex; }
  .mi > a, .mi > button { padding:13px 12px; font-size:16px; width:100%; }
  .mega { position:static; min-width:0; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; border-left:2px solid var(--line); border-radius:0;
    padding:2px 0 8px 12px; margin-left:12px; display:none; }
  .mi.open .mega { display:block; }
  .mi:hover .mega { opacity:1; visibility:visible; }
  .mega-grid { grid-template-columns:1fr; }
  .burger { display:block; }
  .nav-right .btn { display:none; }
  .sec { padding:58px 0; }
  .hero .wrap { padding:52px 28px 60px; }
  .panel-grid,.tools,.creds,.branches,.steps,.bandgrid,.sc-links { grid-template-columns:1fr; }
  .hero-badges { grid-template-columns:1fr 1fr; gap:18px; }
  .band { padding:34px 26px; }
  .cta { flex-direction:column; align-items:flex-start; padding:40px 28px; }
  .f-cols,.f-mid { grid-template-columns:1fr; }
  .wrap { padding:0 20px; }
}

/* ============================================================
   Inner page components
   ============================================================ */

/* page hero */
.phero { background:#fff; }
.phero .wrap { padding:56px 28px 64px; }
.phero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:46px; align-items:center; }
.phero h1 { margin-bottom:16px; }
.phero .lead { max-width:540px; font-size:18.5px; }
.ill-page { max-width:480px; margin-left:auto; }

/* prose */
.prose { max-width:760px; }
.prose p { color:var(--muted); font-size:17px; margin-bottom:18px; }
.prose p:last-child { margin-bottom:0; }

/* pill row */
.pills { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.pill-b { display:inline-flex; align-items:center; gap:9px; background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:11px 20px; font-size:14.5px; font-weight:600; box-shadow:var(--sh-s); }
.pill-b b { color:var(--blue-700); }

/* vision / mission */
.vm { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.vm-card { border-radius:var(--r-xl); padding:38px 34px; position:relative; overflow:hidden; }
.vm-card.a { background:var(--navy); color:#fff; }
.vm-card.a::after { content:""; position:absolute; inset:0;
  background:radial-gradient(420px 260px at 88% 4%, rgba(35,84,230,.5), transparent 62%); }
.vm-card.b { background:#fff; border:1px solid var(--line); }
.vm-card > * { position:relative; z-index:1; }
.vm-ic { width:52px; height:52px; border-radius:15px; display:grid; place-items:center; margin-bottom:22px; }
.vm-card.a .vm-ic { background:rgba(255,255,255,.14); color:#fff; }
.vm-card.b .vm-ic { background:var(--blue-50); color:var(--blue); }
.vm-ic svg { width:26px; height:26px; }
.vm-card .k { font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:12px; opacity:.7; }
.vm-card .q { font-size:21px; font-weight:650; letter-spacing:-.022em; line-height:1.45; }
.vm-card.b .q { color:var(--ink); }

/* timeline */
.tl { position:relative; padding-left:38px; }
.tl::before { content:""; position:absolute; left:11px; top:8px; bottom:8px; width:2px; background:var(--blue-100); }
.tl-item { position:relative; padding-bottom:34px; }
.tl-item:last-child { padding-bottom:0; }
.tl-item::before { content:""; position:absolute; left:-33px; top:5px; width:16px; height:16px;
  border-radius:50%; background:#fff; border:4px solid var(--blue); }
.tl-item.now::before { border-color:var(--red); }
.tl-year { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--blue); margin-bottom:5px; }
.tl-item h3 { font-size:18px; margin-bottom:7px; }
.tl-item p { font-size:15px; color:var(--muted); max-width:560px; }

/* people */
.people { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.person { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:26px 24px; transition:.16s; }
.person:hover { border-color:var(--blue-200); box-shadow:var(--sh); }
.person .av { width:56px; height:56px; border-radius:16px; display:grid; place-items:center;
  background:linear-gradient(140deg,var(--blue-400),var(--blue)); color:#fff; font-weight:700; font-size:18px; margin-bottom:16px; }
.person.lead .av { background:linear-gradient(140deg,var(--blue),var(--navy)); }
.person b { display:block; font-size:16px; letter-spacing:-.02em; }
.person span { font-size:13px; color:var(--muted); font-weight:500; }
.person p { font-size:13.5px; color:var(--muted); margin-top:12px; padding-top:12px; border-top:1px solid var(--line-2); }

/* segment table */
.tbl-wrap { border:1px solid var(--line); border-radius:var(--r-l); overflow:hidden; background:#fff; }
table.seg { width:100%; border-collapse:collapse; font-size:14.5px; }
table.seg th { background:var(--soft); text-align:left; padding:15px 20px; font-size:12px;
  font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted-2); }
table.seg td { padding:17px 20px; border-top:1px solid var(--line-2); color:var(--ink-2); }
table.seg td b { color:var(--ink); }
table.seg .code { font-weight:700; color:var(--blue-700); font-variant-numeric:tabular-nums; }

/* feature list with ticks */
.ticks { display:grid; gap:12px; margin-top:22px; }
.ticks li { display:flex; gap:12px; font-size:15px; color:var(--ink-2); }
.ticks svg { width:20px; height:20px; color:var(--blue); flex:none; margin-top:2px; }

/* notices */
.notices { counter-reset:n; display:grid; gap:2px; }
.notice { counter-increment:n; display:grid; grid-template-columns:38px 1fr; gap:18px;
  padding:20px 0; border-bottom:1px solid var(--line); }
.notice::before { content:counter(n); width:32px; height:32px; border-radius:10px; background:var(--blue-50);
  color:var(--blue); font-weight:700; font-size:14px; display:grid; place-items:center; }
.notice p { font-size:15px; color:var(--muted); }

/* dos and donts */
.dd { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.dd-card { background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); padding:32px 30px; }
.dd-card h3 { font-size:19px; margin-bottom:18px; display:flex; align-items:center; gap:11px; }
.dd-card h3 .b { width:30px; height:30px; border-radius:9px; display:grid; place-items:center; }
.dd-card.do h3 .b { background:#E4F4EC; color:var(--green); }
.dd-card.dont h3 .b { background:#FDECEC; color:var(--red); }
.dd-card h3 svg { width:16px; height:16px; }
.dd-card li { padding:11px 0 11px 28px; position:relative; font-size:14.5px; color:var(--muted);
  border-top:1px solid var(--line-2); }
.dd-card li:first-of-type { border-top:0; }
.dd-card.do li::before { content:"✓"; position:absolute; left:2px; color:var(--green); font-weight:700; }
.dd-card.dont li::before { content:"✕"; position:absolute; left:2px; color:var(--red); font-weight:700; }

/* downloads */
.dl-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.dl { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--line);
  border-radius:var(--r-l); padding:20px 22px; transition:.16s; }
.dl:hover { border-color:var(--blue-200); box-shadow:var(--sh); transform:translateY(-2px); }
.dl .pdf { width:44px; height:44px; border-radius:12px; background:#FDECEC; color:var(--red);
  display:grid; place-items:center; font-size:10.5px; font-weight:800; flex:none; }
.dl b { display:block; font-size:15.5px; letter-spacing:-.018em; }
.dl span { font-size:13px; color:var(--muted); }
.dl .arw { margin-left:auto; color:var(--blue); }
.dl .arw svg { width:18px; height:18px; }

/* link grid */
.lgrid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.lcard { background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:18px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14.5px; font-weight:600; transition:.15s; }
.lcard:hover { border-color:var(--blue-400); color:var(--blue-700); }
.lcard svg { width:15px; height:15px; color:var(--blue); flex:none; }

/* contact */
.cgrid { display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:start; }
form.cf { background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); padding:34px; box-shadow:var(--sh-s); }
.f2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fld { margin-bottom:18px; }
.fld label { display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; color:var(--ink-2); }
.fld input, .fld select, .fld textarea { width:100%; padding:13px 15px; border:1.5px solid var(--line);
  border-radius:11px; font-family:var(--font); font-size:15px; background:var(--soft); color:var(--ink); transition:.15s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline:none; border-color:var(--blue); background:#fff; }
.cinfo .blk { padding:22px 0; border-bottom:1px solid var(--line); }
.cinfo .blk:first-child { padding-top:0; }
.cinfo .blk:last-child { border-bottom:0; }
.cinfo h3 { font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted-2); margin-bottom:10px; }
.cinfo p { font-size:15.5px; color:var(--ink-2); line-height:1.6; }
.cinfo a { color:var(--blue); font-weight:600; }

@media (max-width:1080px){
  .phero-grid { grid-template-columns:1fr; gap:34px; }
  .ill-page { max-width:400px; margin:0 auto; }
  .vm, .dd, .dl-grid, .cgrid { grid-template-columns:1fr; }
  .people { grid-template-columns:1fr 1fr; }
  .lgrid { grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .people, .lgrid, .f2 { grid-template-columns:1fr; }
  .tbl-wrap { overflow-x:auto; }
  table.seg { min-width:620px; }
  form.cf { padding:24px; }
}

/* inner-page headline sizing — keeps titles to two lines */
.phero h1 { font-size:clamp(31px,3.5vw,43px); }

/* ============================================================
   Market data pages (bhav copy driven)
   ============================================================ */
.mkt-note { display:flex; align-items:center; gap:12px; background:#FFF8E8; border:1px solid #F2E0B5;
  color:#7A5B12; border-radius:14px; padding:14px 18px; font-size:13.5px; margin-bottom:26px; }
.mkt-note svg { width:18px; height:18px; flex:none; }
.mkt-note b { font-weight:700; }

.mkt-bar { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.searchbox { position:relative; flex:1; min-width:260px; }
.searchbox svg { position:absolute; left:16px; top:50%; transform:translateY(-50%); width:19px; height:19px; color:var(--muted-2); }
.searchbox input { width:100%; padding:14px 16px 14px 46px; border:1.5px solid var(--line); border-radius:999px;
  font-family:var(--font); font-size:15px; background:#fff; transition:.15s; }
.searchbox input:focus { outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(35,84,230,.09); }
.stamp { display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); font-weight:500;
  background:var(--soft); border:1px solid var(--line); border-radius:999px; padding:9px 16px; }
.stamp i { width:7px; height:7px; border-radius:50%; background:var(--muted-2); display:block; }

.chips { display:flex; gap:9px; overflow-x:auto; padding-bottom:6px; margin-bottom:20px; }
.chip { border:1.5px solid var(--line); background:#fff; border-radius:999px; padding:9px 18px;
  font-size:14px; font-weight:600; color:var(--ink-2); white-space:nowrap; transition:.15s; }
.chip:hover { border-color:var(--blue-400); color:var(--blue-700); }
.chip.on { background:var(--blue); border-color:var(--blue); color:#fff; }

.sorttabs { display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:4px; overflow-x:auto; }
.stab { padding:13px 18px; font-size:14.5px; font-weight:600; color:var(--muted); border-bottom:2.5px solid transparent;
  margin-bottom:-1px; white-space:nowrap; }
.stab.on { color:var(--blue); border-bottom-color:var(--blue); }

.stk-wrap { border:1px solid var(--line); border-top:0; border-radius:0 0 var(--r-l) var(--r-l); overflow-x:auto; overflow-y:hidden; background:#fff; }
.stk-wrap::-webkit-scrollbar { height:9px; }
.stk-wrap::-webkit-scrollbar-track { background:var(--blue-50); }
.stk-wrap::-webkit-scrollbar-thumb { background:#B9C6E4; border-radius:999px; }
.stk-wrap::-webkit-scrollbar-thumb:hover { background:#8FA3D4; }
table.stk { width:100%; border-collapse:collapse; font-size:14.5px; }
table.stk th { text-align:right; padding:14px 18px; font-size:11.5px; font-weight:700; letter-spacing:.07em;
  text-transform:uppercase; color:var(--muted-2); background:var(--soft); white-space:nowrap; }
table.stk th:first-child { text-align:left; }
table.stk td { padding:15px 18px; border-top:1px solid var(--line-2); text-align:right;
  font-variant-numeric:tabular-nums; white-space:nowrap; }
table.stk td:first-child { text-align:left; }
table.stk tr:hover td { background:var(--blue-25); cursor:pointer; }
.sname { display:flex; align-items:center; gap:13px; }
.sbadge { width:38px; height:38px; border-radius:11px; background:var(--blue-50); color:var(--blue-700);
  display:grid; place-items:center; font-size:12px; font-weight:700; flex:none; }
.sname b { display:block; font-size:14.5px; font-weight:600; letter-spacing:-.015em; }
.sname span { display:block; font-size:12.5px; color:var(--muted); }
.close-px { font-weight:650; font-size:15px; }
.chg { display:inline-block; padding:5px 11px; border-radius:8px; font-size:13px; font-weight:650; }
.chg.up { background:#E4F4EC; color:var(--green); }
.chg.dn { background:#FDECEC; color:var(--red); }
.muted-td { color:var(--muted); font-size:13.5px; }
.tbl-foot { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding:18px 20px; background:var(--soft); border-top:1px solid var(--line-2); font-size:13.5px; color:var(--muted); }
.no-hits { padding:52px 20px; text-align:center; color:var(--muted); }

/* stock detail */
.sd-head { display:flex; align-items:flex-start; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.sd-id { display:flex; align-items:center; gap:16px; }
.sd-badge { width:60px; height:60px; border-radius:17px; background:var(--blue-50); color:var(--blue-700);
  display:grid; place-items:center; font-size:17px; font-weight:700; }
.sd-id h1 { font-size:30px; margin-bottom:5px; }
.sd-id .meta { font-size:14px; color:var(--muted); }
.sd-id .meta span { margin-right:14px; }
.sd-px { text-align:right; }
.sd-px .p { font-size:38px; font-weight:700; letter-spacing:-.035em; font-variant-numeric:tabular-nums; }
.sd-px .d { margin-top:6px; }
.ohlc { display:grid; grid-template-columns:repeat(6,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:var(--r-l); overflow:hidden; margin-top:30px; }
.ohlc div { background:#fff; padding:18px 20px; }
.ohlc .k { font-size:11.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--muted-2); }
.ohlc .v { font-size:17px; font-weight:650; margin-top:5px; font-variant-numeric:tabular-nums; }
.chartcard { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:26px 28px; }
.chartcard .ch-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:12px; }
.chartcard h3 { font-size:16px; }
.rng { display:flex; gap:6px; }
.rng button { padding:6px 13px; border-radius:8px; font-size:13px; font-weight:600; color:var(--muted); }
.rng button.on { background:var(--blue-50); color:var(--blue-700); }
.bar52 { margin-top:8px; }
.bar52 .track { height:7px; border-radius:99px; background:var(--blue-50); position:relative; margin:12px 0 8px; }
.bar52 .dot { position:absolute; top:50%; transform:translate(-50%,-50%); width:15px; height:15px;
  border-radius:50%; background:var(--blue); border:3px solid #fff; box-shadow:var(--sh-s); }
.bar52 .ends { display:flex; justify-content:space-between; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; }

@media (max-width:900px){
  .ohlc { grid-template-columns:repeat(3,1fr); }
  table.stk th:nth-child(5), table.stk td:nth-child(5),
  table.stk th:nth-child(6), table.stk td:nth-child(6) { display:none; }
  .sd-px { text-align:left; }
}

/* ============================================================
   Tools: calculator, holidays, IPO
   ============================================================ */
.calc-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:26px; align-items:start; }
.card-p { background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); padding:30px; }
.card-p h3 { font-size:17px; margin-bottom:20px; }
.segs { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:24px; }
.seg-b { padding:12px 8px; border:1.5px solid var(--line); border-radius:12px; font-size:13.5px;
  font-weight:600; color:var(--ink-2); background:#fff; transition:.15s; text-align:center; }
.seg-b:hover { border-color:var(--blue-400); }
.seg-b.on { background:var(--blue); border-color:var(--blue); color:#fff; }
.inrow { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.inp { margin-bottom:16px; }
.inp label { display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:7px; }
.inp .wrapi { position:relative; }
.inp .pfx { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:14.5px; color:var(--muted-2); font-weight:600; }
.inp input { width:100%; padding:13px 14px 13px 30px; border:1.5px solid var(--line); border-radius:11px;
  font-family:var(--font); font-size:15.5px; font-weight:600; background:var(--soft); transition:.15s;
  font-variant-numeric:tabular-nums; }
.inp.nopfx input { padding-left:14px; }
.inp input:focus { outline:none; border-color:var(--blue); background:#fff; }

.res-hero { background:var(--navy); border-radius:var(--r-xl); padding:30px; color:#fff; position:relative; overflow:hidden; }
.res-hero::after { content:""; position:absolute; inset:0;
  background:radial-gradient(420px 220px at 92% 0%, rgba(35,84,230,.5), transparent 62%); }
.res-hero > * { position:relative; z-index:1; }
.res-hero .k { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.res-hero .big { font-size:38px; font-weight:700; letter-spacing:-.035em; margin-top:8px; font-variant-numeric:tabular-nums; }
.res-hero .big.pos { color:#5BE0A4; } .res-hero .big.neg { color:#FF8A8F; }
.res-sub { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:24px; padding-top:22px; border-top:1px solid rgba(255,255,255,.14); }
.res-sub .k2 { font-size:12px; color:rgba(255,255,255,.6); }
.res-sub .v2 { font-size:19px; font-weight:650; margin-top:4px; font-variant-numeric:tabular-nums; }

table.brk { width:100%; border-collapse:collapse; font-size:14.5px; }
table.brk td { padding:13px 0; border-bottom:1px solid var(--line-2); font-variant-numeric:tabular-nums; }
table.brk td:last-child { text-align:right; font-weight:600; }
table.brk tr.tot td { border-bottom:0; border-top:2px solid var(--line); padding-top:16px; font-size:16px; font-weight:700; }
table.brk td .sub { display:block; font-size:12px; color:var(--muted-2); font-weight:400; margin-top:2px; }

details.rates { border:1px solid var(--line); border-radius:var(--r-l); background:#fff; margin-top:20px; }
details.rates summary { padding:17px 22px; font-size:14.5px; font-weight:600; cursor:pointer; list-style:none;
  display:flex; align-items:center; justify-content:space-between; }
details.rates summary::-webkit-details-marker { display:none; }
details.rates summary::after { content:"＋"; color:var(--blue); font-size:17px; }
details.rates[open] summary::after { content:"−"; }
.rates-body { padding:6px 22px 22px; border-top:1px solid var(--line-2); }
.rates-body .inrow { grid-template-columns:repeat(3,1fr); }

/* holidays */
table.hol { width:100%; border-collapse:collapse; font-size:15px; }
table.hol th { background:var(--soft); text-align:left; padding:15px 20px; font-size:11.5px; font-weight:700;
  letter-spacing:.07em; text-transform:uppercase; color:var(--muted-2); }
table.hol td { padding:16px 20px; border-top:1px solid var(--line-2); }
table.hol tr.past td { color:var(--muted-2); }
table.hol .dt { font-weight:650; font-variant-numeric:tabular-nums; white-space:nowrap; }
table.hol .tagm { display:inline-block; font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:7px;
  background:var(--blue-50); color:var(--blue-700); margin-right:5px; }
.next-hol { background:linear-gradient(135deg,var(--blue-900),var(--blue)); color:#fff;
  border-radius:var(--r-xl); padding:30px 34px; display:flex; align-items:center; justify-content:space-between;
  gap:24px; flex-wrap:wrap; margin-bottom:28px; }
.next-hol .k { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; opacity:.68; }
.next-hol .n { font-size:26px; font-weight:700; letter-spacing:-.03em; margin-top:6px; }
.next-hol .d { font-size:15px; opacity:.85; margin-top:4px; }

/* ipo */
.ipo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.ipo { background:#fff; border:1px solid var(--line); border-radius:var(--r-xl); padding:26px; transition:.18s; }
.ipo:hover { border-color:var(--blue-200); box-shadow:var(--sh); }
.ipo-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:20px; }
.ipo-name { display:flex; align-items:center; gap:14px; }
.ipo-badge { width:46px; height:46px; border-radius:13px; background:var(--blue-50); color:var(--blue-700);
  display:grid; place-items:center; font-size:14px; font-weight:700; flex:none; }
.ipo-name b { display:block; font-size:16.5px; letter-spacing:-.02em; }
.ipo-name span { font-size:13px; color:var(--muted); }
.st { font-size:11.5px; font-weight:700; padding:6px 12px; border-radius:8px; white-space:nowrap; }
.st.open { background:#E4F4EC; color:var(--green); }
.st.soon { background:var(--blue-50); color:var(--blue-700); }
.st.closed { background:var(--line-2); color:var(--muted); }
.ipo-facts { display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; padding-top:18px; border-top:1px solid var(--line-2); }
.ipo-facts .k { font-size:12px; color:var(--muted-2); font-weight:600; }
.ipo-facts .v { font-size:15px; font-weight:650; margin-top:3px; font-variant-numeric:tabular-nums; }

@media (max-width:980px){
  .calc-grid, .ipo-grid { grid-template-columns:1fr; }
  .segs { grid-template-columns:repeat(2,1fr); }
  .rates-body .inrow { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px){
  .inrow, .res-sub, .ipo-facts { grid-template-columns:1fr; }
  .card-p { padding:22px; }
}

/* ============================================================
   MOBILE PASS
   ============================================================ */

/* prevent iOS zoom on focus — inputs must be >=16px */
@media (max-width:820px){
  .fld input,.fld select,.fld textarea,
  .inp input,.searchbox input{ font-size:16px !important; }
  input,select,textarea{ font-size:16px; }
}

/* comfortable tap targets everywhere */
@media (max-width:820px){
  .btn{ min-height:48px; padding:14px 24px; }
  .btn-sm{ min-height:44px; }
  .chip,.stab,.tab,.seg-b{ min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
  .nav-links a,.mainnav .mi>a,.mainnav .mi>button{ min-height:48px; align-items:center; }
  footer li a{ display:inline-block; padding:5px 0; }
  .fq,.faq-q{ min-height:56px; }
  .mega-link{ min-height:56px; align-items:center; }
}

/* no accidental horizontal scroll */
html,body{ max-width:100%; overflow-x:hidden; }

/* ── sticky bottom action bar ── */
.mbar{ display:none; }
@media (max-width:820px){
  .mbar{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:400; gap:10px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94); backdrop-filter:saturate(180%) blur(16px);
    border-top:1px solid var(--line);
    box-shadow:0 -6px 24px -12px rgba(12,27,66,.28);
  }
  .mbar a{
    flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
    height:50px; border-radius:100px; font-size:15px; font-weight:650; letter-spacing:-.015em;
  }
  .mbar .mb-1{ flex:0 0 52px; border:1.5px solid var(--line); background:#fff; color:var(--blue-700); }
  .mbar .mb-1 svg{ width:20px; height:20px; }
  .mbar .mb-2{ background:linear-gradient(120deg,var(--blue),var(--blue-700)); color:#fff;
    box-shadow:0 6px 18px -8px rgba(35,84,230,.9); }
  body{ padding-bottom:78px; }
  footer.site{ padding-bottom:0; }
}

/* ── mobile layout refinements ── */
@media (max-width:820px){
  .nav{ height:64px; }
  .nav .brand img,.nav .brand svg{ height:26px; }
  .tkr-track{ padding:10px 0; animation-duration:64s; }
  .tkr-i{ font-size:12px; margin-right:26px; gap:8px; }
  .tkr-note{ font-size:11px; margin-right:26px; }
  .tkr-vp::before,.tkr-vp::after{ width:34px; }
  .strip{ font-size:11px; }
  .strip .wrap{ height:auto; padding-top:7px; padding-bottom:7px; gap:2px; justify-content:center; text-align:center; }

  .sec{ padding:52px 0; }
  .sec.tight{ padding:40px 0; }
  .shead{ margin-bottom:30px; }
  .h-lg{ font-size:26px; }
  .h-xl{ font-size:30px; }
  .lead{ font-size:16px; }

  .phero .wrap,.hero .wrap{ padding-top:34px; padding-bottom:40px; }
  .ill-page,.ill-hero{ max-width:290px; margin:0 auto; }
  .hero-badges{ gap:14px 18px; }
  .hb b{ font-size:13.5px; } .hb span{ font-size:11.5px; }

  .band{ padding:30px 22px; }
  .bandgrid .n{ font-size:32px; }
  .cta{ padding:34px 24px; }
  .cta h2{ font-size:24px; }

  .showcase{ gap:30px; }
  .showcase+.showcase{ margin-top:58px; }
  .sc-links{ gap:8px; }

  .tbl-wrap{ border-radius:14px; }
  .mkt-note{ font-size:12.5px; padding:12px 14px; align-items:flex-start; }
  .next-hol{ padding:24px 22px; } .next-hol .n{ font-size:21px; }

  .res-hero{ padding:24px; } .res-hero .big{ font-size:31px; }
  .ohlc{ grid-template-columns:1fr 1fr; }
  .sd-id h1{ font-size:23px; } .sd-px .p{ font-size:30px; }
  .sd-head{ gap:16px; }

  .ipo{ padding:20px; }
  .people,.branches,.creds,.tools,.dl-grid,.lgrid{ grid-template-columns:1fr; }
}

/* ── stocks table becomes cards on phones ── */
@media (max-width:680px){
  table.stk thead{ display:none; }
  table.stk,table.stk tbody,table.stk tr,table.stk td{ display:block; width:100%; }
  table.stk tr{ border-top:1px solid var(--line-2); padding:14px 16px; }
  table.stk tr:first-child{ border-top:0; }
  table.stk td{ border:0; padding:0; text-align:left !important; display:flex;
    align-items:center; justify-content:space-between; gap:12px; }
  table.stk td:first-child{ margin-bottom:12px; }
  table.stk td[data-l]::before{
    content:attr(data-l); font-size:12px; font-weight:600; color:var(--muted-2);
    letter-spacing:.02em; }
  table.stk td:not(:first-child){ padding:6px 0; }
  table.stk td:nth-child(5),table.stk td:nth-child(6),table.stk td:nth-child(7){ display:flex !important; }
  .stk-wrap{ border-radius:0 0 16px 16px; }
  .mkt-bar{ gap:10px; }
  .stamp{ width:100%; justify-content:center; }
  .sorttabs,.chips{ margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px; }
}

/* holiday + segment tables scroll cleanly */
@media (max-width:680px){
  table.hol td,table.hol th{ padding:13px 14px; font-size:14px; }
  table.hol .tagm{ font-size:10.5px; padding:3px 7px; margin-right:3px; }
  .tbl-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* lighten heavy effects on phones for smoother scroll */
@media (max-width:820px){
  .glass,header.site{ backdrop-filter:blur(10px); }
  .sh,.sh-l{ box-shadow:0 8px 24px -14px rgba(12,27,66,.28); }
}

/* ============================================================
   Stock screener — CoinMarketCap-style top toolbar
   ============================================================ */
.presets { display:flex; gap:9px; overflow-x:auto; padding-bottom:6px; margin-bottom:14px; }
.presets .chip { white-space:nowrap; }

.tbar { display:flex; flex-wrap:wrap; align-items:center; gap:9px;
  padding:12px; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-s); }
.tb-search { flex:1 1 250px; min-width:220px; }
.searchbox.sm { position:relative; }
.searchbox.sm svg { position:absolute; left:12px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--muted-2); }
.searchbox.sm input { width:100%; border:1.5px solid var(--line); border-radius:10px;
  padding:10px 12px 10px 36px; font-family:inherit; font-size:14px; color:var(--ink); background:#fff; }
.searchbox.sm input:focus { outline:none; border-color:var(--blue-400); }

.fdrop { position:relative; }
.fpill { display:inline-flex; align-items:center; gap:6px; white-space:nowrap;
  border:1.5px solid var(--line); background:#fff; border-radius:10px; padding:10px 13px;
  font-size:14px; font-weight:600; color:var(--ink-2); transition:.14s; }
.fpill:hover { border-color:var(--blue-400); color:var(--blue-700); }
.fpill i { width:0; height:0; border-left:4.5px solid transparent; border-right:4.5px solid transparent;
  border-top:5px solid var(--muted-2); transition:.16s; }
.fdrop.open .fpill { border-color:var(--blue); color:var(--blue-700); }
.fdrop.open .fpill i { transform:rotate(180deg); }
.fdrop.set .fpill { background:var(--blue-50); border-color:var(--blue-200); color:var(--blue-700); }
.fpill .fv { font-weight:600; color:var(--blue); }

.pop { position:absolute; top:calc(100% + 8px); left:0; z-index:120; min-width:264px;
  background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--sh-l);
  padding:16px; opacity:0; visibility:hidden; transform:translateY(-6px); transition:.16s ease; }
.fdrop.open .pop { opacity:1; visibility:visible; transform:translateY(0); }
.fdrop:last-of-type .pop, .fdrop:nth-last-of-type(2) .pop { left:auto; right:0; }
.pop-h { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px; }
.pop-h b { font-size:14.5px; }
.pop-x { font-size:12.5px; font-weight:600; color:var(--blue); }
.pop-x:hover { text-decoration:underline; }
.pop-quick { display:flex; gap:7px; margin-top:12px; flex-wrap:wrap; }
.pop-quick button { border:1.5px solid var(--line); border-radius:8px; padding:7px 11px;
  font-size:12.5px; font-weight:600; color:var(--ink-2); }
.pop-quick button:hover { border-color:var(--blue-400); color:var(--blue-700); background:var(--blue-25); }

.flab { display:block; font-size:11.5px; font-weight:700; color:var(--muted); letter-spacing:.05em;
  text-transform:uppercase; margin-bottom:8px; }
.pop input[type=number], .pop select { width:100%; border:1.5px solid var(--line); border-radius:10px;
  padding:10px 12px; font-family:inherit; font-size:14px; color:var(--ink); background:#fff; }
.pop input[type=number]:focus, .pop select:focus { outline:none; border-color:var(--blue-400); }
.pop select { appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23697084' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 11px center; background-size:14px; padding-right:32px; }
.frow { display:flex; align-items:center; gap:8px; }
.fdash { font-size:12.5px; color:var(--muted-2); flex:none; }

.fchks { display:flex; flex-direction:column; gap:1px; max-height:240px; overflow-y:auto; }
.fchk { display:flex; align-items:center; gap:9px; padding:7px 6px; border-radius:8px; cursor:pointer; }
.fchk:hover { background:var(--blue-25); }
.fchk input { appearance:none; width:17px; height:17px; border:1.6px solid var(--line); border-radius:5px; flex:none; cursor:pointer; }
.fchk input:checked { border-color:var(--blue);
  background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.fchk span { font-size:14px; color:var(--ink-2); }

.tb-reset { margin-left:auto; display:inline-flex; align-items:center; gap:7px;
  font-size:13.5px; font-weight:600; color:var(--muted); padding:10px 6px; }
.tb-reset.live { color:var(--blue); }
.fcount:not(:empty) { background:var(--blue); color:#fff; border-radius:999px; min-width:19px; height:19px;
  display:inline-grid; place-items:center; font-size:11px; font-weight:700; padding:0 6px; }

.rcount { font-size:14.5px; color:var(--muted); }
.rcount b { color:var(--ink); font-weight:700; }

table.stk.scr { font-size:14px; }
table.stk.scr th { padding:13px 10px; }
table.stk.scr td { padding:13px 10px; }
table.stk.scr .sbadge { width:34px; height:34px; border-radius:10px; font-size:11px; }
table.stk.scr .sname { gap:10px; }
.stk.scr th.sortable { cursor:pointer; user-select:none; white-space:nowrap; }
.stk.scr th.sortable:hover { color:var(--blue-700); }
.stk.scr th.sortable i { display:inline-block; width:0; height:0; margin-left:5px; vertical-align:middle;
  border-left:4px solid transparent; border-right:4px solid transparent; border-bottom:5px solid var(--line); transition:.15s; }
.stk.scr th.sortable.on i { border-bottom-color:var(--blue); }
.stk.scr th.sortable.on.desc i { transform:rotate(180deg); }

.flag { display:inline-block; margin-left:7px; padding:1px 7px; border-radius:6px;
  font-size:10.5px; font-weight:700; letter-spacing:.02em; vertical-align:1px; }
.flag.hi { background:#E4F4EC; color:var(--green); }
.flag.lo { background:var(--blue-50); color:var(--blue-700); }
.rvol { display:inline-block; margin-left:6px; padding:1px 6px; border-radius:6px;
  background:var(--blue-50); color:var(--blue-700); font-size:11.5px; font-weight:700; }

.w52 { display:flex; align-items:center; gap:7px; min-width:132px; }
.w52-lo, .w52-hi { font-size:11.5px; color:var(--muted-2); font-variant-numeric:tabular-nums; }
.w52-bar { position:relative; flex:1; height:5px; border-radius:3px;
  background:linear-gradient(90deg,var(--blue-100),var(--blue-200)); }
.w52-bar i { position:absolute; top:50%; width:9px; height:9px; border-radius:50%; background:var(--blue);
  border:2px solid #fff; transform:translate(-50%,-50%); box-shadow:0 0 0 1px var(--blue-200); }

.nores { display:none; flex-direction:column; align-items:center; gap:8px; text-align:center;
  padding:56px 24px; background:#fff; border:1px dashed var(--line); border-radius:var(--r-l); }
.nores b { font-size:16px; }
.nores span { font-size:14px; color:var(--muted); }
.nores .btn { margin-top:8px; }
.csvbtn { font-size:12.5px; font-weight:650; color:var(--blue); }
.csvbtn:hover { text-decoration:underline; }

@media (max-width:760px){
  .tbar { flex-wrap:nowrap; overflow-x:auto; border-radius:14px; }
  .tb-search { flex:0 0 210px; min-width:210px; }
  .fpill { padding:11px 13px; }
  .tb-reset { margin-left:0; flex:none; }
  .pop { position:fixed; left:14px; right:14px; top:auto; bottom:14px; min-width:0; max-height:70vh;
    overflow-y:auto; transform:translateY(10px); }
  .fdrop.open .pop { transform:translateY(0); }
  body.popopen::after { content:""; position:fixed; inset:0; background:rgba(12,27,66,.32); z-index:110; }
}
@media (max-width:680px){
  .w52 { min-width:0; width:100%; }
}

/* sparkline column */
.spk-td { width:104px; }
.spk { display:block; overflow:visible; }
table.stk.scr th:nth-child(4), table.stk.scr td:nth-child(4) { text-align:right; }
table.stk.scr td.spk-td > svg { margin-left:auto; }
@media (max-width:1239px){
  table.stk.scr th:nth-child(7), table.stk.scr td:nth-child(7) { display:none; }   /* turnover */
}
@media (max-width:1000px){
  table.stk.scr th:nth-child(6), table.stk.scr td:nth-child(6) { display:none; }   /* volume */
}
@media (max-width:860px){
  table.stk.scr th:nth-child(8), table.stk.scr td:nth-child(8) { display:none; }   /* 52-week */
}
@media (max-width:760px){
  table.stk.scr th:nth-child(5), table.stk.scr td:nth-child(5) { display:none; }   /* P/E */
}
@media (max-width:680px){
  table.stk.scr th:nth-child(5), table.stk.scr td:nth-child(5),
  table.stk.scr th:nth-child(6), table.stk.scr td:nth-child(6),
  table.stk.scr th:nth-child(7), table.stk.scr td:nth-child(7),
  table.stk.scr th:nth-child(8), table.stk.scr td:nth-child(8) { display:flex; }
  .spk-td { width:auto; }
  table.stk.scr td.spk-td > svg { width:130px; }
}

/* ============================================================
   Stock search — hero box + header panel
   ============================================================ */
.ssearch { position:relative; }

/* hero */
.herosearch { margin:26px 0 4px; max-width:540px; }
.hs-box { display:flex; align-items:center; gap:12px; background:#fff;
  border:1.5px solid var(--line); border-radius:14px; padding:14px 16px;
  box-shadow:var(--sh-s); transition:.16s; }
.herosearch.open .hs-box, .hs-box:focus-within { border-color:var(--blue-400); box-shadow:var(--sh); }
.hs-box svg { width:20px; height:20px; color:var(--muted-2); flex:none; }
.hs-box input { flex:1; border:0; outline:none; font-family:inherit; font-size:15.5px;
  color:var(--ink); background:none; min-width:0; }
.hs-box input::placeholder { color:var(--muted-2); }
.hs-hint { flex:none; font-size:11px; font-weight:700; letter-spacing:.05em; color:var(--muted-2);
  background:var(--blue-50); border-radius:999px; padding:4px 9px; text-transform:uppercase; }

/* header */
.snav { position:relative; }
.snav-btn { display:grid; place-items:center; width:40px; height:40px; border-radius:11px;
  color:var(--ink-2); transition:.15s; }
.snav-btn:hover { background:var(--blue-25); color:var(--blue-700); }
.snav-btn svg { width:19px; height:19px; }
.snav-p { position:absolute; top:calc(100% + 10px); right:0; width:392px; z-index:320;
  background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-l);
  padding:12px; opacity:0; visibility:hidden; transform:translateY(-6px); transition:.16s ease; }
.snav.show .snav-p { opacity:1; visibility:visible; transform:translateY(0); }
.snav .sres { position:static; margin-top:8px; box-shadow:none; border:0; padding:0; max-height:340px; }
.snav.show.open .sres, .snav .sres { background:none; }

/* results */
.sres { position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:320; display:none;
  background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-l);
  padding:7px; max-height:392px; overflow-y:auto; }
.ssearch.open .sres { display:block; }
.sres-i { display:flex; align-items:center; gap:12px; padding:10px 11px; border-radius:11px; transition:.12s; }
.sres-i:hover, .sres-i.on { background:var(--blue-25); }
.sres-t { flex:1; min-width:0; }
.sres-t b { display:block; font-size:14.5px; font-weight:600; letter-spacing:-.015em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sres-t span { display:block; font-size:12.5px; color:var(--muted); }
.sres-p { text-align:right; flex:none; }
.sres-p b { display:block; font-size:14.5px; font-weight:650; font-variant-numeric:tabular-nums; }
.sres-p span { font-size:12.5px; font-weight:600; font-variant-numeric:tabular-nums; }
.sres-p .up { color:var(--green); }
.sres-p .dn { color:#CF4A50; }
.sres-f { padding:9px 11px 5px; font-size:11.5px; color:var(--muted-2); border-top:1px solid var(--line-2); margin-top:5px; }
.sres-none { padding:16px 12px; font-size:14px; color:var(--muted); }

@media (max-width:980px){
  .snav-p { width:min(92vw,392px); right:-8px; }
}
@media (max-width:820px){
  .herosearch { max-width:none; margin:22px 0 2px; }
  .hs-box { padding:13px 14px; }
  .hs-box input { font-size:16px; }
  .hs-hint { display:none; }
  .snav-btn { width:44px; height:44px; }
}

/* ---------- careers: why-trade feature grid ---------- */
.features { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.feature { display:flex; gap:16px; align-items:flex-start;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:22px 24px; transition:.18s; }
.feature:hover { border-color:var(--blue-200); box-shadow:var(--sh); transform:translateY(-2px); }
.feature .f-ic { width:46px; height:46px; flex:none; border-radius:13px;
  background:var(--blue-50); color:var(--blue); display:grid; place-items:center; }
.feature .f-ic svg { width:22px; height:22px; }
.feature h3 { font-size:16.5px; margin-bottom:6px; letter-spacing:-.02em; }
.feature p { font-size:14px; color:var(--muted); line-height:1.65; }

/* single-stock page: stack the two columns on small screens */
@media (max-width:820px){
  .features { grid-template-columns:1fr; }
  .sd-grid { grid-template-columns:1fr !important; }
}


/* contact: head office + map */
.offgrid { display:grid; grid-template-columns:1fr 1.4fr; gap:20px; align-items:stretch; }
.offgrid .branch.hq { display:flex; flex-direction:column; }
.mapwrap { border:1px solid var(--line); border-radius:var(--r); overflow:hidden; min-height:320px; background:var(--blue-50); }
.mapwrap iframe { width:100%; height:100%; min-height:320px; border:0; display:block; }
@media (max-width:860px){ .offgrid { grid-template-columns:1fr; } .mapwrap { min-height:260px; } }

/* the wordmark must behave as one inline unit: never split across lines,
   never become two flex items with a gap between them */

/* ============ brand wordmark ============
   "Goodflow" is drawn in the logo's red + indigo. These selectors are written
   with enough specificity to survive ambient element rules such as
   `.mega-link span { display:block }`, and the wordmark is locked to a single
   unbreakable inline run so it can never split across lines or become two
   separate flex items. */
/* fallback: colour applies even if the .bw wrapper is missing */
.bm-r { color:#DD1F26; }
.bm-b { color:#323B95; }

span.bw { display:inline; white-space:nowrap; font:inherit; letter-spacing:inherit; }
span.bw .bm-r, span.bw .bm-b { display:inline; font:inherit; letter-spacing:inherit;
  line-height:inherit; white-space:nowrap; }
span.bw .bm-r { color:#DD1F26; }
span.bw .bm-b { color:#323B95; }

/* on dark backgrounds the logo indigo disappears into the navy, so both
   halves are lightened just enough to stay legible */
footer.site span.bw .bm-r, .cta span.bw .bm-r, .band span.bw .bm-r { color:#FF7B80; }
footer.site span.bw .bm-b, .cta span.bw .bm-b, .band span.bw .bm-b { color:#9FB8FF; }

/* ---------- legal pages ---------- */
.legal { max-width:820px; }
.legal .ldate { font-size:13px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; font-weight:600; margin-bottom:26px; }
.legal h2 { font-size:19px; font-weight:650; letter-spacing:-.02em; margin:34px 0 10px; }
.legal h2:first-of-type { margin-top:0; }
.legal p { font-size:15.5px; line-height:1.75; color:var(--muted); margin-bottom:14px; }
.legal a { color:var(--blue); font-weight:550; }
.legal a:hover { text-decoration:underline; }
.dlempty { max-width:560px; margin:30px auto 60px; text-align:center; border:1.5px dashed var(--line); border-radius:var(--r); padding:56px 40px; }
.dlempty svg { width:44px; height:44px; color:var(--blue-400); margin-bottom:18px; }
.dlempty h2 { font-size:21px; letter-spacing:-.02em; margin-bottom:10px; }
.dlempty p { font-size:15px; color:var(--muted); line-height:1.7; }
.dlempty a { color:var(--blue); font-weight:550; }

/* footer compliance caution */
.f-legal .f-caution { margin-bottom:10px; }
.f-legal .f-caution b { color:rgba(255,255,255,.85); }
.f-legal .f-caution a { color:#9FB8FF; }
.f-legal p { margin-bottom:10px; }
.f-legal p:last-child { margin-bottom:0; }

/* downloads categories */
.dlcats { display:grid; gap:34px; }
.dlcat h2 { font-size:19px; letter-spacing:-.02em; margin-bottom:4px; }
.dlcat .sub { font-size:13.5px; color:var(--muted); margin-bottom:14px; }
.dlgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.dl { display:flex; align-items:center; gap:11px; border:1px solid var(--line); border-radius:13px;
  padding:13px 15px; font-size:13.5px; font-weight:550; color:var(--ink); text-decoration:none; transition:.14s; }
.dl svg { width:17px; height:17px; flex:0 0 auto; color:var(--blue); }
.dlgrid .dl > span:first-of-type { flex:1 1 auto; }
a.dl:hover { border-color:var(--blue-200); box-shadow:var(--sh-s); }
.dl.off { color:var(--muted); background:var(--soft, #F7F9FE); cursor:default; }
.dl.off svg { color:#A9AEBD; }
.dl.off .tag2 { margin-left:auto; font-size:10px; font-weight:700; letter-spacing:.06em;
  color:var(--muted); border:1px solid var(--line); border-radius:999px; padding:3px 8px; white-space:nowrap; }
@media (max-width:900px){ .dlgrid { grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .dlgrid { grid-template-columns:1fr; } }

/* bank details */
.bank { max-width:640px; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.bank .row { display:grid; grid-template-columns:200px 1fr; border-bottom:1px solid var(--line); }
.bank .row:last-child { border-bottom:0; }
.bank .k { padding:14px 18px; font-size:13px; font-weight:650; color:var(--muted);
  text-transform:uppercase; letter-spacing:.05em; background:var(--blue-50); }
.bank .v { padding:14px 18px; font-size:15px; font-weight:600; }
@media (max-width:560px){ .bank .row { grid-template-columns:1fr; } .bank .k { padding-bottom:2px; } }
.banknote { max-width:640px; margin-top:18px; font-size:13.5px; color:var(--muted); line-height:1.7; }

/* ipo board sections */
.ipo-sec { margin-bottom:34px; }
.ipo-h { font-size:20px; font-weight:700; letter-spacing:-.025em; margin-bottom:14px;
  padding-bottom:10px; border-bottom:1px solid var(--line); }

/* footer compliance links row */
.f-links { font-size:12px; line-height:2.05; color:rgba(255,255,255,.4); margin-bottom:10px; }
.f-links a { color:rgba(255,255,255,.66); text-decoration:none; }
.f-links a:hover { color:#fff; text-decoration:underline; }
.f-links a.f-pend { color:rgba(255,255,255,.45); }
.f-links span { color:rgba(255,255,255,.22); margin:0 3px; }

/* contact hero: live map card */
.heromap { position:relative; border:1px solid var(--line); border-radius:26px; overflow:hidden;
  box-shadow:0 24px 60px -24px rgba(20,41,122,.28); height:420px; background:var(--blue-50); }
.heromap iframe { width:100%; height:100%; border:0; display:block; }
.heromap-chip { position:absolute; left:16px; bottom:16px; display:flex; align-items:center; gap:10px;
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:10px 16px 10px 12px;
  box-shadow:0 10px 26px -10px rgba(20,41,122,.3); }
.heromap-chip svg { width:20px; height:20px; color:var(--red); flex:0 0 auto; }
.heromap-chip b { display:block; font-size:13.5px; letter-spacing:-.01em; }
.heromap-chip span span { display:block; font-size:12px; color:var(--muted); }
@media (max-width:900px){ .heromap { height:300px; margin-top:8px; } }


/* table chart button */
.chartbtn { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px;
  border-radius:9px; border:1.5px solid var(--line); color:var(--blue); background:#fff; transition:.13s; }
.chartbtn svg { width:16px; height:16px; }
.chartbtn:hover { border-color:var(--blue); background:var(--blue-50); }

/* wide container for data-heavy tables */
.wrap.wide { max-width:1440px; }

/* screener pagination */
.pgbar { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding:14px 4px 0; font-size:13px; color:var(--muted); }
.pgbar .pg-left { display:flex; align-items:center; gap:10px; }
.pgbar select { border:1.5px solid var(--line); border-radius:9px; padding:6px 8px; font-size:13px;
  font-weight:600; color:var(--ink); background:#fff; font-family:inherit; }
.pgbar .pg-info { font-weight:600; color:var(--ink); }
.pgbar .pg-right { display:flex; align-items:center; gap:5px; flex-wrap:wrap; }
.pgbar .pg-n { min-width:34px; height:32px; padding:0 10px; border:1.5px solid var(--line);
  border-radius:9px; background:#fff; font-size:13px; font-weight:600; color:var(--ink);
  cursor:pointer; font-family:inherit; }
.pgbar .pg-n:hover:not(:disabled) { border-color:var(--blue); }
.pgbar .pg-n.on { background:var(--blue); border-color:var(--blue); color:#fff; }
.pgbar .pg-n:disabled { opacity:.45; cursor:default; }
.pgbar .pg-dots { padding:0 3px; }

/* screener: tighter company column */
@media (min-width:820px){
  table.stk.scr th:first-child, table.stk.scr td:first-child { width:25%; max-width:300px; }
  table.stk.scr .sname > span:last-child { min-width:0; }
  table.stk.scr .sname b, table.stk.scr .sname span:not(.sbadge):not(.flag) {
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}

/* per-stock news list */
.newslist { display:grid; gap:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.newsit { display:block; padding:14px 18px; border-bottom:1px solid var(--line-2);
  text-decoration:none; color:var(--ink); transition:.13s; background:#fff; }
.newsit:last-child { border-bottom:0; }
.newsit:hover { background:var(--blue-50); }
.newsit .nm { display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:4px; }
.newsit b { font-size:14.5px; font-weight:600; letter-spacing:-.01em; line-height:1.45; }
.news-empty { padding:26px 18px; font-size:13.5px; color:var(--muted); background:#fff; }

#disclosures { scroll-margin-top:84px; }

/* year-wise grouping in Annual Returns & CSR — horizontal columns */
.yrrow { display:grid; grid-template-columns:repeat(5,1fr); }
.yrgrp { padding:0 18px; border-left:1px solid var(--line-2); min-width:0; }
.yrgrp:first-of-type { border-left:0; padding-left:0; }
.yrgrp:last-of-type { padding-right:0; }
.yrgrp .dlgrid { grid-template-columns:1fr; gap:10px; }
.yr { font-size:12px; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  color:var(--muted); margin:0 0 10px; }
@media (max-width:1000px){
  .yrrow { grid-template-columns:1fr; }
  .yrgrp { border-left:0; padding:14px 0 0; margin-top:14px; border-top:1px solid var(--line-2); }
  .yrgrp:first-of-type { border-top:0; padding-top:0; margin-top:0; }
}
