:root {
  --bg: #05070d;
  --bg-elevated: rgba(12, 16, 28, 0.82);
  --bg-card: rgba(14, 18, 32, 0.92);
  --bg-soft: #0c101c;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(94, 234, 212, 0.35);
  --text: #f4f7fb;
  --muted: #93a0b8;
  --faint: #66758f;
  --accent: #2ee6c5;
  --accent-deep: #14b8a6;
  --accent-ink: #04120f;
  --positive: #34d399;
  --negative: #f87171;
  --gold: #d6b56c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --font-sans: "Sora", "Noto Sans", sans-serif;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
  --hero-image: url("./assets/images/hero-harbour.jpg");
  --desk-image: url("./assets/images/hero-desk.jpg");
  --texture-image: url("./assets/images/hero-texture.jpg");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(46, 230, 197, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 0%, rgba(214, 181, 108, 0.08), transparent 50%),
    var(--bg);
  overflow-x: hidden;
}

button,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

#app {
  min-height: 100vh;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
}

.brand-block {
  display: grid;
  gap: 0.35rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.brand-mark svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.78rem;
}

.lang-wrap {
  position: relative;
  z-index: 40;
}

.lang-btn,
.lang-menu button {
  border: 1px solid var(--line);
  background: rgba(8, 12, 22, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover,
.lang-menu button:hover {
  border-color: var(--line-strong);
  background: rgba(20, 28, 46, 0.9);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 11rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.96);
  box-shadow: var(--shadow);
  z-index: 20;
}

.lang-menu.open {
  display: flex;
}

.lang-menu button {
  border-radius: 10px;
  text-align: start;
  border: none;
  background: transparent;
}

.lang-menu button.active {
  color: var(--accent);
  background: rgba(46, 230, 197, 0.08);
}

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  margin-top: 0.5rem;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.28) 0%, rgba(5, 7, 13, 0.55) 42%, rgba(5, 7, 13, 0.92) 100%),
    var(--hero-image) center/cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  background:
    radial-gradient(circle at 70% 20%, rgba(46, 230, 197, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(5, 7, 13, 0.35), transparent 45%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: var(--texture-image);
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  align-content: end;
  min-height: min(92vh, 920px);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.hero-copy {
  max-width: 38rem;
  animation: riseIn 0.8s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(46, 230, 197, 0.12);
}

.hero-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  margin: 0.85rem 0 0;
  color: #d7deea;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.55;
  max-width: 34rem;
}

.hero-desk-chip {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem;
  padding-right: 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 13, 0.45);
  backdrop-filter: blur(10px);
  color: #e8eef8;
  font-size: 0.82rem;
}

.hero-desk-chip img {
  width: 3.1rem;
  height: 2.1rem;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.quiz-top .step-label {
  margin: 0;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 181, 108, 0.45);
  background: linear-gradient(135deg, rgba(214, 181, 108, 0.16), rgba(46, 230, 197, 0.08));
  color: #f0d9a0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.ai-badge::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(214, 181, 108, 0.12);
}

.ai-mandate {
  position: relative;
}

.ai-mandate-head {
  max-width: 40rem;
  margin-bottom: 1.4rem;
}

.ai-mandate-head h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em;
}

.ai-mandate-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.02rem;
}

.ai-mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(214, 181, 108, 0.18);
}

.ai-mandate-item {
  padding-top: 1rem;
}

.ai-mandate-index {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.ai-mandate-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.ai-mandate-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .ai-mandate-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .ai-mandate-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .ai-mandate-item:last-child {
    border-bottom: none;
  }
}

