/*
 * core.css – IPOGaze Layout & Structure
 *
 * RULE: This file contains ZERO colors, ZERO font families, ZERO decorative styles.
 * All visual decisions (colors, fonts, gradients, shadows) live in themes/[name].css
 * This file ONLY contains layout, spacing, component structure, and sizing.
 */

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-size: 14.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── STRIP ───────────────────────────────────────────────────────────── */
.strip {
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  padding: 7px 16px;
  background-size: 300% 100%;
  animation: gradshift 6s ease infinite;
}
@keyframes gradshift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 62px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 44px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}
.logo-name {
  font-size: 22px;
  font-weight: 900;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.lpill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
}
.ldot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* Search in nav */
.nav-search-wrap {
  margin-left: 16px;
}
#search .pagefind-ui__search-input {
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13.5px;
  width: 200px;
}

/* ── HERO (Homepage) ─────────────────────────────────────────────────── */
.hero {
  padding: 60px 24px 52px;
  border-bottom-width: 1.5px;
  border-bottom-style: solid;
  position: relative;
  overflow: hidden;
}
.blob1, .blob2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.blob1 { top: -120px; left: -80px; width: 400px; height: 400px; }
.blob2 { bottom: -100px; right: -60px; width: 350px; height: 350px; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-emoji-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
  border-width: 1.5px;
  border-style: solid;
}
.hero-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 34px;
}
.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hstat {
  border-radius: 16px;
  padding: 14px 20px;
  text-align: center;
  min-width: 90px;
  border-width: 1.5px;
  border-style: solid;
}
.hnum { font-size: 24px; font-weight: 900; line-height: 1; }
.hlabel { font-size: 11px; margin-top: 3px; font-weight: 600; }

/* Float cards in hero */
.float-cards { display: flex; flex-direction: column; gap: 10px; }
.fc {
  border-radius: 20px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border-width: 1.5px;
  border-style: solid;
}
.fc:hover { transform: translateY(-2px); }
.fc-name { font-weight: 700; font-size: 14px; }
.fc-sub { font-size: 11.5px; margin-top: 2px; }
.fc-right { text-align: right; }
.fc-gmp { font-size: 20px; font-weight: 500; line-height: 1; }
.fc-pct { font-size: 12px; font-weight: 700; margin-top: 3px; }

