/*
Theme Name: JustBuyXEQT Identity Theme
Theme URI: https://example.com/
Author: OAA
Author URI: https://example.com/
Description: Dark, game-inspired WordPress theme for JustBuyXEQT with editable hero stat card metrics and branded landing sections.
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: justbuyxeqt-identity-theme
*/

:root {
  --jbx-bg: #02091f;
  --jbx-bg-2: #061338;
  --jbx-ink: #f3f7ff;
  --jbx-muted: #90a1bf;
  --jbx-border: #1a2b52;
  --jbx-surface: #0a1a3f;
  --jbx-surface-2: #14264b;
  --jbx-emerald: #14cba8;
  --jbx-emerald-soft: rgba(20, 203, 168, 0.12);
  --jbx-btn: #10b981;
  --jbx-shadow: 0 25px 70px rgba(2, 8, 26, 0.55);
  --jbx-radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 82% 26%, rgba(20, 203, 168, 0.1), transparent 32%),
    radial-gradient(circle at 20% -8%, rgba(46, 119, 255, 0.15), transparent 42%),
    linear-gradient(180deg, var(--jbx-bg), var(--jbx-bg-2));
  color: var(--jbx-ink);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-wrap {
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--jbx-border);
  background: rgba(2, 9, 31, 0.72);
  backdrop-filter: blur(12px);
}

.site-header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--jbx-ink);
}

.brand-mark,
.custom-logo {
  transition: transform .2s ease, box-shadow .2s ease;
  transform-origin: center;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #2e73ff, var(--jbx-emerald));
  color: #011121;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 38px;
  font-weight: 800;
  transform: rotate(3deg);
  box-shadow: 0 14px 24px rgba(20, 203, 168, 0.2);
}

.brand-name {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--jbx-emerald);
}

.brand-tld {
  color: #9bb0d1;
  margin-left: 2px;
  font-size: 0.9em;
}

.custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.custom-logo {
  max-height: 56px;
  width: auto;
}

.site-header .brand:hover .brand-mark,
.site-header .brand:hover .custom-logo {
  transform: scale(1.08);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
}

