:root {
  --bg: #f2f6f8;
  --bg-soft: #f7fbfe;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --text: #173147;
  --muted: #6a7f93;
  --line: rgba(18, 42, 66, 0.08);
  --accent: #1f9d63;
  --accent-2: #0f8f57;
  --accent-soft: #dff6ea;
  --hero-bg: #04171d;
  --hero-bg-2: #062730;
  --shadow: 0 16px 40px rgba(20, 41, 66, 0.08);
  --shadow-strong: 0 26px 56px rgba(16, 29, 43, 0.14);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  background:
    radial-gradient(circle at 8% 4%, rgba(31, 157, 99, 0.08), transparent 20%),
    radial-gradient(circle at 82% 0%, rgba(15, 143, 87, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #eef3f7 100%);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 48, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 48, 0.03) 1px, transparent 1px);
  background-size: 100% 48px, 48px 100%;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

::selection {
  background: rgba(31, 157, 99, 0.2);
  color: #092233;
}

img,
svg {
  display: block;
}

button,
a,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  padding: 0;
}

input {
  outline: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
}

body :is(.brand, .nav__link, .btn, .icon-btn, .tab, .stock-card, .hero-search__button, .hero__copy h1, .hero__lead, .section-heading h2, .section-heading p) {
  cursor: pointer;
}

body :is(.brand, .nav__link, .btn, .icon-btn, .tab, .stock-card, .hero-search__button):hover {
  transform: translateY(-1px);
}

.topbar,
.hero,
.featured {
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 34, 54, 0.07);
  box-shadow: 0 10px 28px rgba(17, 34, 54, 0.04);
}

.topbar__inner {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  direction: ltr;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  color: #10233c;
  transition: transform 0.18s ease;
}

.brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #061b3c;
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__text strong {
  font-size: 1.12rem;
  line-height: 1.1;
  font-weight: 800;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  direction: rtl;
  flex-wrap: wrap;
  padding-inline: 8px;
  min-width: 0;
}

.nav__link {
  color: #274159;
  font-size: 0.92rem;
  padding: 22px 0 18px;
  position: relative;
  white-space: nowrap;
  transition: transform 0.18s ease, color 0.18s ease;
}

.nav__link--active {
  color: #12904f;
  font-weight: 700;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 12px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #28b76e, #0f8f57);
}

.nav__link--more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  justify-self: end;
}

.btn,
.icon-btn,
.hero-search__button,
.tab,
.analysis-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn {
  padding: 0 18px;
  font-weight: 700;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #21ac66 0%, #149156 100%);
  box-shadow: 0 12px 24px rgba(21, 142, 86, 0.23);
}

.btn--ghost {
  color: #274159;
  background: #fff;
  border: 1px solid rgba(21, 53, 82, 0.1);
}

.icon-btn {
  width: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(21, 53, 82, 0.12);
  color: #274159;
  box-shadow: 0 8px 18px rgba(17, 34, 54, 0.04);
}

.btn svg,
.icon-btn svg,
.hero-search__button svg {
  width: 20px;
  height: 20px;
}

