/* ==========================================================================
   Marketing Landing Page — FinVista
   Light-theme styles that layer on top of tokens.css.
   Prefix: mkt- on every class to avoid conflicts with the dark dashboard.
   ========================================================================== */

/* ── Override dark base for marketing sections ── */
html { scroll-behavior: smooth; }

body {
  background: #ffffff;
  color: #0F172A;
}

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */

.mkt-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Eyebrow label above section headings */
.mkt-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 16px;
}

.mkt-section-h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.mkt-section-sub {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  max-width: 540px;
  margin: 0;
}

.mkt-section-header        { margin-bottom: 52px; }
.mkt-section-header--center { text-align: center; }
.mkt-section-header--center .mkt-section-sub { margin-inline: auto; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */

.mkt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease,
              color 140ms ease, box-shadow 140ms ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}

.mkt-btn--primary {
  background: #2563EB;
  color: #ffffff;
  border-color: #2563EB;
}
.mkt-btn--primary:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

.mkt-btn--outline {
  background: transparent;
  color: #2563EB;
  border-color: #2563EB;
}
.mkt-btn--outline:hover { background: rgba(37, 99, 235, 0.06); }

.mkt-btn--ghost {
  background: transparent;
  color: #475569;
  border-color: transparent;
  padding-inline: 0;
}
.mkt-btn--ghost:hover { color: #0F172A; }

.mkt-btn--sm { padding: 8px 16px; font-size: 13px; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */

.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #E2E8F0;
  transition: box-shadow 200ms ease;
}
.mkt-nav.is-scrolled { box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07); }

.mkt-nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.mkt-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  color: #0F172A;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  margin-right: 16px;
}

.mkt-nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #2563EB;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.mkt-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-nav__link {
  display: block;
  padding: 6px 13px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border-radius: 5px;
  transition: color 120ms ease, background 120ms ease;
}
.mkt-nav__link:hover {
  color: #0F172A;
  background: #F1F5F9;
}

/* Push CTA to the far right */
.mkt-nav__inner > .mkt-btn { margin-left: auto; }

/* ═══════════════════════════════════════
   HERO  (above the fold)
═══════════════════════════════════════ */

.mkt-hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 64px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.mkt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Soft blue glow, top-right */
.mkt-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.mkt-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 1;
}

.mkt-hero__h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0F172A;
  margin: 0 0 24px 0;
}

.mkt-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: #475569;
  max-width: 480px;
  margin: 0 0 36px 0;
}