.nav-links a {
  color: var(--jbx-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover {
  color: var(--jbx-ink);
  background: rgba(255, 255, 255, 0.04);
}

.reset-session-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #243761;
  background: #182744;
  color: #eef4ff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}

.reset-session-btn:hover {
  background: #243c69;
}

main.site-main {
  padding: 44px 0 60px;
}

.section {
  scroll-margin-top: 110px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 90px;
}

.identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--jbx-emerald-soft);
  border: 1px solid rgba(20, 203, 168, 0.3);
  color: var(--jbx-emerald);
  border-radius: 999px;
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.ping-wrap {
  position: relative;
  width: 10px;
  height: 10px;
}

.ping-dot,
.ping-dot-core {
  border-radius: 999px;
  position: absolute;
  inset: 0;
}

.ping-dot {
  background: rgba(20, 203, 168, 0.58);
  animation: jbxPing 1.9s ease-in-out infinite;
}

.ping-dot-core {
  background: var(--jbx-emerald);
}

.hero-title {
  margin: 0 0 24px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.6rem, 6.4vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero-title-gradient {
  background: linear-gradient(120deg, #58f2db, #14cba8 60%, #0ea57f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 0 0 28px;
  color: var(--jbx-muted);
  font-size: clamp(1.05rem, 2.1vw, 1.55rem);
  line-height: 1.45;
  max-width: 740px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 18px;
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--jbx-btn);
  color: #04231c;
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #22d39a;
}

.btn-secondary {
  background: #213351;
  border-color: #31486d;
  color: #e6eefc;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: #2c4067;
}

.stats-wrap {
  position: relative;
}

.stats-glow {
  position: absolute;
  inset: 12% 0 8% 0;
  background: radial-gradient(circle, rgba(20, 203, 168, 0.2), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.stats-card {
  position: relative;
  background: linear-gradient(145deg, #0b1d45, #0f224f);
  border: 1px solid #2a3e6c;
  border-radius: 42px;
  padding: 24px;
  transform: rotate(3deg);
  box-shadow: var(--jbx-shadow);
}

.stats-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.window-dots {
  display: inline-flex;
  gap: 10px;
}

.window-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.window-dots .dot-red { background: #ff4a52; }
.window-dots .dot-yellow { background: #f6c029; }
.window-dots .dot-green { background: #31d277; }

.stats-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  color: #89a0c7;
  font-size: clamp(0.78rem, 1.05vw, 1.05rem);
  font-family: "JetBrains Mono", "Menlo", monospace;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: right;
}

.stats-status-label {
  color: #89a0c7;
  font-weight: 700;
}

.stats-status-value {
  color: #17dab7;
  font-weight: 800;
}

.progress-track {
  width: 100%;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #1c2f58;
  margin-bottom: 24px;
}

.progress-bar {
  height: 100%;
  width: var(--jbx-progress-width, 100%);
  background: linear-gradient(90deg, #17dab7, #0dbd9b);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.stat-box {
  background: #202f52;
  border-radius: 20px;
  padding: 18px;
  min-width: 0;
}

.stat-label {
  display: block;
  color: #8297bf;
  font-size: clamp(0.92rem, 1.3vw, 1.22rem);
  margin-bottom: 6px;
  line-height: 1.2;
}

.stat-value {
  display: block;
  color: #f8fbff;
  font-size: clamp(1.75rem, 3.1vw, 2.75rem);
  line-height: 1.04;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.xeqt-class {
  border-radius: 24px;
  border: 1px solid rgba(20, 203, 168, 0.28);
  background: rgba(20, 203, 168, 0.09);
  text-align: center;
  padding: 22px;
}

.xeqt-symbol {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--jbx-emerald);
  font-size: clamp(3.4rem, 6vw, 5.8rem);
  line-height: 1;
  font-weight: 800;
}

.xeqt-class p {
  margin: 4px 0 0;
  color: #4be5c4;
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-head h2 .accent {
  color: var(--jbx-emerald);
  text-decoration: underline;
  text-decoration-color: rgba(20, 203, 168, 0.3);
  text-underline-offset: 6px;
}

.section-divider {
  height: 1px;
  background: var(--jbx-border);
  flex: 1;
}

.vision-card {
  border: 1px solid #1f3764;
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(160deg, #091a3f 0%, #0f2554 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 84px;
}

.vision-card::before {
  content: "";
  position: absolute;
  right: -20%;
  top: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(20, 203, 168, 0.12), transparent 70%);
}

.vision-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.vision-top img {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid #2f4472;
}

.vision-name {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.vision-title {
  margin: 4px 0 0;
  color: var(--jbx-emerald);
  font-size: clamp(1.3rem, 2.2vw, 2.1rem);
  font-family: "JetBrains Mono", monospace;
}

.vision-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c5d3eb;
  line-height: 1.58;
  font-size: clamp(1.26rem, 2.1vw, 2.05rem);
  white-space: pre-line;
}

.concepts {
  margin-bottom: 84px;
}

.calculator-panel {
  border: 1px solid #1f3764;
  border-radius: 30px;
  padding: 14px;
  background: linear-gradient(160deg, #091a3f 0%, #0f2554 100%);
  box-shadow: 0 24px 50px rgba(3, 11, 31, 0.4);
}

.calculator-panel .xeqt-calculator {
  --x-bg: #081a3f;
  --x-panel: #0f234f;
  --x-panel-alt: #112958;
  --x-border: #284777;
  --x-text: #eaf2ff;
  --x-sub: #9eb4d6;
  --x-accent: #14cba8;
  --x-accent-2: #ffd54f;
  --x-chip-bg: #0d2350;
  --x-chip-text: #14cba8;
  --x-focus: #14cba8;
  margin: 0;
  color: var(--x-text);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

.calculator-panel .xeqt-calculator .xeqt-shell {
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(20, 203, 168, 0.09), transparent 62%),
    radial-gradient(90% 90% at 100% 100%, rgba(85, 133, 255, 0.18), transparent 68%),
    linear-gradient(150deg, var(--x-bg), #0f224c);
  border-color: var(--x-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 44px rgba(2, 9, 28, 0.5);
}

.calculator-panel .xeqt-calculator .xeqt-shell::before {
  background-image:
    linear-gradient(transparent 95%, rgba(83, 114, 168, 0.14) 95%),
    linear-gradient(90deg, transparent 95%, rgba(83, 114, 168, 0.14) 95%);
  opacity: 0.18;
}

.calculator-panel .xeqt-calculator .xeqt-tag {
  background: rgba(20, 203, 168, 0.12);
  border: 1px solid rgba(20, 203, 168, 0.4);
  color: #7ff0d8;
}

.calculator-panel .xeqt-calculator .xeqt-head h2 {
  color: #f4f8ff;
}

.calculator-panel .xeqt-calculator .xeqt-head p {
  color: var(--x-sub);
}

.calculator-panel .xeqt-calculator .xeqt-panel,
.calculator-panel .xeqt-calculator .xeqt-side,
.calculator-panel .xeqt-calculator .xeqt-faq,
.calculator-panel .xeqt-calculator .xeqt-projection {
  background: linear-gradient(180deg, rgba(15, 35, 79, 0.86), rgba(17, 41, 88, 0.86));
  border-color: var(--x-border);
}

.calculator-panel .xeqt-calculator .xeqt-projection-accordion > summary {
  background: linear-gradient(180deg, rgba(15, 35, 79, 0.86), rgba(17, 41, 88, 0.86));
  border-color: var(--x-border);
  color: #d9e7ff;
}

.calculator-panel .xeqt-calculator .xeqt-field label,
.calculator-panel .xeqt-calculator .xeqt-projection h3,
.calculator-panel .xeqt-calculator .xeqt-faq h3 {
  color: #d9e7ff;
}

.calculator-panel .xeqt-calculator .xeqt-input-wrap,
.calculator-panel .xeqt-calculator .xeqt-select,
.calculator-panel .xeqt-calculator input[type="number"],
.calculator-panel .xeqt-calculator .xeqt-metrics div,
.calculator-panel .xeqt-calculator .xeqt-mile,
.calculator-panel .xeqt-calculator .xeqt-faq details {
  border-color: #33588f;
  background: #0a1f49;
}

.calculator-panel .xeqt-calculator .xeqt-input-wrap span {
  color: #6af0d2;
}

.calculator-panel .xeqt-calculator .xeqt-select,
.calculator-panel .xeqt-calculator input[type="number"],
.calculator-panel .xeqt-calculator .xeqt-faq summary {
  color: #e7efff;
}

.calculator-panel .xeqt-calculator .xeqt-select:focus,
.calculator-panel .xeqt-calculator input[type="number"]:focus,
.calculator-panel .xeqt-calculator input[type="range"]:focus {
  outline: 2px solid rgba(20, 203, 168, 0.45);
}

.calculator-panel .xeqt-calculator .xeqt-scenario-btn {
  border-color: #3a629a;
  background: rgba(12, 34, 74, 0.95);
  color: #e2ebfb;
}

.calculator-panel .xeqt-calculator .xeqt-scenario-btn:hover {
  background: rgba(18, 51, 103, 0.96);
  border-color: rgba(20, 203, 168, 0.55);
}

.calculator-panel .xeqt-calculator .xeqt-metrics small,
.calculator-panel .xeqt-calculator .xeqt-mile span,
.calculator-panel .xeqt-calculator .xeqt-faq p,
.calculator-panel .xeqt-calculator .xeqt-projection-table th,
.calculator-panel .xeqt-calculator .xeqt-disclaimer {
  color: #9ab0d2;
}

.calculator-panel .xeqt-calculator .xeqt-metrics strong,
.calculator-panel .xeqt-calculator .xeqt-mile b,
.calculator-panel .xeqt-calculator .xeqt-projection-table td {
  color: #ebf3ff;
}

.calculator-panel .xeqt-calculator .xeqt-coffee {
  background: linear-gradient(120deg, rgba(20, 203, 168, 0.12), rgba(255, 213, 79, 0.18));
  border-color: #3b5f95;
}

.calculator-panel .xeqt-calculator .xeqt-coffee-media {
  background: rgba(9, 26, 59, 0.9);
  border-color: #3b5f95;
}

.calculator-panel .xeqt-calculator .xeqt-coffee-badge {
  background: #ffd54f;
  color: #142543;
  font-weight: 800;
}

.calculator-panel .xeqt-calculator .xeqt-coffee-copy {
  color: #eff5ff;
}

.calculator-panel .xeqt-calculator .xeqt-projection-table th,
.calculator-panel .xeqt-calculator .xeqt-projection-table td {
  border-bottom-color: rgba(66, 94, 141, 0.6);
}

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

.concept-card {
  border: 1px solid #243f6c;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(170deg, #0a1b40, #122a5a);
}

.concept-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.concept-content {
  padding: 16px;
}

.concept-content h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
}

.concept-content p {
  margin: 0;
  color: #9eb0ce;
  line-height: 1.5;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.ask-card {
  border: 1px solid #1f3764;
  border-radius: 24px;
  background: linear-gradient(145deg, #0a1b40, #122a5a);
  padding: 28px;
  margin-bottom: 58px;
}

.ask-card h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.ask-card p {
  margin: 0 0 16px;
  color: #a8b8d2;
  line-height: 1.6;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.ask-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #2f4472;
  background: #203760;
}

.site-footer {
  border-top: 1px solid var(--jbx-border);
  padding: 32px 0 44px;
}

.site-footer .footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.footer-col {
  border: 1px solid #1f3764;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(145deg, #0a1b40, #112552);
}

.footer-col h4 {
  margin: 0 0 8px;
  color: #dce8ff;
  font-size: 1.02rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.site-footer .footer-note {
  margin: 0;
  color: #8092b3;
  font-size: 0.96rem;
  text-align: left;
  line-height: 1.5;
}

.news-feed-intro {
  margin: -6px 0 18px;
  color: #9db2d3;
  font-size: clamp(1rem, 1.75vw, 1.2rem);
}

.news-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-hero-card,
.news-card {
  border: 1px solid #1f3764;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1b40, #112552);
  box-shadow: 0 14px 30px rgba(3, 13, 37, 0.35);
}

.news-hero-media,
.news-card-media {
  display: block;
  background: #08152f;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-hero-media img,
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-thumb-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  color: #8ca4c9;
  font-weight: 600;
}

.news-hero-body,
.news-card-body {
  padding: 14px;
}

.news-meta {
  margin: 0 0 8px;
  color: #8ea0be;
  font-size: 0.9rem;
}

.news-hero-title,
.news-card-title {
  margin: 0 0 10px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.2;
}

.news-hero-title a,
.news-card-title a {
  text-decoration: none;
}

.news-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9e5fb;
  font-weight: 600;
  font-size: 0.95rem;
}

.news-author img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #3e5887;
  object-fit: cover;
}

.news-card-excerpt {
  margin: 10px 0 0;
  color: #a8b8d2;
  line-height: 1.5;
}

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

.news-feed-actions {
  margin-top: 18px;
  margin-bottom: 42px;
}

.news-feed-actions .btn-secondary {
  padding: 12px 18px;
  font-size: 1rem;
}

.news-read-link {
  display: inline-flex;
  margin-top: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #8cefd8;
}

.pagination-wrap {
  margin-top: 22px;
}

.news-hero-empty {
  border: 1px solid #1f3764;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(145deg, #0a1b40, #112552);
}

.trading-review-shell {
  display: grid;
  gap: 22px;
  margin-bottom: 58px;
}

.tr-hero-card,
.tr-snapshot-card,
.tr-gallery-card,
.tr-content-card {
  border: 1px solid #1f3764;
  border-radius: 30px;
  padding: 24px;
  background: linear-gradient(160deg, #091a3f 0%, #0f2554 100%);
  box-shadow: 0 24px 50px rgba(3, 11, 31, 0.38);
}

.tr-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.tr-hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tr-hero-head {
  margin-bottom: 10px;
}

.tr-hero-head h2 {
  font-size: clamp(2rem, 3.3vw, 3rem);
  color: var(--jbx-btn);
}

.tr-pill {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(20, 203, 168, 0.38);
  background: rgba(20, 203, 168, 0.12);
  color: #7ff0d8;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 8px 14px;
}

.tr-hero-title {
  margin: 0 0 12px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.tr-hero-blurb {
  margin: 0;
  color: #a8b9d5;
  font-size: clamp(1rem, 1.75vw, 1.45rem);
  line-height: 1.55;
}

.tr-hero-actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tr-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tr-cta-btn {
  padding: 13px 20px;
  font-size: 1.02rem;
  border-radius: 14px;
}

.tr-pill-bottom {
  margin: 0;
}

.tr-hero-media {
  border: 1px solid #2a4572;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
  background: #08152f;
}

.tr-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.tr-media-empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #8ca4c9;
  padding: 16px;
}

.tr-section-head {
  margin-bottom: 16px;
}

.tr-table-wrap {
  border: 1px solid #284777;
  border-radius: 18px;
  overflow: hidden;
}

.tr-table {
  width: 100%;
  border-collapse: collapse;
}

.tr-table th,
.tr-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(65, 92, 136, 0.62);
}

.tr-table tr:last-child th,
.tr-table tr:last-child td {
  border-bottom: 0;
}

.tr-table th {
  width: 38%;
  text-align: left;
  color: #9ab0d2;
  font-weight: 700;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(9, 25, 57, 0.6);
}

.tr-table td {
  color: #e6f0ff;
  font-weight: 600;
  background: rgba(13, 33, 72, 0.62);
}

.tr-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tr-gallery-item {
  margin: 0;
  border: 1px solid #284777;
  border-radius: 18px;
  overflow: hidden;
  min-height: 220px;
  background: #08152f;
}

.tr-gallery-item img {
  width: 100%;
  min-height: 220px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tr-content-entry {
  color: #d6e3f8;
  line-height: 1.7;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.tr-content-entry h2,
.tr-content-entry h3,
.tr-content-entry h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: #f2f7ff;
  line-height: 1.2;
}

.tr-content-entry a {
  color: #80efd6;
}

.tr-content-entry img {
  border-radius: 16px;
  border: 1px solid #2a4572;
}

@keyframes jbxPing {
  0% {
    transform: scale(0.95);
    opacity: 0.4;
  }
  75% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .stats-card {
    transform: none;
  }
}

@media (max-width: 920px) {
  .concepts-grid,
  .news-grid,
  .news-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tr-hero-grid {
    grid-template-columns: 1fr;
  }

  .tr-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .reset-session-btn {
    width: 100%;
  }

  .concepts-grid,
  .news-grid,
  .news-hero-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .tr-hero-card,
  .tr-snapshot-card,
  .tr-gallery-card,
  .tr-content-card {
    padding: 18px;
    border-radius: 20px;
  }

  .tr-table th,
  .tr-table td {
    padding: 12px;
    font-size: 0.95rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .vision-top {
    align-items: flex-start;
  }
}