.hero {
  isolation: isolate;
  overflow: visible;
  z-index: 2;
  background:
    radial-gradient(circle at 70% 8%, rgba(76, 235, 204, 0.16), transparent 24%),
    linear-gradient(180deg, #03161a 0%, #061f28 52%, #062026 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(39, 183, 110, 0.12), transparent 16%),
    radial-gradient(circle at 84% 24%, rgba(6, 126, 161, 0.16), transparent 18%);
  mix-blend-mode: screen;
}

.hero::after {
  background: linear-gradient(180deg, rgba(2, 9, 12, 0.1), rgba(2, 9, 12, 0.25));
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 28px;
  min-height: 300px;
  padding: 34px 0 32px;
  direction: ltr;
}

.hero__copy {
  /* padding: 24px 0 28px; */
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  direction: rtl;
}

.hero__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #7ce3d7;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero__copy h1 {
  margin: 0;
  line-height: 1.08;
  font-size: clamp(3rem, 4.65vw, 4.85rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero__copy h1 span {
  display: block;
}

.hero__lead {
  margin: 14px 0 0;
  max-width: 640px;
  color: rgba(232, 244, 247, 0.94);
  font-size: 1rem;
}

.hero-search__wrap {
  position: relative;
  z-index: 3;
  width: min(100%, 640px);
  margin-top: 22px;
}

.hero-search {
  width: 100%;
  display: flex;
  align-items: stretch;
  direction: ltr;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.hero-search__button {
  min-width: 116px;
  padding: 0 18px;
  gap: 8px;
  white-space: nowrap;
  background: linear-gradient(180deg, #1fa15f 0%, #118855 100%);
  color: #fff;
  flex: none;
  border-radius: 0;
}

.hero-search__button span {
  font-weight: 800;
}

.hero-search__button .radar-scan-icon {
  width: 36px;
  height: 36px;
  flex: none;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.32));
}

.hero-search input {
  flex: 1;
  min-height: 68px;
  border: 0;
  padding: 0 20px;
  color: #3c5366;
  background: transparent;
  direction: rtl;
  text-align: right;
  font-size: 1rem;
}

.hero-search input::placeholder {
  color: #8fa3b6;
}

.hero-search-suggestions {
  position: absolute;
  inset-inline: 0;
  z-index: 24;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(21, 53, 82, 0.09);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
}

.hero-search-suggestions[hidden] {
  display: none;
}

.hero-popular-stocks {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  direction: rtl;
}

.hero-popular-stocks__label {
  color: rgba(232, 244, 247, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.hero-popular-stocks__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-popular-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  max-width: 100%;
  padding: 6px 13px;
  border: 1px solid rgba(124, 227, 215, 0.34);
  border-radius: 999px;
  color: #eafcf9;
  background: rgba(8, 42, 49, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.hero-popular-stock:hover,
.hero-popular-stock:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(124, 227, 215, 0.78);
  background: rgba(19, 102, 101, 0.78);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-popular-stock__name {
  font-weight: 800;
  white-space: nowrap;
}

.hero-popular-stock__symbol {
  color: #8de8dc;
  font-weight: 800;
  white-space: nowrap;
}

.hero-search-suggestions__heading {
  padding: 2px 6px 6px;
  color: #63798d;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-search-suggestions__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(21, 53, 82, 0.08);
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
  color: #173147;
  text-align: right;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-search-suggestions__item:hover,
.hero-search-suggestions__item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 157, 99, 0.22);
  box-shadow: 0 12px 24px rgba(21, 53, 82, 0.08);
}

.hero-search-suggestions__title {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero-search-suggestions__meta {
  color: #7b91a4;
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 0;
}

.hero-art {
  width: min(100%, 620px);
  aspect-ratio: 960 / 540;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(3, 16, 20, 0.44);
  filter: saturate(1.04);
}

.featured {
  z-index: 0;
  padding: 42px 0 72px;
  background: linear-gradient(180deg, #f6fafc 0%, #f2f7fa 100%);
}

.featured__inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.section-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section-heading__eyebrow {
  color: #15a25d;
  font-size: 0.95rem;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  line-height: 1.15;
  color: #173147;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  max-width: 720px;
  color: #6a7f93;
  font-size: 1rem;
}

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  direction: ltr;
}

.tab {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(21, 53, 82, 0.12);
  background: #fff;
  color: #274159;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(17, 34, 54, 0.04);
}

.tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, #21ac66 0%, #149156 100%);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(21, 142, 86, 0.22);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stock-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 15px 16px 14px;
  min-height: 108px;
  border-radius: 20px;
  border: 1px solid #cfead9;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
  box-shadow: 0 10px 24px rgba(20, 83, 45, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: right;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.stock-card:hover {
  border-color: rgba(31, 157, 99, 0.28);
  box-shadow: 0 16px 34px rgba(20, 83, 45, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.stock-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.stock-card__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stock-card__name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #18364d;
  line-height: 1.25;
}

.stock-card__symbol {
  font-size: 0.78rem;
  color: #7e95a7;
}

.stock-card__change {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.positive {
  color: #17a45f;
}

.negative {
  color: #df4d59;
}

.stock-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  direction: ltr;
}

.stock-card__price {
  font-size: 1.26rem;
  font-weight: 900;
  color: #173147;
  letter-spacing: -0.02em;
}

.stock-card__trend {
  font-size: 1rem;
  font-weight: 800;
  color: #17a45f;
}

.featured__footer {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.btn--wide {
  min-width: 160px;
}

body.modal-open {
  overflow: hidden;
}

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.analysis-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.analysis-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 28, 0.58);
  backdrop-filter: blur(8px);
}

.analysis-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: min(88vh, 760px);
  overflow: auto;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
  border: 1px solid rgba(21, 53, 82, 0.08);
  box-shadow: 0 36px 100px rgba(8, 19, 28, 0.28);
  padding: 18px;
}

.analysis-modal [hidden] {
  display: none !important;
}

.analysis-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.analysis-modal__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analysis-modal__eyebrow {
  color: #1a9e60;
  font-weight: 800;
  font-size: 0.9rem;
}

.analysis-modal__heading h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #173147;
}

.analysis-modal__subtitle {
  margin: 0;
  color: #748a9d;
  font-size: 0.92rem;
}

.analysis-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(21, 53, 82, 0.1);
  color: #18364d;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  flex: none;
}

.analysis-modal__close:hover {
  border-color: rgba(31, 157, 99, 0.2);
}

.analysis-modal__loading {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  color: #385165;
}

.analysis-modal__loading > p {
  margin: 0;
  font-size: 1rem;
  color: #597286;
}

.analysis-modal__countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #0f8f57;
  line-height: 1;
}

.analysis-modal__countdown span {
  min-width: 42px;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.analysis-modal__countdown small {
  font-size: 0.95rem;
  font-weight: 800;
}

.radar-loader {
  position: relative;
  width: min(62vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(75, 225, 205, 0.18) 0 8%, transparent 8.5% 100%),
    radial-gradient(circle at center, rgba(21, 71, 91, 0.08), rgba(8, 29, 48, 0.03) 70%, transparent 71%);
  box-shadow:
    0 0 0 1px rgba(31, 157, 99, 0.1),
    0 20px 55px rgba(22, 115, 78, 0.13),
    inset 0 0 35px rgba(31, 157, 99, 0.08);
}

.radar-loader__ring,
.radar-loader__cross,
.radar-loader__sweep,
.radar-loader__center,
.radar-loader__signal {
  position: absolute;
  display: block;
}

.radar-loader__ring {
  inset: 8%;
  border: 1px solid rgba(18, 134, 114, 0.35);
  border-radius: 50%;
}

.radar-loader__ring--middle {
  inset: 24%;
  border-color: rgba(30, 113, 157, 0.34);
}

.radar-loader__ring--inner {
  inset: 39%;
  border-color: rgba(18, 157, 99, 0.48);
}

.radar-loader__cross {
  background: rgba(29, 104, 123, 0.2);
}

.radar-loader__cross--horizontal {
  width: 84%;
  height: 1px;
  top: 50%;
  inset-inline: 8%;
}

.radar-loader__cross--vertical {
  width: 1px;
  height: 84%;
  left: 50%;
  top: 8%;
}

.radar-loader__sweep {
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 314deg,
    rgba(47, 212, 174, 0.03) 326deg,
    rgba(47, 212, 174, 0.22) 344deg,
    rgba(47, 212, 174, 0.82) 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 0 6%, #000 6.5% 100%);
  mask: radial-gradient(circle, transparent 0 6%, #000 6.5% 100%);
  transform-origin: center;
  animation: radar-sweep 1.55s linear infinite;
}

.radar-loader__center {
  width: 28px;
  height: 28px;
  left: calc(50% - 14px);
  top: calc(50% - 14px);
  border: 5px solid rgba(31, 157, 99, 0.24);
  border-radius: 50%;
  background: #f9fffc;
  box-shadow: 0 0 0 7px rgba(31, 157, 99, 0.1), 0 0 25px rgba(31, 157, 99, 0.38);
  z-index: 2;
}

.radar-loader__signal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20bb81;
  box-shadow: 0 0 0 5px rgba(32, 187, 129, 0.12), 0 0 15px rgba(32, 187, 129, 0.8);
  z-index: 2;
  animation: radar-pulse 1.4s ease-in-out infinite;
}

.radar-loader__signal--one {
  top: 28%;
  left: 28%;
}

.radar-loader__signal--two {
  right: 23%;
  bottom: 29%;
  animation-delay: 0.55s;
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radar-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

.analysis-modal__result {
  animation: analysis-result-in 0.35s ease both;
}

@keyframes analysis-result-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.analysis-modal__summary {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 22px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #ecfbf2 0%, #dff6ea 100%);
  border: 1px solid rgba(31, 157, 99, 0.12);
  box-shadow: 0 14px 34px rgba(18, 59, 41, 0.06);
}

.analysis-modal__recommendation {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 157, 99, 0.16);
  color: #0f8f57;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(17, 34, 54, 0.04);
}

.analysis-modal__recommendation.negative {
  color: #c84b5a;
  border-color: rgba(208, 79, 97, 0.2);
}

.analysis-modal__summary-note {
  margin: 10px 0 0;
  color: #385165;
  font-size: 0.92rem;
  line-height: 1.7;
}

.analysis-modal__summary strong {
  font-size: 1.95rem;
  font-weight: 900;
  color: #0f3a24;
  letter-spacing: -0.03em;
}

.analysis-modal__text {
  margin: 16px 2px 0;
  color: #385165;
  font-size: 1rem;
  line-height: 1.85;
}

.analysis-modal__brief {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdfd 0%, #f4fbf7 100%);
  border: 1px solid rgba(31, 157, 99, 0.1);
  box-shadow: 0 14px 30px rgba(14, 28, 48, 0.04);
}

.analysis-modal__brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #173147;
  font-weight: 800;
}

.analysis-modal__brief-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.analysis-modal__brief-head span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22b66d 0%, #13975b 100%);
  box-shadow: 0 0 0 4px rgba(31, 157, 99, 0.08);
}

.analysis-modal__brief-head strong {
  color: #0f8f57;
  font-size: 0.88rem;
  white-space: nowrap;
}

.analysis-modal__brief-text {
  margin: 0;
  color: #385165;
  font-size: 0.95rem;
  line-height: 1.9;
}

.analysis-modal__metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.analysis-modal__metrics article {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(21, 53, 82, 0.08);
}

.analysis-modal__metrics span {
  display: block;
  color: #7b91a4;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.analysis-modal__metrics strong {
  font-size: 1.08rem;
  color: #173147;
}

.analysis-modal__notes {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(21, 53, 82, 0.08);
  box-shadow: 0 12px 30px rgba(14, 28, 48, 0.04);
}

.analysis-modal__notes-head {
  font-size: 1rem;
  font-weight: 800;
  color: #173147;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-modal__notes-head::before,
.analysis-modal__live-card h5::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22b66d 0%, #13975b 100%);
  box-shadow: 0 0 0 4px rgba(31, 157, 99, 0.08);
  flex: none;
}

.analysis-modal__notes ul {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 8px;
  color: #567085;
}

.analysis-modal__notes li {
  line-height: 1.7;
}

.analysis-modal__live {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.analysis-modal__live-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
}

.analysis-modal__live-eyebrow {
  display: block;
  color: #159b61;
  font-size: 0.78rem;
  font-weight: 800;
}

.analysis-modal__live-head h4 {
  margin: 3px 0 0;
  color: #173147;
  font-size: 1.08rem;
}

.analysis-modal__live-head time {
  color: #7b91a4;
  font-size: 0.75rem;
  white-space: nowrap;
}

.analysis-modal__live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.analysis-modal__live-card {
  border: 1px solid rgba(21, 53, 82, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(14, 28, 48, 0.04);
}

.analysis-modal__live-card h5 {
  margin: 0 0 10px;
  color: #173147;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-modal__chart-card {
  display: grid;
  gap: 12px;
}

.analysis-modal__chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analysis-modal__chart-head h5 {
  margin: 0;
}

.analysis-modal__chart-head span {
  color: #7b91a4;
  font-size: 0.76rem;
  white-space: nowrap;
}

.analysis-modal__chart {
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfeff 0%, #f4f9fb 100%);
  border: 1px solid rgba(21, 53, 82, 0.06);
}

.analysis-modal__chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.analysis-modal__chart-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  color: #567085;
  font-size: 0.76rem;
}

.analysis-modal__chart-stats span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f8fb;
  border: 1px solid rgba(21, 53, 82, 0.06);
}