.quiz-card,
.panel,
.profile-card,
.stock-card,
.metric,
.breadth-card,
.heat-tile,
.mover-card,
.sector-row {
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

.quiz-card {
  width: min(100%, 34rem);
  justify-self: end;
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  animation: riseIn 0.9s ease 0.1s both;
}

.step-label {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.quiz-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}

.quiz-card .quiz-sub {
  margin: 0.55rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.q-title {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.option-list {
  display: grid;
  gap: 0.55rem;
}

.option-btn,
.cta,
.ghost-btn {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.9rem 1rem;
  text-align: start;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.option-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(46, 230, 197, 0.06);
}

.cta {
  border: none;
  background: linear-gradient(135deg, var(--accent), #5eead4 55%, #99f6e4);
  color: var(--accent-ink);
  font-weight: 700;
  text-align: center;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.back-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.back-link:hover {
  color: var(--accent);
}

.analyzing {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 2rem 1rem;
  text-align: center;
}

.spinner {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 2px solid rgba(46, 230, 197, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent);
}

.progress {
  width: min(100%, 14rem);
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width 0.25s linear;
}

.ticker-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0 0.5rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--positive);
  font-size: 0.78rem;
  font-weight: 600;
}

.live-pill::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
  animation: pulse 1.8s ease infinite;
}

.live-pill.is-demo {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.live-pill.is-demo::before {
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15);
  animation: none;
}

.ticker-meta {
  color: var(--faint);
  font-size: 0.8rem;
}

.ticker-track {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 12, 22, 0.75);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-inner {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.85rem 1rem;
  animation: marquee 42s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  white-space: nowrap;
}

.ticker-item .sym {
  font-weight: 500;
}

.pos {
  color: var(--positive);
}

.neg {
  color: var(--negative);
}

.section {
  padding: 2.4rem 0 0.4rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.1rem;
}

.section-head h2,
.profile-card h2,
.panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section-head p,
.panel > .sub,
.profile-card .sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
}

.metric .label {
  margin: 0;
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric .value {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.metric .hint {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.pill {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.8rem;
}

.pill.pos {
  color: var(--positive);
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
}

.pill.neg {
  color: var(--negative);
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
}

.pill.active,
.filter-btn.active {
  color: var(--accent);
  border-color: var(--line-strong);
  background: rgba(46, 230, 197, 0.08);
}

.profile-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(46, 230, 197, 0.08), transparent 40%),
    var(--bg-card);
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.trait-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.stock-grid {
  display: grid;
  gap: 0.85rem;
}

.stock-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
}

.stock-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.stock-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.stock-card .name {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.badge {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.stock-card .thesis {
  margin: 0;
  color: #d5dceb;
  line-height: 1.5;
  font-size: 0.92rem;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.kv .k {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kv .v {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 1rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 0.8rem;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 12, 22, 0.72);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 0.75rem 0.85rem;
  text-align: start;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.86rem;
}

th {
  color: var(--faint);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  background: rgba(8, 12, 22, 0.96);
}

td.mono,
.mono {
  font-family: var(--font-mono);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.9rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.panel {
  padding: 1.15rem;
  border-radius: var(--radius);
}

.breadth-bar {
  display: flex;
  height: 0.85rem;
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0 0.5rem;
  background: rgba(255, 255, 255, 0.06);
}

.breadth-bar .adv {
  background: linear-gradient(90deg, #059669, var(--positive));
}

.breadth-bar .dec {
  background: linear-gradient(90deg, #ef4444, #fca5a5);
}

.sector-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
}

.heat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.heat-tile {
  min-height: 5.4rem;
  border-radius: 14px;
  padding: 0.8rem;
  display: grid;
  align-content: space-between;
}

.heat-tile .sym {
  font-family: var(--font-mono);
  font-weight: 500;
}

.heat-tile .chg {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.movers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.mover-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.mover-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.mover-row:last-child {
  border-bottom: none;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: min(100% - 2rem, 22rem);
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 20, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: riseIn 0.5s ease both;
}

.float-cta h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.float-cta p {
  margin: 0.35rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(8px);
}

.modal {
  width: min(100%, 42rem);
  max-height: min(86vh, 760px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(46, 230, 197, 0.08), transparent 24%),
    #0b101c;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.close-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.risk-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  padding: 2.5rem 0 5.5rem;
  color: var(--faint);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.footer .copy {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
}

[dir="rtl"] .lang-menu,
[dir="rtl"] .float-cta {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .lang-menu {
  left: 0;
}

@media (max-width: 960px) {
  .metrics,
  .kv-grid,
  .grid-2,
  .grid-3,
  .movers,
  .heat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    align-content: stretch;
    padding-top: 5.5rem;
  }

  .quiz-card {
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 1.25rem, var(--max));
  }

  .site-header {
    align-items: center;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .hero {
    border-radius: 22px;
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 1rem;
    gap: 1rem;
  }

  .hero-copy h2 {
    font-size: 2rem;
  }

  .metrics,
  .kv-grid,
  .grid-2,
  .grid-3,
  .movers,
  .heat-grid {
    grid-template-columns: 1fr;
  }

  .float-cta {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.65;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
