:root {
  --ink: #152520;
  --ink-soft: #5f6b65;
  --deep-green: #0b3b2e;
  --green: #145945;
  --green-light: #dfeae4;
  --gold: #cbb67a;
  --gold-light: #efe5c9;
  --paper: #f8f7f2;
  --paper-strong: #ffffff;
  --line: #e5e7df;
  --shadow: 0 22px 60px rgba(16, 45, 35, 0.11);
  --shadow-soft: 0 10px 30px rgba(16, 45, 35, 0.07);
}

/* Keep a concise, data-first market snapshot directly under the B search box. */
html[data-page-template="B"] .b-live-market-strip {
  width: 100%;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(86, 214, 210, .2);
  border-radius: 8px;
  background: rgba(19, 36, 58, .62);
}

.b-live-market-strip__heading,
.b-live-market-strip__card-top,
.b-live-market-strip__quote,
.b-live-market-strip__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.b-live-market-strip__heading { margin-bottom: 8px; }
.b-live-market-strip__heading div { display: grid; gap: 1px; }
.b-live-market-strip__heading span { color: var(--ice); font-size: 9px; font-weight: 700; }
.b-live-market-strip__heading strong { color: #f4f8ff; font-size: 11px; }
.b-live-market-strip__heading small { color: #9fb6cd; font-size: 8px; }
.b-live-market-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.b-live-market-strip__card { min-width: 0; padding: 8px 9px; border: 1px solid rgba(170, 198, 225, .12); border-radius: 6px; background: rgba(7, 18, 34, .38); }
.b-live-market-strip__card-top strong { min-width: 0; overflow: hidden; color: #f7f5ef; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.b-live-market-strip__card-top span { flex-shrink: 0; color: var(--gold); font-size: 9px; }
.b-live-market-strip__quote { margin-top: 4px; }
.b-live-market-strip__quote strong { color: var(--gold); font-size: 13px; }
.b-live-market-strip__quote span { font-size: 10px; }
.b-live-market-strip__quote span.is-positive { color: #62d0a2; }
.b-live-market-strip__quote span.is-negative { color: #ff8e8e; }
.b-live-market-strip__meta { justify-content: flex-start; flex-wrap: wrap; margin-top: 5px; color: #91a9bf; font-size: 8px; line-height: 1.5; }
.b-live-market-strip__meta span + span::before { margin-inline-end: 5px; color: rgba(159, 197, 201, .48); content: "·"; }

@media (max-width: 640px) {
  .b-live-market-strip { padding: 10px; }
  .b-live-market-strip__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Shared Saudi market examples for the B and C diagnosis templates. */
.ai-landing-page[data-site-template="B"] .saudi-market-examples,
.ai-landing-page[data-site-template="C"] .saudi-market-examples {
  width: 100%;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(170, 198, 225, .18);
  border-radius: 10px;
  color: var(--cream);
  background: rgba(19, 36, 58, .88);
}

.saudi-market-examples__heading,
.saudi-market-examples__footer,
.saudi-market-example-card__heading,
.saudi-market-example-card__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.saudi-market-examples__eyebrow,
.saudi-market-example-card__eyebrow {
  color: var(--ice);
  font-size: 10px;
  font-weight: 700;
}

.saudi-market-examples h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 19px;
}

.saudi-market-examples__heading p {
  margin: 3px 0 0;
  color: #9fb6cd;
  font-size: 10px;
  line-height: 1.7;
}

.saudi-market-examples__status,
.saudi-market-example-card__status {
  flex-shrink: 0;
  padding: 5px 7px;
  border: 1px solid rgba(86, 214, 210, .25);
  border-radius: 5px;
  color: #a9dedb;
  font-size: 9px;
  white-space: nowrap;
}

.saudi-market-examples__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.saudi-market-example-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(170, 198, 225, .13);
  border-radius: 8px;
  background: rgba(11, 22, 40, .54);
}

.saudi-market-example-card.is-featured {
  border-color: rgba(216, 174, 85, .46);
  background: rgba(24, 40, 61, .82);
}

.saudi-market-example-card h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.saudi-market-example-card h3 small {
  margin-inline-start: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.saudi-market-example-card__heading p {
  margin: 3px 0 0;
  color: #9fb6cd;
  font-size: 9px;
}

.saudi-market-example-card__status {
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saudi-market-example-card__data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.saudi-market-example-card__data > div {
  display: grid;
  min-width: 0;
  min-height: 48px;
  gap: 4px;
  padding: 8px 9px;
  border: 1px solid rgba(170, 198, 225, .1);
  border-radius: 6px;
  background: rgba(7, 18, 34, .34);
}

.saudi-market-example-card__data span,
.saudi-market-example-card__summary span {
  color: #91a9bf;
  font-size: 9px;
}

.saudi-market-example-card__data strong {
  min-width: 0;
  overflow: hidden;
  color: #f7f5ef;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saudi-market-example-card__data > div:first-child strong,
.saudi-market-example-card__data > div:nth-child(6) strong { color: var(--gold); }
.saudi-market-example-card__data > div:nth-child(2) strong.is-positive { color: #62d0a2; }
.saudi-market-example-card__data > div:nth-child(2) strong.is-negative { color: #ff8e8e; }

.saudi-market-example-card__summary {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 9px;
  border-inline-start: 2px solid rgba(216, 174, 85, .55);
  background: rgba(216, 174, 85, .06);
}

.saudi-market-example-card__summary strong {
  color: #e5edf2;
  font-size: 10px;
  line-height: 1.65;
}

.saudi-market-example-card__footer {
  align-items: baseline;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(170, 198, 225, .1);
  color: #8198ae;
  font-size: 8px;
  line-height: 1.7;
}

.saudi-market-example-card__footer p,
.saudi-market-examples__footer p { margin: 0; color: #9fc5c9; }
.saudi-market-examples__footer { align-items: baseline; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(170, 198, 225, .12); color: #8198ae; font-size: 9px; line-height: 1.7; }

@media (max-width: 980px) {
  .saudi-market-examples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .ai-landing-page[data-site-template="B"] .saudi-market-examples,
  .ai-landing-page[data-site-template="C"] .saudi-market-examples { padding: 14px; }
  .saudi-market-examples__heading,
  .saudi-market-examples__footer { display: grid; gap: 7px; }
  .saudi-market-examples__status { justify-self: start; }
  .saudi-market-examples__grid { grid-template-columns: minmax(0, 1fr); }
  .saudi-market-example-card__heading { gap: 8px; }
  .saudi-market-example-card__footer { display: grid; gap: 2px; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-arabic), Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(248, 247, 242, 0.78);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.brand-mark__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--gold);
  background: var(--deep-green);
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.16);
}

.brand-mark__text {
  display: grid;
  color: var(--deep-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.08;
}

.brand-mark__text strong {
  font-size: 18px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline-start: auto;
  margin-inline-end: 68px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: #64706a;
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--deep-green);
}

.site-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.site-nav .button {
  display: none;
}

.site-header__action {
  display: block;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-strong);
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--deep-green);
  box-shadow: 0 10px 18px rgba(11, 59, 46, 0.14);
}

.button--primary:hover {
  background: #14523f;
  box-shadow: 0 14px 24px rgba(11, 59, 46, 0.2);
}

.button--secondary {
  color: var(--deep-green);
  border-color: #ccd6cf;
  background: rgba(255, 255, 255, 0.5);
}

.button--secondary:hover {
  border-color: var(--deep-green);
  background: var(--paper-strong);
}

.button--light {
  color: var(--deep-green);
  background: #fff;
}

.button--text {
  min-height: auto;
  padding: 7px 0;
  color: var(--deep-green);
  border: 0;
  background: transparent;
}

.button--text:hover {
  gap: 12px;
}

.hero {
  position: relative;
  min-height: 750px;
  padding: 156px 0 96px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 57%;
  height: 100%;
  content: "";
  background: radial-gradient(circle at 26% 37%, rgba(213, 230, 220, 0.52), transparent 48%);
  pointer-events: none;
}

.hero__grid,
.value-section__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image: linear-gradient(rgba(11, 59, 46, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 59, 46, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(90deg, black, transparent 72%);
  mask-image: linear-gradient(90deg, black, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(450px, 1.16fr);
  align-items: center;
  gap: clamp(45px, 7vw, 118px);
}

.hero__copy {
  max-width: 510px;
  animation: rise-in 700ms both ease-out;
}

.hero__eyebrow,
.eyebrow,
.cta-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #6c7e74;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero__eyebrow-line {
  width: 38px;
  height: 1px;
  margin-inline-start: 4px;
  background: var(--gold);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ba746;
  box-shadow: 0 0 0 4px rgba(139, 167, 70, 0.12);
}

.hero h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 em {
  color: #789085;
  font-style: normal;
}

.hero__lead {
  margin: 21px 0 8px;
  color: #1c3b30;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.55;
}

.hero__description {
  max-width: 485px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 31px;
}

.hero__tags span {
  padding: 5px 10px;
  border: 1px solid #e0e5dd;
  border-radius: 5px;
  color: #76857d;
  background: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  min-width: 0;
  animation: rise-in 800ms 120ms both ease-out;
}

.dashboard-shell {
  position: relative;
  width: min(100%, 540px);
  padding: 16px 18px 24px;
  isolation: isolate;
}

.dashboard-shell::before {
  position: absolute;
  z-index: -2;
  top: 45px;
  right: 0;
  width: 92%;
  height: 87%;
  border-radius: 32px;
  content: "";
  background: #e3ece5;
  transform: rotate(5deg);
}

.dashboard-shell::after {
  position: absolute;
  z-index: -3;
  right: 12%;
  bottom: 8px;
  width: 70%;
  height: 34px;
  border-radius: 50%;
  content: "";
  background: rgba(19, 68, 52, 0.17);
  filter: blur(17px);
}

.dashboard-glow {
  position: absolute;
  z-index: -2;
  top: -2%;
  right: 2%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(203, 182, 122, 0.19);
  filter: blur(32px);
  pointer-events: none;
}

.dashboard-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  color: #ebf4ed;
  background: linear-gradient(142deg, #164c3c, #092f25 70%);
  box-shadow: 0 26px 54px rgba(7, 40, 30, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.dashboard-window::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
  pointer-events: none;
}

.dashboard-window__topbar,
.dashboard-window__body {
  position: relative;
  z-index: 1;
}

.dashboard-window__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dashboard-window__dots {
  display: flex;
  gap: 5px;
  direction: ltr;
}

.dashboard-window__dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.dashboard-window__date,
.muted-label {
  color: rgba(235, 244, 237, 0.5);
  font-size: 10px;
}

.dashboard-window__body {
  padding: 27px 26px 25px;
}

.dashboard-intro,
.dashboard-main-stat,
.watchlist-heading,
.watchlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-kicker {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 10px;
}

.dashboard-intro h3 {
  margin: 4px 0 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.icon-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-tabs {
  display: flex;
  gap: 21px;
  margin: 25px 0 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.dashboard-tabs button {
  position: relative;
  padding: 0 0 11px;
  border: 0;
  color: rgba(235, 244, 237, 0.45);
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.dashboard-tabs button.is-active {
  color: #fff;
}

.dashboard-tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
}

.dashboard-main-stat {
  margin-bottom: 5px;
}

.dashboard-main-stat .muted-label {
  display: block;
  margin-bottom: -3px;
}

.dashboard-main-stat strong {
  font-size: 24px;
  font-weight: 600;
}

.dashboard-stat-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #b9d86b;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-stat-change.is-negative,
.company-card__change small.is-negative { color: #d8987e; }

.stock-chart {
  position: relative;
  height: 82px;
  color: #a9ce74;
}

.stock-chart--large {
  height: 115px;
}

.stock-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.stock-chart__grid {
  position: absolute;
  inset: 12px 0 14px;
  opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 100% 33.33%;
}

.stock-chart__axis {
  position: absolute;
  bottom: -1px;
  color: rgba(235, 244, 237, 0.42);
  font-size: 9px;
}

.stock-chart__axis--right {
  right: 0;
}

.dashboard-summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 14px 0 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-stat {
  display: grid;
  gap: 2px;
  color: rgba(235, 244, 237, 0.55);
  font-size: 9px;
}

.mini-stat svg {
  margin-bottom: 2px;
  color: var(--gold);
}

.mini-stat strong {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.dashboard-watchlist {
  padding-top: 17px;
}

.watchlist-heading {
  margin-bottom: 10px;
  color: rgba(235, 244, 237, 0.86);
  font-size: 10px;
}

.watchlist-items {
  display: grid;
  gap: 9px;
}

.watchlist-item {
  justify-content: flex-start;
  gap: 8px;
  color: rgba(235, 244, 237, 0.83);
  font-size: 10px;
}

.watchlist-item span:nth-child(2) {
  flex: 1;
}

.watchlist-item b {
  color: #b9d86b;
  font-size: 10px;
  font-weight: 500;
}

.watchlist-item svg {
  color: #b9d86b;
}

.watchlist-item b.is-neutral,
.watchlist-item b.is-neutral + svg {
  color: var(--gold);
}

.watchlist-item b.is-down,
.watchlist-item b.is-down + svg {
  color: #d8987e;
}

.company-dot {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  color: var(--deep-green);
  font-size: 11px;
  font-weight: 700;
}

.company-dot--green { background: #a8cf96; }
.company-dot--gold { background: #dcc98e; }
.company-dot--blue { background: #9bc2bf; }

.dashboard-floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 135px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.dashboard-floating-card--top {
  top: 54px;
  left: -1px;
  animation: float-card 4.5s ease-in-out infinite;
}

.dashboard-floating-card--bottom {
  right: -4px;
  bottom: 39px;
  animation: float-card 4.5s 900ms ease-in-out infinite;
}

.floating-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  color: var(--deep-green);
  background: #e2efc9;
}

.floating-icon--soft { background: #e7eee8; }

.dashboard-floating-card span:last-child {
  display: grid;
  gap: 0;
}

.dashboard-floating-card small {
  color: #77847d;
  font-size: 9px;
  line-height: 1.5;
}

.dashboard-floating-card strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.hero__scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #87938c;
  font-size: 10px;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.proof-strip__inner {
  display: flex;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #87938c;
  font-size: 11px;
}

.proof-strip__inner i {
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 116px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 500px;
  margin: 0;
  color: var(--deep-green);
  font-size: clamp(31px, 4vw, 49px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
  color: #8f9e95;
}

.section-heading__description {
  margin: 5px 0 0;
  color: #86928b;
  font-size: 16px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.market-card {
  position: relative;
  display: flex;
  min-height: 408px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow: 0 4px 0 rgba(11, 59, 46, 0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.market-card:hover {
  border-color: #c8d7cd;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.market-card__visual {
  position: relative;
  min-height: 197px;
  padding: 20px 20px 7px;
  overflow: hidden;
  color: var(--deep-green);
  background: #e6eee8;
}

.market-card--companies .market-card__visual { background: #ebeee5; }
.market-card--analysis .market-card__visual { background: #e7ecec; }

.visual-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #819188;
  font-size: 9px;
}

.visual-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(11, 59, 46, 0.09);
  border-radius: 9px;
  color: var(--deep-green);
  background: rgba(255, 255, 255, 0.62);
}

.market-card__visual .stock-chart {
  height: 116px;
  margin-top: 12px;
  color: #3c8765;
}

.visual-bars {
  display: flex;
  height: 125px;
  align-items: end;
  gap: 12px;
  margin: 7px 19px 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(11, 59, 46, 0.15);
}

.visual-bars i {
  display: block;
  width: 12%;
  min-height: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #8da88e, #367259);
}

.visual-bars i:nth-child(2n) { background: linear-gradient(180deg, #d8c68d, #a99050); }

.visual-rings {
  position: relative;
  height: 126px;
  margin-top: 5px;
}

.visual-ring {
  position: absolute;
  display: grid;
  place-items: center;
  align-content: center;
  border: 7px solid rgba(20, 89, 69, 0.14);
  border-top-color: #4e9075;
  border-right-color: #4e9075;
  border-radius: 50%;
  color: var(--deep-green);
}

.visual-ring--large {
  right: 34%;
  bottom: -15px;
  width: 128px;
  height: 128px;
}

.visual-ring--small {
  right: 3%;
  bottom: 5px;
  width: 82px;
  height: 82px;
  border-width: 5px;
  border-top-color: var(--gold);
  border-right-color: var(--gold);
}

.visual-ring span { font-size: 20px; font-weight: 700; line-height: 1.2; }
.visual-ring small { color: #829087; font-size: 8px; }

.market-card__content {
  position: relative;
  z-index: 1;
  padding: 24px 22px 22px;
}

.market-card__content h3 {
  margin: 0 0 8px;
  color: var(--deep-green);
  font-size: 20px;
  font-weight: 700;
}

.market-card__content p {
  min-height: 79px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.market-card__corner {
  position: absolute;
  right: -9px;
  bottom: -17px;
  color: rgba(11, 59, 46, 0.04);
  transform: rotate(-15deg);
}

.companies-section {
  padding-top: 108px;
  background: #f2f3ed;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.company-card {
  overflow: hidden;
  border: 1px solid #e0e4db;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 15px rgba(16, 45, 35, 0.03);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.company-card:hover {
  border-color: #bdcfc2;
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.company-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 15px 15px;
  border-bottom: 1px solid #ebeee7;
}

.company-logo {
  display: grid;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.company-logo--green { background: #2c7355; }
.company-logo--gold { color: #3e3926; background: #d8c38c; }
.company-logo--blue { background: #4a8d8b; }
.company-logo--coral { background: #b87b65; }

.company-card__name {
  min-width: 0;
  flex: 1;
}

.company-card__name h3 {
  overflow: hidden;
  margin: 0;
  color: var(--deep-green);
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-card__name span {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #8a958e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-card__status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #8b9b8e;
  font-size: 9px;
  white-space: nowrap;
}

.company-card__chart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 18px 15px 10px;
}

.company-card__change {
  display: grid;
  flex-shrink: 0;
  gap: 1px;
}

.company-card__change span,
.company-card__change small {
  color: #89968e;
  font-size: 10px;
  line-height: 1.6;
}

.company-card__change strong {
  color: #43835a;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.company-card__change strong.is-neutral { color: #a08a4d; }

.company-card__change small {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #72947f;
  font-size: 9px;
}

.company-card__chart {
  width: 53%;
  min-width: 95px;
  color: #66a276;
}

.company-card__metrics {
  display: grid;
  gap: 8px;
  padding: 10px 15px 14px;
  border-top: 1px solid #eef0ea;
}

.company-card__metrics span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8c978f;
  font-size: 9px;
}

.company-card__metrics svg { color: #9aaea0; }
.company-card__metrics b { margin-inline-start: auto; color: #496956; font-weight: 600; }

.company-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  border-top: 1px solid #e7ebe4;
  color: var(--deep-green);
  font-size: 11px;
  font-weight: 600;
  transition: background 180ms ease, padding 180ms ease;
}

.company-card__link:hover {
  padding-inline-start: 12px;
  background: #f5f7f2;
}

.section-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 740px;
  margin: 28px 0 0;
  color: #88928b;
  font-size: 11px;
  line-height: 1.8;
}

.section-footnote svg {
  flex-shrink: 0;
  margin-top: 5px;
  color: #829c89;
}

.value-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--deep-green);
}

.value-section__pattern {
  opacity: 0.23;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 30%, black 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 30%, black 70%, transparent);
}

.value-section__inner {
  position: relative;
  z-index: 1;
  padding-top: 116px;
  padding-bottom: 116px;
}

.value-section .section-heading h2 { color: #fff; }
.value-section .section-heading__description,
.value-section .eyebrow { color: rgba(255, 255, 255, 0.5); }
.value-section .eyebrow { color: var(--gold); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 61px;
}

.trust-point {
  position: relative;
  padding: 25px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.trust-point__number {
  position: absolute;
  top: 23px;
  left: 0;
  color: rgba(255, 255, 255, 0.26);
  font-size: 11px;
}

.trust-point__icon {
  display: grid;
  width: 37px;
  height: 37px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(203, 182, 122, 0.42);
  border-radius: 10px;
  color: var(--gold);
}

.trust-point h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.trust-point p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.95;
}

.value-statement {
  display: grid;
  justify-items: center;
  margin-top: 74px;
  padding-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.value-statement span {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(27px, 4vw, 47px);
  font-weight: 400;
  line-height: 1.25;
}

.value-statement strong {
  color: var(--gold);
  font-size: clamp(36px, 5.6vw, 70px);
  font-weight: 700;
  line-height: 1.16;
}

.value-statement p {
  max-width: 440px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
  line-height: 1.9;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: #eff2ec;
}

.cta-section__lines {
  position: absolute;
  top: -90px;
  left: 11%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(20, 89, 69, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(20, 89, 69, 0.04), 0 0 0 86px rgba(20, 89, 69, 0.03), 0 0 0 129px rgba(20, 89, 69, 0.02);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  min-height: 533px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.cta-section__copy {
  max-width: 620px;
}

.cta-kicker { color: #5d866d; }

.cta-section h2 {
  max-width: 630px;
  margin: 0;
  color: var(--deep-green);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.35;
}

.cta-section__copy > p {
  max-width: 530px;
  margin: 16px 0 0;
  color: #6f7c74;
  font-size: 15px;
  line-height: 2;
}

.cta-main-button {
  margin-top: 27px;
  background: #168151;
}

.cta-main-button:hover { background: #126b43; }

.cta-section__copy > small {
  display: block;
  margin-top: 12px;
  color: #9ba49e;
  font-size: 10px;
}

.cta-section__side {
  display: flex;
  justify-content: center;
}

.cta-compass {
  position: relative;
  width: 278px;
  height: 278px;
  border: 1px solid rgba(20, 89, 69, 0.18);
  border-radius: 50%;
}

.cta-compass::before,
.cta-compass::after {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(20, 89, 69, 0.14);
  border-radius: 50%;
  content: "";
}

.cta-compass::after {
  inset: 68px;
  border-color: rgba(203, 182, 122, 0.46);
}

.cta-compass__center {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: var(--deep-green);
  box-shadow: 0 8px 18px rgba(11, 59, 46, 0.19);
  transform: translate(50%, -50%);
}

.compass-label {
  position: absolute;
  z-index: 3;
  display: block;
  width: 106px;
  color: #4b695a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.compass-label--top { top: 20px; right: 50%; transform: translateX(50%); }
.compass-label--right { top: 50%; right: -27px; transform: translateY(-50%); }
.compass-label--bottom { bottom: 20px; right: 50%; transform: translateX(50%); }
.compass-label--left { top: 50%; left: -27px; transform: translateY(-50%); }

.risk-notice {
  border-top: 1px solid #e2e6df;
  border-bottom: 1px solid #e2e6df;
  background: #f8f8f4;
}

.risk-notice__inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.risk-notice__title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.risk-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #9a8247;
  background: var(--gold-light);
}

.risk-notice h2 {
  margin: 0;
  color: var(--deep-green);
  font-size: 17px;
  font-weight: 700;
}

.risk-notice__copy p {
  margin: 0 0 7px;
  color: #7d8881;
  font-size: 11px;
  line-height: 1.9;
}

.risk-notice__copy p:last-child { margin-bottom: 0; }

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: #082d23;
}

.site-footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 70px;
  padding-top: 57px;
  padding-bottom: 51px;
}

.site-footer .brand-mark__text { color: #fff; }
.site-footer .brand-mark__icon { background: #154e3c; }

.site-footer__brand p {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
}

.site-footer__links div {
  display: grid;
  align-content: start;
  gap: 7px;
}

.site-footer__links span {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.site-footer__links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  transition: color 180ms ease;
}

.site-footer__links a:hover { color: #fff; }

.footer-back-top {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  color: var(--gold);
  transition: background 180ms ease;
}

.footer-back-top:hover { background: rgba(255, 255, 255, 0.08); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
}

.mobile-whatsapp { display: none; }

.landing-page {
  display: flex;
  flex-direction: column;
}

.landing-page > .hero { order: 1; }
.landing-page > .companies-section { order: 2; }
.landing-page > .proof-strip { order: 3; }
.landing-page > .market-radar { order: 4; }
.landing-page > .value-section { order: 5; }
.landing-page > .cta-section { order: 6; }
.landing-page > .risk-notice { order: 7; }
.landing-page > .site-footer { order: 8; }

.info-hero {
  position: relative;
  overflow: hidden;
  padding: 154px 0 75px;
  color: #fff;
  background: var(--deep-green);
}

.info-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black 35%, black 75%, transparent);
}

.info-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.info-hero__icon { display: grid; width: 47px; height: 47px; margin-bottom: 22px; place-items: center; border: 1px solid rgba(203, 182, 122, 0.55); border-radius: 12px; color: var(--gold); }
.info-hero .eyebrow { margin-bottom: 10px; color: var(--gold); }
.info-hero h1 { margin: 0; color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.25; }
.info-hero__intro { max-width: 680px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.67); font-size: 17px; line-height: 2; }
.info-hero__updated { display: block; margin-top: 25px; color: rgba(255, 255, 255, 0.43); font-size: 11px; }

.info-content { padding: 80px 0 110px; background: var(--paper); }
.info-content__layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 78px; align-items: start; }
.info-content__aside { position: sticky; top: 110px; padding: 20px 0; border-top: 1px solid #dfe5de; }
.info-content__aside-label { display: block; margin-bottom: 16px; color: var(--deep-green); font-size: 11px; font-weight: 700; }
.info-content__aside nav { display: grid; gap: 5px; }
.info-content__aside a { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: #89958d; font-size: 11px; transition: color 180ms ease; }
.info-content__aside a:hover { color: var(--deep-green); }
.info-content__aside a span { color: var(--gold); font-size: 10px; }
.info-content__aside a svg { margin-inline-start: auto; opacity: 0; transition: opacity 180ms ease; }
.info-content__aside a:hover svg { opacity: 1; }
.info-content__body { max-width: 760px; }
.info-block { padding: 0 0 35px; margin-bottom: 38px; border-bottom: 1px solid #e0e5de; scroll-margin-top: 108px; }
.info-block h2 { display: flex; align-items: baseline; gap: 13px; margin: 0 0 16px; color: var(--deep-green); font-size: 23px; line-height: 1.45; }
.info-block h2 span { color: var(--gold); font-size: 12px; font-weight: 500; }
.info-block p { margin: 0 0 12px; color: #69776f; font-size: 14px; line-height: 2.15; }
.info-block p:last-of-type { margin-bottom: 0; }
.info-block ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.info-block li { display: flex; align-items: flex-start; gap: 9px; color: #536a5c; font-size: 13px; line-height: 1.8; }
.info-block li svg { flex-shrink: 0; margin-top: 4px; color: #6e9b79; }
.info-contact { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 52px; padding: 28px 30px; border-radius: 12px; color: #fff; background: var(--deep-green); }
.info-contact__kicker { display: flex; align-items: center; gap: 7px; color: var(--gold); font-size: 11px; }
.info-contact h2 { margin: 8px 0 2px; font-size: 20px; }
.info-contact p { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 12px; }
.info-contact .button { flex-shrink: 0; color: var(--deep-green); background: #fff; }

@media (max-width: 640px) {
  .info-hero { padding: 111px 0 51px; }
  .info-hero__icon { width: 42px; height: 42px; margin-bottom: 17px; }
  .info-hero h1 { font-size: 36px; }
  .info-hero__intro { font-size: 14px; line-height: 1.95; }
  .info-content { padding: 53px 0 80px; }
  .info-content__layout { display: block; }
  .info-content__aside { position: static; margin-bottom: 45px; padding: 0 0 18px; border-top: 0; border-bottom: 1px solid #dfe5de; }
  .info-content__aside nav { grid-template-columns: repeat(2, 1fr); gap: 3px 14px; }
  .info-content__aside a { font-size: 10px; }
  .info-block h2 { font-size: 20px; }
  .info-block p { font-size: 13px; line-height: 2; }
  .info-contact { display: block; padding: 23px 19px; }
  .info-contact .button { width: 100%; margin-top: 20px; }
}

/* Independent Taiwan market-information template. */
.tw-market-page {
  --tw-bg: #081522;
  --tw-panel: #10263d;
  --tw-panel-soft: #132e48;
  --tw-line: rgba(176, 205, 226, 0.16);
  --tw-text: #f1f5f8;
  --tw-muted: #9db2c4;
  --tw-gold: #d8b56a;
  --tw-cyan: #68d7d0;
  --tw-positive: #6bd5a9;
  --tw-negative: #f09b9b;
  min-height: 100vh;
  color: var(--tw-text);
  background: var(--tw-bg);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.tw-market-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--tw-line);
  background: rgba(8, 21, 34, 0.9);
  backdrop-filter: blur(18px);
}

.tw-market-header__inner,
.tw-market-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.tw-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--tw-text); }
.tw-brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(104, 215, 208, 0.55); border-radius: 50%; color: var(--tw-cyan); font-size: 21px; }
.tw-brand strong { display: block; font-size: 17px; line-height: 1.1; letter-spacing: .02em; }
.tw-brand small { display: block; margin-top: 4px; color: var(--tw-muted); font-size: 8px; letter-spacing: .18em; line-height: 1; }
.tw-market-nav { display: flex; align-items: center; gap: 25px; margin-inline-start: auto; color: var(--tw-muted); font-size: 12px; }
.tw-market-nav a:hover, .tw-text-link:hover, .tw-outline-link:hover { color: var(--tw-cyan); }
.tw-header-link { padding: 9px 13px; border: 1px solid rgba(216, 181, 106, .52); color: var(--tw-gold); font-size: 11px; }
.tw-header-link span, .tw-text-link span, .tw-outline-link span { margin-inline-start: 5px; }

.tw-market-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--tw-line); background: linear-gradient(135deg, #081522 0%, #0d2138 63%, #102c43 100%); }
.tw-grid-lines { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(104, 215, 208, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(104, 215, 208, .18) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 80%); }
.tw-market-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: 70px; min-height: 510px; padding-top: 52px; padding-bottom: 58px; }
.tw-hero-copy { max-width: 520px; }
.tw-eyebrow { display: inline-block; color: var(--tw-cyan); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.tw-hero-copy h1 { margin: 16px 0 18px; color: var(--tw-text); font-size: clamp(40px, 5vw, 64px); line-height: 1.16; letter-spacing: -.04em; }
.tw-hero-copy h1 em { color: var(--tw-gold); font-style: normal; }
.tw-hero-copy > p { max-width: 465px; margin: 0; color: var(--tw-muted); font-size: 15px; line-height: 2; }
.tw-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.tw-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 17px; border: 1px solid transparent; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.tw-button--gold { color: #152536; background: var(--tw-gold); }
.tw-button--gold:hover { background: #ead18e; }
.tw-button--outline { border-color: rgba(104, 215, 208, .42); color: var(--tw-cyan); background: transparent; }
.tw-button--outline:hover { background: rgba(104, 215, 208, .08); }
.tw-text-link { color: var(--tw-text); font-size: 12px; }
.tw-disclaimer { display: block; margin-top: 25px; color: #718aa0; font-size: 10px; }

.tw-index-card { position: relative; padding: 28px 30px 24px; border: 1px solid rgba(104, 215, 208, .26); background: linear-gradient(150deg, rgba(19, 46, 72, .94), rgba(10, 27, 46, .92)); box-shadow: 0 26px 60px rgba(0, 0, 0, .22); }
.tw-index-card::before { position: absolute; top: 0; right: 26px; left: 26px; height: 2px; background: var(--tw-gold); content: ""; }
.tw-index-card__top, .tw-index-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--tw-muted); font-size: 11px; }
.tw-live-status { display: inline-flex; align-items: center; gap: 7px; color: var(--tw-cyan); }
.tw-live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--tw-cyan); box-shadow: 0 0 0 4px rgba(104, 215, 208, .1); }
.tw-index-card__value { display: flex; align-items: baseline; gap: 18px; margin-top: 24px; }
.tw-index-card__value strong { color: var(--tw-text); font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.tw-index-card__value span { color: var(--tw-positive); font-size: 18px; font-weight: 700; }
.tw-index-card__chart { height: 155px; margin-top: 18px; padding: 10px 0 0; border-top: 1px solid var(--tw-line); }
.tw-index-card__chart svg { width: 100%; height: 100%; overflow: visible; }
.tw-index-card__chart path { fill: none; stroke: var(--tw-cyan); stroke-width: 3; }
.tw-index-card__chart .tw-index-card__chart-fill { fill: rgba(104, 215, 208, .08); stroke: none; }
.tw-index-card__meta { padding-top: 16px; border-top: 1px solid var(--tw-line); font-size: 10px; }
.tw-index-card__meta b { color: var(--tw-text); font-weight: 500; }

.tw-market-strip { border-bottom: 1px solid var(--tw-line); background: #0b1d30; }
.tw-snapshot-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.tw-snapshot-grid > div { min-height: 108px; padding: 22px 20px; border-inline-start: 1px solid var(--tw-line); }
.tw-snapshot-grid > div:first-child { border-inline-start: 0; }
.tw-snapshot-grid span, .tw-snapshot-grid small { display: block; color: var(--tw-muted); font-size: 10px; }
.tw-snapshot-grid strong { display: inline-block; margin-top: 8px; color: var(--tw-text); font-size: 20px; line-height: 1.2; }
.tw-snapshot-grid small { display: inline-block; margin-inline-start: 5px; }
.tw-positive { color: var(--tw-positive) !important; }
.tw-negative { color: var(--tw-negative) !important; }

.tw-section { padding: 88px 0; background: var(--tw-bg); }
.tw-section--dark { border-top: 1px solid var(--tw-line); border-bottom: 1px solid var(--tw-line); background: #0b1e32; }
.tw-section--compact { padding: 64px 0; }
.tw-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.tw-section-heading h2 { margin: 8px 0 0; color: var(--tw-text); font-size: 30px; line-height: 1.25; }
.tw-section-heading p { margin: 9px 0 0; color: var(--tw-muted); font-size: 12px; }
.tw-section-heading--light h2 { color: var(--tw-text); }
.tw-outline-link { color: var(--tw-gold); font-size: 12px; white-space: nowrap; }
.tw-hot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tw-stock-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; min-height: 104px; padding: 17px; border: 1px solid var(--tw-line); background: var(--tw-panel); transition: border-color .2s ease, transform .2s ease; }
.tw-stock-card:hover { border-color: rgba(104, 215, 208, .55); transform: translateY(-2px); }
.tw-stock-card__mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(216, 181, 106, .52); border-radius: 50%; color: var(--tw-gold); font-size: 14px; font-weight: 700; }
.tw-stock-card h3 { margin: 0; color: var(--tw-text); font-size: 14px; }
.tw-stock-card p { margin: 3px 0 0; overflow: hidden; color: var(--tw-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.tw-stock-card > strong { align-self: start; color: var(--tw-text); font-size: 15px; white-space: nowrap; }
.tw-stock-card > small { grid-column: 2 / -1; margin-top: -17px; color: var(--tw-muted); font-size: 9px; text-align: end; }
.tw-stock-card--loading { opacity: .78; }
.tw-stock-card__move { display: block; font-size: 11px; }

.tw-research-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr); gap: 20px; }
.tw-sector-panel, .tw-institution-panel { padding: 30px; border: 1px solid var(--tw-line); background: rgba(16, 38, 61, .68); }
.tw-sector-panel .tw-section-heading { margin-bottom: 18px; }
.tw-sector-list { border-top: 1px solid var(--tw-line); }
.tw-sector-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px 100px; align-items: center; gap: 14px; min-height: 50px; border-bottom: 1px solid var(--tw-line); color: var(--tw-muted); font-size: 11px; }
.tw-sector-row > b { color: var(--tw-text); font-weight: 500; }
.tw-sector-row > strong { color: var(--tw-positive); font-weight: 600; text-align: end; }
.tw-sector-row:first-child { min-height: 38px; color: #6f899f; font-size: 9px; }
.tw-sector-row:first-child > b, .tw-sector-row:first-child > strong { color: #6f899f; font-weight: 500; }
.tw-sector-row--loading { color: #7590a5; }
.tw-institution-panel { display: flex; flex-direction: column; justify-content: center; }
.tw-institution-panel h2 { margin: 10px 0 8px; color: var(--tw-text); font-size: 25px; }
.tw-institution-panel > p { margin: 0; color: var(--tw-muted); font-size: 12px; line-height: 1.9; }
.tw-context-list { display: grid; gap: 0; margin: 22px 0; border-top: 1px solid var(--tw-line); }
.tw-context-list div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--tw-line); color: var(--tw-muted); font-size: 11px; }
.tw-context-list b { color: var(--tw-text); font-weight: 500; }
.tw-method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.tw-method-grid h2 { margin: 10px 0 0; color: var(--tw-text); font-size: 28px; }
.tw-method-grid p { margin: 0; color: var(--tw-muted); font-size: 13px; line-height: 2; }
.tw-source-note { display: inline-block; margin-top: 18px; color: var(--tw-cyan); font-size: 10px; }
.tw-market-footer { border-top: 1px solid var(--tw-line); background: #06111e; }
.tw-market-footer__inner { align-items: end; padding-top: 30px; padding-bottom: 30px; }
.tw-market-footer__inner p { margin: 10px 0 0; color: #6e879b; font-size: 10px; }
.tw-market-footer__inner > div:nth-child(2) { display: flex; gap: 18px; color: var(--tw-muted); font-size: 11px; }
.tw-market-footer__inner > small { color: #637b90; font-size: 9px; }
.tw-market-footer__inner a:hover { color: var(--tw-cyan); }

@media (max-width: 820px) {
  .tw-market-nav { display: none; }
  .tw-market-hero__inner { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding-top: 58px; }
  .tw-hero-copy { max-width: none; }
  .tw-hot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-research-grid, .tw-method-grid { grid-template-columns: 1fr; gap: 18px; }
  .tw-method-grid { gap: 28px; }
}

@media (max-width: 560px) {
  .tw-market-header__inner { min-height: 68px; }
  .tw-header-link { padding: 7px 9px; font-size: 10px; }
  .tw-market-hero__inner { width: min(100% - 32px, 1180px); padding-top: 44px; padding-bottom: 42px; }
  .tw-hero-copy h1 { font-size: 40px; }
  .tw-hero-copy > p { font-size: 13px; }
  .tw-hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .tw-text-link { text-align: center; }
  .tw-index-card { padding: 23px 18px 19px; }
  .tw-index-card__value strong { font-size: 43px; }
  .tw-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .tw-snapshot-grid > div { min-height: 90px; padding: 17px 14px; }
  .tw-snapshot-grid > div:nth-child(odd) { border-inline-start: 0; }
  .tw-snapshot-grid > div:nth-child(n + 3) { border-top: 1px solid var(--tw-line); }
  .tw-section { padding: 58px 0; }
  .tw-section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .tw-section-heading h2 { font-size: 27px; }
  .tw-hot-grid { grid-template-columns: 1fr; }
  .tw-sector-panel, .tw-institution-panel { padding: 21px 17px; }
  .tw-sector-row { grid-template-columns: minmax(0, 1fr) 86px 72px; gap: 8px; }
  .tw-market-footer__inner { align-items: start; flex-direction: column; gap: 18px; }
  .tw-market-footer__inner > div:nth-child(2) { flex-wrap: wrap; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 980px) {
  .container { width: min(100% - 36px, 720px); }

  .site-header__action { display: none; }
  .site-nav { margin-inline-end: 0; }
  .site-nav .button { display: inline-flex; margin-top: 10px; }

  .hero { min-height: auto; padding-top: 126px; }
  .hero__inner { grid-template-columns: 1fr; gap: 58px; }
  .hero__copy { max-width: 620px; margin-inline: auto; text-align: center; }
  .hero__eyebrow, .hero__actions, .hero__tags { justify-content: center; }
  .hero__description { margin-inline: auto; }
  .hero__visual { order: 2; }
  .dashboard-shell { width: min(100%, 560px); }
  .hero__scroll-cue { display: none; }

  .market-grid { grid-template-columns: 1fr; }
  .market-card { min-height: auto; }
  .market-card__visual { min-height: 190px; }
  .market-card__content p { min-height: auto; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 8px; }
  .trust-point p { max-width: none; }
  .cta-section__inner { grid-template-columns: 1fr; }
  .cta-section__side { order: -1; justify-content: flex-end; padding-inline-end: 50px; }
  .risk-notice__inner { grid-template-columns: 1fr; gap: 16px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 500px); }

  .site-header { height: 70px; }
  .site-header__inner { width: calc(100% - 32px); }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: 69px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid #e0e5de;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav > a:not(.button) { padding: 10px 8px; color: var(--ink); }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { width: 100%; }

  .hero { padding: 109px 0 66px; }
  .hero::before { width: 100%; height: 48%; }
  .hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .hero__lead { font-size: 18px; }
  .hero__description { font-size: 14px; line-height: 1.9; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__tags { gap: 6px; margin-top: 22px; }

  .dashboard-shell { padding: 9px 4px 22px; }
  .dashboard-window { border-radius: 17px; }
  .dashboard-window__body { padding: 21px 18px 19px; }
  .dashboard-floating-card { min-width: 118px; padding: 8px 9px; }
  .dashboard-floating-card--top { top: 33px; left: -5px; }
  .dashboard-floating-card--bottom { right: -5px; bottom: 24px; }
  .dashboard-floating-card small { font-size: 8px; }
  .dashboard-floating-card strong { font-size: 11px; }
  .dashboard-summary-row { gap: 4px; }
  .mini-stat { font-size: 8px; }
  .mini-stat strong { font-size: 10px; }

  .proof-strip__inner { justify-content: center; min-height: 53px; text-align: center; }
  .proof-strip__inner span { font-size: 9px; }
  .proof-strip__inner span:nth-of-type(2), .proof-strip__inner i:nth-of-type(2) { display: none; }

  .section { padding: 76px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading__description { font-size: 14px; }
  .market-card__content { padding: 22px 19px 20px; }
  .market-card__content h3 { font-size: 19px; }

  .companies-section { padding-top: 0; }
  .company-grid { display: flex; flex-direction: column; gap: 10px; }
  .company-card__status { display: inline-flex; }
  .company-card__chart-row { padding-top: 14px; }
  .company-card__metrics { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .company-card__metrics span { display: grid; gap: 2px; font-size: 8px; line-height: 1.45; }
  .company-card__metrics b { margin-inline-start: 0; font-size: 9px; }
  .section-footnote { font-size: 10px; }

  .value-section__inner { padding-top: 76px; padding-bottom: 76px; }
  .trust-grid { margin-top: 36px; }
  .trust-point { padding: 21px 18px 23px; }
  .trust-point h3 { font-size: 17px; }
  .trust-point p { font-size: 12px; }
  .value-statement { margin-top: 44px; padding-top: 49px; }
  .value-statement span { font-size: 28px; }
  .value-statement strong { font-size: 44px; }
  .value-statement p { margin-top: 17px; font-size: 12px; }

  .cta-section__inner { min-height: auto; gap: 32px; padding-top: 69px; padding-bottom: 74px; }
  .cta-section__side { order: -1; justify-content: center; padding: 0; }
  .cta-compass { width: 224px; height: 224px; }
  .cta-compass::before { inset: 23px; }
  .cta-compass::after { inset: 55px; }
  .cta-compass__center { width: 49px; height: 49px; }
  .compass-label { width: 92px; font-size: 9px; }
  .compass-label--top { top: 12px; }
  .compass-label--bottom { bottom: 12px; }
  .compass-label--right { right: -35px; }
  .compass-label--left { left: -35px; }
  .cta-section h2 { font-size: 31px; }
  .cta-section__copy > p { font-size: 13px; }
  .cta-main-button { width: 100%; }

  .risk-notice__inner { padding-top: 27px; padding-bottom: 27px; }
  .risk-notice__copy p { font-size: 10px; }

  .site-footer__top { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 37px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__links { gap: 24px; }
  .site-footer__bottom { display: grid; gap: 6px; padding-bottom: 80px; }
  .site-footer__bottom span { font-size: 8px; }
  .footer-back-top { position: absolute; left: 18px; margin-top: -37px; }
  .mobile-whatsapp { position: fixed; z-index: 30; right: 12px; bottom: 12px; left: 12px; display: block; }
  .mobile-whatsapp .button { width: 100%; min-height: 50px; border-radius: 10px; background: #168151; box-shadow: 0 10px 25px rgba(8, 45, 35, 0.27); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* AI stock diagnostic landing page */
.ai-landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
}

.ai-hero {
  position: relative;
  min-height: 790px;
  padding: 151px 0 90px;
  overflow: hidden;
  color: #f4f8f1;
  background: var(--deep-green);
}

.ai-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  content: "";
  opacity: 0.5;
  background: radial-gradient(circle at 70% 28%, rgba(203, 182, 122, 0.2), transparent 36%);
  pointer-events: none;
}

.ai-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(110deg, transparent 5%, black 78%);
  mask-image: linear-gradient(110deg, transparent 5%, black 78%);
  pointer-events: none;
}

.ai-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(42px, 7vw, 106px);
}

.ai-hero__copy {
  max-width: 610px;
}

.ai-eyebrow,
.report-section__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
  color: #d8c48f;
  font-size: 12px;
  font-weight: 600;
}

.ai-eyebrow__line {
  width: 40px;
  height: 1px;
  margin-inline-start: 5px;
  background: var(--gold);
}

.ai-pulse {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(216, 196, 143, 0.38);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(216, 196, 143, 0.1);
}

.ai-hero h1 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(45px, 5.8vw, 78px);
  font-weight: 700;
  line-height: 1.1;
}

.ai-hero h1 em {
  color: #bcd3bf;
  font-style: normal;
}

.ai-hero__lead {
  max-width: 480px;
  margin: 24px 0 8px;
  color: #f1f5ec;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.55;
}

.ai-hero__description {
  max-width: 540px;
  margin: 0;
  color: rgba(241, 245, 236, 0.67);
  font-size: 15px;
  line-height: 2;
}

.stock-search-form {
  max-width: 600px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(4, 32, 24, 0.58);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
}

.stock-search-form label {
  display: block;
  margin: 0 0 8px;
  color: #e7eee4;
  font-size: 12px;
  font-weight: 600;
}

.stock-search-form__row {
  display: flex;
  gap: 9px;
}

.stock-search-form__input {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #b9d86b;
  background: rgba(255, 255, 255, 0.08);
}

.stock-search-form__input input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 14px;
}

.stock-search-form__input input::placeholder {
  color: rgba(241, 245, 236, 0.42);
}

.stock-search-form .button {
  flex-shrink: 0;
  min-width: 126px;
  color: var(--deep-green);
  background: var(--gold);
  box-shadow: none;
}

.stock-search-form .button:hover {
  background: #e2cf9d;
}

.stock-search-form__note,
.stock-search-form__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  color: rgba(241, 245, 236, 0.54);
  font-size: 10px;
  line-height: 1.7;
}

.stock-search-form__error {
  color: #f2c4ad;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: rgba(241, 245, 236, 0.48);
  font-size: 11px;
}

.quick-searches button {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: #d8e5d4;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  cursor: pointer;
}

.quick-searches button:hover {
  border-color: rgba(216, 196, 143, 0.65);
  color: #fff;
}

.ai-hero__visual {
  display: flex;
  justify-content: center;
}

.diagnostic-preview {
  width: min(100%, 520px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: #f8f8f2;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.diagnostic-preview__top,
.diagnostic-preview__company,
.diagnostic-preview__score,
.diagnostic-preview__foot,
.diagnostic-preview__status,
.preview-metrics > div {
  display: flex;
  align-items: center;
}

.diagnostic-preview__top,
.diagnostic-preview__company,
.diagnostic-preview__score {
  justify-content: space-between;
}

.ai-badge,
.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.demo-label {
  padding: 4px 8px;
  border-radius: 4px;
  color: #806c36;
  background: var(--gold-light);
}

.demo-label--large {
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 5px;
  font-size: 10px;
}

.diagnostic-preview__company {
  gap: 12px;
  justify-content: flex-start;
  margin-top: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.stock-mark {
  display: grid;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 12px;
  font-size: 23px;
  font-weight: 700;
}

.stock-mark--green { color: #fff; background: #1f7253; }
.stock-mark--gold { color: #4c3b14; background: #dfc77f; }
.stock-mark--blue { color: #fff; background: #3f7182; }
.stock-mark--coral { color: #fff; background: #b56e61; }

.diagnostic-preview__company > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.diagnostic-preview__company > div:nth-child(2) > span,
.popular-stock__top > div:nth-child(2) > span {
  color: var(--ink-soft);
  font-size: 10px;
}

.diagnostic-preview__company h2 {
  margin: 2px 0 0;
  color: var(--deep-green);
  font-size: 20px;
  line-height: 1.4;
}

.diagnostic-preview__status {
  gap: 5px;
  color: #5f765f;
  font-size: 10px;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ba746;
}

.diagnostic-preview__score {
  justify-content: flex-start;
  gap: 19px;
  padding: 20px 0 13px;
}

.diagnostic-preview__score > div:last-child {
  min-width: 0;
}

.diagnostic-preview__score strong,
.diagnosis-summary h3 {
  display: block;
  margin-top: 4px;
  color: var(--deep-green);
  font-size: 24px;
  font-weight: 700;
}

.diagnostic-preview__score p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.score-ring--compact {
  width: 104px;
  height: 104px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 9;
}

.score-ring__track { stroke: #e8ece4; }
.score-ring__value { stroke: #7d9f4b; stroke-linecap: round; }

.score-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.score-ring__label strong {
  color: var(--deep-green);
  font-size: 34px;
  line-height: 1;
}

.score-ring__label span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
}

.score-ring--compact .score-ring__label strong { font-size: 25px; }

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.preview-metrics > div {
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  color: #76914d;
}

.preview-metrics > div > span {
  display: grid;
  gap: 2px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.35;
}

.preview-metrics strong {
  color: var(--deep-green);
  font-size: 11px;
}

.diagnostic-preview__foot {
  justify-content: space-between;
  gap: 7px;
  padding-top: 14px;
  color: #688065;
  font-size: 10px;
}

.diagnostic-preview__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ai-hero__bottom {
  position: absolute;
  right: 50%;
  bottom: 25px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(241, 245, 236, 0.45);
  font-size: 10px;
  transform: translateX(50%);
}

.workflow-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.workflow-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 8vw, 95px);
  min-height: 105px;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 11px;
}

.workflow-step__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d7e1d6;
  border-radius: 9px;
  color: var(--green);
  background: #f1f6f0;
}

.workflow-step div { display: grid; gap: 2px; }
.workflow-step small { color: #8a998e; font-size: 9px; }
.workflow-step strong { color: var(--deep-green); font-size: 13px; }
.workflow-arrow { color: var(--gold); }

.diagnosis-section {
  padding-bottom: 105px;
}

.diagnosis-section__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.diagnosis-section__heading .eyebrow,
.popular-stocks .eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.diagnosis-dimensions,
.diagnosis-summary,
.popular-stock {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.diagnosis-dimensions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 34px;
  padding: 29px 31px;
}

.diagnosis-dimension:last-child { grid-column: span 2; }

.diagnosis-dimension__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.diagnosis-dimension__top strong {
  color: var(--green);
  font-size: 20px;
}

.diagnosis-dimension__top strong small {
  color: #8b9890;
  font-size: 9px;
  font-weight: 400;
}

.diagnosis-progress,
.popular-stock__bar {
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 4px;
  background: #e9eee8;
}

.diagnosis-progress span,
.popular-stock__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #719849;
}

.diagnosis-dimension__note {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 10px;
}

.diagnosis-summary {
  padding: 25px;
  background: var(--deep-green);
}

.diagnosis-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.diagnosis-summary .muted-label { color: rgba(235, 244, 237, 0.55); }
.diagnosis-summary h3 { margin-bottom: 0; color: #fff; font-size: 24px; }
.diagnosis-summary__top p { margin: 3px 0 0; color: #cbdcac; font-size: 11px; }
.diagnosis-summary .score-ring__track { stroke: rgba(255, 255, 255, 0.14); }
.diagnosis-summary .score-ring__value { stroke: var(--gold); }
.diagnosis-summary .score-ring__label strong { color: #fff; }
.diagnosis-summary .score-ring__label span { color: rgba(255, 255, 255, 0.58); }

.diagnosis-summary__text {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(241, 245, 236, 0.72);
  font-size: 12px;
  line-height: 1.9;
}

.diagnosis-summary__list {
  display: grid;
  gap: 7px;
  margin: 17px 0 21px;
  color: #dce9d8;
  font-size: 11px;
}

.diagnosis-summary__list span { display: flex; align-items: center; gap: 6px; }
.diagnosis-summary__list svg { color: #b9d86b; }
.diagnosis-summary .button { width: 100%; color: var(--deep-green); background: var(--gold); box-shadow: none; }

.popular-stocks {
  padding-top: 105px;
  background: #eff3ed;
}

.popular-stocks__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.popular-stock {
  padding: 20px;
}

.popular-stock__top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.popular-stock__top > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.popular-stock__top h3 {
  margin: 0 0 1px;
  color: var(--deep-green);
  font-size: 17px;
}

.popular-stock__score {
  color: var(--green);
  font-size: 23px;
  font-weight: 700;
}

.popular-stock__score small { color: #8a998e; font-size: 9px; font-weight: 400; }
.popular-stock__bar { height: 5px; margin-top: 18px; }
.popular-stock__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; color: var(--ink-soft); font-size: 10px; }
.popular-stock__bottom button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; color: var(--green); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.popular-stock__bottom button:hover { color: #0d3e2f; }

.report-section {
  color: #eef5ed;
  background: #123f31;
}

.report-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
  align-items: center;
  gap: 70px;
  min-height: 470px;
}

.report-section__copy { max-width: 580px; }
.report-section__kicker { color: #d8c48f; }
.report-section h2 { margin: 0; color: #fff; font-size: clamp(32px, 4vw, 52px); line-height: 1.2; }
.report-section__copy > p { max-width: 540px; margin: 18px 0 25px; color: rgba(241, 245, 236, 0.68); font-size: 15px; line-height: 2; }
.report-section__copy .button { color: var(--deep-green); background: var(--gold); box-shadow: none; }
.report-section__copy > small { display: block; margin-top: 10px; color: rgba(241, 245, 236, 0.44); font-size: 10px; }

.report-section__visual { position: relative; display: flex; justify-content: center; min-height: 310px; align-items: center; }
.report-sheet { display: grid; width: 230px; min-height: 280px; padding: 26px 23px; align-content: start; gap: 10px; border: 1px solid #dfe9dc; border-radius: 7px; color: var(--deep-green); background: #f8f8f2; box-shadow: 17px 20px 0 rgba(203, 182, 122, 0.22), 0 24px 40px rgba(0, 0, 0, 0.2); transform: rotate(-5deg); }
.report-sheet > span { color: var(--ink-soft); font-size: 11px; }
.report-sheet > strong { font-size: 21px; }
.report-sheet > i { display: block; width: 100%; height: 7px; border-radius: 2px; background: #dfe9dd; }
.report-sheet > i:nth-of-type(2) { width: 74%; background: #bbd18d; }
.report-sheet > i:nth-of-type(3) { width: 88%; }
.report-sheet > div { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; }
.report-sheet > div b { color: var(--green); }
.report-stamp { position: absolute; right: calc(50% - 135px); bottom: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; color: #d8e5d4; background: #1d5945; font-size: 10px; transform: rotate(3deg); }

@media (max-width: 960px) {
  .ai-hero { min-height: auto; padding: 128px 0 84px; }
  .ai-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .ai-hero__copy { max-width: 700px; }
  .ai-hero__visual { justify-content: flex-start; }
  .ai-hero__bottom { display: none; }
  .diagnosis-layout { grid-template-columns: 1fr; }
  .diagnosis-summary { max-width: 700px; }
  .report-section__inner { gap: 35px; }
}

@media (max-width: 640px) {
  .ai-hero { padding: 105px 0 54px; }
  .ai-hero__inner { gap: 34px; }
  .ai-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  .ai-hero__lead { font-size: 18px; }
  .ai-hero__description { font-size: 14px; line-height: 1.9; }
  .stock-search-form { margin-top: 23px; padding: 12px; }
  .stock-search-form__row { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .stock-search-form .button { width: 100%; }
  .quick-searches { line-height: 1.8; }
  .diagnostic-preview { padding: 16px; border-radius: 14px; }
  .diagnostic-preview__company { margin-top: 22px; }
  .diagnostic-preview__company h2 { font-size: 17px; }
  .diagnostic-preview__status { display: none; }
  .diagnostic-preview__score { gap: 12px; }
  .score-ring { width: 112px; height: 112px; }
  .score-ring__label strong { font-size: 28px; }
  .preview-metrics { gap: 4px; }
  .preview-metrics > div { gap: 3px; }
  .preview-metrics > div > span { font-size: 8px; }
  .diagnostic-preview__foot { font-size: 9px; }
  .workflow-strip__inner { justify-content: space-between; gap: 5px; min-height: 91px; }
  .workflow-step { gap: 5px; }
  .workflow-step__icon { width: 32px; height: 32px; }
  .workflow-step strong { font-size: 10px; }
  .workflow-step small { font-size: 8px; }
  .workflow-arrow { display: none; }
  .section-heading { display: block; }
  .diagnosis-section__heading { display: block; }
  .diagnosis-section__heading .demo-label--large,
  .popular-stocks .demo-label--large { display: inline-flex; margin-top: 8px; }
  .diagnosis-section { padding-bottom: 76px; }
  .diagnosis-dimensions { grid-template-columns: 1fr; gap: 21px; padding: 22px 18px; }
  .diagnosis-dimension:last-child { grid-column: auto; }
  .diagnosis-summary { padding: 20px 18px; }
  .diagnosis-summary h3 { font-size: 21px; }
  .diagnosis-summary__top .score-ring { width: 92px; height: 92px; }
  .popular-stocks { padding-top: 76px; }
  .popular-stocks__grid { grid-template-columns: 1fr; gap: 9px; }
  .popular-stock { padding: 17px; }
  .popular-stock__top h3 { font-size: 15px; }
  .popular-stock__bottom { display: grid; gap: 7px; }
  .popular-stock__bottom button { justify-content: flex-start; }
  .report-section__inner { grid-template-columns: 1fr; gap: 20px; min-height: auto; padding-top: 72px; padding-bottom: 66px; }
  .report-section h2 { font-size: 32px; }
  .report-section__copy > p { font-size: 13px; }
  .report-section__copy .button { width: 100%; }
  .report-section__visual { min-height: 285px; }
  .report-stamp { right: calc(50% - 127px); bottom: 35px; }
}

/* Blue AI scan treatment */
.ai-hero {
  min-height: 820px;
  color: #eef8ff;
  background: #071d4d;
}

.ai-hero::before {
  width: 100%;
  opacity: 1;
  background: none;
}

.ai-hero__grid {
  opacity: 0.25;
  background-image: linear-gradient(rgba(92, 187, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 187, 255, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 28%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 28%, black 100%);
}

.ai-eyebrow,
.report-section__kicker {
  color: #76dcff;
}

.ai-eyebrow__line { background: #f4d36e; }
.ai-pulse { border-color: rgba(118, 220, 255, 0.46); color: #76dcff; background: rgba(118, 220, 255, 0.1); }
.ai-hero h1 { color: #fff; }
.ai-hero h1 em { color: #73dcff; }
.ai-hero__lead { color: #eff9ff; }
.ai-hero__description { color: rgba(230, 245, 255, 0.7); }

.stock-search-form {
  border-color: rgba(94, 191, 255, 0.28);
  background: rgba(3, 19, 57, 0.72);
  box-shadow: 0 22px 56px rgba(0, 7, 28, 0.32);
}

.stock-search-form label { color: #e9f7ff; }
.stock-search-form__input { border-color: rgba(108, 203, 255, 0.34); color: #77e3ff; background: rgba(27, 89, 157, 0.23); }
.stock-search-form__input input { color: #fff; }
.stock-search-form__input input::placeholder { color: rgba(222, 242, 255, 0.45); }
.stock-search-form .button { color: #102552; background: #f4d36e; }
.stock-search-form .button:hover { background: #ffe48e; }
.stock-search-form__note { color: rgba(224, 243, 255, 0.58); }
.stock-search-form__error { color: #ffd0bf; }
.quick-searches { color: rgba(224, 243, 255, 0.56); }
.quick-searches button { border-color: rgba(112, 202, 255, 0.3); color: #d5f2ff; background: rgba(57, 151, 215, 0.12); }
.quick-searches button:hover { border-color: #f4d36e; color: #fff; }
.quick-searches button:disabled { opacity: 0.48; cursor: not-allowed; }

.diagnostic-preview {
  border-color: rgba(111, 212, 255, 0.55);
  background: #0b3475;
  color: #ecf8ff;
  box-shadow: 0 30px 76px rgba(0, 6, 31, 0.42), inset 0 0 0 1px rgba(112, 215, 255, 0.08);
}

.ai-badge { color: #83e4ff; }
.demo-label { color: #5b4d1a; background: #f5d879; }
.diagnostic-preview__company { border-color: rgba(151, 222, 255, 0.2); }
.diagnostic-preview__company > div:nth-child(2) > span { color: #a7d5ea; }
.diagnostic-preview__company h2 { color: #fff; }
.diagnostic-preview__status { color: #9fe5bd; }
.status-dot { background: #59e6b0; box-shadow: 0 0 0 4px rgba(89, 230, 176, 0.12); }
.diagnostic-preview__score { border-color: rgba(151, 222, 255, 0.2); }
.diagnostic-preview__score strong { color: #fff; }
.diagnostic-preview__score p { color: #a7d5ea; }
.muted-label { color: #a7d5ea; }
.score-ring__track { stroke: rgba(194, 232, 255, 0.18); }
.score-ring__value { stroke: #68e4ff; }
.score-ring__label strong { color: #fff; }
.score-ring__label span { color: #a7d5ea; }
.preview-metrics { border-color: rgba(151, 222, 255, 0.2); }
.preview-metrics > div { color: #75e3ff; }
.preview-metrics > div > span { color: #a7d5ea; }
.preview-metrics strong { color: #fff; }
.diagnostic-preview__foot { color: #a2ddeb; }

.diagnostic-preview--scan {
  min-height: 560px;
  padding: 24px;
  background: #092b67;
}

.diagnostic-preview [hidden] { display: none !important; }

.scan-interface { display: flex; min-height: 510px; flex-direction: column; }
.scan-interface__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scan-interface--ready .radar-screen { margin-top: 34px; margin-bottom: 26px; }
.scan-interface--ready .scan-progress__meta { margin-top: auto; }
.scan-ready-copy { display: grid; gap: 6px; margin: 0 auto 20px; text-align: center; }
.scan-ready-copy strong { color: #fff; font-size: 20px; }
.scan-ready-copy span { color: #a7d5ea; font-size: 11px; line-height: 1.8; }
.scan-stock { display: flex; align-items: center; gap: 12px; margin-top: 23px; }
.scan-stock > div:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 2px; }
.scan-stock small { color: #88c8e1; font-size: 10px; }
.scan-stock strong { overflow: hidden; color: #fff; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.scan-stock span:not(.scan-percent) { color: #a7d5ea; font-size: 10px; }
.scan-percent { color: #75e3ff; font-size: 21px; font-weight: 700; }

.radar-screen {
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
  margin: 26px auto 23px;
  overflow: hidden;
  border: 1px solid rgba(99, 207, 255, 0.75);
  border-radius: 50%;
  background-color: #061a46;
  background-image: linear-gradient(rgba(92, 187, 255, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 187, 255, 0.13) 1px, transparent 1px);
  background-size: 25% 25%;
  box-shadow: 0 0 0 7px rgba(87, 204, 255, 0.06), 0 0 34px rgba(44, 185, 255, 0.22), inset 0 0 34px rgba(28, 143, 228, 0.2);
}

.radar-screen::before,
.radar-screen::after {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(103, 218, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.radar-screen::after { inset: 20%; border-color: rgba(103, 218, 255, 0.28); }
.radar-screen__ring { position: absolute; inset: 35%; border: 1px solid rgba(103, 218, 255, 0.32); border-radius: 50%; }
.radar-screen__crosshair { position: absolute; top: 50%; right: 7%; left: 7%; height: 1px; background: rgba(103, 218, 255, 0.25); }
.radar-screen__crosshair--vertical { top: 7%; right: auto; bottom: 7%; left: 50%; width: 1px; height: auto; }
.radar-screen__sweep { position: absolute; top: 50%; right: 50%; width: 45%; height: 1px; transform-origin: 100% 50%; background: #7aeaff; box-shadow: 0 0 8px 1px #6addff; animation: radar-sweep 1.8s linear infinite; }
.radar-screen__sweep::after { position: absolute; top: -34px; right: 0; width: 100%; height: 68px; background: rgba(62, 196, 255, 0.13); clip-path: polygon(100% 50%, 0 0, 0 100%); content: ""; }
.radar-screen__center { position: absolute; top: 50%; right: 50%; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #9aeeff; border-radius: 50%; color: #ddfaff; background: #0d4a96; box-shadow: 0 0 0 7px rgba(93, 219, 255, 0.11), 0 0 20px rgba(91, 221, 255, 0.7); transform: translate(50%, -50%); }
.radar-screen__signal { position: absolute; width: 7px; height: 7px; border: 1px solid #e5fbff; border-radius: 50%; background: #7beaff; box-shadow: 0 0 12px 3px rgba(105, 229, 255, 0.8); animation: radar-pulse 1.8s ease-in-out infinite; }
.radar-screen__signal--one { top: 25%; right: 28%; }
.radar-screen__signal--two { top: 66%; right: 22%; animation-delay: 0.6s; }
.radar-screen__signal--three { top: 32%; left: 24%; animation-delay: 1.1s; }

@keyframes radar-sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes radar-pulse { 0%, 100% { opacity: 0.35; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.35); } }

.scan-progress__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #dff8ff; font-size: 11px; }
.scan-progress__meta strong { color: #7ce8ff; font-size: 16px; }
.scan-progress { height: 8px; margin-top: 9px; overflow: hidden; border: 1px solid rgba(120, 221, 255, 0.32); border-radius: 8px; background: rgba(1, 15, 48, 0.62); }
.scan-progress span { display: block; height: 100%; border-radius: inherit; background: #5ad9ff; box-shadow: 0 0 14px rgba(90, 217, 255, 0.72); transition: width 100ms linear; }
.scan-feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 13px; margin-top: 20px; }
.scan-feed > div { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 6px; min-width: 0; color: #6f9ab7; }
.scan-feed > div > span { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid rgba(130, 198, 227, 0.28); border-radius: 50%; }
.scan-feed strong { overflow: hidden; grid-column: 2; color: #9bbbd0; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.scan-feed small { grid-column: 2; color: #6388a2; font-size: 8px; }
.scan-feed > div.is-active { color: #76e4ff; }
.scan-feed > div.is-active strong { color: #e8fbff; }
.scan-feed > div.is-complete > span { border-color: #57dfae; color: #57dfae; background: rgba(87, 223, 174, 0.1); }
.scan-feed > div.is-complete strong { color: #bdebdc; }
.scan-feed__pulse { width: 6px; height: 6px; border-radius: 50%; background: #f4d36e; box-shadow: 0 0 0 4px rgba(244, 211, 110, 0.13); animation: feed-pulse 1.1s ease-in-out infinite; }
.scan-feed__empty { width: 5px; height: 5px; border-radius: 50%; background: #5a7894; }
@keyframes feed-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.75); } 50% { opacity: 1; transform: scale(1.2); } }

.scan-interface--complete { justify-content: center; }
.scan-complete { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 455px; text-align: center; }
.scan-complete__icon { display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid #68e4bd; border-radius: 50%; color: #72f0c1; background: rgba(48, 215, 161, 0.12); box-shadow: 0 0 0 11px rgba(48, 215, 161, 0.07), 0 0 34px rgba(48, 215, 161, 0.22); }
.scan-complete__eyebrow { margin-top: 25px; color: #72f0c1; font-size: 13px; font-weight: 700; }
.scan-complete h2 { margin: 7px 0 0; color: #fff; font-size: 28px; }
.scan-complete p { max-width: 320px; margin: 10px 0 0; color: #acd0e1; font-size: 12px; line-height: 1.8; }
.scan-complete__loader { width: 170px; height: 3px; margin: 22px 0 20px; overflow: hidden; border-radius: 3px; background: rgba(135, 217, 239, 0.2); }
.scan-complete__loader span { display: block; width: 55%; height: 100%; border-radius: inherit; background: #72e7ff; animation: complete-loader 1.1s ease-in-out infinite; }
@keyframes complete-loader { from { transform: translateX(-190%); } to { transform: translateX(310%); } }
.scan-complete .button { color: #122551; background: #f4d36e; box-shadow: none; }
.scan-complete .button:hover { background: #ffe48e; }
.stock-search-form.is-disabled { opacity: 0.82; }

@media (max-width: 960px) {
  .ai-hero { min-height: auto; }
}

@media (max-width: 640px) {
  .diagnostic-preview--scan { min-height: 555px; padding: 16px; }
  .scan-interface { min-height: 520px; }
  .scan-stock strong { font-size: 17px; }
  .scan-percent { font-size: 18px; }
  .radar-screen { width: min(100%, 215px); margin-top: 23px; margin-bottom: 21px; }
  .scan-feed { grid-template-columns: 1fr; gap: 7px; margin-top: 17px; }
  .scan-feed > div { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .scan-feed small { grid-column: 3; grid-row: 1; }
  .scan-complete { min-height: 460px; }
  .scan-complete h2 { font-size: 25px; }
}

/* Final first-viewport ordering overrides. */
.ai-hero { min-height: auto; padding: 106px 0 58px; }
.ai-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ai-diagnostic-interface { display: flex; width: min(100%, 790px); flex-direction: column; }
.ai-diagnostic-interface__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.ai-diagnostic-interface__header .ai-eyebrow { margin-bottom: 0; }
.ai-diagnostic-interface__header .demo-label { flex-shrink: 0; }
.ai-diagnostic-interface .stock-search-form { width: 100%; max-width: none; margin-top: 0; }
.ai-diagnostic-interface .quick-searches { margin-top: 12px; }
.ai-diagnostic-interface .ai-hero__visual { width: 100%; margin-top: 14px; }
.ai-hero__supporting-copy { max-width: 620px; text-align: center; }
.ai-hero__supporting-copy p { margin: 0; color: #f4fbff; font-size: 18px; font-weight: 700; line-height: 1.8; }
.ai-hero__supporting-copy p + p { margin-top: 2px; color: #b9d9e8; font-size: 13px; font-weight: 400; }
.ai-hero__bottom { display: none; }

@media (max-width: 640px) {
  .ai-hero { padding: 86px 0 46px; }
  .ai-hero__inner { gap: 18px; }
  .ai-diagnostic-interface__header { align-items: flex-start; margin-bottom: 10px; }
  .ai-diagnostic-interface__header .ai-eyebrow { font-size: 11px; }
  .ai-hero__supporting-copy p { font-size: 15px; line-height: 1.7; }
  .ai-hero__supporting-copy p + p { font-size: 12px; }
}

/* Refined navy fintech palette. */
:root {
  --navy: #0B1628;
  --module: #13243A;
  --ice: #56D6D2;
  --soft-blue: #5B8DEF;
  --cream: #F7F5EF;
  --champagne: #D8B56A;
  --ink: #e7edf5;
  --ink-soft: #9eafc3;
  --deep-green: #0B1628;
  --green: #5B8DEF;
  --green-light: #1d314b;
  --gold: #D8B56A;
  --gold-light: #3a3428;
  --paper: #0B1628;
  --paper-strong: #F7F5EF;
  --line: rgba(170, 198, 225, 0.17);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.16);
}

html,
body,
.ai-landing-page {
  color: var(--ink);
  background: var(--navy);
}

.site-header {
  border-bottom-color: rgba(170, 198, 225, 0.14);
  background: rgba(11, 22, 40, 0.9);
}

.brand-mark__icon { color: var(--ice); background: var(--module); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); }
.brand-mark__text,
.brand-mark__text strong { color: var(--cream); }
.site-nav > a:not(.button) { color: #aebdd0; }
.site-nav > a:not(.button):hover { color: var(--ice); }
.site-nav > a:not(.button)::after { background: var(--ice); }
.site-header__action .button--secondary,
.menu-toggle { color: var(--cream); border-color: rgba(170, 198, 225, 0.2); background: var(--module); }
.site-header__action .button--secondary:hover,
.menu-toggle:hover { border-color: rgba(86, 214, 210, 0.55); background: #1a2e48; }

.button--primary { color: var(--navy); background: var(--champagne); box-shadow: 0 10px 22px rgba(216, 181, 106, 0.12); }
.button--primary:hover { background: #e3c785; box-shadow: 0 14px 26px rgba(216, 181, 106, 0.17); }
.button--secondary { color: var(--cream); border-color: rgba(170, 198, 225, 0.2); background: var(--module); }
.button--secondary:hover { color: var(--ice); border-color: rgba(86, 214, 210, 0.55); background: #1a2e48; }

.ai-hero {
  min-height: auto;
  color: var(--cream);
  background: linear-gradient(145deg, #0B1628 0%, #0e1b2f 58%, #13243A 100%);
}

.ai-hero::before {
  width: 100%;
  opacity: 1;
  background: radial-gradient(circle at 78% 28%, rgba(86, 214, 210, 0.1), transparent 33%), radial-gradient(circle at 18% 80%, rgba(91, 141, 239, 0.1), transparent 35%);
}

.ai-hero__grid {
  opacity: 0.18;
  background-image: linear-gradient(rgba(86, 214, 210, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 141, 239, 0.13) 1px, transparent 1px);
}

.ai-hero .ai-diagnostic-interface__title {
  margin: 0 0 15px;
  color: var(--cream);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.ai-eyebrow,
.report-section__kicker { color: var(--ice); }
.ai-eyebrow__line { background: var(--champagne); }
.ai-pulse { border-color: rgba(86, 214, 210, 0.38); color: var(--ice); background: rgba(86, 214, 210, 0.08); }
.demo-label { color: #263349; background: rgba(247, 245, 239, 0.9); }

.stock-search-form {
  border-color: rgba(86, 214, 210, 0.24);
  background: rgba(19, 36, 58, 0.88);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.2);
}

.stock-search-form label { color: var(--cream); }
.stock-search-form__input { border-color: rgba(86, 214, 210, 0.3); color: var(--ice); background: rgba(11, 22, 40, 0.72); }
.stock-search-form__input input { color: var(--cream); }
.stock-search-form__input input::placeholder { color: rgba(231, 237, 245, 0.42); }
.stock-search-form .button { color: var(--navy); background: var(--champagne); }
.stock-search-form .button:hover { background: #e3c785; }
.stock-search-form__note { color: rgba(231, 237, 245, 0.54); }
.stock-search-form__error { color: #efb7ab; }
.quick-searches { color: rgba(231, 237, 245, 0.55); }
.quick-searches button { border-color: rgba(86, 214, 210, 0.24); color: #c9e5e5; background: rgba(19, 36, 58, 0.72); }
.quick-searches button:hover { border-color: var(--ice); color: var(--cream); background: rgba(86, 214, 210, 0.09); }

.diagnostic-preview,
.diagnostic-preview--scan {
  border-color: rgba(86, 214, 210, 0.3);
  color: var(--cream);
  background: linear-gradient(145deg, #13243A, #102039);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.27), inset 0 0 0 1px rgba(86, 214, 210, 0.05);
}

.ai-badge { color: var(--ice); }
.diagnostic-preview__company,
.diagnostic-preview__score,
.preview-metrics { border-color: rgba(170, 198, 225, 0.16); }
.diagnostic-preview__company > div:nth-child(2) > span,
.scan-stock span:not(.scan-percent),
.diagnostic-preview__score p,
.muted-label,
.score-ring__label span,
.preview-metrics > div > span { color: #9fb6cd; }
.diagnostic-preview__company h2,
.diagnostic-preview__score strong,
.score-ring__label strong,
.preview-metrics strong { color: var(--cream); }
.diagnostic-preview__status { color: var(--ice); }
.status-dot { background: var(--ice); box-shadow: 0 0 0 4px rgba(86, 214, 210, 0.12); }
.score-ring__track { stroke: rgba(170, 198, 225, 0.17); }
.score-ring__value { stroke: var(--ice); }
.preview-metrics > div { color: var(--soft-blue); }
.diagnostic-preview__foot { color: #a3c9c8; }

.stock-mark--green { color: var(--navy); background: var(--ice); }
.stock-mark--gold { color: var(--navy); background: var(--champagne); }
.stock-mark--blue { color: var(--cream); background: var(--soft-blue); }
.stock-mark--coral { color: var(--cream); background: #7796aa; }

.scan-stock small { color: #86c8c8; }
.scan-stock strong { color: var(--cream); }
.scan-percent,
.scan-progress__meta strong { color: var(--ice); }
.radar-screen {
  border-color: rgba(86, 214, 210, 0.52);
  background-color: #0b192d;
  background-image: linear-gradient(rgba(86, 214, 210, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 141, 239, 0.1) 1px, transparent 1px);
  box-shadow: 0 0 0 7px rgba(86, 214, 210, 0.04), 0 0 34px rgba(91, 141, 239, 0.14), inset 0 0 34px rgba(86, 214, 210, 0.1);
}
.radar-screen::before,
.radar-screen::after { border-color: rgba(86, 214, 210, 0.2); }
.radar-screen::after { border-color: rgba(91, 141, 239, 0.25); }
.radar-screen__ring { border-color: rgba(86, 214, 210, 0.28); }
.radar-screen__crosshair { background: rgba(86, 214, 210, 0.2); }
.radar-screen__sweep { background: var(--ice); box-shadow: 0 0 8px 1px rgba(86, 214, 210, 0.72); }
.radar-screen__sweep::after { background: rgba(86, 214, 210, 0.1); }
.radar-screen__center { border-color: var(--ice); color: var(--cream); background: var(--soft-blue); box-shadow: 0 0 0 7px rgba(86, 214, 210, 0.1), 0 0 20px rgba(91, 141, 239, 0.42); }
.radar-screen__signal { border-color: var(--cream); background: var(--ice); box-shadow: 0 0 12px 3px rgba(86, 214, 210, 0.42); }
.scan-progress__meta { color: #dce9f2; }
.scan-progress { border-color: rgba(86, 214, 210, 0.24); background: rgba(11, 22, 40, 0.72); }
.scan-progress span { background: var(--ice); box-shadow: 0 0 14px rgba(86, 214, 210, 0.42); }
.scan-feed > div { color: #7893ac; }
.scan-feed > div > span { border-color: rgba(170, 198, 225, 0.22); }
.scan-feed strong { color: #a7bed2; }
.scan-feed small { color: #7691aa; }
.scan-feed > div.is-active { color: var(--ice); }
.scan-feed > div.is-active strong { color: var(--cream); }
.scan-feed > div.is-complete > span { border-color: var(--ice); color: var(--ice); background: rgba(86, 214, 210, 0.1); }
.scan-feed > div.is-complete strong { color: #c4e4e2; }
.scan-feed__pulse { background: var(--champagne); box-shadow: 0 0 0 4px rgba(216, 181, 106, 0.12); }
.scan-feed__empty { background: #5d738c; }
.scan-complete__icon { border-color: var(--ice); color: var(--ice); background: rgba(86, 214, 210, 0.1); box-shadow: 0 0 0 11px rgba(86, 214, 210, 0.05), 0 0 34px rgba(86, 214, 210, 0.16); }
.scan-complete__eyebrow { color: var(--ice); }
.scan-complete h2 { color: var(--cream); }
.scan-complete p { color: #a9c1d4; }
.scan-complete__loader { background: rgba(170, 198, 225, 0.16); }
.scan-complete__loader span { background: var(--ice); }
.scan-complete .button { color: var(--navy); background: var(--champagne); }

.workflow-strip { border-color: rgba(170, 198, 225, 0.14); background: var(--module); }
.workflow-step__icon { border-color: rgba(86, 214, 210, 0.22); color: var(--ice); background: rgba(11, 22, 40, 0.58); }
.workflow-step small { color: #829bb3; }
.workflow-step strong { color: var(--cream); }

.demo-label--prominent {
  color: var(--navy);
  border: 1px solid rgba(216, 181, 106, 0.48);
  background: var(--cream);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
  font-weight: 700;
}

.workflow-strip__inner { gap: 34px; }

@media (max-width: 640px) {
  .workflow-strip__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .workflow-step { min-width: 0; }
  .workflow-step strong { white-space: normal; line-height: 1.35; }
}
.workflow-arrow { color: var(--champagne); }
.diagnosis-section,
.popular-stocks,
.risk-notice { color: var(--ink); background: var(--navy); }
.section-heading h2 { color: var(--cream); }
.section-heading .eyebrow,
.section-heading__description { color: #9eafc3; }
.diagnosis-dimensions,
.popular-stock { border-color: rgba(170, 198, 225, 0.16); background: var(--module); box-shadow: var(--shadow-soft); }
.diagnosis-dimension__top { color: var(--cream); }
.diagnosis-dimension__top strong,
.popular-stock__score { color: var(--ice); }
.diagnosis-dimension__top strong small,
.popular-stock__score small { color: #8198ae; }
.diagnosis-progress,
.popular-stock__bar { background: #203650; }
.diagnosis-progress span,
.popular-stock__bar span { background: linear-gradient(90deg, var(--soft-blue), var(--ice)); }
.diagnosis-dimension__note,
.popular-stock__bottom { color: #9eafc3; }
.diagnosis-summary { border-color: rgba(86, 214, 210, 0.25); background: #102039; }
.diagnosis-summary .muted-label { color: #91a9bf; }
.diagnosis-summary h3 { color: var(--cream); }
.diagnosis-summary__top p { color: #a7c5cc; }
.diagnosis-summary .score-ring__track { stroke: rgba(170, 198, 225, 0.16); }
.diagnosis-summary .score-ring__value { stroke: var(--champagne); }
.diagnosis-summary__text { border-color: rgba(170, 198, 225, 0.14); color: #b6c8d8; }
.diagnosis-summary__list { color: #c4d7e3; }
.diagnosis-summary__list svg { color: var(--ice); }
.popular-stocks { background: #0d1a2d; }
.popular-stock__top h3 { color: var(--cream); }
.popular-stock__bottom button { color: var(--ice); }
.popular-stock__bottom button:hover { color: var(--champagne); }

.report-section { color: var(--cream); background: var(--module); }
.report-section h2 { color: var(--cream); }
.report-section__copy > p { color: #aec0d1; }
.report-section__copy > small { color: #8198ae; }
.report-sheet { border-color: rgba(247, 245, 239, 0.82); color: var(--navy); background: var(--cream); box-shadow: 17px 20px 0 rgba(216, 181, 106, 0.16), 0 24px 40px rgba(0, 0, 0, 0.2); }
.report-sheet > span { color: #607085; }
.report-sheet > i { background: #dce3e8; }
.report-sheet > i:nth-of-type(2) { background: rgba(91, 141, 239, 0.55); }
.report-sheet > div { border-color: #dfe4e7; color: #607085; }
.report-sheet > div b { color: #2b619a; }
.report-stamp { color: #c7e1e4; background: #1c3c55; }

.risk-notice { border-color: rgba(170, 198, 225, 0.14); }
.risk-icon { color: var(--champagne); background: rgba(216, 181, 106, 0.1); }
.risk-notice h2 { color: var(--cream); }
.risk-notice__copy p { color: #9eafc3; }
.site-footer { color: rgba(231, 237, 245, 0.68); background: #081321; }
.site-footer .brand-mark__text { color: var(--cream); }
.site-footer .brand-mark__icon { background: var(--module); }
.site-footer__brand p,
.site-footer__links a { color: rgba(231, 237, 245, 0.48); }
.site-footer__links span { color: var(--ice); }
.site-footer__links a:hover { color: var(--cream); }
.footer-back-top { border-color: rgba(170, 198, 225, 0.2); color: var(--champagne); }
.site-footer__bottom { border-color: rgba(170, 198, 225, 0.12); color: rgba(231, 237, 245, 0.4); }

.info-hero { color: var(--cream); background: linear-gradient(145deg, #0B1628, #13243A); }
.info-hero__pattern { opacity: 0.15; background-image: linear-gradient(rgba(86, 214, 210, 0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 141, 239, 0.2) 1px, transparent 1px); }
.info-hero .eyebrow { color: var(--ice); }
.info-hero h1 { color: var(--cream); }
.info-hero__intro,
.info-hero__updated { color: #a9bbcc; }
.info-content { color: var(--ink); background: var(--navy); }
.info-content__aside { border-color: rgba(170, 198, 225, 0.16); }
.info-content__aside-label,
.info-content__aside nav a,
.info-content__body h2,
.info-content__body h3 { color: var(--cream); }
.info-content__aside nav a:hover { color: var(--ice); }
.info-content__body p,
.info-content__body li { color: #a9bbcc; }
.info-block { border-color: rgba(170, 198, 225, 0.14); }
.info-block h2 { color: var(--cream); }
.info-block h2 span { color: var(--champagne); }
.info-block p,
.info-block li { color: #a9bbcc; }
.info-contact { color: var(--cream); background: var(--module); }
.info-contact__kicker { color: var(--ice); }
.info-contact p { color: #a9bbcc; }
.info-contact .button--light { color: var(--navy); background: var(--cream); }

.ai-hero__inner > .quick-searches--supporting {
  width: min(100%, 790px);
  justify-content: center;
  margin-top: -8px;
  padding-top: 13px;
  border-top: 1px solid rgba(170, 198, 225, 0.12);
}

@media (max-width: 640px) {
  .ai-hero .ai-diagnostic-interface__title { margin-bottom: 11px; font-size: 32px; }
  .ai-hero__inner > .quick-searches--supporting { margin-top: -4px; }
}

.preview-market-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(170, 198, 225, 0.14);
  color: #9eafc3;
  font-size: 11px;
}

.preview-market-line strong { margin-inline-start: auto; color: var(--cream); font-size: 18px; }
.preview-market-line .is-positive { color: var(--ice); }
.preview-market-line .is-negative { color: #e9a99e; }
.preview-market-meta { margin: 7px 0 0; color: #91a9bf; font-size: 10px; line-height: 1.7; }
.popular-stock__score { min-width: 58px; text-align: end; }
.popular-stock__score small { display: inline-block; margin-inline-start: 2px; }

/* Keep the post-scan result readable before the WhatsApp handoff. */
.scan-interface--complete { min-height: 0; }
.scan-interface--complete .scan-complete { min-height: 0; padding: 18px 0 4px; }
.scan-complete h2 { max-width: 100%; }
.scan-result__meta { margin: 5px 0 0; color: #9fb6cd; font-size: 11px; }
.scan-result__grid { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 19px; text-align: start; }
.scan-result__grid > div { display: grid; min-height: 62px; gap: 6px; padding: 11px 12px; border: 1px solid rgba(170, 198, 225, 0.15); border-radius: 8px; background: rgba(11, 22, 40, 0.38); }
.scan-result__grid span { color: #91a9bf; font-size: 10px; }
.scan-result__grid strong { overflow: hidden; color: var(--cream); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.scan-result__source { margin: 14px 0 0; color: #9fc5c9; font-size: 10px; }
.scan-complete .scan-result__source { max-width: none; }
.scan-result__basis,
.diagnosis-breakdown { margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(170, 198, 225, 0.12); }
.scan-result__basis > span,
.diagnosis-breakdown > span { display: block; color: #c6d8e7; font-size: 11px; font-weight: 600; }
.scan-result__basis > div,
.diagnosis-breakdown > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; margin-top: 8px; }
.scan-result__basis > div > span,
.diagnosis-breakdown > div > span { color: #91a9bf; font-size: 10px; line-height: 1.6; }
.scan-result__basis p,
.diagnosis-breakdown p { margin: 9px 0 0; color: #8198ae; font-size: 10px; line-height: 1.8; }
.scan-complete .button { width: 100%; margin-top: 17px; }
.scan-result__redirect { display: block; margin-top: 9px; color: #8198ae; font-size: 10px; }
.popular-stocks__count { color: var(--ice); font-weight: 700; white-space: nowrap; }

/* B stays focused on the short search-to-result workflow. */
html[data-page-template="B"] .ai-landing-page--quick-tool #full-diagnosis,
html[data-page-template="B"] .ai-landing-page--quick-tool #saudi-stocks,
html[data-page-template="B"] .ai-landing-page--quick-tool #report { display: none !important; }

/* Before a stock is submitted, both tools keep only search, popular symbols, and market coverage visible. */
html[data-page-template="B"] #ai-scan-panel:not(.diagnostic-preview--scan),
html[data-page-template="C"] #ai-scan-panel:not(.diagnostic-preview--scan) { display: none !important; }

html[data-page-template="B"] .b-supported-count { margin: 10px 0 0; color: var(--ink-soft); font-size: 12px; }
html[data-page-template="B"] .b-supported-count span { color: var(--gold); }
html[data-page-template="B"] .b-supported-count strong { color: var(--ink); font-weight: 800; }
html[data-page-template="B"] .scan-result__metric--price strong { color: var(--gold); font-size: 18px; }
html[data-page-template="B"] .scan-result__metric--change strong.is-positive { color: #62d0a2; }
html[data-page-template="B"] .scan-result__metric--change strong.is-negative { color: #ff8e8e; }

html[data-page-template="B"] .b-market-example {
  width: 100%;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(170, 198, 225, 0.18);
  border-radius: 10px;
  color: var(--cream);
  background: rgba(19, 36, 58, 0.88);
}

html[data-page-template="B"] .b-market-example__heading,
html[data-page-template="B"] .b-market-example__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

html[data-page-template="B"] .b-market-example__eyebrow {
  color: var(--ice);
  font-size: 10px;
  font-weight: 700;
}

html[data-page-template="B"] .b-market-example h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 20px;
}

html[data-page-template="B"] .b-market-example h2 small {
  margin-inline-start: 5px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

html[data-page-template="B"] .b-market-example__heading p {
  margin: 3px 0 0;
  color: #9fb6cd;
  font-size: 10px;
}

html[data-page-template="B"] .b-market-example__status {
  flex-shrink: 0;
  padding: 5px 7px;
  border: 1px solid rgba(86, 214, 210, 0.25);
  border-radius: 5px;
  color: #a9dedb;
  font-size: 9px;
  white-space: nowrap;
}

html[data-page-template="B"] .b-market-example__data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 15px;
}

html[data-page-template="B"] .b-market-example__data > div {
  display: grid;
  min-height: 52px;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid rgba(170, 198, 225, 0.12);
  border-radius: 7px;
  background: rgba(11, 22, 40, 0.35);
}

html[data-page-template="B"] .b-market-example__data span {
  color: #91a9bf;
  font-size: 9px;
}

html[data-page-template="B"] .b-market-example__data strong {
  overflow: hidden;
  color: #f7f5ef;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-page-template="B"] .b-market-example__data > div:first-child strong,
html[data-page-template="B"] .b-market-example__data > div:nth-child(6) strong { color: var(--gold); }
html[data-page-template="B"] .b-market-example__data > div:nth-child(2) strong.is-positive { color: #62d0a2; }
html[data-page-template="B"] .b-market-example__data > div:nth-child(2) strong.is-negative { color: #ff8e8e; }

html[data-page-template="B"] .b-market-example__footer {
  align-items: baseline;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(170, 198, 225, 0.12);
  color: #8198ae;
  font-size: 9px;
  line-height: 1.7;
}

html[data-page-template="B"] .b-market-example__footer p { margin: 0; color: #9fc5c9; }

@media (min-width: 641px) {
  html[data-page-template="B"] .ai-landing-page--quick-tool .scan-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stock-search-form__input { position: relative; }
.stock-search-suggestions { position: absolute; z-index: 20; top: calc(100% + 8px); inset-inline: -1px; padding: 6px; border: 1px solid rgba(86, 214, 210, 0.28); border-radius: 9px; background: #102039; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28); }
.stock-search-suggestion { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 0; border-bottom: 1px solid rgba(170, 198, 225, 0.1); color: var(--cream); background: transparent; text-align: start; cursor: pointer; }
.stock-search-suggestion:last-child { border-bottom: 0; }
.stock-search-suggestion:hover,
.stock-search-suggestion.is-active { background: rgba(86, 214, 210, 0.1); }
.stock-search-suggestion strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.stock-search-suggestion span { flex-shrink: 0; color: #9eafc3; font-size: 10px; }

.stock-list-toolbar { display: flex; align-items: end; gap: 10px; margin: 21px 0 18px; }
.stock-list-toolbar label { color: #9eafc3; font-size: 11px; }
.stock-list-toolbar input { width: min(100%, 320px); height: 40px; padding: 0 12px; border: 1px solid rgba(170, 198, 225, 0.18); border-radius: 8px; outline: 0; color: var(--cream); background: #102039; font: inherit; font-size: 12px; }
.stock-list-toolbar input:focus { border-color: rgba(86, 214, 210, 0.64); box-shadow: 0 0 0 3px rgba(86, 214, 210, 0.08); }
.stock-list-toolbar input::placeholder { color: #8198ae; }
.stock-list-toolbar__count { margin-inline-start: auto; color: var(--ice); font-size: 11px; white-space: nowrap; }
.stock-list-empty { grid-column: 1 / -1; margin: 8px 0; color: #9eafc3; font-size: 13px; }

@media (max-width: 640px) {
  .scan-interface--complete .scan-complete { padding-top: 12px; }
  .scan-complete__icon { width: 62px; height: 62px; }
  .scan-complete__eyebrow { margin-top: 18px; }
  .scan-complete h2 { font-size: 22px; }
  .scan-result__grid { gap: 7px; margin-top: 15px; }
  .scan-result__grid > div { min-height: 58px; padding: 10px; }
  .scan-result__grid strong { font-size: 12px; }
  .scan-result__basis > div,
  .diagnosis-breakdown > div { gap: 5px 8px; }
  .stock-list-toolbar { display: grid; align-items: stretch; grid-template-columns: 1fr auto; }
  .stock-list-toolbar label { grid-column: 1 / -1; }
  .stock-list-toolbar input { width: 100%; }
  .stock-list-toolbar__count { align-self: center; }
  html[data-page-template="B"] .b-market-example { padding: 14px; }
  html[data-page-template="B"] .b-market-example__heading { flex-direction: column; gap: 8px; }
  html[data-page-template="B"] .b-market-example__data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-page-template="B"] .b-market-example__footer { display: grid; gap: 2px; }
}

/* The public A template is the market-information experience. Keep its light
   palette scoped so the AI diagnosis template can retain its independent theme. */
html:not([data-site-ready]) [data-site-template] { display: none !important; }
[data-site-template][hidden] { display: none !important; }
[data-diagnosis-results-section][hidden] { display: none !important; }
[data-diagnosis-workspace][hidden],
[data-scan-active][hidden] { display: none !important; }

.ordinary-page {
  --ink: #152520;
  --ink-soft: #5f6b65;
  --deep-green: #0b3b2e;
  --green: #145945;
  --green-light: #dfeae4;
  --gold: #cbb67a;
  --gold-light: #efe5c9;
  --paper: #f8f7f2;
  --paper-strong: #ffffff;
  --line: #e5e7df;
  --navy: #0b3b2e;
  --module: #0b3b2e;
  --ice: #145945;
  --soft-blue: #5f6b65;
  --cream: #ffffff;
  --champagne: #cbb67a;
  color: var(--ink);
  background: var(--paper);
}

.ordinary-page .hero { color: var(--ink); background: var(--paper); }
.ordinary-page .hero h1,
.ordinary-page .section-heading h2,
.ordinary-page .market-card__content h3,
.ordinary-page .company-card__name h3,
.ordinary-page .company-card__link,
.ordinary-page .cta-section h2,
.ordinary-page .risk-notice h2 { color: var(--deep-green); }
.ordinary-page .hero__lead { color: #1c3b30; }
.ordinary-page .hero__description,
.ordinary-page .section-heading__description,
.ordinary-page .market-card__content p { color: var(--ink-soft); }
.ordinary-page .hero__eyebrow,
.ordinary-page .section-heading .eyebrow,
.ordinary-page .cta-kicker { color: #6c7e74; }
.ordinary-page .hero__tags span { color: #76857d; background: rgba(255, 255, 255, 0.7); }
.ordinary-page .companies-section { color: var(--ink); background: #f2f3ed; }
.ordinary-page .market-card { background: rgba(255, 255, 255, 0.86); }
.ordinary-page .value-section { color: #ffffff; background: var(--deep-green); }
.ordinary-page .value-section .section-heading h2,
.ordinary-page .value-section .section-heading__description,
.ordinary-page .value-section .eyebrow,
.ordinary-page .value-section .trust-point h3,
.ordinary-page .value-section .trust-point p,
.ordinary-page .value-section .value-statement { color: #ffffff; }
.ordinary-page .cta-section { color: var(--ink); background: #eff2ec; }
.ordinary-page .risk-notice { color: var(--ink); background: #f8f8f4; }

html[data-site-variant="A"] .site-header {
  border-bottom-color: rgba(11, 59, 46, 0.1);
  background: rgba(248, 247, 242, 0.92);
}
html[data-site-variant="A"] .site-nav > a:not(.button) { color: #64706a; }
html[data-site-variant="A"] .brand-mark__text { color: #0b3b2e; }
html[data-site-variant="A"] .site-header__action .button--secondary {
  color: #0b3b2e;
  border-color: #ccd6cf;
  background: rgba(255, 255, 255, 0.7);
}

/* C layout: a light editorial market-reading page inspired by the reference
   layout, while keeping the existing diagnosis and tracking hooks intact. */
html[data-page-template="C"] {
  --paper: #f8f7f2;
  --paper-strong: #ffffff;
  --ink: #152520;
  --ink-soft: #5f6b65;
  --deep-green: #0b3b2e;
  --green: #145945;
  --green-light: #dfeae4;
  --gold: #b8944d;
  --gold-light: #efe5c9;
  --line: #e5e7df;
  --navy: #0b3b2e;
  --module: #0b3b2e;
  --ice: #2d8b6e;
  --soft-blue: #5f6b65;
  --cream: #ffffff;
  --champagne: #b8944d;
  color: var(--ink);
  background: var(--paper);
}

html[data-page-template="C"] body { background: var(--paper); color: var(--ink); }
html[data-page-template="C"] .site-header {
  border-bottom-color: rgba(11, 59, 46, 0.1);
  background: rgba(248, 247, 242, 0.94);
}
html[data-page-template="C"] .site-nav > a:not(.button) { color: #64706a; }
html[data-page-template="C"] .brand-mark__text { color: var(--deep-green); }
html[data-page-template="C"] .site-header__action .button--secondary { color: var(--deep-green); border-color: #ccd6cf; background: rgba(255,255,255,.75); }

.c-landing-page { overflow: hidden; background: var(--paper); }
.c-hero { padding: 148px 0 78px; background: var(--paper); }
.c-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); gap: clamp(42px, 7vw, 110px); align-items: center; }
.c-hero__copy { max-width: 540px; }
.c-kicker { display: inline-flex; align-items: center; gap: 9px; color: #6b7a73; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.c-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184,148,77,.12); }
.c-hero h1 { max-width: 520px; margin: 22px 0 18px; color: var(--deep-green); font-size: clamp(42px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -.045em; }
.c-hero__lead { max-width: 480px; margin: 0; color: #234c3c; font-size: clamp(20px, 2vw, 27px); line-height: 1.65; font-weight: 600; }
.c-hero__description { max-width: 470px; margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.c-hero__list { display: grid; gap: 10px; margin: 28px 0; padding: 0; list-style: none; color: #53635b; font-size: 13px; }
.c-hero__list li { display: flex; align-items: center; gap: 12px; }
.c-hero__list li span { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border: 1px solid #d8ddcf; border-radius: 50%; color: var(--gold); font-size: 10px; direction: ltr; }
.c-text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--deep-green); font-size: 14px; font-weight: 700; text-decoration: none; }
.c-text-link span:last-child { color: var(--gold); font-size: 20px; transition: transform .2s ease; }
.c-text-link:hover span:last-child { transform: translateX(-4px); }
.c-analysis-column { min-width: 0; }
.c-search-card { position: relative; padding: 25px; border: 1px solid #e0e4da; border-radius: 8px; background: rgba(255,255,255,.88); box-shadow: 0 24px 70px rgba(34, 56, 42, .08); }
.c-search-card__heading, .c-scan-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.c-card-label { color: var(--deep-green); font-size: 12px; font-weight: 700; }
.c-card-source { color: #8a968f; font-size: 11px; }
.c-search-card .stock-search-form { max-width: none; margin: 20px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.c-search-card .stock-search-form > label { display: block; margin-bottom: 9px; color: #53635b; font-size: 12px; font-weight: 600; }
.c-search-card .stock-search-form__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.c-search-card .stock-search-form__input { border-color: #dce3da; background: #fbfcf9; }
.c-search-card .stock-search-form__input > span { color: var(--gold); }
.c-search-card .stock-search-form__row > .button { min-width: 145px; }
.c-search-card .quick-searches { margin-top: 13px; }
.c-search-card__note { margin: 16px 0 0; color: #87938c; font-size: 11px; line-height: 1.8; }
.c-scan-card { min-height: 360px; margin-top: 16px; padding: 25px; border: 0; border-radius: 8px; color: #eef7f0; background: var(--deep-green); box-shadow: 0 24px 70px rgba(11,59,46,.18); }
.c-scan-card .c-scan-card__top { color: #a9c7b4; font-size: 11px; }
.c-scan-card .ai-badge { color: #d4ead9; }
.c-scan-card .ai-badge span { color: #dbb66a; }
.c-radar { position: relative; width: min(240px, 68vw); aspect-ratio: 1; margin: 23px auto 17px; border: 1px solid rgba(199,224,204,.24); border-radius: 50%; background: radial-gradient(circle, rgba(184,148,77,.17) 0 2%, transparent 3% 100%), repeating-radial-gradient(circle, transparent 0 28%, rgba(201,228,207,.13) 28.5% 29.2%, transparent 29.7% 100%); overflow: hidden; }
.c-radar::before, .c-radar::after { content: ""; position: absolute; inset: 50% 8%; height: 1px; background: rgba(201,228,207,.2); }
.c-radar::after { transform: rotate(90deg); }
.c-radar__ring { position: absolute; inset: 18%; border: 1px solid rgba(201,228,207,.2); border-radius: 50%; }
.c-radar__ring--middle { inset: 33%; }
.c-radar__ring--inner { inset: 47%; border-color: rgba(219,182,106,.5); }
.c-radar__sweep { position: absolute; inset: -15%; transform-origin: center; background: conic-gradient(from 0deg, transparent 0 72%, rgba(219,182,106,.38) 82%, transparent 88%); animation: c-radar-sweep 4.4s linear infinite; }
.c-radar b { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; color: #dbb66a; font-size: 25px; font-weight: 400; }
.c-radar i { position: absolute; z-index: 3; width: 6px; height: 6px; border-radius: 50%; background: #bfe7c9; box-shadow: 0 0 0 5px rgba(191,231,201,.12); }
.c-radar i:nth-of-type(1) { top: 27%; left: 33%; }.c-radar i:nth-of-type(2) { top: 58%; right: 25%; background: #dbb66a; }.c-radar i:nth-of-type(3) { bottom: 22%; left: 23%; }
@keyframes c-radar-sweep { to { transform: rotate(360deg); } }
.c-scan-card__idle { display: grid; gap: 7px; text-align: center; }
.c-scan-card__idle strong { color: #f5fbf2; font-size: 18px; }.c-scan-card__idle span { color: #a9c7b4; font-size: 12px; }
.c-scan-card .scan-interface__top { border-bottom-color: rgba(201,228,207,.18); }
.c-scan-card .scan-stock, .c-scan-card .scan-progress__meta { color: #c4dccb; }.c-scan-card .scan-stock strong { color: #fff; }.c-scan-card .scan-feed { border-top-color: rgba(201,228,207,.15); }.c-scan-card .scan-feed strong { color: #d8eadd; }.c-scan-card .scan-feed small { color: #86aa96; }.c-scan-card .scan-result__grid > div { border-color: rgba(201,228,207,.18); background: rgba(255,255,255,.05); }.c-scan-card .scan-result__grid span, .c-scan-card .scan-result__source { color: #a9c7b4; }.c-scan-card .scan-result__grid strong, .c-scan-card .scan-complete h2 { color: #fff; }
.c-process { padding: 92px 0 104px; background: #f1f3ed; }
.c-section-heading { max-width: 580px; margin-bottom: 42px; }.c-section-heading h2 { margin: 14px 0 11px; color: var(--deep-green); font-size: clamp(28px, 3.5vw, 46px); line-height: 1.2; letter-spacing: -.03em; }.c-section-heading p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.c-process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid #d9dfd5; border-bottom: 1px solid #d9dfd5; }.c-process__grid article { min-height: 190px; padding: 28px 25px 25px; border-inline-start: 1px solid #d9dfd5; }.c-process__grid article:first-child { border-inline-start: 0; }.c-process__grid article > span { color: var(--gold); font-size: 11px; }.c-process__grid h3 { margin: 34px 0 9px; color: var(--deep-green); font-size: 20px; }.c-process__grid p { max-width: 240px; margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.c-results { background: #fbfbf8; }.c-market { background: #f1f3ed; }.c-report { background: var(--deep-green); }.c-report .report-section__copy h2, .c-report .report-section__copy p, .c-report .report-section__copy small { color: #fff; }.c-report .report-section__kicker { color: #b9d7c2; }.c-risk { background: #fbfbf8; }
html[data-page-template="C"] .diagnosis-section__heading h2, html[data-page-template="C"] .section-heading h2 { color: var(--deep-green); }
html[data-page-template="C"] .popular-stock { background: rgba(255,255,255,.86); }
html[data-page-template="C"] .site-footer { background: #f1f3ed; color: var(--ink); }
html[data-page-template="C"] .site-footer__brand p, html[data-page-template="C"] .site-footer__links a { color: var(--ink-soft); }
html[data-page-template="C"] .site-footer__links span { color: var(--deep-green); }

@media (max-width: 900px) {
  .c-hero { padding-top: 120px; }.c-hero__grid { grid-template-columns: 1fr; gap: 44px; }.c-hero__copy { max-width: 680px; }.c-hero h1 { max-width: 650px; }.c-analysis-column { width: min(100%, 650px); }
  .c-process__grid { grid-template-columns: 1fr; }.c-process__grid article, .c-process__grid article:first-child { border-inline-start: 0; border-bottom: 1px solid #d9dfd5; }.c-process__grid article:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .c-hero { padding: 104px 0 58px; }.c-hero h1 { font-size: 39px; }.c-hero__lead { font-size: 19px; }.c-search-card, .c-scan-card { padding: 18px; }.c-search-card .stock-search-form__row { grid-template-columns: 1fr; }.c-search-card .stock-search-form__row > .button { width: 100%; }.c-card-source { display: none; }.c-process { padding: 66px 0 72px; }
}

/* C report-card layout. The rules are intentionally isolated from A/B. */
html[data-page-template="C"] body.c-report-page { min-width: 320px; overflow-x: hidden; color: #17372c; background: #f6f7f3; }
html[data-page-template="C"] .site-header { z-index: 30; border-bottom-color: rgba(23, 55, 44, .1); background: rgba(246, 247, 243, .96); }
html[data-page-template="C"] .site-header__inner { min-height: 74px; }
html[data-page-template="C"] .brand-mark__text { color: #17372c; }
html[data-page-template="C"] .brand-mark__symbol { color: #b58a45; }
html[data-page-template="C"] .site-nav > a:not(.button) { color: #617068; }
html[data-page-template="C"] .site-nav > a:not(.button):hover,
html[data-page-template="C"] .site-nav > a:not(.button).is-active { color: #17372c; }

html[data-page-template="C"] .c-report-page .button { min-height: 48px; border-radius: 7px; font-size: 13px; font-weight: 700; }
html[data-page-template="C"] .c-report-page .button--primary { color: #fff; background: #195a45; box-shadow: 0 8px 18px rgba(25, 90, 69, .15); }
html[data-page-template="C"] .c-report-page .button--primary:hover { background: #124936; }
html[data-page-template="C"] .c-report-page .button--whatsapp { color: #fff; background: #1f7657; box-shadow: 0 8px 18px rgba(31, 118, 87, .15); }
html[data-page-template="C"] .c-report-page .button--whatsapp:hover { background: #175e46; }

html[data-page-template="C"] .c-report-hero { padding: 104px 0 58px; background: #f6f7f3; }
html[data-page-template="C"] .c-report-hero__inner { display: grid; gap: 28px; align-items: start; }
html[data-page-template="C"] .c-report-hero__tool { order: 1; min-width: 0; }
html[data-page-template="C"] .c-report-hero__intro { order: 2; max-width: 620px; padding: 8px 0 0; }
html[data-page-template="C"] .c-report-kicker,
html[data-page-template="C"] .c-section-label { display: inline-flex; align-items: center; gap: 8px; color: #a07536; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
html[data-page-template="C"] .c-report-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #b58a45; box-shadow: 0 0 0 5px rgba(181, 138, 69, .12); }
html[data-page-template="C"] .c-report-hero h1 { max-width: 560px; margin: 17px 0 14px; color: #17372c; font-size: 39px; line-height: 1.2; font-weight: 800; }
html[data-page-template="C"] .c-report-hero__lead { max-width: 560px; margin: 0; color: #3e5b4e; font-size: 17px; line-height: 1.95; }
html[data-page-template="C"] .c-report-points { display: grid; gap: 11px; margin: 25px 0 24px; }
html[data-page-template="C"] .c-report-points > div { display: flex; align-items: center; gap: 10px; color: #617068; font-size: 12px; }
html[data-page-template="C"] .c-report-points span { display: inline-grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border: 1px solid #d7dfd5; border-radius: 50%; color: #1f7657; font-size: 11px; font-weight: 800; }
html[data-page-template="C"] .c-report-points p { margin: 0; }
html[data-page-template="C"] .c-report-text-link { display: inline-flex; align-items: center; gap: 11px; color: #195a45; font-size: 12px; font-weight: 800; text-decoration: none; }
html[data-page-template="C"] .c-report-text-link span { color: #b58a45; font-size: 18px; transition: transform .2s ease; }
html[data-page-template="C"] .c-report-text-link:hover span { transform: translateX(-4px); }

html[data-page-template="C"] .c-input-panel { padding: 20px; border: 1px solid #e0e5dc; border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(27, 55, 42, .08); }
html[data-page-template="C"] .c-input-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html[data-page-template="C"] .c-input-panel__status { display: inline-flex; align-items: center; gap: 6px; color: #77867d; font-size: 10px; }
html[data-page-template="C"] .c-input-panel__status > span { white-space: nowrap; }
html[data-page-template="C"] .c-input-panel__status b { padding-inline-start: 7px; border-inline-start: 1px solid #dbe4da; color: #a07536; font-size: 9px; font-weight: 800; white-space: nowrap; }
html[data-page-template="C"] .c-input-panel__status i { width: 6px; height: 6px; border-radius: 50%; background: #2d8b6e; }
html[data-page-template="C"] .c-input-panel h2 { margin: 17px 0 5px; color: #17372c; font-size: 22px; line-height: 1.4; }
html[data-page-template="C"] .c-input-panel__intro { margin: 0; color: #718078; font-size: 12px; line-height: 1.8; }
html[data-page-template="C"] .c-report-page .stock-search-form { max-width: none; margin: 19px 0 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
html[data-page-template="C"] .c-report-page .stock-search-form__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
html[data-page-template="C"] .c-report-page .stock-search-form__input-wrap { position: relative; display: flex; align-items: center; min-width: 0; min-height: 48px; border: 1px solid #dce5dc; border-radius: 7px; background: #fbfcfa; }
html[data-page-template="C"] .c-report-page .stock-search-form__icon { display: inline-grid; width: 38px; flex: 0 0 38px; place-items: center; color: #b58a45; font-size: 23px; line-height: 1; }
html[data-page-template="C"] .c-report-page .stock-search-form__input-wrap input { width: 100%; min-width: 0; height: 46px; padding: 0 10px 0 13px; border: 0; outline: 0; color: #17372c; background: transparent; font: inherit; font-size: 13px; }
html[data-page-template="C"] .c-report-page .stock-search-form__input-wrap:focus-within { border-color: #2d8b6e; box-shadow: 0 0 0 3px rgba(45, 139, 110, .1); }
html[data-page-template="C"] .c-report-page .stock-search-form__input-wrap input::placeholder { color: #9aa69e; }
html[data-page-template="C"] .c-report-page .stock-search-form .button { min-width: 116px; }
html[data-page-template="C"] .c-report-page .quick-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; color: #849088; }
html[data-page-template="C"] .c-report-page .quick-searches__label { margin-inline-end: 3px; font-size: 10px; }
html[data-page-template="C"] .c-report-page .quick-searches button { min-height: 30px; padding: 0 10px; border: 1px solid #dbe4da; border-radius: 5px; color: #3e6655; background: #f6f8f4; font: inherit; font-size: 10px; cursor: pointer; }
html[data-page-template="C"] .c-report-page .quick-searches button:hover { border-color: #2d8b6e; color: #17372c; background: #edf5ee; }
html[data-page-template="C"] .c-input-panel__note { margin: 16px 0 0; color: #89958d; font-size: 10px; line-height: 1.7; }
html[data-page-template="C"] .c-input-panel__note span { margin-inline-end: 3px; color: #2d8b6e; font-size: 9px; }
html[data-page-template="C"] .c-report-page .stock-search-suggestions { top: calc(100% + 6px); inset-inline: 0; padding: 5px; border-color: #d7e4d8; border-radius: 7px; background: #fff; box-shadow: 0 15px 32px rgba(27, 55, 42, .12); }
html[data-page-template="C"] .c-report-page .stock-search-suggestion { color: #17372c; border-bottom-color: #edf0eb; }
html[data-page-template="C"] .c-report-page .stock-search-suggestion:hover,
html[data-page-template="C"] .c-report-page .stock-search-suggestion.is-active { background: #f2f7f1; }
html[data-page-template="C"] .c-report-page .stock-search-suggestion span { color: #7d8c83; }
html[data-page-template="C"] .c-report-page .stock-search-error { margin: 9px 0 0; color: #a14e3f; font-size: 11px; }

html[data-page-template="C"] .c-report-panel { margin-top: 13px; padding: 20px; border-radius: 8px; color: #edf5ef; background: #173f33; box-shadow: 0 18px 45px rgba(23, 63, 51, .15); }
html[data-page-template="C"] .c-report-panel__eyebrow { margin: 0 0 7px; color: #a6c5b0; font-size: 10px; font-weight: 700; }
html[data-page-template="C"] .c-report-panel h3 { margin: 0; color: #fff; font-size: 18px; line-height: 1.45; }
html[data-page-template="C"] .c-report-panel p { color: #b7d0bf; font-size: 11px; line-height: 1.8; }
html[data-page-template="C"] .c-report-idle { display: flex; min-height: 180px; align-items: center; gap: 17px; }
html[data-page-template="C"] .c-report-idle__icon { display: grid; width: 64px; height: 64px; flex: 0 0 64px; align-content: center; justify-content: center; gap: 6px; border: 1px solid rgba(205, 232, 207, .25); border-radius: 8px; background: rgba(255, 255, 255, .05); }
html[data-page-template="C"] .c-report-idle__icon span { display: block; width: 24px; height: 3px; border-radius: 3px; background: #c9dfc8; }
html[data-page-template="C"] .c-report-idle__icon span:nth-child(2) { width: 18px; background: #d0b271; }
html[data-page-template="C"] .c-report-idle__icon span:nth-child(3) { width: 28px; }
html[data-page-template="C"] .c-report-idle h3 { font-size: 17px; }
html[data-page-template="C"] .c-report-idle p:last-child { margin: 6px 0 0; }
html[data-page-template="C"] .c-report-progress { padding: 1px 0 0; }
html[data-page-template="C"] .c-report-progress__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
html[data-page-template="C"] .c-report-progress__icon { display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid rgba(205, 232, 207, .23); border-radius: 7px; color: #d0b271; font-size: 21px; }
html[data-page-template="C"] .c-report-progress__head h3 { font-size: 15px; }
html[data-page-template="C"] .c-report-progress__head p { margin: 0; }
html[data-page-template="C"] .c-report-progress__head > strong { color: #d0b271; font-size: 20px; font-weight: 600; direction: ltr; }
html[data-page-template="C"] .c-report-page .scan-progress { height: 5px; margin: 23px 0 8px; overflow: hidden; border-radius: 5px; background: rgba(205, 232, 207, .16); }
html[data-page-template="C"] .c-report-page .scan-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #d0b271; transition: width .25s ease; }
html[data-page-template="C"] .c-report-progress__timing { display: flex; align-items: center; gap: 5px; margin-top: 14px; color: #d0b271; font-size: 10px; font-weight: 700; }
html[data-page-template="C"] .c-report-progress__timing span { font-size: 13px; }
html[data-page-template="C"] .c-report-progress__step { margin: 0; color: #b7d0bf; font-size: 10px; }
html[data-page-template="C"] .c-report-page .scan-feed { display: grid; gap: 7px; margin: 19px 0 0; padding: 15px 0 0; border-top: 1px solid rgba(205, 232, 207, .16); list-style: none; }
html[data-page-template="C"] .c-report-page .scan-feed li { position: relative; padding-inline-start: 19px; color: #8eae99; font-size: 10px; line-height: 1.5; }
html[data-page-template="C"] .c-report-page .scan-feed li::before { content: ""; position: absolute; top: 5px; inset-inline-start: 0; width: 7px; height: 7px; border: 1px solid #6e9f81; border-radius: 50%; }
html[data-page-template="C"] .c-report-page .scan-feed li.is-done { color: #d6e6d5; }
html[data-page-template="C"] .c-report-page .scan-feed li.is-done::before { border-color: #d0b271; background: #d0b271; }

html[data-page-template="C"] .c-report-result.scan-complete { display: block; min-height: 0; padding: 0; color: #17372c; text-align: start; background: #fff; }
html[data-page-template="C"] .c-report-result__topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
html[data-page-template="C"] .c-report-stock { display: flex; min-width: 0; align-items: center; gap: 11px; }
html[data-page-template="C"] .c-report-stock__mark { display: inline-grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 7px; color: #1f7657; background: #e4f1e6; font-size: 13px; font-weight: 800; }
html[data-page-template="C"] [data-scan-stock-mark] { display: inline-grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 7px; color: #1f7657; background: #e4f1e6; font-size: 13px; font-weight: 800; }
html[data-page-template="C"] .c-report-stock h3 { overflow: hidden; color: #17372c; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-report-stock p { margin: 2px 0 0; color: #7b8a81; font-size: 10px; }
html[data-page-template="C"] .c-report-stock-code { display: block; margin-top: 2px; color: #7b8a81; font-size: 10px; direction: ltr; }
html[data-page-template="C"] .c-report-separator { padding: 0 4px; color: #b58a45; }
html[data-page-template="C"] .c-result-badge { flex-shrink: 0; padding: 6px 8px; border: 1px solid #dbe9dc; border-radius: 5px; color: #267052; background: #f1f8f1; font-size: 9px; }
html[data-page-template="C"] .c-score-summary { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 21px; align-items: center; margin: 26px 0 23px; padding: 22px 0 24px; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; }
html[data-page-template="C"] .c-score-ring { position: relative; width: 156px; height: 156px; }
html[data-page-template="C"] .c-score-ring svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
html[data-page-template="C"] .c-score-ring__track,
html[data-page-template="C"] .c-score-ring__value { fill: none; stroke-width: 11; }
html[data-page-template="C"] .c-score-ring__track { stroke: #e6ede5; }
html[data-page-template="C"] .c-score-ring__value { stroke: #2d8b6e; stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
html[data-page-template="C"] .c-score-ring__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; direction: ltr; }
html[data-page-template="C"] .c-score-ring__label strong { color: #17372c; font-size: 35px; line-height: 1; font-weight: 800; }
html[data-page-template="C"] .c-score-ring__label span { margin-top: 5px; color: #88968d; font-size: 10px; }
html[data-page-template="C"] .c-score-summary__copy .c-section-label { margin-bottom: 9px; }
html[data-page-template="C"] .c-score-summary__copy h4 { margin: 0; color: #17372c; font-size: 21px; line-height: 1.5; }
html[data-page-template="C"] .c-score-summary__copy p { margin: 5px 0 0; color: #64766b; font-size: 12px; line-height: 1.8; }
html[data-page-template="C"] .c-score-summary__updated { display: flex; align-items: center; gap: 5px; margin-top: 14px !important; color: #8c998f !important; font-size: 10px !important; }
html[data-page-template="C"] .c-score-summary__updated span:first-child { color: #b58a45; }
html[data-page-template="C"] .c-diagnosis-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
html[data-page-template="C"] .c-diagnosis-card { min-width: 0; padding: 13px 12px 12px; border: 1px solid #e3e9e1; border-radius: 7px; background: #fbfcfa; }
html[data-page-template="C"] .c-diagnosis-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
html[data-page-template="C"] .c-diagnosis-card__top > span { overflow: hidden; color: #526b5d; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-diagnosis-card__top strong { flex: 0 0 auto; color: #1f7657; font-size: 15px; direction: ltr; }
html[data-page-template="C"] .c-diagnosis-card__bar { height: 4px; margin: 11px 0 8px; overflow: hidden; border-radius: 4px; background: #e7eee6; }
html[data-page-template="C"] .c-diagnosis-card__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: #6aa889; transition: width .4s ease; }
html[data-page-template="C"] .c-diagnosis-card p { overflow: hidden; margin: 0; color: #89968e; font-size: 9px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-confidence-data { display: none !important; }
html[data-page-template="C"] .c-market-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 14px; }
html[data-page-template="C"] .c-market-facts > div { min-width: 0; padding: 10px; border: 1px solid #e5ebe3; border-radius: 6px; background: #fbfcfa; }
html[data-page-template="C"] .c-market-facts span { display: block; margin-bottom: 4px; color: #8a978e; font-size: 9px; }
html[data-page-template="C"] .c-market-facts strong { display: block; overflow: hidden; color: #2d5947; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-report-conclusion { margin-top: 14px; padding: 13px 14px; border-inline-start: 3px solid #b58a45; border-radius: 5px; background: #f7f8f4; }
html[data-page-template="C"] .c-report-conclusion__label { display: block; margin-bottom: 5px; color: #9b7338; font-size: 10px; font-weight: 800; }
html[data-page-template="C"] .c-report-conclusion p { margin: 0; color: #4f675a; font-size: 11px; line-height: 1.8; }
html[data-page-template="C"] .c-report-result__cta { display: flex; width: 100%; align-items: center; justify-content: center; gap: 9px; margin-top: 15px; text-decoration: none; }
html[data-page-template="C"] .c-report-result__cta span { font-size: 17px; }

html[data-page-template="C"] .c-report-process { padding: 70px 0 76px; background: #edf2eb; }
html[data-page-template="C"] .section-heading--center { max-width: 560px; margin: 0 auto 34px; text-align: center; }
html[data-page-template="C"] .c-report-process .section-heading h2,
html[data-page-template="C"] .c-report-details .section-heading h2,
html[data-page-template="C"] .c-report-stock-list .section-heading h2 { margin: 12px 0 9px; color: #17372c; font-size: 28px; line-height: 1.35; }
html[data-page-template="C"] .c-report-process .section-heading p,
html[data-page-template="C"] .c-report-details .section-heading p,
html[data-page-template="C"] .c-report-stock-list .section-heading p { margin: 0; color: #65766b; font-size: 12px; line-height: 1.9; }
html[data-page-template="C"] .c-process-grid { display: grid; gap: 0; border-top: 1px solid #d6e0d4; border-bottom: 1px solid #d6e0d4; }
html[data-page-template="C"] .c-process-grid article { min-height: 0; padding: 22px 0; border-bottom: 1px solid #d6e0d4; }
html[data-page-template="C"] .c-process-grid article:last-child { border-bottom: 0; }
html[data-page-template="C"] .c-process-grid article > span { color: #b58a45; font-size: 11px; font-weight: 800; }
html[data-page-template="C"] .c-process-grid h3 { margin: 15px 0 6px; color: #17372c; font-size: 17px; }
html[data-page-template="C"] .c-process-grid p { max-width: 290px; margin: 0; color: #697970; font-size: 11px; line-height: 1.8; }
html[data-page-template="C"] .c-report-details,
html[data-page-template="C"] .c-report-stock-list,
html[data-page-template="C"] .c-report-information,
html[data-page-template="C"] .c-report-risk { color: #17372c; background: #f6f7f3; }
html[data-page-template="C"] .c-report-details { padding: 66px 0; }
html[data-page-template="C"] .c-details-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 27px 0 15px; padding: 18px; border: 1px solid #e0e7df; border-radius: 8px; color: #17372c; background: #fff; }
html[data-page-template="C"] .c-details-summary > div:first-child { display: flex; align-items: center; gap: 10px; }
html[data-page-template="C"] .c-details-summary h3 { margin: 0; color: #17372c; font-size: 17px; }
html[data-page-template="C"] .c-details-summary__score { display: flex; align-items: baseline; gap: 7px; }
html[data-page-template="C"] .c-details-summary__score strong { color: #1f7657; font-size: 25px; }
html[data-page-template="C"] .c-details-summary__score span { color: #7f8d84; font-size: 10px; }
html[data-page-template="C"] .c-details-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension { position: relative; min-width: 0; padding: 14px; border: 1px solid #e0e7df; border-radius: 7px; color: #17372c; background: #fff; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension > div:first-child { display: grid; gap: 4px; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension strong { color: #315745; font-size: 11px; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension span { overflow: hidden; color: #8b988f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension > b { position: absolute; top: 13px; inset-inline-start: 14px; color: #1f7657; font-size: 15px; direction: ltr; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension__bar { height: 4px; margin-top: 13px; overflow: hidden; border-radius: 4px; background: #e7eee6; }
html[data-page-template="C"] .c-details-dimensions .diagnosis-dimension__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: #6aa889; }
html[data-page-template="C"] .c-details-conclusion { margin-top: 14px; padding: 14px 16px; border-radius: 7px; background: #173f33; }
html[data-page-template="C"] .c-details-conclusion span { color: #d0b271; font-size: 10px; font-weight: 800; }
html[data-page-template="C"] .c-details-conclusion p { margin: 6px 0 0; color: #d4e5d8; font-size: 11px; line-height: 1.85; }
html[data-page-template="C"] .c-report-stock-list { padding: 62px 0; background: #edf2eb; }
html[data-page-template="C"] .c-report-page .stock-list-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; margin: 21px 0 18px; }
html[data-page-template="C"] .c-report-page .stock-list-toolbar label { grid-column: 1 / -1; color: #66776c; font-size: 11px; }
html[data-page-template="C"] .c-report-page .stock-list-toolbar input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #d7e0d5; border-radius: 6px; outline: 0; color: #17372c; background: #fff; font: inherit; font-size: 12px; }
html[data-page-template="C"] .c-report-page .stock-list-toolbar input:focus { border-color: #2d8b6e; box-shadow: 0 0 0 3px rgba(45, 139, 110, .1); }
html[data-page-template="C"] .c-report-page .stock-list-toolbar input::placeholder { color: #9aa69e; }
html[data-page-template="C"] .c-report-page .stock-list-toolbar > span { align-self: center; color: #718078; font-size: 10px; white-space: nowrap; }
html[data-page-template="C"] .c-report-page .stock-list-toolbar > span b { color: #1f7657; font-size: 15px; }
html[data-page-template="C"] .c-report-page .stock-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html[data-page-template="C"] .c-report-page .stock-list .popular-stock { min-width: 0; border: 1px solid #e0e7df; border-radius: 6px; background: #fff; }
html[data-page-template="C"] .c-report-information { padding: 58px 0; }
html[data-page-template="C"] .c-info-sheet { max-width: 640px; padding: 24px; border: 1px solid #e0e7df; border-radius: 8px; background: #fff; }
html[data-page-template="C"] .c-info-sheet h2 { margin: 12px 0 8px; color: #17372c; font-size: 23px; }
html[data-page-template="C"] .c-info-sheet p { margin: 0; color: #65766b; font-size: 12px; line-height: 1.9; }
html[data-page-template="C"] .c-info-sheet__status { margin-top: 13px !important; padding-top: 12px; border-top: 1px solid #edf0eb; color: #7d8b82 !important; font-size: 10px !important; }
html[data-page-template="C"] .c-info-sheet__status b { color: #1f7657; }
html[data-page-template="C"] .c-report-risk { padding: 0 0 62px; }
html[data-page-template="C"] .c-risk-note { padding: 22px 0 0; border-top: 1px solid #dfe6de; }
html[data-page-template="C"] .c-risk-note h2 { margin: 11px 0 7px; color: #17372c; font-size: 19px; }
html[data-page-template="C"] .c-risk-note p { max-width: 690px; margin: 0; color: #748178; font-size: 11px; line-height: 1.9; }
html[data-page-template="C"] .site-footer { color: #718078; background: #e9eee7; }
html[data-page-template="C"] .site-footer__inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; }
html[data-page-template="C"] .site-footer .brand-mark__text { color: #17372c; }
html[data-page-template="C"] .site-footer p,
html[data-page-template="C"] .site-footer > span { margin: 0; color: #78867d; font-size: 10px; }
html[data-page-template="C"] .mobile-whatsapp { z-index: 20; color: #fff; background: #1f7657; }
html[data-page-template="C"] .mobile-whatsapp span:first-child { color: #d6ebd5; }

@media (min-width: 901px) {
  html[data-page-template="C"] .c-report-hero { padding-top: 132px; }
  html[data-page-template="C"] .c-report-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: 78px; }
  html[data-page-template="C"] .c-report-hero__tool { order: 2; }
  html[data-page-template="C"] .c-report-hero__intro { order: 1; padding-top: 31px; }
  html[data-page-template="C"] .c-report-hero h1 { font-size: 51px; }
  html[data-page-template="C"] .c-report-process { padding: 88px 0 96px; }
  html[data-page-template="C"] .c-process-grid { grid-template-columns: repeat(3, 1fr); border-inline-start: 1px solid #d6e0d4; }
  html[data-page-template="C"] .c-process-grid article { min-height: 178px; padding: 25px; border-bottom: 0; border-inline-end: 1px solid #d6e0d4; }
  html[data-page-template="C"] .c-process-grid article:last-child { border-inline-end: 0; }
  html[data-page-template="C"] .c-process-grid h3 { margin-top: 40px; }
  html[data-page-template="C"] .c-details-dimensions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-page-template="C"] .c-report-page .stock-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  html[data-page-template="C"] .site-header__inner { min-height: 64px; }
  html[data-page-template="C"] .c-report-hero { padding: 88px 0 42px; }
  html[data-page-template="C"] .c-report-hero__inner { gap: 22px; }
  html[data-page-template="C"] .c-report-hero__intro { padding: 0; }
  html[data-page-template="C"] .c-report-hero h1 { margin-top: 13px; font-size: 34px; }
  html[data-page-template="C"] .c-report-hero__lead { font-size: 14px; }
  html[data-page-template="C"] .c-report-points { gap: 8px; margin: 18px 0 17px; }
  html[data-page-template="C"] .c-input-panel,
  html[data-page-template="C"] .c-report-panel { padding: 17px; }
  html[data-page-template="C"] .c-report-page .stock-search-form__row { grid-template-columns: 1fr; }
  html[data-page-template="C"] .c-report-page .stock-search-form .button { width: 100%; }
  html[data-page-template="C"] .c-score-summary { grid-template-columns: 1fr; gap: 16px; justify-items: center; text-align: center; }
  html[data-page-template="C"] .c-score-summary__copy { width: 100%; }
  html[data-page-template="C"] .c-score-summary__updated { justify-content: center; }
  html[data-page-template="C"] .c-report-result__topline { align-items: flex-start; }
  html[data-page-template="C"] .c-result-badge { margin-top: 2px; }
  html[data-page-template="C"] .c-report-process { padding: 56px 0 64px; }
  html[data-page-template="C"] .c-report-process .section-heading h2,
  html[data-page-template="C"] .c-report-details .section-heading h2,
  html[data-page-template="C"] .c-report-stock-list .section-heading h2 { font-size: 24px; }
  html[data-page-template="C"] .c-report-details { padding: 53px 0; }
  html[data-page-template="C"] .c-details-summary { align-items: flex-start; flex-direction: column; }
  html[data-page-template="C"] .c-details-summary__score { align-self: flex-start; }
  html[data-page-template="C"] .c-report-stock-list { padding: 50px 0; }
  html[data-page-template="C"] .c-report-page .stock-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-page-template="C"] .site-footer__inner { min-height: 86px; align-items: flex-start; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
  html[data-page-template="C"] .site-footer p { order: 3; width: 100%; }
}

/* C research report v3: isolated from the A and B templates. */
html[data-page-template="C"] body.c-research-page {
  --c-navy: var(--navy, #081522);
  --c-panel: var(--module, #0d1d2d);
  --c-panel-strong: var(--green-light, #12283b);
  --c-line-dark: rgba(158, 188, 208, .17);
  --c-text: var(--cream, #f3f6f4);
  --c-muted: var(--soft-blue, #9eb1bf);
  --c-gold: var(--champagne, #d8b56a);
  --c-teal: var(--ice, #56d6d2);
  --c-green: #23906a;
  --c-red: #c65f57;
  --c-paper: var(--paper-strong, #f7f9f7);
  --c-ink: #142f28;
  min-width: 320px;
  color: var(--c-text);
  background: var(--c-navy);
}
html[data-page-template="C"] .c-research-page [hidden] { display: none !important; }
html[data-page-template="C"] .c-research-header { border-bottom-color: var(--c-line-dark); background: rgba(8, 21, 34, .96); }
html[data-page-template="C"] .c-research-header .site-header__inner { min-height: 66px; }
html[data-page-template="C"] .c-research-header .brand-mark__text { color: var(--c-text); }
html[data-page-template="C"] .c-research-header .brand-mark__symbol { color: var(--c-gold); }
html[data-page-template="C"] .c-research-header__label { color: #91a5b1; font-size: 10px; font-weight: 600; }

html[data-page-template="C"] .c-research-hero { min-height: calc(100svh - 66px); padding: 112px 0 64px; background: var(--c-navy); }
html[data-page-template="C"] .c-research-shell { max-width: 1040px; }
html[data-page-template="C"] .c-research-heading { max-width: 760px; margin: 0 auto 24px; text-align: center; }
html[data-page-template="C"] .c-research-heading h1 { margin: 0; color: #fff; font-size: 38px; line-height: 1.35; font-weight: 800; }

html[data-page-template="C"] .c-search-console { position: relative; z-index: 4; max-width: 760px; margin: 0 auto; padding: 16px; border: 1px solid var(--c-line-dark); border-radius: 8px; background: var(--c-panel); box-shadow: 0 22px 52px rgba(0, 0, 0, .2); }
html[data-page-template="C"] .c-search-console__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin-bottom: 13px; color: #99acb9; font-size: 9px; }
html[data-page-template="C"] .c-search-console__meta > span { display: inline-flex; align-items: center; gap: 6px; }
html[data-page-template="C"] .c-search-console__meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-teal); }
html[data-page-template="C"] .c-search-console__meta strong { margin-inline-start: auto; color: var(--c-gold); font-size: 9px; }
html[data-page-template="C"] .c-search-console .stock-search-form { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
html[data-page-template="C"] .c-search-console .stock-search-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap { position: relative; display: flex; min-width: 0; min-height: 52px; align-items: center; border: 1px solid rgba(126, 172, 200, .27); border-radius: 7px; background: #091928; }
html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap:focus-within { border-color: rgba(86, 214, 210, .72); box-shadow: 0 0 0 3px rgba(86, 214, 210, .08); }
html[data-page-template="C"] .c-search-console .stock-search-form__icon { display: grid; width: 42px; flex: 0 0 42px; place-items: center; color: var(--c-teal); font-size: 21px; }
html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap input { width: 100%; min-width: 0; height: 50px; padding: 0 8px 0 14px; border: 0; outline: 0; color: #fff; background: transparent; font: inherit; font-size: 13px; }
html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap input::placeholder { color: #718796; }
html[data-page-template="C"] .c-search-console .stock-search-form .button { width: 100%; min-height: 50px; border-radius: 7px; color: #13263a; background: var(--c-gold); box-shadow: none; font-size: 13px; font-weight: 800; }
html[data-page-template="C"] .c-search-console .stock-search-form .button:hover { background: #e4c47f; }
html[data-page-template="C"] .c-search-console .quick-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; color: #839aa8; }
html[data-page-template="C"] .c-search-console .quick-searches__label { margin-inline-end: 3px; font-size: 9px; }
html[data-page-template="C"] .c-search-console .quick-searches button { min-height: 30px; padding: 0 10px; border: 1px solid rgba(137, 174, 196, .2); border-radius: 5px; color: #c9d7de; background: #11263a; font: inherit; font-size: 10px; cursor: pointer; }
html[data-page-template="C"] .c-search-console .quick-searches button:hover { border-color: var(--c-teal); color: #fff; background: #173247; }
html[data-page-template="C"] .c-supported-count { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin: 12px 0 0; color: #91a5b1; font-size: 9px; }
html[data-page-template="C"] .c-supported-count > span { display: grid; width: 16px; height: 16px; place-items: center; border: 1px solid rgba(86, 214, 210, .32); border-radius: 50%; color: var(--c-teal); font-size: 8px; }
html[data-page-template="C"] .c-supported-count strong { color: #dce7e9; font-size: 10px; }
html[data-page-template="C"] .c-search-console .stock-search-suggestions { top: calc(100% + 6px); inset-inline: 0; border-color: rgba(86, 214, 210, .24); background: #102438; }
html[data-page-template="C"] .c-search-console .stock-search-suggestion { color: #edf4f4; border-bottom-color: rgba(158, 188, 208, .1); }
html[data-page-template="C"] .c-search-console .stock-search-suggestion:hover,
html[data-page-template="C"] .c-search-console .stock-search-suggestion.is-active { background: rgba(86, 214, 210, .08); }
html[data-page-template="C"] .c-search-console .stock-search-error { margin: 8px 0 0; color: #f0aaa4; font-size: 10px; }

html[data-page-template="C"] .c-research-panel { max-width: 920px; margin: 24px auto 0; scroll-margin-top: 82px; }
html[data-page-template="C"] .c-research-idle { display: flex; min-height: 190px; align-items: center; justify-content: center; gap: 20px; padding: 25px; border: 1px solid var(--c-line-dark); border-radius: 8px; background: var(--c-panel-strong); box-shadow: 0 24px 55px rgba(0, 0, 0, .18); }
html[data-page-template="C"] .c-research-idle__document { position: relative; display: grid; width: 76px; height: 88px; flex: 0 0 76px; align-content: center; justify-content: center; gap: 8px; border: 1px solid rgba(216, 181, 106, .42); border-radius: 7px; background: #0c1c2c; }
html[data-page-template="C"] .c-research-idle__document span { display: block; width: 31px; height: 3px; border-radius: 3px; background: #748c9b; }
html[data-page-template="C"] .c-research-idle__document span:nth-child(2) { width: 23px; background: var(--c-gold); }
html[data-page-template="C"] .c-research-idle__document b { position: absolute; bottom: 7px; inset-inline-start: 7px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #092333; background: var(--c-teal); font-size: 10px; }
html[data-page-template="C"] .c-research-idle__copy > div { display: flex; align-items: center; gap: 9px; color: var(--c-teal); font-size: 9px; font-weight: 700; }
html[data-page-template="C"] .c-research-idle__copy > div i { padding: 3px 7px; border: 1px solid rgba(216, 181, 106, .25); border-radius: 4px; color: var(--c-gold); font-style: normal; }
html[data-page-template="C"] .c-research-idle h2 { margin: 9px 0 5px; color: #fff; font-size: 18px; line-height: 1.5; }
html[data-page-template="C"] .c-research-idle p { margin: 0; color: #8fa6b5; font-size: 10px; line-height: 1.8; }

html[data-page-template="C"] .c-research-progress { min-height: 240px; padding: 22px; border: 1px solid rgba(86, 214, 210, .2); border-radius: 8px; background: var(--c-panel-strong); box-shadow: 0 24px 55px rgba(0, 0, 0, .2); }
html[data-page-template="C"] .c-research-progress__top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
html[data-page-template="C"] .c-research-progress__identity { display: flex; min-width: 0; align-items: center; gap: 12px; }
html[data-page-template="C"] .c-research-progress__icon { display: grid; width: 45px; height: 45px; flex: 0 0 45px; place-items: center; border: 1px solid rgba(216, 181, 106, .3); border-radius: 6px; color: var(--c-gold); font-size: 19px; }
html[data-page-template="C"] .c-research-progress__identity span:not(.c-research-progress__icon) { color: var(--c-teal); font-size: 9px; }
html[data-page-template="C"] .c-research-progress__identity h2 { margin: 3px 0 0; color: #fff; font-size: 16px; }
html[data-page-template="C"] .c-research-progress__identity p { margin: 2px 0 0; color: #8fa6b5; font-size: 9px; }
html[data-page-template="C"] .c-research-progress__top > strong { flex: 0 0 auto; color: var(--c-gold); font-size: 22px; direction: ltr; }
html[data-page-template="C"] .c-research-progress .scan-progress { height: 5px; margin: 23px 0 8px; overflow: hidden; border-radius: 5px; background: rgba(158, 188, 208, .14); }
html[data-page-template="C"] .c-research-progress .scan-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--c-teal); transition: width .2s ease; }
html[data-page-template="C"] .c-research-progress__step { margin: 0; color: #9fb2bd; font-size: 9px; }
html[data-page-template="C"] .c-research-progress__steps { display: grid; grid-template-columns: repeat(5, minmax(92px, 1fr)); gap: 6px; margin: 20px 0 0; padding: 14px 0 4px; overflow-x: auto; border-top: 1px solid var(--c-line-dark); list-style: none; }
html[data-page-template="C"] .c-research-progress__steps li { display: flex; align-items: center; gap: 6px; color: #728997; font-size: 9px; white-space: nowrap; }
html[data-page-template="C"] .c-research-progress__steps li span { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border: 1px solid #496277; border-radius: 50%; font-size: 8px; }
html[data-page-template="C"] .c-research-progress__steps li.is-active,
html[data-page-template="C"] .c-research-progress__steps li.is-complete { color: #dce7e9; }
html[data-page-template="C"] .c-research-progress__steps li.is-active span { border-color: var(--c-gold); color: var(--c-gold); }
html[data-page-template="C"] .c-research-progress__steps li.is-complete span { border-color: var(--c-teal); color: #092333; background: var(--c-teal); }

html[data-page-template="C"] .c-research-result { overflow: hidden; border: 1px solid rgba(158, 188, 208, .25); border-radius: 8px; color: var(--c-ink); background: var(--c-paper); box-shadow: 0 28px 65px rgba(0, 0, 0, .24); }
html[data-page-template="C"] .c-result-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border-bottom: 1px solid #dde5e2; background: #fff; }
html[data-page-template="C"] .c-result-company { display: flex; min-width: 0; align-items: center; gap: 11px; }
html[data-page-template="C"] .c-result-company [data-scan-stock-mark] { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 7px; color: #123a3b; background: #dcefed; font-size: 15px; font-weight: 800; }
html[data-page-template="C"] .c-result-label { display: block; color: #84948e; font-size: 8px; font-weight: 700; }
html[data-page-template="C"] .c-result-company h2 { overflow: hidden; margin: 2px 0 1px; color: #12312a; font-size: 18px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-result-company p { display: flex; align-items: center; gap: 5px; margin: 0; color: #73837d; font-size: 9px; }
html[data-page-template="C"] .c-result-company p > span:first-child { direction: ltr; }
html[data-page-template="C"] .c-result-company p i { color: #b59355; font-style: normal; }
html[data-page-template="C"] .c-data-status { flex: 0 0 auto; max-width: 128px; padding: 6px 8px; border: 1px solid #d8e6df; border-radius: 5px; color: #267255; background: #eef7f2; font-size: 8px; text-align: center; }

html[data-page-template="C"] .c-result-focus { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 18px; align-items: center; padding: 23px 18px 20px; }
html[data-page-template="C"] .c-current-price > span,
html[data-page-template="C"] .c-result-summary > span { display: block; margin-bottom: 6px; color: #82908b; font-size: 9px; font-weight: 700; }
html[data-page-template="C"] .c-current-price > strong { display: block; color: #102f28; font-size: 27px; line-height: 1.25; white-space: nowrap; }
html[data-page-template="C"] .c-current-price > b { display: inline-block; margin-top: 5px; font-size: 12px; direction: ltr; }
html[data-page-template="C"] .is-positive { color: var(--c-green) !important; }
html[data-page-template="C"] .is-negative { color: var(--c-red) !important; }
html[data-page-template="C"] .c-research-result .c-score-ring { position: relative; width: 132px; height: 132px; }
html[data-page-template="C"] .c-research-result .c-score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
html[data-page-template="C"] .c-research-result .c-score-ring__track,
html[data-page-template="C"] .c-research-result .c-score-ring__value { fill: none; stroke-width: 11; }
html[data-page-template="C"] .c-research-result .c-score-ring__track { stroke: #dfe8e4; }
html[data-page-template="C"] .c-research-result .c-score-ring__value { stroke: #24937e; stroke-linecap: round; }
html[data-page-template="C"] .c-research-result .c-score-ring__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; direction: ltr; }
html[data-page-template="C"] .c-research-result .c-score-ring__label strong { color: #13352d; font-size: 33px; line-height: 1; }
html[data-page-template="C"] .c-research-result .c-score-ring__label span { margin-top: 5px; color: #87948f; font-size: 8px; }
html[data-page-template="C"] .c-result-summary { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid #e2e9e6; }
html[data-page-template="C"] .c-result-summary h3 { margin: 0; color: #153d34; font-size: 19px; }
html[data-page-template="C"] .c-result-summary p { margin: 5px 0 0; color: #5f716b; font-size: 11px; line-height: 1.7; }

html[data-page-template="C"] .c-research-result .c-diagnosis-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 18px 22px; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card { min-width: 0; padding: 13px; border: 1px solid #dce5e1; border-radius: 7px; background: #fff; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__top span { color: #536861; font-size: 10px; font-weight: 800; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__top strong { color: #1d806b; font-size: 16px; direction: ltr; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__bar { height: 4px; margin: 10px 0 7px; overflow: hidden; border-radius: 4px; background: #e5ece9; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: #48a58e; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card p { min-height: 24px; overflow: visible; margin: 0; color: #87948f; font-size: 8px; line-height: 1.5; text-overflow: clip; white-space: normal; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card.is-unavailable .c-diagnosis-card__top strong { color: #6f7f79; font-size: 9px; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card.is-unavailable .c-diagnosis-card__bar { visibility: hidden; }

html[data-page-template="C"] .c-report-data { border-top: 1px solid #dce5e1; }
html[data-page-template="C"] .c-report-data__market { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-page-template="C"] .c-report-data__market > div { min-width: 0; padding: 16px 18px; border-bottom: 1px solid #dce5e1; }
html[data-page-template="C"] .c-report-data__market > div:first-child { border-inline-end: 1px solid #dce5e1; }
html[data-page-template="C"] .c-report-data__market span { display: block; margin-bottom: 5px; color: #85938e; font-size: 8px; }
html[data-page-template="C"] .c-report-data__market strong { display: block; overflow: hidden; color: #25473f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
html[data-page-template="C"] .c-report-data__market small { display: block; margin-top: 5px; color: #87948f; font-size: 9px; line-height: 1.5; }
html[data-page-template="C"] .c-session-move,
html[data-page-template="C"] .c-score-breakdown { padding: 18px; border-bottom: 1px solid #dce5e1; }
html[data-page-template="C"] .c-data-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
html[data-page-template="C"] .c-data-heading span { display: block; color: #395a52; font-size: 10px; font-weight: 800; }
html[data-page-template="C"] .c-data-heading strong { display: block; margin-top: 3px; color: #8b9894; font-size: 8px; font-weight: 500; }
html[data-page-template="C"] .c-data-heading > b { font-size: 9px; }
html[data-page-template="C"] .c-session-move svg { width: 100%; height: 82px; margin-top: 11px; overflow: visible; }
html[data-page-template="C"] .c-session-move svg line { stroke: #e4ebe8; stroke-width: 1; stroke-dasharray: 3 5; }
html[data-page-template="C"] .c-session-move svg path { fill: none; stroke: #24937e; stroke-width: 3; stroke-linecap: round; }
html[data-page-template="C"] .c-session-move svg path.is-negative { stroke: var(--c-red); }
html[data-page-template="C"] .c-session-move svg circle { fill: #fff; stroke: #24937e; stroke-width: 3; }
html[data-page-template="C"] .c-session-move svg circle.is-negative { stroke: var(--c-red); }
html[data-page-template="C"] .c-session-move__labels { display: flex; justify-content: space-between; gap: 15px; color: #84918c; font-size: 8px; }
html[data-page-template="C"] .c-session-move__labels b { margin-inline-start: 4px; color: #315249; font-size: 9px; direction: ltr; }
html[data-page-template="C"] .c-session-move > p { margin: 13px 0 0; color: #7d8c86; font-size: 9px; }
html[data-page-template="C"] .c-score-breakdown ol { display: grid; gap: 7px; margin: 13px 0 0; padding: 0; list-style: none; counter-reset: breakdown; }
html[data-page-template="C"] .c-score-breakdown li { position: relative; padding-inline-start: 18px; color: #526861; font-size: 9px; line-height: 1.6; }
html[data-page-template="C"] .c-score-breakdown li::before { content: ""; position: absolute; top: 5px; inset-inline-start: 0; width: 7px; height: 7px; border: 2px solid #55a995; border-radius: 50%; }
html[data-page-template="C"] .c-data-provenance { display: grid; gap: 0; }
html[data-page-template="C"] .c-data-provenance__title { margin: 0; padding: 13px 18px; border-bottom: 1px solid #dce5e1; color: #315249; font-size: 10px; font-weight: 800; }
html[data-page-template="C"] .c-data-provenance > div { padding: 13px 18px; border-bottom: 1px solid #dce5e1; }
html[data-page-template="C"] .c-data-provenance span { display: block; margin-bottom: 4px; color: #899691; font-size: 8px; }
html[data-page-template="C"] .c-data-provenance strong { display: block; color: #315249; font-size: 9px; line-height: 1.6; }

html[data-page-template="C"] .c-report-handoff { display: grid; gap: 14px; padding: 19px 18px; color: #dce7e9; background: #102639; }
html[data-page-template="C"] .c-report-handoff > div > span { color: var(--c-gold); font-size: 9px; font-weight: 800; }
html[data-page-template="C"] .c-report-handoff h3 { margin: 4px 0 0; color: #fff; font-size: 15px; line-height: 1.5; }
html[data-page-template="C"] .c-report-handoff p { margin: 4px 0 0; color: #afc0c9; font-size: 9px; line-height: 1.8; }
html[data-page-template="C"] .c-report-handoff .button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border-radius: 6px; color: #092333; background: var(--c-teal); box-shadow: none; text-decoration: none; font-size: 11px; font-weight: 800; }
html[data-page-template="C"] .c-report-handoff .button:hover { background: #79e1dd; }

html[data-page-template="C"] .c-research-stocks { padding: 58px 0; color: var(--c-text); background: #0b1a29; }
html[data-page-template="C"] .c-stocks-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; }
html[data-page-template="C"] .c-stocks-heading span { color: var(--c-gold); font-size: 9px; font-weight: 700; }
html[data-page-template="C"] .c-stocks-heading h2 { margin: 7px 0 0; color: #fff; font-size: 23px; }
html[data-page-template="C"] .c-stocks-heading > strong { color: #a5b7c2; font-size: 10px; font-weight: 500; }
html[data-page-template="C"] .c-stocks-heading > strong b { color: var(--c-teal); font-size: 20px; }
html[data-page-template="C"] .c-research-stocks .stock-list-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 21px 0 16px; }
html[data-page-template="C"] .c-research-stocks .stock-list-toolbar input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid rgba(137, 174, 196, .22); border-radius: 6px; outline: 0; color: #fff; background: #102438; font: inherit; font-size: 11px; }
html[data-page-template="C"] .c-research-stocks .stock-list-toolbar > span { color: #8299a7; font-size: 9px; white-space: nowrap; }
html[data-page-template="C"] .c-research-stocks .stock-list-toolbar > span b { color: var(--c-teal); }
html[data-page-template="C"] .c-research-stocks .stock-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html[data-page-template="C"] .c-research-stocks .popular-stock { min-width: 0; border: 1px solid rgba(137, 174, 196, .16); border-radius: 6px; color: #eaf0f2; background: #102438; }
html[data-page-template="C"] .c-research-stocks .popular-stock h3 { color: #fff; }
html[data-page-template="C"] .c-research-stocks .popular-stock button { color: var(--c-teal); }
html[data-page-template="C"] .c-research-disclaimer { padding: 19px 0; color: #91a5b1; background: var(--c-navy); }
html[data-page-template="C"] .c-research-disclaimer .container { display: flex; align-items: flex-start; gap: 11px; }
html[data-page-template="C"] .c-research-disclaimer strong { flex: 0 0 auto; color: var(--c-gold); font-size: 9px; }
html[data-page-template="C"] .c-research-disclaimer p { margin: 0; font-size: 9px; line-height: 1.75; }

html[data-page-template="C"] .c-research-footer { padding: 0; color: #8fa3af; background: #06111c; }
html[data-page-template="C"] .c-research-footer__inner { display: grid; gap: 15px; padding-top: 22px; padding-bottom: 24px; }
html[data-page-template="C"] .c-research-footer .brand-mark__text { color: #fff; }
html[data-page-template="C"] .c-research-footer p { margin: 5px 0 0; color: #8498a4; font-size: 9px; }
html[data-page-template="C"] .c-research-footer__inner > span { color: #647b89; font-size: 8px; }
html[data-page-template="C"] .c-footer-whatsapp { display: inline-flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; border: 1px solid rgba(86, 214, 210, .28); border-radius: 6px; color: #dff6f4; background: #0f2938; font-size: 10px; font-weight: 700; text-decoration: none; }
html[data-page-template="C"] .c-footer-whatsapp span { color: var(--c-gold); font-size: 16px; }

@media (min-width: 640px) {
  html[data-page-template="C"] .c-search-console .stock-search-form__row { grid-template-columns: minmax(0, 1fr) 148px; }
  html[data-page-template="C"] .c-result-focus { grid-template-columns: minmax(150px, .7fr) 150px minmax(180px, 1fr); padding: 27px 24px 24px; }
  html[data-page-template="C"] .c-result-summary { grid-column: auto; padding: 0; border-top: 0; }
  html[data-page-template="C"] .c-research-result .c-score-ring { width: 150px; height: 150px; }
  html[data-page-template="C"] .c-research-result .c-diagnosis-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 24px 25px; }
  html[data-page-template="C"] .c-report-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-page-template="C"] .c-report-data__market { grid-column: 1 / -1; }
  html[data-page-template="C"] .c-session-move { grid-column: 1 / -1; }
  html[data-page-template="C"] .c-data-provenance { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-page-template="C"] .c-data-provenance__title { grid-column: 1 / -1; }
  html[data-page-template="C"] .c-data-provenance > div { border-bottom: 0; border-inline-end: 1px solid #dce5e1; }
  html[data-page-template="C"] .c-data-provenance > div:last-child { border-inline-end: 0; }
  html[data-page-template="C"] .c-report-handoff { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 20px 24px; }
  html[data-page-template="C"] .c-report-handoff .button { width: auto; min-width: 225px; padding: 0 18px; }
  html[data-page-template="C"] .c-research-footer__inner { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
  html[data-page-template="C"] .c-footer-whatsapp { min-width: 220px; }
}

@media (min-width: 901px) {
  html[data-page-template="C"] .c-research-hero { padding-top: 132px; }
  html[data-page-template="C"] .c-research-heading h1 { font-size: 46px; }
  html[data-page-template="C"] .c-research-stocks .stock-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  html[data-page-template="C"] .c-research-hero { padding: 84px 0 40px; }
  html[data-page-template="C"] .c-research-heading { margin-bottom: 20px; text-align: start; }
  html[data-page-template="C"] .c-research-heading h1 { font-size: 31px; }
  html[data-page-template="C"] .c-search-console { padding: 14px; }
  html[data-page-template="C"] .c-search-console__meta { gap: 6px 10px; }
  html[data-page-template="C"] .c-search-console__meta strong { width: 100%; margin-inline-start: 0; }
  html[data-page-template="C"] .c-research-idle { min-height: 175px; justify-content: flex-start; gap: 14px; padding: 18px; }
  html[data-page-template="C"] .c-research-idle__document { width: 62px; height: 75px; flex-basis: 62px; }
  html[data-page-template="C"] .c-research-idle h2 { font-size: 15px; }
  html[data-page-template="C"] .c-research-idle p { font-size: 9px; }
  html[data-page-template="C"] .c-result-header { align-items: flex-start; }
  html[data-page-template="C"] .c-data-status { max-width: 100px; }
  html[data-page-template="C"] .c-current-price > strong { font-size: 23px; }
  html[data-page-template="C"] .c-research-result .c-score-ring { width: 122px; height: 122px; }
  html[data-page-template="C"] .c-research-result .c-score-ring__label strong { font-size: 29px; }
  html[data-page-template="C"] .c-research-result .c-diagnosis-card { padding: 11px; }
  html[data-page-template="C"] .c-research-result .c-diagnosis-card__top span { font-size: 9px; }
  html[data-page-template="C"] .c-research-stocks .stock-list { grid-template-columns: 1fr; }
}

/* Taiwan C report palette: deep blue, white paper, and restrained brokerage gold. */
html[data-page-template="C"] body.c-research-page {
  --c-navy: #07182d;
  --c-panel: #0d2540;
  --c-panel-strong: #112f4d;
  --c-line-dark: rgba(171, 195, 219, .2);
  --c-text: #f5f8fc;
  --c-muted: #a9bbce;
  --c-gold: #d8ae55;
  --c-teal: #d8ae55;
  --c-green: #3f9976;
  --c-red: #c9635d;
  --c-paper: #ffffff;
  --c-ink: #102b47;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
html[data-page-template="C"] .c-research-header { background: rgba(7, 24, 45, .97); }
html[data-page-template="C"] .c-research-header__label { color: #a9bbce; }
html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap:focus-within { border-color: rgba(216, 174, 85, .9); box-shadow: 0 0 0 3px rgba(216, 174, 85, .12); }
html[data-page-template="C"] .c-search-console .stock-search-form__icon { color: var(--c-gold); }
html[data-page-template="C"] .c-search-console .stock-search-form .button { color: #081a31; background: var(--c-gold); }
html[data-page-template="C"] .c-search-console .stock-search-form .button:hover { background: #e6c779; }
html[data-page-template="C"] .c-search-console .quick-searches button { border-color: rgba(216, 174, 85, .32); color: #e3ebf3; background: #122d49; }
html[data-page-template="C"] .c-search-console .quick-searches button:hover { border-color: var(--c-gold); color: #fff; background: #193b5d; }
html[data-page-template="C"] .c-supported-count > span { border-color: rgba(216, 174, 85, .45); color: var(--c-gold); }
html[data-page-template="C"] .c-supported-count strong { color: #fff; }
html[data-page-template="C"] .c-research-idle__document { border-color: rgba(216, 174, 85, .52); background: #0b2038; }
html[data-page-template="C"] .c-research-idle__document span:nth-child(2),
html[data-page-template="C"] .c-research-idle__document b { background: var(--c-gold); }
html[data-page-template="C"] .c-research-idle__document b { color: #081a31; }
html[data-page-template="C"] .c-research-idle__copy > div { color: var(--c-gold); }
html[data-page-template="C"] .c-research-idle__copy > div i { border-color: rgba(216, 174, 85, .35); color: var(--c-gold); }
html[data-page-template="C"] .c-research-progress { border-color: rgba(216, 174, 85, .35); }
html[data-page-template="C"] .c-research-progress__icon,
html[data-page-template="C"] .c-research-progress__top > strong { color: var(--c-gold); }
html[data-page-template="C"] .c-research-progress .scan-progress > span { background: var(--c-gold); }
html[data-page-template="C"] .c-research-progress__steps li.is-active span { border-color: var(--c-gold); color: var(--c-gold); }
html[data-page-template="C"] .c-research-progress__steps li.is-complete span { border-color: var(--c-gold); color: #081a31; background: var(--c-gold); }
html[data-page-template="C"] .c-result-header { border-bottom-color: #dce5ef; }
html[data-page-template="C"] .c-result-company [data-scan-stock-mark] { color: #795b19; background: #f4ead1; }
html[data-page-template="C"] .c-result-company p i { color: var(--c-gold); }
html[data-page-template="C"] .c-data-status { border-color: #e2d3a9; color: #7d5b18; background: #fcf7e9; }
html[data-page-template="C"] .c-research-result .c-score-ring__value { stroke: var(--c-gold); }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__top strong { color: #9a731e; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card__bar span { background: var(--c-gold); }
html[data-page-template="C"] .c-session-move svg path { stroke: var(--c-gold); }
html[data-page-template="C"] .c-session-move svg circle { stroke: var(--c-gold); }
html[data-page-template="C"] .c-report-handoff .button { color: #081a31; background: var(--c-gold); }
html[data-page-template="C"] .c-report-handoff .button:hover { background: #e6c779; }
html[data-page-template="C"] .c-research-stocks { background: #091d35; }
html[data-page-template="C"] .c-research-stocks .popular-stock button { color: var(--c-gold); }
html[data-page-template="C"] .c-footer-whatsapp { border-color: rgba(216, 174, 85, .42); }
html[data-page-template="C"] .c-footer-whatsapp span { color: var(--c-gold); }
html[data-page-template="C"] .c-research-result .c-diagnosis-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-page-template="C"] .c-research-result .c-diagnosis-card p { min-height: 32px; font-size: 9px; line-height: 1.65; }
html[data-page-template="C"] .c-analysis-basis { padding: 18px 24px; border-top: 1px solid #dce5ef; background: #f7fafc; }
html[data-page-template="C"] .c-analysis-basis__title { margin: 0 0 8px; color: #315249; font-size: 10px; font-weight: 800; }
html[data-page-template="C"] .c-analysis-basis [data-c-result-basis] { margin: 0; color: #667873; font-size: 9px; line-height: 1.8; }
html[data-page-template="C"] .c-research-result .c-diagnosis-card.is-unavailable .c-diagnosis-card__bar { visibility: hidden; }
@media (max-width: 639px) {
  html[data-page-template="C"] .c-research-result .c-diagnosis-cards { grid-template-columns: 1fr; }
  html[data-page-template="C"] .c-analysis-basis { padding: 16px 18px; }
}

/* C mobile refinement: keep the research flow compact and thumb-friendly. */
@media (max-width: 639px) {
  html[data-page-template="C"] .c-research-hero {
    min-height: auto;
    padding: 78px 0 28px;
  }
  html[data-page-template="C"] .c-research-shell {
    width: 100%;
    padding-inline: 14px;
  }
  html[data-page-template="C"] .c-research-heading {
    margin-bottom: 15px;
  }
  html[data-page-template="C"] .c-research-heading h1 {
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1.25;
    letter-spacing: -.035em;
  }
  html[data-page-template="C"] .c-search-console {
    padding: 13px;
    border-radius: 9px;
  }
  html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap,
  html[data-page-template="C"] .c-search-console .stock-search-form .button {
    min-height: 50px;
  }
  html[data-page-template="C"] .c-search-console .quick-searches {
    gap: 6px;
    margin-top: 11px;
  }
  html[data-page-template="C"] .c-search-console .quick-searches button {
    min-height: 29px;
    padding-inline: 9px;
    font-size: 10px;
  }
  html[data-page-template="C"] .c-supported-count {
    justify-content: flex-start;
    margin-top: 11px;
    line-height: 1.6;
  }
  html[data-page-template="C"] .c-research-panel {
    margin-top: 16px;
  }
  html[data-page-template="C"] .c-research-idle {
    min-height: 144px;
    gap: 12px;
    padding: 16px;
    border-radius: 9px;
  }
  html[data-page-template="C"] .c-research-idle__document {
    width: 56px;
    height: 68px;
    flex-basis: 56px;
  }
  html[data-page-template="C"] .c-research-idle__document span {
    width: 25px;
  }
  html[data-page-template="C"] .c-research-idle__document span:nth-child(2) {
    width: 19px;
  }
  html[data-page-template="C"] .c-research-idle__document b {
    bottom: 5px;
    inset-inline-start: 5px;
    width: 18px;
    height: 18px;
  }
  html[data-page-template="C"] .c-research-idle h2 {
    font-size: 15px;
    line-height: 1.45;
  }
  html[data-page-template="C"] .c-research-idle p {
    font-size: 9px;
    line-height: 1.7;
  }
  html[data-page-template="C"] .c-research-result .c-result-header {
    gap: 8px;
    padding: 14px;
  }
  html[data-page-template="C"] .c-result-company {
    gap: 8px;
  }
  html[data-page-template="C"] .c-result-company [data-scan-stock-mark] {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 13px;
  }
  html[data-page-template="C"] .c-result-company h2 {
    font-size: 16px;
  }
  html[data-page-template="C"] .c-data-status {
    max-width: 88px;
    padding: 5px 6px;
    font-size: 8px;
    line-height: 1.35;
  }
  html[data-page-template="C"] .c-result-focus {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
    padding: 19px 14px 17px;
  }
  html[data-page-template="C"] .c-current-price > strong {
    font-size: clamp(22px, 7vw, 27px);
  }
  html[data-page-template="C"] .c-research-result .c-score-ring {
    width: 116px;
    height: 116px;
  }
  html[data-page-template="C"] .c-research-result .c-score-ring__label strong {
    font-size: 28px;
  }
  html[data-page-template="C"] .c-result-summary {
    padding-top: 13px;
  }
  html[data-page-template="C"] .c-result-summary h3 {
    font-size: 17px;
  }
  html[data-page-template="C"] .c-result-summary p {
    font-size: 10px;
    line-height: 1.75;
  }
  html[data-page-template="C"] .c-research-result .c-diagnosis-cards {
    gap: 7px;
    padding: 0 14px 18px;
  }
  html[data-page-template="C"] .c-research-result .c-diagnosis-card {
    padding: 12px;
  }
  html[data-page-template="C"] .c-report-data__market > div,
  html[data-page-template="C"] .c-session-move,
  html[data-page-template="C"] .c-data-provenance__title,
  html[data-page-template="C"] .c-data-provenance > div {
    padding-inline: 14px;
  }
  html[data-page-template="C"] .c-report-handoff {
    gap: 12px;
    padding: 17px 14px;
  }
  html[data-page-template="C"] .c-report-handoff h3 {
    font-size: 16px;
  }
  html[data-page-template="C"] .c-report-handoff p {
    font-size: 9px;
  }
  html[data-page-template="C"] .c-research-disclaimer {
    padding: 16px 0;
  }
  html[data-page-template="C"] .c-research-footer__inner {
    gap: 11px;
    padding-top: 18px;
    padding-bottom: 20px;
  }
}

/* Taiwan C mobile layout: keep every block inside the viewport and expose a compact menu. */
html[data-page-template="C"] .c-research-mobile-nav,
html[data-page-template="C"] .c-research-menu-toggle { display: none; }

@media (max-width: 639px) {
  html[data-page-template="C"] .c-research-header .site-header__inner {
    width: calc(100% - 32px);
    min-width: 0;
    gap: 8px;
  }
  html[data-page-template="C"] .c-research-header .brand-mark {
    min-width: 0;
    max-width: 46%;
  }
  html[data-page-template="C"] .c-research-header .brand-mark__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html[data-page-template="C"] .c-research-header__label {
    order: 2;
    min-width: 0;
    margin-inline-start: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(8px, 2.6vw, 10px);
  }
  html[data-page-template="C"] .c-research-menu-toggle {
    order: 3;
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(216, 174, 85, .42);
    border-radius: 7px;
    color: var(--c-gold);
    background: #102d49;
    font-size: 18px;
    line-height: 1;
  }
  html[data-page-template="C"] .c-research-mobile-nav {
    top: 69px;
    right: 16px;
    left: 16px;
    display: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(216, 174, 85, .28);
    border-radius: 9px;
    background: #0d2540;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .28);
  }
  html[data-page-template="C"] .c-research-mobile-nav.is-open {
    display: flex;
    flex-direction: column;
  }
  html[data-page-template="C"] .c-research-mobile-nav > a:not(.button) {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(171, 195, 219, .12);
    color: #e7eff5;
    font-size: 13px;
    line-height: 1.4;
  }
  html[data-page-template="C"] .c-research-mobile-nav > a:not(.button):last-child {
    border-bottom: 0;
  }

  html[data-page-template="C"] .c-research-hero {
    min-height: auto;
    padding: 78px 0 32px;
  }
  html[data-page-template="C"] .c-research-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
  }
  html[data-page-template="C"] .c-research-heading,
  html[data-page-template="C"] .c-search-console,
  html[data-page-template="C"] .c-research-panel,
  html[data-page-template="C"] .c-research-progress,
  html[data-page-template="C"] .c-research-result {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  html[data-page-template="C"] .c-research-heading h1 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.25;
  }
  html[data-page-template="C"] .c-search-console .stock-search-form__row {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-page-template="C"] .c-search-console .stock-search-form__input-wrap,
  html[data-page-template="C"] .c-search-console .stock-search-form .button {
    width: 100%;
    max-width: 100%;
  }
  html[data-page-template="C"] .c-search-console .quick-searches {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  html[data-page-template="C"] .c-search-console .quick-searches__label {
    width: 100%;
    margin-inline-end: 0;
  }
  html[data-page-template="C"] .c-search-console .quick-searches button {
    max-width: 100%;
  }
  html[data-page-template="C"] .c-supported-count {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    line-height: 1.6;
  }
  html[data-page-template="C"] .c-research-panel {
    margin-top: 16px;
  }
  html[data-page-template="C"] .c-research-idle {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  html[data-page-template="C"] .c-research-result .c-result-header {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
  html[data-page-template="C"] .c-result-company {
    width: 100%;
    min-width: 0;
  }
  html[data-page-template="C"] .c-data-status {
    align-self: flex-start;
    max-width: 100%;
  }
  html[data-page-template="C"] .c-result-focus {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }
  html[data-page-template="C"] .c-current-price {
    width: 100%;
    text-align: center;
  }
  html[data-page-template="C"] .c-research-result .c-score-ring {
    justify-self: center;
  }
  html[data-page-template="C"] .c-result-summary {
    width: 100%;
  }
  html[data-page-template="C"] .c-research-result .c-diagnosis-cards {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-page-template="C"] .c-report-data {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  html[data-page-template="C"] .c-report-data__market {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-page-template="C"] .c-report-data__market > div:first-child {
    border-inline-end: 0;
  }
  html[data-page-template="C"] .c-session-move,
  html[data-page-template="C"] .c-data-provenance,
  html[data-page-template="C"] .c-analysis-basis,
  html[data-page-template="C"] .c-report-handoff {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  html[data-page-template="C"] .c-research-disclaimer .container,
  html[data-page-template="C"] .c-research-footer .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }
  html[data-page-template="C"] .c-research-disclaimer .container {
    gap: 9px;
  }
}