.analysis-modal__reports-card {
  display: grid;
  gap: 12px;
}

.analysis-modal__reports-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.analysis-modal__reports-head h5 {
  margin: 0;
}

.analysis-modal__reports-head span {
  color: #7b91a4;
  font-size: 0.76rem;
  white-space: nowrap;
}

.analysis-modal__reports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.analysis-modal__report-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfeff 0%, #f5fafc 100%);
  border: 1px solid rgba(21, 53, 82, 0.06);
  display: grid;
  gap: 4px;
}

.analysis-modal__report-item.positive .analysis-modal__report-value {
  color: #0f9a5b;
}

.analysis-modal__report-item.negative .analysis-modal__report-value {
  color: #c84b5a;
}

.analysis-modal__report-label {
  color: #7b91a4;
  font-size: 0.78rem;
}

.analysis-modal__report-value {
  color: #173147;
  font-size: 1rem;
  font-weight: 800;
}

.analysis-modal__report-detail {
  color: #567085;
  font-size: 0.72rem;
  line-height: 1.6;
}

.analysis-modal__reports-note {
  margin: 0;
  color: #567085;
  font-size: 0.78rem;
  line-height: 1.7;
}

.analysis-modal__index-list,
.analysis-modal__history-list {
  display: grid;
  gap: 8px;
}

