/*
 * SYNC NOTE: This file must stay in sync with /css/threat-intelligence.css (project root).
 * The root copy is loaded in production (static file server).
 * This copy is loaded in Next.js dev mode.
 * Always update BOTH files when making CSS changes.
 */

body.ti-page {
  --font-display: 'Space Grotesk', var(--font-primary);
  background:
    radial-gradient(circle at top right, rgba(102, 179, 255, 0.08), transparent 28%),
    radial-gradient(circle at top left, rgba(220, 38, 38, 0.12), transparent 32%),
    linear-gradient(180deg, #05070d 0%, #0a0e17 28%, #090d15 100%);
}

.ti-page .nav__link[aria-current='page'] {
  color: #ffffff;
}

.ti-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 4.75rem) 0 4.5rem;
}

.ti-hero__mesh,
.ti-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ti-hero__mesh {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 92%);
}

.ti-hero__grain {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 88, 88, 0.16), transparent 22%),
    radial-gradient(circle at 78% 24%, rgba(102, 179, 255, 0.18), transparent 20%),
    radial-gradient(circle at 50% 82%, rgba(255, 152, 77, 0.08), transparent 24%);
  opacity: 0.88;
}

.ti-hero .container {
  position: relative;
  z-index: 1;
}

.ti-hero__globe-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.ti-stage-card--full {
  width: 100%;
}

.ti-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
}

.ti-hero__copy .ti-title {
  max-width: none;
}

.ti-hero__copy .ti-kicker {
  justify-content: center;
}

.ti-hero__copy .ti-lead {
  margin-left: auto;
  margin-right: auto;
}

.ti-hero__copy .ti-actions {
  justify-content: center;
}

.ti-hero__copy .ti-trust-line {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ti-kicker,
.ti-premium__eyebrow,
.ti-panel__eyebrow,
.ti-mid-cta__eyebrow,
.ti-stage-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb8d6;
}

.ti-kicker::before,
.ti-premium__eyebrow::before,
.ti-panel__eyebrow::before,
.ti-mid-cta__eyebrow::before,
.ti-stage-card__eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 107, 93, 0.95), rgba(102, 179, 255, 0.95));
}

.ti-title,
.ti-stage-card__title,
.ti-panel__title,
.ti-premium__title,
.ti-mid-cta h3,
.ti-highlight-card h3,
.ti-lock-card h3,
.ti-method-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.ti-title {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  color: #f8fbff;
}

.ti-lead,
.ti-premium__text {
  max-width: 38rem;
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
  color: #aebfd5;
}

.ti-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.ti-actions .btn {
  min-width: 210px;
}

.ti-trust-line,
.ti-premium__note {
  max-width: 46rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #8ca1bb;
}

.ti-signal-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .ti-signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ti-signal-card,
.ti-stat,
.ti-summary-card,
.ti-panel,
.ti-stage-card,
.ti-highlight-card,
.ti-lock-card,
.ti-method-card,
.ti-mid-cta {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 25, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.ti-signal-card {
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

.ti-signal-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  line-height: 1;
  color: #ffffff;
}

.ti-signal-card__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #95aac4;
}

.ti-stage-card {
  position: relative;
  border-radius: 28px;
  padding: 1.25rem;
  overflow: hidden;
}

.ti-stage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(102, 179, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 107, 93, 0.12), transparent 26%);
  pointer-events: none;
}

.ti-stage-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ti-stage-card__title {
  margin-top: 0.4rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: #f7fbff;
}

.ti-stage-card__status {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(102, 179, 255, 0.25);
  border-radius: 999px;
  background: rgba(102, 179, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9d9ff;
}

.ti-globe-stage {
  position: relative;
  border-radius: 22px;
  min-height: 480px;
  background:
    radial-gradient(circle at 30% 25%, rgba(102, 179, 255, 0.16), transparent 22%),
    radial-gradient(circle at 65% 70%, rgba(255, 107, 93, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 12, 21, 0.95), rgba(5, 8, 14, 0.98));
  overflow: hidden;
}

.ti-globe-stage--large {
  min-height: 680px;
}

.ti-globe-stage::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  pointer-events: none;
}

.ti-globe-stage__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ti-globe-stage__fallback {
  position: absolute;
  inset: 2rem;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #dbe8f6;
  z-index: 2;
}

.ti-globe-stage__fallback[hidden] {
  display: none !important;
}