.mkt-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.mkt-hero__trust {
  font-size: 12px;
  color: #94A3B8;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ── Dashboard glimpse (blurred thumbnail in hero right column) ── */
.mkt-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-glimpse {
  width: 100%;
  max-width: 480px;
  background: #1e222d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 32px 72px rgba(0, 0, 0, 0.28),
    0 8px 24px rgba(0, 0, 0, 0.18);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  filter: blur(0.4px);
  opacity: 0.82;
  transition: transform 350ms ease, filter 350ms ease, opacity 350ms ease;
  user-select: none;
}
.mkt-hero__visual:hover .mkt-glimpse {
  transform: perspective(900px) rotateY(-3deg) rotateX(1deg);
  filter: none;
  opacity: 1;
}

.mkt-glimpse__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #131722;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mkt-glimpse__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.mkt-glimpse__label {
  margin-left: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.mkt-glimpse__body {
  display: grid;
  grid-template-columns: 150px 1fr;
}

.mkt-glimpse__list {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 0;
}

.mkt-glimpse__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  align-items: center;
}
.mkt-glimpse__row--active {
  background: rgba(41, 98, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.g-sym { font-weight: 600; font-size: 10px; }
.g-px  { color: rgba(255, 255, 255, 0.6); font-size: 9px; }
.g-up  { color: #26a69a; font-size: 9px; }
.g-dn  { color: #ef5350; font-size: 9px; }

.mkt-glimpse__chart { padding: 14px 12px 12px; background: #1e222d; }
.g-chart-svg { width: 100%; height: auto; display: block; }

/* Scroll-to-discover hint */
.mkt-hero__scroll-hint {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  font-size: 10px;
  color: #CBD5E1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(7px); opacity: 1; }
}

/* ═══════════════════════════════════════
   FEATURES — "How it works"
═══════════════════════════════════════ */

.mkt-features {
  background: #F8FAFC;
  padding: 100px 0;
  border-top: 1px solid #E2E8F0;
}

.mkt-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.mkt-feature-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mkt-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  flex-shrink: 0;
}

.mkt-feature-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.mkt-feature-card__desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════
   DASHBOARD PREVIEW — scroll-to section
═══════════════════════════════════════ */

.mkt-preview {
  padding: 100px 0;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* Three-column canvas: watchlist | chart | news */
.mkt-dashboard-canvas {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  gap: 16px;
  align-items: start;
}

/* ── Widget card ── */
.mkt-widget {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  /* Scroll-reveal: hidden until .is-visible added by JS */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.mkt-widget.is-visible { opacity: 1; transform: translateY(0); }

.mkt-widget:nth-child(1) { transition-delay: 0ms;   }
.mkt-widget:nth-child(2) { transition-delay: 110ms; }
.mkt-widget:nth-child(3) { transition-delay: 220ms; }

/* ── Widget header ── */
.mkt-widget__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #F1F5F9;
  min-height: 44px;
  flex-shrink: 0;
}

/* Coloured left-edge accent (indicates group membership) */
.mkt-widget__header--blue   { border-left: 3px solid #3B82F6; }
.mkt-widget__header--orange { border-left: 3px solid #F97316; }

.mkt-widget__drag {
  color: #CBD5E1;
  cursor: grab;
  font-size: 14px;
  flex-shrink: 0;
  user-select: none;
  letter-spacing: -1px;
}
.mkt-widget__drag:hover { color: #94A3B8; }

.mkt-widget__title {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mkt-widget__subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #94A3B8;
}

/* Group-colour dot badge */
.mkt-widget__group-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mkt-widget__group-dot--blue   { background: #3B82F6; }
.mkt-widget__group-dot--orange { background: #F97316; }

.mkt-widget__menu {
  color: #CBD5E1;
  cursor: pointer;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}
.mkt-widget__menu:hover { color: #64748B; }

/* ── Widget body ── */
.mkt-widget__body { flex: 1; overflow: hidden; }

/* ── Resize-handle visual affordance (bottom-right corner) ── */
.mkt-widget__resize {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  cursor: nwse-resize;
  opacity: 0.25;
  background-image: radial-gradient(circle, #64748B 1px, transparent 1px);
  background-size: 3px 3px;
  background-repeat: repeat;
}
.mkt-widget:hover .mkt-widget__resize { opacity: 0.55; }

/* ── Watchlist table ── */
.mkt-watchlist {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
}

.mkt-watchlist thead tr { border-bottom: 1px solid #F1F5F9; }

.mkt-watchlist th {
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: var(--font-sans);
  text-align: left;
}
.mkt-watchlist th:not(:first-child),
.mkt-watchlist td:not(:first-child) { text-align: right; }

.mkt-watchlist__row {
  border-bottom: 1px solid #F8FAFC;
  cursor: pointer;
  transition: background 100ms ease;
}
.mkt-watchlist__row:last-child  { border-bottom: none; }
.mkt-watchlist__row:hover       { background: #F8FAFC; }
.mkt-watchlist__row--active     { background: #EFF6FF; }
.mkt-watchlist__row--active .mkt-watchlist__sym { color: #2563EB; }

.mkt-watchlist td { padding: 8px 12px; color: #334155; }

.mkt-watchlist__sym {
  font-weight: 600;
  color: #0F172A;
  font-family: var(--font-sans);
  font-size: 12px;
}

/* ── Change % pill ── */
.mkt-chg {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}
.mkt-chg--pos { color: #16A34A; background: rgba(22, 163, 74, 0.09); }
.mkt-chg--neg { color: #DC2626; background: rgba(220, 38, 38, 0.09); }

/* ── Chart widget ── */
.mkt-chart__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.mkt-chart__price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
}

.mkt-chart__timeframes {
  display: flex;
  gap: 2px;
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
}

.mkt-chart__tf {
  padding: 4px 10px;
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #94A3B8;
  border-radius: 4px;
  cursor: pointer;
  transition: color 120ms ease, background 120ms ease;
}
.mkt-chart__tf:hover        { color: #475569; background: #F1F5F9; }
.mkt-chart__tf--active      { color: #2563EB; background: rgba(37, 99, 235, 0.08); font-weight: 600; }

.mkt-chart__area { padding: 12px 12px 10px; }
.mkt-chart__svg  { width: 100%; height: auto; display: block; }

/* ── News widget ── */
.mkt-news { list-style: none; margin: 0; padding: 0; }

.mkt-news__item {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
}
.mkt-news__item:last-child { border-bottom: none; }

.mkt-news__headline {
  font-size: 12px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.55;
  margin: 0 0 5px 0;
}

.mkt-news__meta {
  font-size: 11px;
  color: #94A3B8;
  font-family: var(--font-mono);
}

/* Disclaimer under preview canvas */
.mkt-preview__note {
  margin-top: 20px;
  font-size: 11px;
  color: #94A3B8;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════
   BENEFITS
═══════════════════════════════════════ */

.mkt-benefits {
  padding: 100px 0;
  background: #ffffff;
}

.mkt-benefits__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.mkt-benefits__lead {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 16px 0 0 0;
  max-width: 400px;
}

.mkt-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mkt-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mkt-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
  flex-shrink: 0;
  margin-top: 1px;
}

.mkt-benefit p {
  font-size: 15px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */

.mkt-pricing {
  padding: 100px 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.mkt-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.mkt-plan {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.mkt-plan--featured {
  border: 2px solid #2563EB;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
}

.mkt-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563EB;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.mkt-plan__tier {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
}

.mkt-plan__price {
  font-size: 42px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mkt-plan__price span {
  font-size: 16px;
  font-weight: 500;
  color: #64748B;
  letter-spacing: 0;
}

.mkt-plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.mkt-plan__features li {
  font-size: 14px;
  color: #334155;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.mkt-plan__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16A34A;
  font-weight: 700;
}

.mkt-plan .mkt-btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */

.mkt-footer {
  background: #0F172A;
  padding: 40px 0;
}

.mkt-footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.mkt-footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.mkt-footer__nav { display: flex; gap: 24px; }
.mkt-footer__nav a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: color 120ms ease;
}
.mkt-footer__nav a:hover { color: #94A3B8; }

.mkt-footer__copy {
  margin: 0 0 0 auto;
  font-size: 12px;
  color: #475569;
}

/* ═══════════════════════════════════════
   LIVE MARKET TERMINAL SECTION
   Light-theme wrapper for <comp2110-dashboard>.
   CSS custom properties cascade through Shadow DOM, so these
   variable overrides are picked up by the component's internal styles.
═══════════════════════════════════════ */

.mkt-terminal {
  background: #F8FAFC;

  /* ── Light-theme token overrides (cascade into shadow DOM) ── */
  --surface-base:    #F8FAFC;
  --surface-raised:  #ffffff;
  --surface-overlay: #F1F5F9;
  --surface-inset:   #F8FAFC;
  --surface-header:  #ffffff;
  --surface-status:  #F8FAFC;
  --border-subtle:   #F1F5F9;
  --border-default:  #E2E8F0;
  --border-strong:   #CBD5E1;
  --border-focus:    #2563EB;
  --text-primary:    #0F172A;
  --text-secondary:  #475569;
  --text-tertiary:   #64748B;
  --text-muted:      #94A3B8;
  --text-inverse:    #ffffff;
  /* Signal colors (green/red/blue) intentionally unchanged */
}

/* Section heading row above the ticker */
.mkt-terminal__intro {
  padding: 64px 0 40px;
}

.mkt-terminal__intro-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.mkt-terminal__intro-text { flex: 1; min-width: 0; }

.mkt-terminal__intro-meta {
  flex-shrink: 0;
  padding-bottom: 4px;
}

/* "● ASX Open" live status pill */
.mkt-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #16A34A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.mkt-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── Widget container: aligns component with page text width ── */
.mkt-terminal__widget {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 24px 72px;
}

.mkt-terminal__widget comp2110-dashboard {
  display: block;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ── Page-level copyright bar ── */
.mkt-page-footer {
  background: #0F172A;
  padding: 20px 0;
}

.mkt-page-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mkt-page-footer__nav {
  display: flex;
  gap: 20px;
}

.mkt-page-footer__nav a {
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: color 120ms ease;
}
.mkt-page-footer__nav a:hover { color: #94A3B8; }

.mkt-page-footer__copy {
  font-size: 12px;
  color: #475569;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .mkt-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .mkt-dashboard-canvas {
    grid-template-columns: 1fr 1fr;
  }

  /* Chart widget spans full width and rises to top */
  .mkt-widget--chart {
    grid-column: 1 / -1;
    order: -1;
  }

  .mkt-benefits__inner { gap: 48px; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .mkt-terminal__intro { padding: 48px 0 28px; }
  .mkt-terminal__intro-inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  .mkt-hero { padding: 60px 0 48px; }

  .mkt-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Hide glimpse on mobile — prioritise the copy */
  .mkt-hero__visual { display: none; }

  .mkt-hero__h1 { font-size: clamp(2rem, 9vw, 2.8rem); }

  .mkt-hero__sub { font-size: 16px; }

  /* Collapse nav links on mobile (CTA stays visible) */
  .mkt-nav__links { display: none; }

  .mkt-features__grid { grid-template-columns: 1fr; gap: 32px; }

  .mkt-features,
  .mkt-preview,
  .mkt-benefits,
  .mkt-pricing { padding: 72px 0; }

  .mkt-dashboard-canvas {
    grid-template-columns: 1fr;
  }
  .mkt-widget--chart {
    grid-column: 1;
    order: 0;
  }

  .mkt-benefits__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mkt-pricing__grid { grid-template-columns: 1fr; }

  .mkt-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .mkt-footer__copy { margin: 0; }
}

/* ── Respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mkt-hero__scroll-hint { animation: none; opacity: 0.6; }
  .mkt-glimpse { transform: none !important; filter: none !important; opacity: 0.9 !important; }

  /* Make widgets visible immediately (no reveal animation) */
  .mkt-widget {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