.analysis-modal__index-item,
.analysis-modal__history-item {
  display: grid;
  align-items: center;
  gap: 8px;
  color: #567085;
  font-size: 0.8rem;
}

.analysis-modal__index-item {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.analysis-modal__history-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.analysis-modal__index-item strong,
.analysis-modal__history-item strong {
  color: #173147;
  font-size: 0.88rem;
}

.analysis-modal__index-item em,
.analysis-modal__history-item strong {
  font-style: normal;
}

.analysis-modal__index-item em,
.analysis-modal__history-item strong {
  direction: ltr;
}

.analysis-modal__index-item .positive,
.analysis-modal__history-item .positive {
  color: #0f9a5b;
}

.analysis-modal__index-item .negative,
.analysis-modal__history-item .negative {
  color: #c84b5a;
}

.analysis-modal__history-range {
  margin: 10px 0 0;
  color: #7b91a4;
  font-size: 0.75rem;
  line-height: 1.6;
}

.analysis-modal__news-card {
  padding-bottom: 10px;
}

.analysis-modal__link-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.analysis-modal__link-item {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(21, 53, 82, 0.07);
}

.analysis-modal__link-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.analysis-modal__link-item a {
  color: #1a526b;
  font-size: 0.84rem;
  line-height: 1.55;
  text-decoration: none;
}

.analysis-modal__link-item a:hover {
  color: #0f8f57;
  text-decoration: underline;
}

.analysis-modal__link-meta {
  color: #8a9cac;
  font-size: 0.72rem;
}

.analysis-modal__empty {
  margin: 0;
  color: #8a9cac;
  font-size: 0.8rem;
}

.analysis-modal__disclaimer {
  margin: 0;
  color: #7b91a4;
  font-size: 0.76rem;
  line-height: 1.7;
}

.analysis-modal__whatsapp {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(246, 251, 253, 0) 0%, rgba(246, 251, 253, 0.92) 34%, #f6fbfd 100%);
}

.bc-disclosures {
  position: relative;
  margin-top: 18px;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(18, 42, 66, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.bc-disclosures__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bc-disclosure-card,
.bc-disclosures details {
  min-width: 0;
  padding: 17px;
  border: 1px solid #dce7ed;
  border-radius: 16px;
  background: #fbfdfe;
}

.bc-disclosure-card h2 {
  margin: 0 0 9px;
  color: #173843;
  font-size: 1rem;
  line-height: 1.5;
}

.bc-disclosure-card p,
.bc-disclosure-card li,
.bc-disclosures details p,
.bc-disclosures details li {
  color: #5f7787;
  font-size: 0.84rem;
  line-height: 1.9;
}

.bc-disclosure-card p,
.bc-disclosures details p {
  margin: 0;
}

.bc-disclosure-card ul,
.bc-disclosures details ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0 18px 0 0;
}

.bc-disclosure-card a {
  color: #087c43;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bc-disclosure-card__note {
  margin-top: 10px !important;
  color: #7c91a0 !important;
  font-size: 0.76rem !important;
}

.bc-disclosures__details {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.bc-disclosures details summary {
  cursor: pointer;
  color: #173843;
  font-size: 0.94rem;
  font-weight: 900;
}

.bc-disclosures details p,
.bc-disclosures details ul {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .bc-disclosures {
    width: min(100% - 22px, 1400px);
    padding: 12px;
    border-radius: 18px;
  }

  .bc-disclosures__grid {
    grid-template-columns: 1fr;
  }

  .bc-disclosure-card,
  .bc-disclosures details {
    padding: 15px;
  }
}

.page-disclaimer {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto 10px;
  padding: 0 4px 8px;
  color: #8a9cac;
  font-size: 0.55rem;
  line-height: 1.45;
  text-align: center;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
  flex-direction: row;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, #22b66d 0%, #13975b 100%);
  box-shadow: 0 14px 30px rgba(21, 142, 86, 0.24);
  font-weight: 800;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-cta span {
  direction: rtl;
  text-align: right;
}

.whatsapp-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(21, 142, 86, 0.3);
}

.whatsapp-cta svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (max-width: 1180px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: unset;
    padding: 32px 0 30px;
  }

  .hero__visual {
    order: 2;
  }

  .hero__copy {
    order: 1;
  }

  .hero-art {
    width: min(100%, 720px);
  }

  .stock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .topbar__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .hero__eyebrow {
    font-size: clamp(1.35rem, 4vw, 2rem);
  }

  .hero__copy h1 {
    font-size: clamp(2.4rem, 6vw, 3.7rem);
  }

  .hero-search__wrap {
    width: 100%;
  }

  .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), 1400px);
  }

  .topbar__inner {
    grid-template-columns: 1fr auto;
    padding: 10px 0 6px;
  }

  .brand__text small {
    display: none;
  }

  .top-actions {
    gap: 8px;
  }

  .btn--ghost,
  .btn--primary {
    padding: 0 14px;
  }

  .nav {
    gap: 12px;
    padding-top: 2px;
  }

  .nav__link {
    padding: 10px 0 12px;
    font-size: 0.84rem;
  }

  .hero__copy {
    /* padding-top: 18px; */
  }

  .hero__eyebrow {
    font-size: clamp(1.15rem, 7vw, 1.65rem);
  }

  .hero__copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search__button {
    width: 100%;
    min-height: 54px;
  }

  .hero-search input {
    min-height: 56px;
    padding: 0 16px;
  }

  .featured {
    padding: 32px 0 56px;
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .section-heading p {
    font-size: 0.92rem;
  }

  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stock-card {
    min-height: 98px;
  }

  .analysis-modal {
    padding: 16px;
  }

  .analysis-modal__dialog {
    padding: 20px;
    border-radius: 24px;
  }

  .analysis-modal__close {
    width: 36px;
    height: 36px;
  }

  .analysis-modal__live-grid {
    grid-template-columns: 1fr;
  }

  .analysis-modal__live-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .analysis-modal__reports-grid {
    grid-template-columns: 1fr;
  }
}