.ti-globe-stage__fallback p {
  max-width: 28rem;
  color: #9eb1c8;
}

.ti-globe-tooltip {
  position: absolute;
  z-index: 4;
  max-width: 320px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(102, 179, 255, 0.25);
  border-radius: 16px;
  background: rgba(5, 9, 17, 0.97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.ti-globe-tooltip--pinned {
  pointer-events: auto;
}

.ti-globe-tooltip strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.35;
}

.ti-globe-tooltip span {
  font-size: 0.8rem;
  color: #9eb3cb;
}

.ti-globe-tooltip__summary {
  display: none;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #c5d4e6;
}

.ti-globe-tooltip--pinned .ti-globe-tooltip__summary {
  display: block;
}

.ti-globe-tooltip__link {
  display: none;
  margin-top: 0.7rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: rgba(102, 179, 255, 0.12);
  color: #a8d4ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.ti-globe-tooltip--pinned .ti-globe-tooltip__link {
  display: block;
}

.ti-globe-tooltip__link:hover {
  background: rgba(102, 179, 255, 0.24);
  color: #ffffff;
}

.ti-legend {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.84rem;
  color: #9cb2cb;
}

.ti-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ti-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  box-shadow: 0 0 16px currentColor;
}

.ti-dot--ransomware {
  color: #ff6b5d;
  background: #ff6b5d;
}

.ti-dot--espionage {
  color: #66b3ff;
  background: #66b3ff;
}

.ti-dot--access {
  color: #8bd3ff;
  background: #8bd3ff;
}

.ti-dot--exploitation {
  color: #52d3b4;
  background: #52d3b4;
}

.ti-dot--other {
  color: #f0b167;
  background: #f0b167;
}

/* Globe HTML markers */
.ti-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  pointer-events: auto;
  filter: drop-shadow(0 0 6px var(--marker-color, #ff6b5d));
}

.ti-marker:hover {
  transform: scale(1.4);
  filter: drop-shadow(0 0 14px var(--marker-color, #ff6b5d));
}

.ti-marker svg {
  display: block;
}

.ti-controls {
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(14px);
}

/* Dock wrapper: flush under the globe stage card */
.ti-controls-dock {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* When inside the globe wrap, the wrap already provides the horizontal padding */
.ti-hero__globe-wrap .ti-controls-dock {
  padding: 0;
  max-width: none;
  margin: 0;
}

.ti-controls-dock .ti-controls {
  margin-top: 0;
  border-radius: 0 0 28px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Square off stage card bottom so controls dock attaches flush */
.ti-stage-card--full {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.ti-controls__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ti-controls__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ti-controls-dock .ti-controls__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ti-control label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ea6c1;
}

.ti-select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #0b121d;
  color: #edf4fb;
  font: inherit;
}

.ti-select:focus,
.ti-controls input[type='range']:focus,
.ti-play-toggle:focus {
  outline: 2px solid rgba(102, 179, 255, 0.65);
  outline-offset: 2px;
}

.ti-controls__timeline {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .ti-controls__timeline {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  }
}

.ti-controls__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ea6c1;
}

.ti-controls__timeline-copy strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #ffffff;
}

.ti-controls__timeline-copy span:last-child {
  display: block;
  margin-top: 0.25rem;
  color: #9eb4cc;
}

.ti-controls__timeline-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.ti-controls input[type='range'] {
  width: 100%;
  accent-color: #ff6b5d;
}

.ti-timeline-months {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0 0.15rem;
}

.ti-timeline-months__label {
  font-size: 0.7rem;
  color: #5e7a96;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.ti-timeline-months__label:hover {
  color: #b9d9ff;
}

.ti-timeline-months__label--active {
  color: #9eb4cc;
}

.ti-play-toggle {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #111929;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.ti-play-toggle:hover {
  border-color: rgba(102, 179, 255, 0.42);
  transform: translateY(-1px);
}

.ti-controls__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #8ca1ba;
}

.ti-briefing {
  background: linear-gradient(180deg, rgba(8, 12, 21, 0.44), rgba(15, 19, 33, 0.74));
}

.ti-briefing__grid,
.ti-premium__grid,
.ti-methodology__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 980px) {
  .ti-briefing__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .ti-premium__grid,
  .ti-methodology__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.ti-panel {
  border-radius: 24px;
  padding: 1.5rem;
}

.ti-panel__empty {
  min-height: 300px;
  display: grid;
  place-content: center;
  gap: 0.65rem;
  text-align: center;
}

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

.ti-panel__title {
  margin-top: 0.55rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  color: #ffffff;
}

.ti-confidence {
  flex-shrink: 0;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ti-confidence--high {
  background: rgba(82, 211, 180, 0.12);
  color: #8bf1d8;
}

.ti-confidence--medium {
  background: rgba(247, 185, 85, 0.14);
  color: #ffd17f;
}

.ti-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.ti-panel__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
  color: #a7bbd2;
}

.ti-panel__section {
  margin-top: 1.2rem;
}

.ti-panel__section h4,
.ti-panel__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8da5c0;
}