/* ── SECTION ─────────────────────────────────────────────────────────── */
.section { padding: 52px 24px; }
.section-alt {
  border-top-width: 1.5px;
  border-top-style: solid;
  border-bottom-width: 1.5px;
  border-bottom-style: solid;
}
.container { max-width: 1200px; margin: 0 auto; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.sec-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.view-all {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.15s;
}

/* Filter tabs */
.ftabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.ftab {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  border-width: 1.5px;
  border-style: solid;
  cursor: pointer;
  transition: all 0.15s;
}

/* ── AD SLOT ─────────────────────────────────────────────────────────── */
.ad-slot {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border-width: 1px;
  border-style: dashed;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ad-leader { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-rectangle { height: 250px; }

/* ── TABLE ───────────────────────────────────────────────────────────── */
.table-wrap {
  border-radius: 20px;
  overflow-x: auto;
  border-width: 1.5px;
  border-style: solid;
}
table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom-width: 1.5px; border-bottom-style: solid; }
th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
td {
  padding: 13px 16px;
  font-size: 14px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
.empty-row td { text-align: center; padding: 48px 24px; border-bottom: none; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-icon { font-size: 32px; line-height: 1; }
.empty-title { font-size: 15px; font-weight: 700; margin: 0; }
.empty-sub { font-size: 13px; margin: 0; opacity: 0.55; }
.co-cell { display: flex; align-items: center; gap: 12px; }
.co-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.co-name { font-weight: 700; font-size: 14px; }
.co-sub { font-size: 11px; margin-top: 1px; }
.num { font-size: 13px; font-weight: 300; }
.pos { font-weight: 700; }
.neg { font-weight: 700; }
.muted { }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.sub-wrap { display: flex; align-items: center; gap: 8px; }
.sub-bg {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  min-width: 55px;
  overflow: hidden;
}
.sub-fill { height: 100%; border-radius: 3px; }
.sub-n { font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.act-btn {
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  border: none;
  transition: all 0.15s;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── GMP GRID ────────────────────────────────────────────────────────── */
.gmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.gmp-card {
  border-radius: 20px;
  padding: 20px;
  transition: all 0.2s;
  cursor: pointer;
  border-width: 1.5px;
  border-style: solid;
}
.gmp-card:hover { transform: translateY(-3px); }
.gmp-name { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.gmp-price { font-size: 30px; font-weight: 900; line-height: 1; margin-bottom: 4px; letter-spacing: -0.02em; }
.gmp-est { font-size: 11px; margin-bottom: 14px; font-weight: 300; }
.gmp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top-width: 1px;
  border-top-style: solid;
}
.gmp-pct { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }

/* ── UPCOMING LIST ───────────────────────────────────────────────────── */
.up-list { display: flex; flex-direction: column; gap: 10px; }
.up-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 20px;
  padding: 16px 22px;
  transition: all 0.2s;
  border-width: 1.5px;
  border-style: solid;
}
.up-item:hover { transform: translateY(-1px); }
.up-date { width: 52px; text-align: center; flex-shrink: 0; }
.up-day { font-size: 28px; font-weight: 900; line-height: 1; }
.up-mon { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 300; }
.up-vline { width: 1.5px; align-self: stretch; }
.up-info { flex: 1; }
.up-name { font-weight: 700; font-size: 14.5px; }
.up-meta { font-size: 12.5px; margin-top: 2px; }
.up-right { text-align: right; flex-shrink: 0; }
.up-price { font-size: 14px; font-weight: 500; }
.up-size { font-size: 11.5px; margin-top: 2px; }

/* ── LISTED GRID ─────────────────────────────────────────────────────── */
.listed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}
.l-card {
  border-radius: 20px;
  padding: 18px;
  transition: all 0.2s;
  border-width: 1.5px;
  border-style: solid;
}
.l-card:hover { transform: translateY(-2px); }
.l-name { font-weight: 700; font-size: 14px; margin-bottom: 12px; line-height: 1.3; }
.l-row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; }
.l-val { font-weight: 300; }
.gain-tag { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 20px; }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.footer { padding: 52px 24px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
.footer-logo { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.footer-desc { font-size: 13px; line-height: 1.75; max-width: 260px; }
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13.5px; transition: color 0.15s; }
.footer-bottom { padding-top: 24px; }
.disclaimer { font-size: 11.5px; line-height: 1.65; margin-bottom: 8px; }
.footer-copy { font-size: 11.5px; font-weight: 300; }

/* ── BREADCRUMB ──────────────────────────────────────────────────────── */
.breadcrumb { padding: 10px 24px; border-bottom-width: 1px; border-bottom-style: solid; }
.bc-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.bc-link { font-weight: 600; }
.bc-link:hover { text-decoration: underline; }
.bc-cur { font-weight: 600; }

/* ── COMPANY HERO ────────────────────────────────────────────────────── */
.co-hero {
  padding: 36px 24px 0;
  border-bottom-width: 1.5px;
  border-bottom-style: solid;
  position: relative;
  overflow: hidden;
}
.co-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.co-identity { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.co-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  flex-shrink: 0;
}
.co-info { flex: 1; min-width: 0; }
.co-hero .co-name { font-size: 28px; font-weight: 900; line-height: 1.1; margin-bottom: 8px; letter-spacing: -0.02em; }
.co-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.co-desc-short { font-size: 14px; line-height: 1.65; max-width: 640px; }
.co-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; flex-wrap: wrap; }
.btn-primary {
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-width: 1.5px;
  border-style: solid;
}
.btn-watch {
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-width: 1.5px;
  border-style: solid;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Key stats bar */
.key-stats {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  border-top-width: 1.5px;
  border-top-style: solid;
  margin-top: 4px;
}
.ks {
  padding: 18px 28px;
  border-right-width: 1.5px;
  border-right-style: solid;
  text-align: center;
  flex-shrink: 0;
  min-width: 130px;
}
.ks:last-child { border-right: none; }
.ks-val { font-size: 19px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.ks-label { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.ks-sub { font-size: 11px; margin-top: 1px; }

/* ── TABS BAR ────────────────────────────────────────────────────────── */
.tabs-bar {
  padding: 0 24px;
  position: sticky;
  top: 62px;
  z-index: 90;
  border-bottom-width: 1.5px;
  border-bottom-style: solid;
}
.tabs-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 0; overflow-x: auto; }
.tab {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.15s;
  margin-bottom: -1.5px;
}

/* ── PAGE BODY (Company) ─────────────────────────────────────────────── */
.page-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* ── CARD ────────────────────────────────────────────────────────────── */
.card {
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  border-width: 1.5px;
  border-style: solid;
}
.card-head {
  padding: 18px 24px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.card-icon { width: 28px; height: 28px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.card-body { padding: 20px 24px; }

/* GMP Panel */
.gmp-panel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.gmp-stat { border-radius: 16px; padding: 16px 18px; border-width: 1.5px; border-style: solid; }
.gstat-val { font-size: 26px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.gstat-lbl { font-size: 11.5px; font-weight: 600; }
.gstat-sub { font-size: 11px; margin-top: 3px; font-weight: 300; }

/* Chart */
.chart-area { border-radius: 16px; padding: 20px; margin-bottom: 20px; border-width: 1px; border-style: solid; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.chart-title { font-size: 13.5px; font-weight: 700; }
.chart-pills { display: flex; gap: 6px; }
.cpill { font-size: 11.5px; font-weight: 700; padding: 3px 12px; border-radius: 20px; cursor: pointer; border-width: 1px; border-style: solid; transition: all 0.15s; }
.chart-svg-wrap { position: relative; height: 140px; }
.chart-svg-wrap svg { width: 100%; height: 100%; }

/* Subscription */
.sub-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.so-card { border-radius: 14px; padding: 14px 16px; text-align: center; }
.so-val { font-size: 22px; font-weight: 900; line-height: 1; margin-bottom: 3px; }
.so-lbl { font-size: 11.5px; font-weight: 700; }
.so-sub { font-size: 10.5px; margin-top: 2px; font-weight: 300; }
table.sub-table { width: 100%; border-collapse: collapse; }
table.sub-table thead tr { border-bottom-width: 1px; border-bottom-style: solid; }
table.sub-table th { padding: 10px 14px; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: 0.06em; }
table.sub-table td { padding: 11px 14px; font-size: 13.5px; border-bottom-width: 1px; border-bottom-style: solid; }
table.sub-table tbody tr:last-child td { border-bottom: none; }
.sub-bar-bg { flex: 1; height: 7px; border-radius: 4px; overflow: hidden; }
.sub-bar-fill { height: 100%; border-radius: 4px; }

/* Financials */
.fin-chart { display: flex; align-items: flex-end; gap: 12px; height: 140px; margin-bottom: 20px; padding: 0 4px; }
.fin-yr { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.fin-bars { display: flex; gap: 4px; align-items: flex-end; height: 110px; }
.fin-bar { border-radius: 6px 6px 0 0; min-width: 22px; transition: opacity 0.2s; cursor: pointer; }
.fin-bar:hover { opacity: 0.8; }
.fin-yr-label { font-size: 10.5px; font-weight: 300; }
.fin-legend { display: flex; gap: 16px; margin-bottom: 14px; }
.fl-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.fl-dot { width: 10px; height: 10px; border-radius: 3px; }
table.fin-table { width: 100%; border-collapse: collapse; }
table.fin-table th { padding: 10px 14px; font-size: 11px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: 0.06em; border-bottom-width: 1px; border-bottom-style: solid; }
table.fin-table td { padding: 11px 14px; font-size: 13.5px; border-bottom-width: 1px; border-bottom-style: solid; }
table.fin-table tbody tr:last-child td { border-bottom: none; }
table.fin-table .metric { font-weight: 600; }
.up-green { font-size: 11px; font-weight: 700; }
.up-red { font-size: 11px; font-weight: 700; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.about-item { border-radius: 12px; padding: 14px 16px; }
.ai-label { font-size: 11.5px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.ai-val { font-size: 14px; font-weight: 600; }
.about-desc { font-size: 14.5px; line-height: 1.75; margin-bottom: 20px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-card { border-radius: 16px; padding: 18px; border-width: 1.5px; border-style: solid; }
.pc-title { font-size: 14px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.pc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pc-list li { font-size: 13.5px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.pc-list li::before { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }

/* Review */
.review-score { display: flex; align-items: center; gap: 24px; border-radius: 20px; padding: 24px; margin-bottom: 20px; }
.rs-big { text-align: center; }
.rs-num { font-size: 52px; font-weight: 900; line-height: 1; }
.rs-label { font-size: 12px; font-weight: 700; margin-top: 4px; }
.rs-bars { flex: 1; }
.rs-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rs-row:last-child { margin-bottom: 0; }
.rs-name { font-size: 12.5px; font-weight: 600; width: 80px; flex-shrink: 0; }
.rs-bg { flex: 1; height: 8px; border-radius: 4px; overflow: hidden; }
.rs-fill { height: 100%; border-radius: 4px; }
.rs-val { font-size: 12px; width: 28px; text-align: right; flex-shrink: 0; }
.rs-recommend { display: flex; flex-direction: column; align-items: center; text-align: center; flex-shrink: 0; }
.rs-rec-val { font-size: 17px; font-weight: 800; padding: 10px 18px; border-radius: 20px; margin-bottom: 6px; }
.rs-rec-label { font-size: 11.5px; font-weight: 600; }
.analyst-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.analyst-card { border-radius: 16px; padding: 16px; border-width: 1.5px; border-style: solid; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.ac-name { font-weight: 700; font-size: 14px; }
.ac-org { font-size: 12px; margin-top: 2px; }
.ac-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.ac-text { font-size: 13px; line-height: 1.6; }

/* Allotment Timeline */
.allot-timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 28px; }
.allot-timeline::before { content: ''; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; }
.at-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; position: relative; }
.at-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; position: absolute; left: -28px; top: 12px; }
.at-date { font-size: 12px; font-weight: 300; width: 88px; flex-shrink: 0; padding-top: 2px; }
.at-name { font-weight: 700; font-size: 14px; }
.at-sub { font-size: 12.5px; margin-top: 2px; }
.listing-result { border-radius: 20px; padding: 24px; margin-top: 20px; border-width: 1.5px; border-style: solid; }
.lr-title { font-size: 15px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.lr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lr-item { text-align: center; border-radius: 12px; padding: 12px; }
.lr-val { font-size: 20px; font-weight: 900; line-height: 1; margin-bottom: 3px; }
.lr-label { font-size: 11px; font-weight: 600; }

/* ── SIDEBAR ─────────────────────────────────────────────────────────── */
.scard { border-radius: 20px; margin-bottom: 16px; overflow: hidden; border-width: 1.5px; border-style: solid; }
.scard-head { padding: 14px 18px; border-bottom-width: 1px; border-bottom-style: solid; font-size: 14.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.scard-body { padding: 16px 18px; }

/* Apply widget */
.apply-widget { border-radius: 20px; padding: 20px; margin-bottom: 16px; border-width: 1.5px; border-style: solid; }
.aw-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.aw-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom-width: 1px; border-bottom-style: solid; font-size: 13.5px; }
.aw-row:last-of-type { border-bottom: none; margin-bottom: 14px; }
.aw-label { font-weight: 600; }
.aw-val { font-weight: 700; }
.aw-val.mono { font-weight: 300; }
.calc-row { border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.calc-label { font-size: 12px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.lot-selector { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.lot-btn { width: 32px; height: 32px; border-radius: 10px; border: none; font-size: 20px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background 0.15s; }
.lot-count { font-size: 22px; font-weight: 900; width: 36px; text-align: center; }
.lot-info { font-size: 11.5px; margin-top: 2px; font-weight: 300; }
.invest-total { border-radius: 12px; padding: 12px 14px; text-align: center; margin-bottom: 12px; }
.it-label { font-size: 11.5px; font-weight: 700; margin-bottom: 4px; }
.it-val { font-size: 24px; font-weight: 900; }

/* Key dates */
.kd-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom-width: 1px; border-bottom-style: solid; font-size: 13.5px; }
.kd-item:last-child { border-bottom: none; }
.kd-label { font-weight: 600; }
.kd-val { font-weight: 700; font-weight: 400; }

/* Quick stats */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qs-item { border-radius: 12px; padding: 12px; }
.qs-label { font-size: 11.5px; font-weight: 700; margin-bottom: 4px; }
.qs-val { font-size: 14.5px; font-weight: 700; }
.qs-val.mono { font-weight: 300; font-size: 13.5px; }

/* Registrar */
.reg-info { display: flex; flex-direction: column; gap: 8px; }
.ri-item { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0; border-bottom-width: 1px; border-bottom-style: solid; }
.ri-item:last-child { border-bottom: none; }
.ri-label { font-weight: 600; }
.ri-val { font-weight: 600; text-align: right; }

/* ── STATIC PAGES (policies, about, guides) ──────────────────────────── */
.static-page-wrap { padding: 48px 24px 64px; }
.static-page-inner { max-width: 800px; margin: 0 auto; }
.static-page-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.static-page-subtitle {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.static-page-body { line-height: 1.75; }
.static-page-body h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.static-page-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.static-page-body p { margin-bottom: 14px; font-size: 14.5px; }
.static-page-body ul,
.static-page-body ol {
  margin: 0 0 16px 20px;
  font-size: 14.5px;
}
.static-page-body li { margin-bottom: 6px; }
.static-page-body a { text-decoration: underline; text-underline-offset: 2px; }
.static-page-body strong { font-weight: 700; }
.static-page-body .policy-card {
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  border-width: 1.5px;
  border-style: solid;
}
.static-page-body .policy-card h3 { margin-top: 0; }
.static-page-body .info-box {
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14px;
  border-width: 1.5px;
  border-style: solid;
}
.static-page-body .step-list { list-style: none; margin: 0 0 16px 0; }
.static-page-body .step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  font-size: 14.5px;
}
.static-page-body .step-list li:last-child { border-bottom: none; }
.static-page-body .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.static-page-body .dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.static-page-body .dos-card,
.static-page-body .donts-card {
  border-radius: 16px;
  padding: 18px;
  border-width: 1.5px;
  border-style: solid;
}
.static-page-body .dos-card h4,
.static-page-body .donts-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.static-page-body .dos-card ul,
.static-page-body .donts-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13.5px;
}
@media (max-width: 640px) {
  .static-page-wrap { padding: 32px 16px 48px; }
  .static-page-title { font-size: 24px; }
  .static-page-body .dos-donts { grid-template-columns: 1fr; }
}

/* ── IPO LIST PAGE ────────────────────────────────────────────────────── */
.ipo-list-page { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.ipo-list-header { margin-bottom: 32px; }
.ipo-list-title { font-size: 32px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.ipo-list-sub { font-size: 15px; line-height: 1.6; max-width: 500px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-body { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-inner { max-width: 100%; }
}
@media (max-width: 768px) {
  .co-identity { flex-direction: column; }
  .co-actions { width: 100%; justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .analyst-cards { grid-template-columns: 1fr; }
  .lr-grid { grid-template-columns: 1fr 1fr; }
  .gmp-panel { grid-template-columns: 1fr; }
  .sub-overview { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .sidebar { grid-template-columns: 1fr; }
  .section { padding: 36px 16px; }
  .hero { padding: 40px 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .listed-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 8px; }
  .key-stats { flex-wrap: wrap; }
  .ks { min-width: auto; flex: 1 1 120px; }
  .fin-chart { gap: 6px; }
}

/* ── 404 ERROR PAGE ───────────────────────────────────────────────────── */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 48px 24px; text-align: center; }
.error-page-inner { max-width: 480px; width: 100%; }
.error-code { font-size: 96px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
.error-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.error-desc { font-size: 15px; line-height: 1.6; opacity: 0.7; margin-bottom: 32px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-secondary {
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 20px;
  border: 2px solid currentColor;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); }
@media (max-width: 480px) {
  .error-code { font-size: 72px; }
  .error-title { font-size: 22px; }
}