/* TEMPLATE_A_REFRESH_START */
:root {
  --template-dark: #061b1f;
  --template-darker: #031215;
  --template-card: #0d2634;
  --template-line: rgba(72, 220, 200, 0.22);
  --template-mint: #58d6c9;
  --template-gold: #f1cd73;
}

html {
  scroll-behavior: smooth;
}

.template-a-body {
  background: #f4faf9;
}

.template-a-page,
.template-a-body {
  color: #102943;
}

.template-a-topbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(10, 55, 54, 0.08);
  box-shadow: 0 12px 30px rgba(6, 27, 31, 0.06);
}

.template-a-topbar .template-a-topbar__inner {
  min-height: 66px;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  direction: rtl;
  gap: 26px;
}

.template-a-brand {
  direction: rtl;
}

.template-a-brand .brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  overflow: hidden;
  color: #12995e;
  background: linear-gradient(180deg, #eafff4 0%, #dbf7e8 100%);
}

.template-a-brand .brand__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.template-a-brand .brand__text strong {
  color: #0c253c;
  font-size: 1.06rem;
}

.template-a-brand .brand__text small {
  color: #768c9f;
}

.template-a-nav {
  gap: clamp(16px, 2.5vw, 38px);
  padding: 0;
}

.template-a-nav .nav__link {
  font-size: 0.88rem;
  padding: 22px 0 19px;
  color: #294259;
}