.ti-panel__section p {
  margin-top: 0.5rem;
  color: #d1dceb;
  line-height: 1.75;
}

.ti-panel__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

@media (min-width: 680px) {
  .ti-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ti-panel__grid strong {
  display: block;
  margin-top: 0.35rem;
  color: #ffffff;
  font-size: 1rem;
}

.ti-panel__sources {
  margin-top: 1.2rem;
}

.ti-panel__source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.6rem;
}

.ti-panel__source-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: rgba(102, 179, 255, 0.08);
  color: #d7eaff;
}

.ti-panel__source-links a:hover {
  color: #ffffff;
  background: rgba(102, 179, 255, 0.16);
}

.ti-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.ti-panel__focus {
  min-width: 220px;
}

.ti-summary {
  display: grid;
  gap: 1.25rem;
}

.ti-summary__stats {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .ti-summary__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ti-stat {
  border-radius: 18px;
  padding: 1.15rem 1rem;
  text-align: center;
}

.ti-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #ffffff;
}

.ti-stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  color: #96acc6;
}

.ti-summary__cards {
  display: grid;
  gap: 1rem;
}

.ti-summary-card {
  border-radius: 20px;
  padding: 1.25rem;
}

.ti-summary-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #86a4ca;
}

.ti-summary-card h3 {
  font-size: 1.28rem;
  color: #ffffff;
}

.ti-summary-card p {
  margin-top: 0.65rem;
  color: #a9bfd7;
  line-height: 1.75;
}

.ti-mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: 24px;
}

.ti-mid-cta h3 {
  max-width: 28rem;
  margin-top: 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: #ffffff;
}

.ti-mid-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.ti-highlights {
  background: rgba(6, 9, 16, 0.82);
}

.ti-highlight-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ti-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .ti-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ti-highlight-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  width: 100%;
  min-height: 260px;
  padding: 1.4rem;
  border-radius: 22px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.ti-highlight-card:hover,
.ti-highlight-card:focus-visible,
.ti-highlight-card--active {
  border-color: rgba(102, 179, 255, 0.34);
  background: rgba(12, 19, 32, 0.92);
  transform: translateY(-4px);
}

.ti-highlight-card__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #89a6cc;
}

.ti-highlight-card h3 {
  font-size: 1.3rem;
  color: #ffffff;
}

.ti-highlight-card p {
  color: #aec2d9;
  line-height: 1.72;
}

.ti-highlight-card__teaser {
  margin-top: auto;
  color: #f0b167;
  font-size: 0.92rem;
}

.ti-highlight-card--locked {
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(20, 17, 24, 0.92), rgba(12, 10, 16, 0.96)),
    rgba(12, 10, 16, 0.96);
}

.ti-highlight-card--locked:hover {
  color: inherit;
}

.ti-incident-index__list {
  display: grid;
  gap: 1rem;
}

.ti-incident-entry {
  border-radius: 22px;
  padding: 1.5rem;
  background: rgba(12, 19, 32, 0.88);
  border: 1px solid rgba(102, 179, 255, 0.16);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  scroll-margin-top: 7rem;
}

.ti-incident-entry__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .ti-incident-entry__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.ti-incident-entry__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #89a6cc;
}

.ti-incident-entry h3 {
  margin-top: 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: #ffffff;
}

.ti-incident-entry__meta {
  color: #f0b167;
  font-size: 0.9rem;
  font-weight: 700;
}

.ti-incident-entry p {
  margin-top: 0.85rem;
  color: #aec2d9;
  line-height: 1.7;
}

.ti-incident-entry strong {
  color: #ffffff;
}

.ti-incident-entry a {
  color: #66b3ff;
}

.ti-incident-entry a:hover {
  color: #ffffff;
}