.template-a-nav .nav__link--active {
  color: #10965a;
}

.template-a-top-actions .btn--primary {
  min-height: 44px;
  border-radius: 13px;
  font-size: 0.85rem;
  padding: 0 18px;
  white-space: nowrap;
}

.template-a-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(49, 199, 161, 0.22), transparent 20%),
    radial-gradient(circle at 84% 12%, rgba(82, 208, 207, 0.14), transparent 24%),
    linear-gradient(135deg, #021518 0%, #052126 50%, #041418 100%);
}

.template-a-hero::before {
  background:
    linear-gradient(rgba(82, 208, 207, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 208, 207, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 78%);
}

.template-a-hero::after {
  background: linear-gradient(90deg, rgba(1, 9, 11, 0.18), transparent 38%, rgba(1, 9, 11, 0.22));
}

.template-a-hero .template-a-hero__grid {
  width: min(calc(100% - 48px), 1320px);
  min-height: 520px;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(34px, 5vw, 82px);
  padding: 54px 0 58px;
}

.template-a-hero__copy {
  align-items: flex-start;
  text-align: right;
  justify-content: center;
  max-width: 720px;
  margin-inline-start: auto;
}

.template-a-eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #70e3d6;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.template-a-eyebrow span:first-child {
  color: var(--template-gold);
}

.template-a-hero__copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.template-a-hero__copy h1 span {
  display: block;
}

.template-a-hero__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(230, 244, 243, 0.92);
  line-height: 2;
  font-size: 1rem;
}

.template-a-search {
  width: min(100%, 620px);
  margin-top: 28px;
  min-height: 64px;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
  direction: ltr;
}

.template-a-search__button {
  min-width: 126px;
  font-size: 0.95rem;
  gap: 9px;
}

.template-a-search__button .radar-scan-icon {
  width: 36px;
  height: 36px;
}

.template-a-search input {
  min-height: 64px;
  font-size: 0.94rem;
}

.template-a-example {
  margin: 14px 0 0;
  color: rgba(220, 238, 236, 0.72);
  font-size: 0.86rem;
}

.template-a-hero__visual {
  justify-content: flex-start;
}

.template-a-radar-card {
  position: relative;
  width: min(100%, 560px);
  min-height: 355px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(82, 208, 207, 0.3);
  background:
    radial-gradient(circle at 22% 74%, rgba(51, 181, 137, 0.16), transparent 18%),
    radial-gradient(circle at 79% 70%, rgba(82, 208, 207, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(13, 38, 56, 0.98), rgba(8, 31, 45, 0.96));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
}

.template-a-radar-card::before,
.template-a-radar-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background-image: linear-gradient(rgba(82, 208, 207, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(82, 208, 207, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.45;
}

.template-a-radar-card::after {
  inset: 0;
  height: auto;
  background: radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(82, 208, 207, 0.08) 37%, transparent 38%);
}

.template-a-radar-card__badge {
  position: absolute;
  top: 22px;
  inset-inline-start: 24px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: #99fff0;
  border: 1px solid rgba(82, 208, 207, 0.22);
  background: rgba(4, 24, 32, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
}

.template-a-radar {
  position: relative;
  z-index: 1;
  width: min(62vw, 245px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 0 26px rgba(82, 208, 207, 0.18));
}

.template-a-radar__ring,
.template-a-radar__line,
.template-a-radar__sweep,
.template-a-radar__center,
.template-a-radar__signal {
  position: absolute;
}

.template-a-radar__ring {
  inset: var(--ring-inset, 0);
  border-radius: 50%;
  border: 1px solid rgba(82, 208, 207, 0.48);
}

.template-a-radar__ring--middle { --ring-inset: 25%; opacity: .75; }
.template-a-radar__ring--inner { --ring-inset: 39%; opacity: .9; }

.template-a-radar__line {
  background: rgba(82, 208, 207, 0.22);
}

.template-a-radar__line--h {
  top: 50%;
  inset-inline: 0;
  height: 1px;
}

.template-a-radar__line--v {
  inset-block: 0;
  inset-inline-start: 50%;
  width: 1px;
}

.template-a-radar__sweep {
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -12deg, rgba(82, 208, 207, 0.65) 0deg, rgba(82, 208, 207, 0.2) 28deg, transparent 66deg, transparent 360deg);
  animation: templateRadarSpin 3.6s linear infinite;
}

.template-a-radar__center {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, #fff 0 24%, #9af7ee 25% 55%, rgba(82, 208, 207, 0.18) 56% 100%);
  box-shadow: 0 0 0 14px rgba(82, 208, 207, 0.12), 0 0 24px rgba(82, 208, 207, 0.45);
}

.template-a-radar__signal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9fff8;
  box-shadow: 0 0 14px rgba(82, 208, 207, 0.75);
  animation: templatePulse 2.4s ease-in-out infinite;
}

.template-a-radar__signal--one { top: 22%; inset-inline-start: 33%; }
.template-a-radar__signal--two { top: 66%; inset-inline-start: 69%; animation-delay: .6s; }
.template-a-radar__signal--three { top: 31%; inset-inline-start: 75%; width: 5px; height: 5px; opacity: .65; animation-delay: 1s; }

.template-a-radar-card__caption {
  position: absolute;
  z-index: 2;
  inset-inline: 26px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
}

.template-a-radar-card__caption strong {
  color: #9afff2;
  font-size: 0.94rem;
}

.template-a-radar-card__caption span {
  font-size: 1.08rem;
  font-weight: 950;
}

@keyframes templateRadarSpin {
  to { transform: rotate(360deg); }
}

@keyframes templatePulse {
  50% { transform: scale(1.35); opacity: .55; }
}

.template-a-market {
  padding: 40px 0 8px;
  background: #eef7f7;
}

.template-a-market__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: center;
}