.ti-premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at right top, rgba(102, 179, 255, 0.08), transparent 25%),
    radial-gradient(circle at left center, rgba(255, 107, 93, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(15, 19, 33, 0.98), rgba(8, 11, 18, 1));
}

.ti-benefit-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.5rem;
}

.ti-benefit-list li {
  position: relative;
  padding-left: 1.65rem;
  color: #d6e0ee;
  line-height: 1.65;
}

.ti-benefit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff6b5d, #66b3ff);
}

.ti-lock-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 680px) {
  .ti-lock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ti-lock-card {
  position: relative;
  border-radius: 22px;
  padding: 1.3rem;
  overflow: hidden;
}

.ti-lock-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent 65%);
  pointer-events: none;
}

.ti-lock-card__badge {
  display: inline-flex;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 107, 93, 0.14);
  color: #ffb0a7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ti-lock-card h3 {
  margin-top: 0.85rem;
  font-size: 1.25rem;
  color: #ffffff;
}

.ti-lock-card p {
  margin-top: 0.55rem;
  color: #a9bfd7;
  line-height: 1.68;
}

.ti-lock-card--accent {
  background:
    radial-gradient(circle at top right, rgba(102, 179, 255, 0.14), transparent 24%),
    rgba(10, 15, 25, 0.76);
}

.ti-methodology__cards {
  display: grid;
  gap: 1rem;
}

.ti-method-card {
  border-radius: 20px;
  padding: 1.25rem;
}

.ti-method-card h3 {
  font-size: 1.15rem;
  color: #ffffff;
}

.ti-method-card p {
  margin-top: 0.55rem;
  color: #aac0d9;
  line-height: 1.7;
}

.ti-closing {
  background:
    radial-gradient(circle at center, rgba(255, 107, 93, 0.08), transparent 48%),
    linear-gradient(180deg, #060911 0%, #05070d 100%);
}

.ti-closing .cta-banner__title,
.ti-closing .cta-banner__text {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1099px) {
  .ti-title {
    max-width: 14ch;
  }

  .ti-stage-card__status {
    display: none;
  }
}

@media (max-width: 899px) {
  .ti-hero {
    padding-top: calc(var(--nav-height) + 4rem);
  }

  .ti-controls__timeline-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ti-hero {
    padding-bottom: 3.5rem;
  }

  .ti-stage-card,
  .ti-panel,
  .ti-highlight-card,
  .ti-lock-card,
  .ti-method-card,
  .ti-mid-cta {
    border-radius: 20px;
  }

  .ti-globe-stage {
    min-height: 360px;
  }

  .ti-globe-stage--large {
    min-height: 440px;
  }

  .ti-actions .btn,
  .ti-mid-cta__actions .btn,
  .ti-panel__actions .btn {
    width: 100%;
  }

  .ti-panel__header {
    flex-direction: column;
  }
}

@media (max-width: 539px) {
  .ti-title {
    max-width: none;
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .ti-globe-stage {
    min-height: 320px;
  }

  .ti-globe-stage--large {
    min-height: 380px;
  }

  .ti-controls,
  .ti-stage-card,
  .ti-panel {
    padding: 1rem;
  }
}

/* ─── Tabs ─── */
.ti-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(102, 179, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(102, 179, 255, 0.08);
  width: fit-content;
}

.ti-tabs__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #6b7f96;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.ti-tabs__btn:hover {
  background: rgba(102, 179, 255, 0.08);
  color: #9eb1c8;
}

.ti-tabs__btn--active {
  background: rgba(102, 179, 255, 0.15);
  color: #66b3ff;
  font-weight: 700;
}

.ti-tabs__btn--active:hover {
  background: rgba(102, 179, 255, 0.2);
  color: #66b3ff;
}

.ti-tabs__badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
  background: rgba(107, 127, 150, 0.15);
  color: #6b7f96;
  font-weight: 600;
}

.ti-tabs__btn--active .ti-tabs__badge {
  background: rgba(102, 179, 255, 0.2);
  color: #66b3ff;
}

/* ─── Search input in filters ─── */
.ti-control--search .ti-select {
  font-family: inherit;
}

/* ─── Tab section headings ─── */
.ti-tab-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: #f8fbff;
  margin: 0 0 0.5rem;
}

.ti-tab-desc {
  color: #6b7f96;
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}

/* ─── Focus-visible for grid cards (3.1) ─── */
.ti-highlight-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #66b3ff, 0 0 12px rgba(102, 179, 255, 0.25);
  border-color: rgba(102, 179, 255, 0.4);
}