.template-a-market__heading h2,
.template-a-method__copy h2,
.template-a-section-heading h2 {
  margin: 0;
  color: #102943;
  font-size: clamp(1.6rem, 2.8vw, 2.55rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.template-a-market__heading span,
.template-a-method__copy p,
.template-a-section-heading p {
  color: #6e8799;
  line-height: 1.75;
}

.template-a-market__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.template-a-market__grid article {
  min-height: 112px;
  padding: 17px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fffc);
  border: 1px solid rgba(34, 182, 109, 0.17);
  box-shadow: 0 12px 30px rgba(12, 41, 46, 0.06);
}

.template-a-market__grid span,
.template-a-market__grid em {
  display: block;
  color: #718a9d;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.template-a-market__grid strong {
  display: block;
  margin: 10px 0 6px;
  color: #102943;
  font-size: 1.42rem;
  font-weight: 950;
  direction: ltr;
  text-align: right;
}

.template-a-featured {
  padding: 52px 0 66px;
  background: linear-gradient(180deg, #eef7f7 0%, #fbfdfc 42%, #ffffff 100%);
}

.template-a-section-heading {
  text-align: center;
  align-items: center;
  margin-inline: auto;
}

.template-a-section-heading .section-heading__eyebrow {
  color: #14a164;
  font-weight: 950;
}

.template-a-stock-grid {
  width: min(100%, 990px);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.template-a-stock-grid .stock-card {
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fff9 100%);
  border-color: #bdebd2;
  box-shadow: 0 12px 28px rgba(20, 142, 86, 0.08);
}

.template-a-stock-grid .stock-card__header {
  direction: rtl;
}

.template-a-stock-grid .stock-card__name {
  font-size: 1rem;
  color: #11304a;
}

.template-a-stock-grid .stock-card__symbol {
  font-size: 0.74rem;
}

.template-a-stock-grid .stock-card__change {
  color: #11a663;
  font-size: 0.88rem;
  direction: ltr;
}

.template-a-stock-grid .stock-card__footer {
  direction: rtl;
}

.template-a-stock-grid .stock-card__price {
  font-size: 1.28rem;
}

.template-a-method {
  padding: 68px 0;
  background: #fff;
}

.template-a-method__inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  gap: 32px;
  align-items: center;
}

.template-a-method__copy {
  display: grid;
  gap: 12px;
}

.template-a-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.template-a-steps article {
  min-height: 146px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(21, 53, 82, 0.08);
  background: linear-gradient(180deg, #f9fffd, #f0faf7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.template-a-steps b {
  color: #13a064;
  font-size: 0.86rem;
}

.template-a-steps strong {
  color: #102943;
  font-size: 1.05rem;
}

.template-a-steps span {
  color: #73899b;
  font-size: 0.82rem;
}

.template-a-faq {
  padding: 58px 0 72px;
  background: #f4faf9;
}

.template-a-faq__inner {
  display: grid;
  gap: 26px;
}

.template-a-faq__list {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.template-a-faq details {
  border: 1px solid rgba(21, 53, 82, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 12px 26px rgba(12, 41, 46, 0.04);
}

.template-a-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #102943;
  font-weight: 900;
}

.template-a-faq p {
  margin: 12px 0 0;
  color: #657f91;
  line-height: 1.85;
}

.template-a-footer {
  padding: 24px 0;
  color: rgba(230, 244, 243, 0.8);
  background: #061b1f;
}

.template-a-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.86rem;
}

.template-a-footer a {
  color: #86efe4;
}

@media (max-width: 1120px) {
  .template-a-topbar .template-a-topbar__inner {
    grid-template-columns: auto 1fr;
  }

  .template-a-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .template-a-top-actions {
    justify-content: flex-end;
  }

  .template-a-hero .template-a-hero__grid,
  .template-a-market__inner,
  .template-a-method__inner {
    grid-template-columns: 1fr;
  }

  .template-a-hero__visual {
    justify-content: center;
  }

  .template-a-hero__copy {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .template-a-market__grid,
  .template-a-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .template-a-topbar .template-a-topbar__inner {
    width: min(calc(100% - 24px), 1320px);
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .template-a-brand {
    justify-content: center;
  }

  .template-a-nav {
    display: none;
  }

  .template-a-top-actions {
    justify-content: center;
  }

  .template-a-top-actions .btn--primary {
    width: 100%;
    min-height: 42px;
    font-size: 0.8rem;
    padding: 0 12px;
  }

  .template-a-hero {
    min-height: auto;
  }

  .template-a-hero .template-a-hero__grid {
    width: min(calc(100% - 24px), 1320px);
    padding: 36px 0 42px;
    gap: 28px;
  }

  .template-a-hero__copy h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .template-a-hero__lead {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .template-a-search {
    flex-direction: column;
    min-height: auto;
    border-radius: 16px;
  }

  .template-a-search__button {
    width: 100%;
    min-height: 54px;
  }

  .template-a-search input {
    min-height: 56px;
    text-align: center;
    padding: 0 14px;
  }

  .template-a-example {
    font-size: 0.78rem;
  }

  .template-a-radar-card {
    min-height: 320px;
    border-radius: 22px;
  }

  .template-a-radar {
    width: min(70vw, 220px);
  }

  .template-a-radar-card__caption {
    inset-inline: 18px;
    bottom: 18px;
    text-align: center;
  }

  .template-a-market {
    padding-top: 28px;
  }

  .template-a-market__grid,
  .template-a-stock-grid,
  .template-a-steps {
    grid-template-columns: 1fr;
  }

  .template-a-method,
  .template-a-faq {
    padding: 44px 0;
  }

  .template-a-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
/* TEMPLATE_A_REFRESH_END */

/* RADAR_ICON_36PX_20260904 */
.hero-search__button .radar-scan-icon {
  width: 36px;
  height: 36px;
}