/* ─── Timeline month labels (3.2) ─── */
.ti-timeline-months {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0 0;
  gap: 0;
}

.ti-timeline-months__label {
  font-size: 0.6rem;
  color: #6b7f96;
  text-align: center;
  width: calc(100% / 13);
  cursor: pointer;
  transition: color 0.15s ease;
}

.ti-timeline-months__label:hover {
  color: #66b3ff;
}

.ti-timeline-months__label--active {
  color: #66b3ff;
  font-weight: 700;
}

/* ─── Tab content fade animation (3.4) ─── */
@keyframes ti-tab-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ti-tab-content {
  animation: ti-tab-fade-in 0.15s ease-out;
}

/* ─── Back to top button (3.5) ─── */
.ti-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(102, 179, 255, 0.2);
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(8px);
  color: #66b3ff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50;
}

.ti-back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.ti-back-to-top:hover {
  background: rgba(102, 179, 255, 0.12);
  transform: translateY(-2px);
}

/* ─── Data freshness indicator (3.7) ─── */
.ti-freshness {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #6b7f96;
}

.ti-freshness__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ti-freshness__dot--fresh {
  background: #52d3b4;
  box-shadow: 0 0 4px rgba(82, 211, 180, 0.4);
}

.ti-freshness__dot--stale {
  background: #f0b167;
  box-shadow: 0 0 4px rgba(240, 177, 103, 0.4);
}

/* ─── IoC copy button (3.3) ─── */
.ti-copy-btn {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(102, 179, 255, 0.12);
  background: transparent;
  color: #6b7f96;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.ti-copy-btn:hover {
  background: rgba(102, 179, 255, 0.1);
  color: #66b3ff;
  border-color: rgba(102, 179, 255, 0.25);
}

.ti-copy-btn--copied {
  color: #52d3b4;
  border-color: rgba(82, 211, 180, 0.25);
}

/* Skeleton loading pulse */
@keyframes ti-skeleton-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* Skeleton shimmer for loading states */
.ti-skeleton {
  background: rgba(102, 179, 255, 0.08);
  border-radius: 6px;
  animation: ti-skeleton-pulse 1.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ti-highlight-card,
  .ti-play-toggle {
    transition: none;
  }

  .ti-highlight-card:hover,
  .ti-highlight-card:focus-visible,
  .ti-highlight-card--active,
  .ti-play-toggle:hover {
    transform: none;
  }

  .ti-skeleton,
  .ti-premium-gate--loading div {
    animation: none;
    opacity: 0.6;
  }

  .ti-tab-content {
    animation: none;
  }

  .ti-back-to-top {
    transition: none;
  }
}

/* ===========================
   SUBSCRIBE SECTION
   =========================== */
.ti-subscribe {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ti-subscribe__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.ti-subscribe__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.ti-subscribe__title {
  font-family: 'Space Grotesk', var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
}

.ti-subscribe__text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.ti-subscribe__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.ti-subscribe__input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  outline: none;
  transition: border-color var(--transition-fast);
}

.ti-subscribe__input::placeholder {
  color: var(--color-text-secondary);
}

.ti-subscribe__input:focus {
  border-color: var(--color-accent);
}

.ti-subscribe__btn {
  flex-shrink: 0;
}

.ti-subscribe__note {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
  opacity: 0.7;
}

.ti-subscribe__success {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
}

.ti-subscribe__success p {
  color: var(--color-success);
  font-weight: 500;
}

.ti-subscribe__error {
  color: var(--color-danger);
  font-size: 0.88rem;
  margin-top: var(--space-sm);
}

@media (max-width: 640px) {
  .ti-subscribe__form {
    flex-direction: column;
  }
}

/* --- Coming Soon Tab Placeholder --- */
.ti-coming-soon {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.ti-coming-soon .ti-tab-heading {
  margin-bottom: var(--space-md);
}

.ti-coming-soon__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--border-radius-pill);
  padding: 0.25em 1em;
  margin-bottom: var(--space-lg);
}

.ti-coming-soon__desc {
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.ti-coming-soon__subscribe {
  max-width: 28rem;
  margin: 0 auto;
}

.ti-coming-soon__form {
  display: flex;
  gap: var(--space-sm);
}

.ti-coming-soon__success {
  color: var(--color-success);
  font-weight: 500;
}

@media (max-width: 640px) {
  .ti-coming-soon__form {
    flex-direction: column;
  }
}
