* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0A1414;
  color: #F2F5F3;
  font-family: 'Inter', sans-serif;
}

.tg-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.tg-topbar {
  background: #0A1414;
  border-bottom: 1px solid rgba(242,245,243,0.10);
  padding: 8px 0;
}
.tg-topbar__row {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}
.tg-topbar__row a {
  color: #8FA39C;
  text-decoration: none;
  font-size: 0.78rem;
}

/* ---------- Nav ---------- */
.tg-nav {
  background: #0A1414;
  border-bottom: 1px solid rgba(242,245,243,0.16);
  padding: 18px 0;
}
.tg-nav__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tg-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.025em;
  color: #fff;
  text-decoration: none;
}
.tg-logo span,
.tg-logo-accent { color: #E2643F; }

.tg-navlinks { display: flex; gap: 30px; }
.tg-navlink {
  color: #F2F5F3;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.tg-navlink:hover { color: #E2643F; }

/* ---------- Footer ---------- */
.tg-footer {
  background: #0A1414;
  border-top: 1px solid rgba(242,245,243,0.16);
  padding: 56px 0 28px;
}
.tg-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(242,245,243,0.16);
}
.tg-footer__heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.tg-footer__text {
  font-size: 0.88rem;
  line-height: 1.9;
  color: #8FA39C;
}
.tg-footer__text a {
  color: #8FA39C;
  text-decoration: none;
}
.tg-footer__text a:hover { color: #E2643F; }
.tg-footer__bottom {
  padding-top: 20px;
  font-size: 0.8rem;
  text-align: center;
  color: #8FA39C;
}

@media (max-width: 768px) {
  .tg-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tg-footer__top { grid-template-columns: 1fr; }
  .tg-topbar__row { justify-content: center; flex-wrap: wrap; }
}

/* ================= TRIM Global homepage-specific styles ================= */
.tg-page, .tg-page * { box-sizing: border-box; }
.tg-page {
  --ink: #0A1414; --panel: #101F1D; --panel-2: #152A27; --paper: #F2F5F3;
  --text-dim: #8FA39C; --coral: #E2643F; --coral-dim: #B84F30;
  --coral-glow: rgba(226,100,63,0.35); --line: rgba(242,245,243,0.10); --line-strong: rgba(242,245,243,0.18);
}
.tg-page h1, .tg-page h2, .tg-page h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; letter-spacing: -0.02em; }
.tg-page .mono { font-family: 'JetBrains Mono', monospace; }

.tg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--coral); margin-bottom: 18px;
}
.tg-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px var(--coral); }

.tg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13.6px;
  text-decoration: none; padding: 14px 26px; border-radius: 4px; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  cursor: pointer; border: 1.5px solid transparent;
}
.tg-btn:hover { transform: translateY(-2px); }
.tg-btn:active { transform: translateY(0); }
.tg-btn--coral { background: var(--coral); color: #fff; }
.tg-btn--coral:hover { background: var(--coral-dim); box-shadow: 0 8px 24px var(--coral-glow); }
.tg-btn--outline { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.tg-btn--outline:hover { background: transparent; border-color: var(--coral); color: var(--coral); }

.tg-card { transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease, border-color 0.3s ease; }
.tg-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--coral-glow), 0 20px 40px rgba(0,0,0,0.35); border-color: var(--coral-dim); }
@media (prefers-reduced-motion: reduce) { .tg-card, .tg-btn { transition: none !important; } }

.tg-section-title { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; margin-bottom: 12px; }
.tg-section-sub { color: var(--text-dim); font-size: 16px; margin: 0 0 52px; max-width: 560px; }

/* ---------- Hero ---------- */
.tg-hero { padding: 100px 0 110px; position: relative; overflow: hidden; }

.tg-hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(242,245,243,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-hero-bg::before {
  content: ""; position: absolute; top: -180px; right: -140px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(226,100,63,0.20) 0%, transparent 62%);
}
.tg-hero-bg::after {
  content: ""; position: absolute; bottom: -100px; left: -60px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(79,158,119,0.07) 0%, transparent 65%);
}

.tg-hero-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.tg-hero h1 { font-size: clamp(36px, 4.2vw, 54px); font-weight: 700; line-height: 1.1; margin-bottom: 22px; }

.tg-hero p { font-size: 17.5px; line-height: 1.7; color: var(--text-dim); margin: 0 0 32px; max-width: 520px; }
.tg-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.tg-terminal {
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.tg-terminal-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tg-terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.tg-terminal-dot--r { background: #E2643F; } .tg-terminal-dot--y { background: #C9A54A; } .tg-terminal-dot--g { background: #4F9E77; }
.tg-terminal-body { padding: 24px 22px; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 2.1; }
.tg-terminal-prompt { color: var(--text-dim); }
.tg-terminal-cmd { color: var(--paper); }
.tg-terminal-check { color: #6FCF97; }
.tg-terminal-arrow { color: var(--coral); }
.tg-terminal-cursor { display: inline-block; width: 7px; height: 14px; background: var(--coral); margin-left: 4px; animation: tg-blink 1.1s steps(1) infinite; vertical-align: middle; }
@keyframes tg-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tg-terminal-cursor { animation: none; } }

/* ---------- Trust strip ---------- */
.tg-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.tg-trust-inner { display: flex; align-items: stretch; height: 52px; }
.tg-trust-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-dim); text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; padding: 0 28px 0 0; flex-shrink: 0;
  border-right: 1px solid var(--line); margin-right: 0;
}
.tg-trust-marquee { flex: 1; overflow: hidden; display: flex; align-items: center; }
.tg-trust-track {
  display: flex; align-items: center; gap: 0; will-change: transform;
  animation: tg-marquee 32s linear infinite;
}
.tg-trust-track:hover { animation-play-state: paused; }
@keyframes tg-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tg-trust-track { animation: none; } }
.tg-trust-name {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px;
  color: var(--text-dim); white-space: nowrap; padding: 0 24px;
  transition: color 0.2s ease;
}
.tg-trust-track:hover .tg-trust-name:hover { color: var(--paper); }
.tg-trust-sep { width: 1px; height: 16px; background: var(--line-strong); flex-shrink: 0; }

/* ---------- Bento stats ---------- */
.tg-stats { padding: 96px 0; }
.tg-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: 20px; }
.tg-bento-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.tg-bento-tile--big { grid-column: 1 / 3; grid-row: 1 / 3; justify-content: space-between; }
.tg-bento-tile--wide { grid-column: 3 / 5; grid-row: 2 / 3; flex-direction: row; align-items: center; justify-content: space-between; }
.tg-bento-number { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--paper); display: flex; align-items: baseline; gap: 4px; }
.tg-bento-tile--big .tg-bento-number { font-size: 56px; }
.tg-bento-tile .tg-bento-number { font-size: 34px; }
.tg-bento-suffix { font-size: 0.5em; color: var(--coral); font-weight: 600; }
.tg-bento-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.tg-bento-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin: 4px 0 6px; }
.tg-bento-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ---------- Who We Serve ---------- */
.tg-serve { padding: 96px 0; border-top: 1px solid var(--line); }
.tg-serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tg-serve-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.tg-serve-media { background: var(--panel-2); border: 1px dashed var(--line-strong); border-radius: 6px; aspect-ratio: 1030 / 412; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tg-serve-media-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; }
.tg-serve-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.tg-serve-list { list-style: none; margin: 0; padding: 0; }
.tg-serve-list li { font-size: 14px; color: var(--text-dim); padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line); position: relative; }
.tg-serve-list li:last-child { border-bottom: none; }
.tg-serve-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* ---------- Pricing ---------- */
.tg-pricing { padding: 96px 0; border-top: 1px solid var(--line); }
.tg-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tg-price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 30px; display: flex; flex-direction: column; }
.tg-price-card--popular { border-color: var(--coral); }
.tg-price-badge { display: inline-block; background: var(--coral); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 16px; align-self: flex-start; }
.tg-price-tier { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.tg-price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 800; color: var(--paper); margin: 6px 0 2px; letter-spacing: -0.01em; }
.tg-price-annual { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.tg-price-desc { font-size: 13.7px; color: var(--text-dim); margin: 0 0 20px; line-height: 1.5; }
.tg-price-features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.tg-price-features li { font-size: 13.5px; padding: 8px 0 8px 20px; border-bottom: 1px solid var(--line); position: relative; }
.tg-price-features li::before { content: "+"; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.tg-price-ideal { font-size: 12.8px; color: var(--text-dim); margin: 0 0 20px; }
.tg-price-ideal b { color: var(--paper); }
.tg-price-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.tg-price-buttons .tg-btn { flex: 1; justify-content: center; padding: 12px 14px; font-size: 12px; }

/* ---------- Process ---------- */
.tg-process { padding: 96px 0; border-top: 1px solid var(--line); }
.tg-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tg-process-step { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.tg-process-num { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 22px; color: var(--coral); margin-bottom: 14px; }
.tg-process-title { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; }
.tg-process-desc { font-size: 13.3px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ---------- Vision / Mission ---------- */
.tg-vmp { padding: 96px 0; border-top: 1px solid var(--line); background: var(--panel); }
.tg-vmp-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.tg-vmp-item { padding: 0 72px 0 0; }
.tg-vmp-item:last-child { padding: 0 0 0 72px; border-left: 1px solid var(--line); }
.tg-vmp-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 22px; display: flex; align-items: center; gap: 8px; }
.tg-vmp-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 8px var(--coral); }
.tg-vmp-text { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
.tg-vmp-sub { font-size: 14px; color: var(--text-dim); line-height: 1.75; margin: 0; }

/* ---------- Portfolio ---------- */
.tg-portfolio { padding: 96px 0; border-top: 1px solid var(--line); }
.tg-portfolio-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.tg-carousel-controls { display: flex; gap: 10px; }
.tg-carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--paper); font-size: 16px; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.tg-carousel-btn:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }
.tg-carousel { overflow: hidden; margin-bottom: 32px; padding: 14px 4px; }
.tg-carousel-track { display: flex; gap: 18px; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.tg-client { flex: 0 0 190px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px 14px; text-align: center; }
.tg-client-name { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.tg-client-country { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.tg-faq { padding: 96px 0; border-top: 1px solid var(--line); }
.tg-faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.tg-faq-aside { position: sticky; top: 80px; }
.tg-faq-aside .tg-section-title { margin-bottom: 16px; }
.tg-faq-aside-sub { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin: 0 0 28px; }
.tg-faq-items { display: flex; flex-direction: column; }
.tg-faq-item { border-bottom: 1px solid var(--line); }
.tg-faq-item:first-child { border-top: 1px solid var(--line); }
.tg-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; color: var(--paper);
  transition: color 0.2s ease;
}
.tg-faq-q:hover { color: var(--coral); }
.tg-faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-dim); transition: transform 0.3s ease, color 0.2s ease; }
.tg-faq-item.open .tg-faq-icon { transform: rotate(180deg); color: var(--coral); }
.tg-faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.tg-faq-item.open .tg-faq-body { max-height: 300px; }
.tg-faq-a { font-size: 14px; color: var(--text-dim); line-height: 1.75; padding-bottom: 22px; margin: 0; }

/* ---------- Final CTA ---------- */
.tg-cta { padding: 130px 0; text-align: center; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.tg-cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(242,245,243,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-cta-bg::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(226,100,63,0.13) 0%, transparent 60%);
}
.tg-cta-inner { position: relative; z-index: 1; }
.tg-cta h2 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; max-width: 700px; margin: 16px auto 20px; }
.tg-cta-sub { font-size: 17px; color: var(--text-dim); line-height: 1.7; max-width: 500px; margin: 0 auto 56px; }
.tg-cta-stats { display: flex; align-items: center; justify-content: center; margin-bottom: 52px; }
.tg-cta-stat { padding: 0 44px; text-align: center; }
.tg-cta-stat-num { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 800; color: var(--paper); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.tg-cta-stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; }
.tg-cta-stat-div { width: 1px; height: 44px; background: var(--line-strong); flex-shrink: 0; }
.tg-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tg-hero-row { grid-template-columns: 1fr; gap: 48px; }
  .tg-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .tg-bento-tile--big { grid-column: 1/3; grid-row: 1/2; }
  .tg-bento-tile--wide { grid-column: 1/3; }
  .tg-serve-grid, .tg-pricing-grid, .tg-process-grid { grid-template-columns: 1fr 1fr; }
  .tg-vmp-grid { grid-template-columns: 1fr; }
  .tg-vmp-item { padding: 0 0 48px 0; border-bottom: 1px solid var(--line); }
  .tg-vmp-item:last-child { padding: 48px 0 0 0; border-left: none; border-bottom: none; }
  .tg-faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .tg-faq-aside { position: static; }
}
@media (max-width: 600px) {
  .tg-hero { padding: 64px 0 72px; }
  .tg-hero h1 { font-size: clamp(34px, 8.5vw, 46px); }
  .tg-bento { grid-template-columns: 1fr; }
  .tg-bento-tile--big, .tg-bento-tile--wide { grid-column: 1/2; }
  .tg-serve-grid, .tg-pricing-grid, .tg-process-grid { grid-template-columns: 1fr; }
  .tg-portfolio-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tg-trust-label { padding: 0 16px; font-size: 9px; }
}

/* ================================================================
   Journal Setup  /journal-setup/
   ================================================================ */

.tg-js-hero {
  padding: 96px 0 108px;
  position: relative;
  overflow: hidden;
}
.tg-js-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(242,245,243,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-js-hero-glow-l {
  position: absolute; width: 700px; height: 600px; pointer-events: none;
  top: -160px; left: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,158,119,0.07) 0%, transparent 65%);
}
.tg-js-hero-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
}

/* ── Left column ── */
.tg-js-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em;
  margin: 14px 0 20px;
}
.tg-js-hero-sub {
  font-size: 16.5px; color: var(--text-dim); line-height: 1.75;
  max-width: 460px; margin-bottom: 28px;
}
.tg-js-hero-checks {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 13px;
}
.tg-js-hero-checks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-dim); line-height: 1.5;
}
.tg-js-hero-checks li svg {
  width: 15px; height: 15px; color: #4F9E77; flex-shrink: 0; margin-top: 2px;
}
.tg-js-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Right column ── */
.tg-js-hero-right {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.tg-js-hero-glow-r {
  position: absolute; width: 520px; height: 440px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(226,100,63,0.18) 0%, transparent 68%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* Panel wrapper */
.tg-js-panel {
  width: 100%; max-width: 480px;
  background: var(--line); /* 1px lines via gap */
  border: 1px solid var(--line-strong);
  border-radius: 16px; overflow: hidden;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 1px rgba(226,100,63,0.13), 0 32px 80px rgba(0,0,0,0.55);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.tg-js-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(226,100,63,0.3), 0 52px 110px rgba(0,0,0,0.65);
}

/* 2×2 card grid */
.tg-js-panel-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
}
.tg-js-pcard {
  background: var(--ink); padding: 20px 18px 18px;
  transition: background 0.2s ease;
}
.tg-js-pcard--b { background: var(--panel); }
.tg-js-pcard:hover { background: var(--panel); }
.tg-js-pcard--b:hover { background: var(--panel-2); }

/* Card label */
.tg-js-pcard-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--coral);
  margin-bottom: 10px;
}

/* Domain card: URL bar */
.tg-js-urlbar {
  display: flex; align-items: center; gap: 6px;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: 5px; padding: 6px 10px; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim);
}
.tg-js-urlbar svg { width: 10px; height: 10px; color: #4F9E77; flex-shrink: 0; }
.tg-js-urlbar-dot { color: #4F9E77; margin-left: auto; font-size: 10px; }
.tg-js-pcard-lines {
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-dim);
  line-height: 1.5;
}

/* OJS card: submission list */
.tg-js-ojs-list {
  display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px;
}
.tg-js-ojs-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim);
}
.tg-js-ojs-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.tg-js-ojs-dot--new  { background: #4F9E77; box-shadow: 0 0 6px rgba(79,158,119,0.5); }
.tg-js-ojs-dot--rev  { background: #C9A54A; }
.tg-js-ojs-dot--pub  { background: var(--coral); }
.tg-js-pcard-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 600;
  color: #4F9E77; background: rgba(79,158,119,0.12);
  border: 1px solid rgba(79,158,119,0.28); border-radius: 999px;
  padding: 2px 8px;
}

/* ISSN card: big number */
.tg-js-issn-big {
  font-family: 'JetBrains Mono', monospace; font-size: 19px; font-weight: 600;
  color: var(--paper); letter-spacing: 0.04em; margin-bottom: 10px;
}

/* Scholar card: search bar */
.tg-js-scholar-bar {
  display: flex; align-items: center; gap: 7px;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 6px 12px; margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim);
}
.tg-js-scholar-bar svg { width: 11px; height: 11px; color: var(--text-dim); flex-shrink: 0; }
.tg-js-pcard-checks { display: flex; flex-direction: column; gap: 5px; }
.tg-js-pcheck {
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: #4F9E77;
}
.tg-js-pcheck svg { width: 11px; height: 11px; flex-shrink: 0; }

/* Footer status bar */
.tg-js-panel-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; background: var(--panel-2);
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.tg-js-foot-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #4F9E77; box-shadow: 0 0 8px rgba(79,158,119,0.7);
  animation: tg-live 2.2s ease-in-out infinite;
}
@keyframes tg-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(79,158,119,0.7); }
  50%       { opacity: 0.6; box-shadow: 0 0 18px rgba(79,158,119,0.9); }
}
.tg-js-foot-domain { color: var(--paper); font-weight: 600; }
.tg-js-foot-sep    { color: var(--line-strong); }
.tg-js-foot-meta   { color: var(--text-dim); opacity: 0.7; }

/* ── Hero responsive ── */
@media (max-width: 960px) {
  .tg-js-hero-row { grid-template-columns: 1fr; gap: 56px; }
  .tg-js-hero-sub { max-width: 100%; }
  .tg-js-panel { max-width: 520px; }
}
@media (max-width: 600px) {
  .tg-js-hero { padding: 64px 0 72px; }
  .tg-js-hero-h1 { font-size: clamp(32px, 8vw, 44px); }
  .tg-js-panel-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   Journal Setup — Feature sections
   ================================================================ */

.tg-js-features { padding: 0 0 128px; position: relative; z-index: 1; }

/* Section header */
.tg-js-fhd {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
  padding-top: 96px;
}
.tg-js-fhd-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 14px 0 18px;
}
.tg-js-fhd-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
}

/* Feature row */
.tg-js-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.tg-js-feat--flip .tg-js-feat-vis { order: -1; }

/* Text column */
.tg-js-feat-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px;
}
.tg-js-feat-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.tg-js-feat-body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 28px;
}
.tg-js-feat-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 11px;
}
.tg-js-feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-dim); line-height: 1.45;
}
.tg-js-feat-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--coral); border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}

/* Visual card */
.tg-js-feat-vis { display: flex; align-items: stretch; }
.tg-js-feat-vis--top { align-items: flex-start; }
.tg-js-fvis {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 0 0 1px rgba(226,100,63,0.07), 0 24px 64px rgba(0,0,0,0.5);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}
.tg-js-fvis:hover {
  transform: translateY(-6px);
  border-color: var(--coral-dim);
  box-shadow: 0 0 0 1px var(--coral-glow), 0 40px 90px rgba(0,0,0,0.6), 0 0 80px 8px rgba(226,100,63,0.12);
}

/* Shared fvis atoms */
.tg-js-fvis-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.tg-js-fvis-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim);
}
.tg-js-fvis-live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #4F9E77; box-shadow: 0 0 8px rgba(79,158,119,0.6);
  animation: tg-live 2.2s ease-in-out infinite;
}
.tg-js-fvis-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 600;
  border-radius: 999px; padding: 2px 9px;
  display: inline-block;
}
.tg-js-fvis-pill--g {
  color: #4F9E77;
  background: rgba(79,158,119,0.12);
  border: 1px solid rgba(79,158,119,0.28);
}
.tg-js-fvis-urlbar {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 8px 12px; margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim);
}
.tg-js-fvis-urlbar svg { width: 11px; height: 11px; color: #4F9E77; flex-shrink: 0; }
.tg-js-fvis-rows { display: flex; flex-direction: column; }
.tg-js-fvis-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
}
.tg-js-fvis-row:last-child { border-bottom: none; }
.tg-js-fvis-key { color: var(--text-dim); min-width: 62px; flex-shrink: 0; }
.tg-js-fvis-val { color: var(--paper); flex: 1; }
.tg-js-fvis-val--hi { color: var(--paper); font-weight: 600; }
.tg-js-fvis-val--dim { color: var(--text-dim); }
.tg-js-fvis-ok { color: #4F9E77; margin-left: auto; flex-shrink: 0; font-size: 12px; }
.tg-js-fvis-ok--dim { color: var(--text-dim); }
.tg-js-fvis-divider { height: 1px; background: var(--line); margin: 18px 0; }

/* Uptime bar */
.tg-js-fvis-uptime { margin-top: 18px; }
.tg-js-fvis-uptime-label {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-dim); margin-bottom: 7px;
}
.tg-js-fvis-uptime-pct { color: #4F9E77; font-weight: 600; }
.tg-js-fvis-track { height: 4px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.tg-js-fvis-fill {
  height: 100%; width: 99.9%;
  background: linear-gradient(90deg, #4F9E77, #6DBFA0);
  border-radius: 2px;
}

/* OJS stats */
.tg-js-fvis-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--line);
  border-radius: 8px; overflow: hidden;
  margin-bottom: 0;
}
.tg-js-fvis-stat {
  background: var(--panel-2); padding: 14px 10px; text-align: center;
}
.tg-js-fvis-stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  color: var(--paper); line-height: 1; margin-bottom: 5px;
}
.tg-js-fvis-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--text-dim);
  line-height: 1.4; text-transform: uppercase; letter-spacing: 0.04em;
}
.tg-js-fvis-queue { display: flex; flex-direction: column; }
.tg-js-fvis-qrow {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
}
.tg-js-fvis-qrow:last-child { border-bottom: none; }
.tg-js-fvis-qid { color: var(--paper); flex-shrink: 0; }
.tg-js-fvis-qstatus { color: var(--text-dim); margin-left: auto; font-size: 10.5px; }

/* ISSN card */
.tg-js-fvis-issn-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 0;
}
.tg-js-fvis-issn-logo {
  width: 42px; height: 42px; background: var(--coral);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700;
  color: #fff; flex-shrink: 0; letter-spacing: -0.02em;
}
.tg-js-fvis-issn-org {
  font-family: 'Inter', sans-serif; font-size: 13px;
  font-weight: 600; color: var(--paper);
}
.tg-js-fvis-issn-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--text-dim); margin-top: 3px;
}
.tg-js-fvis-issn-nums { display: flex; flex-direction: column; gap: 12px; }
.tg-js-fvis-issn-row {
  display: flex; align-items: center; justify-content: space-between;
}
.tg-js-fvis-issn-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 600;
  color: var(--paper); letter-spacing: 0.04em;
}

/* Scholar / indexing */
.tg-js-fvis-gbar {
  display: flex; align-items: center; gap: 8px;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 9px 16px; margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-dim);
}
.tg-js-fvis-gbar svg { width: 12px; height: 12px; flex-shrink: 0; }
.tg-js-fvis-gresult {
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 14px 16px;
}
.tg-js-fvis-gresult-title {
  font-family: 'Inter', sans-serif; font-size: 14px;
  font-weight: 600; color: #6BA3E8; margin-bottom: 3px;
}
.tg-js-fvis-gresult-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; color: #4F9E77; margin-bottom: 6px;
}
.tg-js-fvis-gresult-meta { font-size: 12px; color: var(--text-dim); }

/* ── Feature responsive ── */
@media (max-width: 900px) {
  .tg-js-feat { grid-template-columns: 1fr; gap: 48px; }
  .tg-js-feat--flip .tg-js-feat-vis { order: 0; }
  .tg-js-fhd { padding-top: 72px; }
}
@media (max-width: 600px) {
  .tg-js-features { padding-bottom: 80px; }
  .tg-js-feat { padding: 56px 0; }
  .tg-js-fhd { padding-top: 56px; margin-bottom: 48px; }
}

/* ================================================================
   Journal Setup — Pricing (collapsible)
   ================================================================ */

.tg-js-pricing {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 10;
  background: var(--ink);
}

/* Toggle row */
.tg-js-pricing-toggle {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between;
  padding: 32px 0; background: none; border: none;
  cursor: pointer; color: var(--paper); text-align: left;
  gap: 24px;
}
.tg-js-pricing-toggle-l { display: flex; align-items: center; gap: 20px; }
.tg-js-pricing-toggle-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--coral);
  white-space: nowrap;
}
.tg-js-pricing-toggle-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--paper);
  transition: color 0.2s;
}
.tg-js-pricing-toggle:hover .tg-js-pricing-toggle-title { color: var(--coral); }
.tg-js-pricing-toggle-r { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tg-js-pricing-from {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--text-dim);
  white-space: nowrap;
}
.tg-js-pricing-chevron svg {
  width: 20px; height: 20px; display: block;
  color: var(--text-dim);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), color 0.2s;
}
.tg-js-pricing-toggle:hover .tg-js-pricing-chevron svg { color: var(--coral); }
.tg-js-pricing--open .tg-js-pricing-chevron svg { transform: rotate(180deg); color: var(--coral); }

/* Collapsible body */
.tg-js-pricing-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.22,1,0.36,1);
}
.tg-js-pricing--open .tg-js-pricing-body { max-height: 2400px; }

/* Pricing card grid */
.tg-js-prc-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px; padding-bottom: 96px; margin-top: 30px;
}

/* Card base */
.tg-js-prc-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 1px rgba(226,100,63,0.05), 0 16px 48px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease, border-color 0.25s;
}
.tg-js-prc-card:hover {
  transform: translateY(-6px);
  border-color: var(--coral-dim);
  box-shadow: 0 0 0 1px var(--coral-glow), 0 40px 80px rgba(0,0,0,0.55), 0 0 80px 8px rgba(226,100,63,0.1);
}
.tg-js-prc-card--pop {
  border-color: var(--coral);
  box-shadow: 0 0 0 1px rgba(226,100,63,0.2), 0 24px 64px rgba(0,0,0,0.5);
}
.tg-js-prc-card--pop:hover {
  box-shadow: 0 0 0 1px var(--coral-glow), 0 40px 80px rgba(0,0,0,0.6), 0 0 100px 12px rgba(226,100,63,0.15);
}

/* Popular badge */
.tg-js-prc-badge {
  display: inline-block; align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 600;
  background: var(--coral); color: #fff;
  border-radius: 999px; padding: 3px 10px;
  margin-bottom: 14px; letter-spacing: 0.04em;
}

/* Tier name */
.tg-js-prc-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 10px;
}
.tg-js-prc-card--pop .tg-js-prc-name { color: var(--coral); }

/* Price */
.tg-js-prc-price {
  display: flex; align-items: baseline; gap: 3px;
  margin-bottom: 14px;
}
.tg-js-prc-currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text-dim); margin-top: 4px;
}
.tg-js-prc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--paper);
  line-height: 1;
}
.tg-js-prc-per {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--text-dim); margin-left: 4px;
}

/* Description */
.tg-js-prc-desc {
  font-size: 14px; color: var(--text-dim);
  line-height: 1.65; margin-bottom: 0;
}

/* Divider */
.tg-js-prc-divider { height: 1px; background: var(--line); margin: 22px 0; }

/* Features */
.tg-js-prc-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; flex: 1;
}
.tg-js-prc-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.45;
}
.tg-js-prc-features li::before {
  content: '✓';
  color: #4F9E77; font-size: 12px;
  flex-shrink: 0; margin-top: 1px; font-weight: 700;
}

/* Ideal for */
.tg-js-prc-ideal {
  font-size: 12px; color: var(--text-dim);
  line-height: 1.6; margin: 20px 0 20px;
}
.tg-js-prc-ideal span {
  color: var(--paper); font-weight: 600;
  margin-right: 4px;
}

/* CTA */
.tg-js-prc-btn { width: 100%; justify-content: center; margin-top: auto; }

/* ── Pricing responsive ── */
@media (max-width: 900px) {
  .tg-js-prc-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .tg-js-pricing-toggle { padding: 24px 0; }
  .tg-js-pricing-toggle-title { font-size: 17px; }
  .tg-js-pricing-from { display: none; }
  .tg-js-prc-grid { padding-bottom: 64px; }
}

/* ================================================================
   ISSN Card  (demo v3 style)
   ================================================================ */
.tg-js-fvis--card {
  background: linear-gradient(135deg, var(--panel-2), var(--panel));
  padding: 32px 28px;
}
.tg-js-id-top {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px;
}
.tg-js-id-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.6;
}
.tg-js-id-seal {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--coral);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tg-js-id-seal svg { width: 16px; height: 16px; color: var(--coral); }
.tg-js-id-number {
  font-family: 'JetBrains Mono', monospace; font-size: 26px; font-weight: 600;
  letter-spacing: 0.05em; margin-bottom: 16px; color: var(--paper);
}
.tg-js-id-bc { display: flex; gap: 2px; align-items: flex-end; height: 36px; }
.tg-js-id-bc span { display: block; background: var(--paper); width: 3px; }

/* ================================================================
   Indexing  /indexing/
   ================================================================ */

.tg-ix-hero {
  padding: 96px 0 108px;
  position: relative; overflow: hidden;
}
.tg-ix-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(242,245,243,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-ix-hero-glow-l {
  position: absolute; width: 700px; height: 600px; pointer-events: none;
  top: -160px; left: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(66,133,244,0.06) 0%, transparent 65%);
}
.tg-ix-hero-row {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}

/* Left column */
.tg-ix-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em;
  margin: 14px 0 20px;
}
.tg-ix-hero-sub {
  font-size: 16px; color: var(--text-dim); line-height: 1.72;
  max-width: 100%; margin-bottom: 28px;
}
.tg-ix-hero-dbs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.tg-ix-hero-db-chip {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--paper); border: 1px solid var(--line-strong);
  background: rgba(242,245,243,0.04);
  padding: 5px 12px; border-radius: 20px; letter-spacing: 0.02em;
  cursor: default;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.tg-ix-hero-db-chip:hover {
  transform: translateY(-2px);
  border-color: var(--coral-dim);
  background: rgba(226,100,63,0.06);
  box-shadow: 0 0 0 1px var(--coral-glow), 0 8px 20px rgba(0,0,0,0.35), 0 0 18px 2px rgba(226,100,63,0.09);
}
.tg-ix-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Right column */
.tg-ix-hero-right {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.tg-ix-hero-glow-r {
  position: absolute; width: 520px; height: 440px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(66,133,244,0.12) 0%, transparent 68%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* Panel */
.tg-ix-panel {
  width: 100%; max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px; overflow: hidden;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 1px rgba(66,133,244,0.1), 0 32px 80px rgba(0,0,0,0.55);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.tg-ix-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px var(--coral-glow), 0 52px 110px rgba(0,0,0,0.65), 0 0 60px 6px rgba(226,100,63,0.08);
}

/* Panel header */
.tg-ix-panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.tg-ix-live-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #4F9E77; box-shadow: 0 0 8px rgba(79,158,119,0.7);
  animation: tg-live 2.2s ease-in-out infinite;
}
.tg-ix-panel-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim);
}
.tg-ix-active-pill {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; font-weight: 600;
  color: #4F9E77; background: rgba(79,158,119,0.12);
  border: 1px solid rgba(79,158,119,0.28); border-radius: 999px;
  padding: 2px 8px;
}

/* Search bar */
.tg-ix-searchbar {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 20px;
  background: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 8px; padding: 9px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim);
  cursor: default;
  transition: background 0.2s ease;
}
.tg-ix-searchbar:hover { background: rgba(226,100,63,0.07); }
.tg-ix-searchbar svg { width: 13px; height: 13px; flex-shrink: 0; }

/* DB list */
.tg-ix-db-list {
  display: flex; flex-direction: column;
  padding: 0 12px;
  border-top: 1px solid var(--line);
}
.tg-ix-db-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: 6px;
  cursor: default;
  transition: background 0.2s ease;
}
.tg-ix-db-row:last-child { border-bottom: none; }
.tg-ix-db-row:hover { background: rgba(226,100,63,0.07); }

.tg-ix-db-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid; border-radius: 5px;
  padding: 3px 6px; flex-shrink: 0;
}
.tg-ix-db-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; color: var(--paper); flex: 1;
}
.tg-ix-db-status {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.tg-ix-db-status--green { color: #4F9E77; }
.tg-ix-db-status--amber { color: #C9A54A; }
.tg-ix-db-status--dim   { color: var(--text-dim); }

.tg-ix-db-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.tg-ix-db-dot--green { background: #4F9E77; box-shadow: 0 0 6px rgba(79,158,119,0.6); }
.tg-ix-db-dot--amber { background: #C9A54A; }
.tg-ix-db-arrow { font-size: 12px; }

/* Footer stats */
.tg-ix-panel-foot {
  display: flex; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--panel-2);
  gap: 0;
}
.tg-ix-stat {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; gap: 2px;
}
.tg-ix-stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--paper); line-height: 1;
}
.tg-ix-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em;
}
.tg-ix-stat-sep {
  width: 1px; height: 32px; background: var(--line); flex-shrink: 0;
}

/* Google Scholar feature card */
.tg-ix-gs-net {
  background: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; margin: 18px 0 0;
}
.tg-ix-gs-svg { width: 100%; display: block; }
.tg-ix-gs-stats {
  display: flex; align-items: center;
  padding: 4px 0 16px;
}
.tg-ix-gs-stat { flex: 1; text-align: center; }
.tg-ix-gs-stat-n {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--paper);
}
.tg-ix-gs-stat-l {
  display: block;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em;
  margin-top: 2px;
}
.tg-ix-gs-stat-sep { width: 1px; height: 30px; background: var(--line); flex-shrink: 0; }
.tg-ix-gs-footer {
  display: flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: #4F9E77; font-weight: 500;
}
.tg-ix-gs-footer svg { width: 13px; height: 13px; flex-shrink: 0; }

/* DOI card */
.tg-ix-doi-hero { padding: 20px 0 6px; }
.tg-ix-doi-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.tg-ix-doi-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1;
  margin-bottom: 20px;
}
.tg-ix-doi-big-dim   { color: var(--text-dim); }
.tg-ix-doi-big-coral {
  color: var(--coral);
  text-shadow: 0 0 24px rgba(226,100,63,0.45);
}
.tg-ix-doi-big-white { color: var(--paper); }
.tg-ix-doi-connector {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.tg-ix-doi-connector-line {
  width: 1px; height: 28px; flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(226,100,63,0.5), rgba(242,245,243,0.1));
  margin-left: 3px;
}
.tg-ix-doi-connector-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--text-dim); letter-spacing: 0.08em;
}
.tg-ix-doi-target-title {
  font-size: 13px; font-weight: 500; color: var(--paper);
  line-height: 1.5; margin-bottom: 6px;
}
.tg-ix-doi-target-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--text-dim);
}

/* DOI cascade feed */
.tg-ix-doi-feed {
  position: relative; margin: 20px 0 0; overflow: hidden;
  padding-bottom: 8px;
}
.tg-ix-doi-entry {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 6px 0;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap; overflow: hidden;
  transition: opacity 0.2s ease;
}
.tg-ix-doi-entry--1 { font-size: 13.5px; opacity: 1; }
.tg-ix-doi-entry--2 { font-size: 12px;   opacity: 0.58; }
.tg-ix-doi-entry--3 { font-size: 11px;   opacity: 0.32; }
.tg-ix-doi-entry--4 { font-size: 10px;   opacity: 0.14; }
.tg-ix-doi-str { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.tg-ix-doi-pre  { color: var(--text-dim); }
.tg-ix-doi-num  { color: var(--coral); }
.tg-ix-doi-suf  { color: var(--paper); }
.tg-ix-doi-ts {
  font-size: 9px; color: var(--text-dim); flex-shrink: 0; letter-spacing: 0.03em;
}
.tg-ix-doi-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--panel));
  pointer-events: none;
}

/* DOAJ card */
.tg-ix-doaj-journal {
  display: flex; align-items: center; gap: 12px; padding: 16px 0 14px;
}
.tg-ix-doaj-oa-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; color: #4F9E77;
  background: rgba(79,158,119,0.12); border: 1px solid rgba(79,158,119,0.32);
  padding: 5px 10px; border-radius: 5px; flex-shrink: 0;
}
.tg-ix-doaj-jname {
  font-size: 13px; font-weight: 500; color: var(--paper); margin-bottom: 4px;
}
.tg-ix-doaj-jmeta {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: var(--text-dim);
}
.tg-ix-doaj-criteria {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0;
}
.tg-ix-doaj-crit {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim);
}
.tg-ix-doaj-crit-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: rgba(79,158,119,0.1); border: 1px solid rgba(79,158,119,0.32);
  display: flex; align-items: center; justify-content: center;
}
.tg-ix-doaj-crit-dot svg { width: 8px; height: 8px; color: #4F9E77; }

/* ROAD card */
.tg-ix-road-issn { padding: 20px 0 14px; }
.tg-ix-road-issn-eye {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 10px;
}
.tg-ix-road-issn-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1; margin-bottom: 10px;
}
.tg-ix-road-yr  { color: var(--text-dim); }
.tg-ix-road-sep { color: var(--text-dim); margin: 0 1px; }
.tg-ix-road-id  { color: var(--coral); text-shadow: 0 0 22px rgba(226,100,63,0.42); }
.tg-ix-road-issn-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--text-dim); opacity: 0.6;
}
.tg-ix-road-fields { display: flex; flex-direction: column; gap: 9px; padding: 2px 0; }
.tg-ix-road-field  { display: flex; align-items: baseline; gap: 14px; }
.tg-ix-road-fk {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: var(--text-dim);
  letter-spacing: 0.06em; min-width: 52px; flex-shrink: 0;
}
.tg-ix-road-fv { font-size: 12.5px; color: var(--paper); font-weight: 500; }

/* Scopus progress bars */
.tg-ix-sc-bars { display: flex; flex-direction: column; gap: 13px; padding: 18px 0 6px; }
.tg-ix-sc-row  { display: flex; align-items: center; gap: 11px; }
.tg-ix-sc-lbl  {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--text-dim); min-width: 108px; flex-shrink: 0;
}
.tg-ix-sc-track {
  flex: 1; height: 4px; background: rgba(242,245,243,0.06);
  border-radius: 2px; overflow: hidden;
}
.tg-ix-sc-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--coral-dim), var(--coral));
  box-shadow: 0 0 8px rgba(226,100,63,0.35);
}
.tg-ix-sc-pct {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: var(--text-dim); min-width: 28px; text-align: right; flex-shrink: 0;
}

/* WoS chart */
.tg-ix-wos-chart {
  margin: 18px 0 0;
  background: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.tg-ix-wos-stats {
  display: flex; align-items: center; padding: 14px 0 4px;
}
.tg-ix-wos-stat { flex: 1; text-align: center; }
.tg-ix-wos-sn {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--paper);
}
.tg-ix-wos-sl {
  display: block; font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px;
}
.tg-ix-wos-sep { width: 1px; height: 28px; background: var(--line); flex-shrink: 0; }

/* Indexing CTA */
.tg-ix-cta {
  position: relative; padding: 120px 0 140px;
  overflow: hidden; text-align: center;
  border-top: 1px solid var(--line);
}
.tg-ix-cta-glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(226,100,63,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.tg-ix-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.tg-ix-cta-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  color: var(--paper); margin: 16px 0 24px;
}
.tg-ix-cta-sub {
  font-size: 16px; color: var(--text-dim); line-height: 1.75;
  max-width: 520px; margin: 0 auto 40px;
}
.tg-ix-cta-btns {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}

/* Responsive */
@media (max-width: 960px) {
  .tg-ix-hero-row { grid-template-columns: 1fr; gap: 56px; }
  .tg-ix-hero-sub { max-width: 100%; }
  .tg-ix-panel { max-width: 480px; }
}
@media (max-width: 600px) {
  .tg-ix-hero { padding: 64px 0 72px; }
  .tg-ix-hero-h1 { font-size: clamp(32px, 8vw, 44px); }
}

/* ═══════════════════════════════════════════
   CONTACT US PAGE
═══════════════════════════════════════════ */
.tg-cu-hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}
.tg-cu-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 70% 40%, rgba(226,100,63,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.tg-cu-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Left column */
.tg-cu-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--paper);
  margin: 12px 0 20px;
}
.tg-cu-hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 44px;
}
.tg-cu-promises {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tg-cu-promise {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--paper);
  opacity: 0.85;
}

/* Right column: direct contact card */
.tg-cu-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
}
.tg-cu-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.tg-cu-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  flex: 1;
}
.tg-cu-avail-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 20px;
  padding: 3px 9px;
  text-transform: uppercase;
}
.tg-cu-channels {
  padding: 8px 0;
}
.tg-cu-channel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s;
}
.tg-cu-channel:hover { background: rgba(242,245,243,0.03); }
.tg-cu-channel:hover .tg-cu-ch-arrow { opacity: 1; transform: translateX(3px); }
.tg-cu-ch-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
  transition: border-color 0.2s, background 0.2s;
}
.tg-cu-ch-icon svg { width: 20px; height: 20px; }
.tg-cu-channel:hover .tg-cu-ch-icon {
  border-color: var(--coral);
  background: rgba(226,100,63,0.08);
}
.tg-cu-ch-body { flex: 1; }
.tg-cu-ch-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tg-cu-ch-value {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.tg-cu-ch-hint {
  font-size: 12px;
  color: var(--text-dim);
}
.tg-cu-ch-arrow {
  color: var(--coral);
  opacity: 0.4;
  transition: opacity 0.18s, transform 0.18s;
}
.tg-cu-divider {
  height: 1px;
  background: var(--line);
  margin: 0 24px;
}
.tg-cu-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  background: var(--panel-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .tg-cu-hero-row { grid-template-columns: 1fr; gap: 56px; }
  .tg-cu-hero-sub { max-width: 100%; }
}
@media (max-width: 600px) {
  .tg-cu-hero { padding: 64px 0 72px; }
  .tg-cu-hero-h1 { font-size: clamp(36px, 10vw, 48px); }
  .tg-cu-channel { padding: 18px 20px; }
  .tg-cu-ch-value { font-size: 15px; }
}

/* ── Contact page: shared section styles ──────────────────────── */
.tg-cu-section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}
.tg-cu-section-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 48px;
}

/* ── Regional Presence ────────────────────────────────────────── */
.tg-cu-regions {
  padding: 80px 0 88px;
  border-top: 1px solid var(--line);
}
.tg-cu-region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tg-cu-region-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 28px 28px 30px;
  transition: border-color 0.2s, background 0.2s;
}
.tg-cu-region-card:hover {
  border-color: var(--coral);
  background: var(--panel-2);
}
.tg-cu-region-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.tg-cu-region-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}

/* ── What to Expect ───────────────────────────────────────────── */
.tg-cu-expect {
  padding: 80px 0 88px;
  border-top: 1px solid var(--line);
}
.tg-cu-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
}
.tg-cu-step {
  display: flex;
  gap: 24px;
  padding: 32px 32px 34px;
  background: var(--panel);
  transition: background 0.18s;
}
.tg-cu-step:hover { background: var(--panel-2); }
.tg-cu-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.1em;
  padding-top: 3px;
  flex-shrink: 0;
}
.tg-cu-step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 10px;
}
.tg-cu-step-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}

/* ── Why TRIM Global ──────────────────────────────────────────── */
.tg-cu-why {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}
.tg-cu-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tg-cu-why-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 28px 24px 30px;
  transition: border-color 0.2s, background 0.2s;
}
.tg-cu-why-card:hover {
  border-color: var(--coral);
  background: var(--panel-2);
}
.tg-cu-why-stat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.tg-cu-why-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tg-cu-why-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}

/* ── Contact page responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .tg-cu-region-grid { grid-template-columns: 1fr; gap: 16px; }
  .tg-cu-steps { grid-template-columns: 1fr; }
  .tg-cu-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tg-cu-regions, .tg-cu-expect, .tg-cu-why { padding: 56px 0 64px; }
  .tg-cu-why-grid { grid-template-columns: 1fr; }
  .tg-cu-step { padding: 24px 20px; }
}

/* ── Blog index ───────────────────────────────────────────────── */
.tg-blog-hero { padding: 88px 0 76px; border-bottom: 1px solid var(--line); }
.tg-blog-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 16px 0 48px;
}
.tg-blog-hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.65;
  margin-top: 20px;
}

.tg-blog-list { padding: 80px 0 96px; }
.tg-blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.tg-blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tg-blog-card:hover { border-color: var(--coral); background: var(--panel-2); }

.tg-blog-card-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(226,100,63,0.10);
  border: 1px solid rgba(226,100,63,0.22);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 16px;
}
.tg-blog-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--paper);
  margin: 0 0 14px;
}
.tg-blog-card-excerpt {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.78;
  margin: 0;
  flex: 1;
}
.tg-blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tg-blog-card-arrow {
  color: var(--coral);
  font-size: 15px;
  display: inline-block;
  transition: transform 0.22s ease;
}
.tg-blog-card:hover .tg-blog-card-arrow { transform: translateX(5px); }

.tg-blog-cta { padding: 96px 0; border-top: 1px solid var(--line); text-align: center; }
.tg-blog-cta-inner { max-width: 600px; margin: 0 auto; }
.tg-blog-cta-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 12px 0 18px;
}
.tg-blog-cta-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 34px;
}
.tg-blog-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Blog index responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .tg-blog-hero { padding: 60px 0 52px; }
  .tg-blog-list { padding: 56px 0 72px; }
  .tg-blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tg-blog-cta { padding: 64px 0; }
  .tg-blog-cta-btns { flex-direction: column; align-items: center; }
  .tg-blog-cta-btns .tg-btn { width: 100%; justify-content: center; }
}

/* ── Portfolio page ── */
.tg-pf-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
}
.tg-pf-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--paper);
  margin: 12px 0 16px;
}
.tg-pf-hero-sub {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
}

.tg-pf-grid-section {
  padding: 56px 0 72px;
}
.tg-pf-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .tg-pf-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .tg-pf-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .tg-pf-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.tg-pf-card {
  display: block;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.tg-pf-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
}
.tg-pf-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel-2);
}
.tg-pf-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.tg-pf-card:hover .tg-pf-img-wrap img {
  transform: scale(1.04);
}
.tg-pf-img-wrap--init {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.tg-pf-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  gap: 8px;
}
.tg-pf-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tg-pf-visit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--coral);
  white-space: nowrap;
  flex-shrink: 0;
}

.tg-pf-cta {
  padding: 72px 0 80px;
  border-top: 1px solid var(--line);
}
.tg-pf-cta-inner {
  max-width: 640px;
}
.tg-pf-cta-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 12px 0 16px;
}
.tg-pf-cta-sub {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.tg-pf-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Blog article pages ───────────────────────────────────── */

.tg-article { width: 100%; }
.tg-art-container {
  display: grid;
  grid-template-columns: 1fr min(680px, 100%);
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Breadcrumb */
.tg-art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.tg-art-breadcrumb a { color: var(--text-dim); text-decoration: none; }
.tg-art-breadcrumb a:hover { color: var(--paper); }
.tg-art-breadcrumb span { color: var(--line-strong); }

/* Header */
.tg-art-header { margin-bottom: 36px; }
.tg-art-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--paper);
  margin: 0 0 14px;
}
.tg-art-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* Lede */
.tg-art-lede {
  font-size: 16px;
  color: var(--paper);
  line-height: 1.75;
  margin: 0 0 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  opacity: 0.88;
}

/* TOC */
.tg-art-toc {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--coral);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 48px;
}
.tg-art-toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.tg-art-toc-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tg-art-toc-list li { font-size: 13.5px; line-height: 1.5; }
.tg-art-toc-list a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.18s;
}
.tg-art-toc-list a:hover { color: var(--coral); }

/* Section headings and body */
.tg-article section { margin-bottom: 44px; }
.tg-art-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 14px;
  line-height: 1.25;
}
.tg-art-answer {
  font-size: 14.5px;
  color: var(--paper);
  line-height: 1.8;
  margin: 0 0 14px;
  opacity: 0.9;
}
.tg-art-p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.85;
  margin: 0 0 14px;
}
.tg-art-p:last-child { margin-bottom: 0; }

/* Callout */
.tg-art-callout {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 22px 0;
}
.tg-art-callout-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* Unordered list */
.tg-art-ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tg-art-ul li {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}
.tg-art-ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}

/* Steps */
.tg-art-steps { display: flex; flex-direction: column; gap: 22px; margin: 20px 0; }
.tg-art-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: flex-start;
}
.tg-art-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--coral);
  opacity: 0.5;
  padding-top: 2px;
  flex-shrink: 0;
}
.tg-art-step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 6px;
}
.tg-art-step-content p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}

/* Stat row */
.tg-art-stat-row {
  display: flex;
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
}
.tg-art-stat {
  flex: 1;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.tg-art-stat:last-child { border-right: none; }
.tg-art-stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--coral);
  margin-bottom: 4px;
}
.tg-art-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* Compare table */
.tg-art-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  margin: 22px 0;
}
.tg-art-compare-col { padding: 20px 22px; }
.tg-art-compare-col:first-child { border-right: 1px solid var(--line-strong); }
.tg-art-compare-head {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Code block */
.tg-art-code-block {
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-x: auto;
}
.tg-art-code-block code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  white-space: pre;
  line-height: 1.6;
}

/* CTA block */
.tg-art-cta {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--coral);
  border-radius: 12px;
  padding: 32px 34px;
  margin: 56px 0 32px;
}
.tg-art-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.tg-art-cta-text {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 0 22px;
}
.tg-art-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Related posts */
.tg-art-related {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 28px;
  margin-top: 48px;
}
.tg-art-rel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tg-art-rel-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.tg-art-rel-list li:last-child { border-bottom: none; }
.tg-art-rel-list a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.tg-art-rel-list a::before {
  content: '→ ';
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.tg-art-rel-list a:hover { color: var(--paper); }

/* Blog article responsive */
.tg-art-container { grid-template-columns: 1fr; padding: 48px 0 64px; }
@media (max-width: 680px) {
  .tg-art-h1 { font-size: clamp(22px, 6vw, 30px); }
  .tg-art-stat-row { flex-direction: column; }
  .tg-art-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .tg-art-stat:last-child { border-bottom: none; }
  .tg-art-compare { grid-template-columns: 1fr; }
  .tg-art-compare-col:first-child { border-right: none; border-bottom: 1px solid var(--line-strong); }
  .tg-art-cta { padding: 24px 20px; }
  .tg-art-step { grid-template-columns: 36px 1fr; gap: 12px; }
}

/* ── Refund & Return Policy page ─────────────────────────── */

/* Hero */
.tg-rrp-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.tg-rrp-hero-inner { max-width: 680px; }
.tg-rrp-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 12px 0 14px;
  line-height: 1.08;
}
.tg-rrp-tagline {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* Highlights */
.tg-rrp-highlights {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.tg-rrp-hl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tg-rrp-hl-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 26px 22px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}
.tg-rrp-hl-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral-dim);
  box-shadow: 0 0 0 1px var(--coral-glow), 0 16px 40px rgba(0,0,0,0.3);
}
.tg-rrp-hl-card:hover .tg-rrp-hl-cta { opacity: 1; transform: translateX(3px); }
.tg-rrp-hl-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.tg-rrp-hl-icon--green { background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.tg-rrp-hl-icon--amber { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.tg-rrp-hl-icon--dim   { background: var(--panel-2); color: var(--text-dim); border: 1px solid var(--line-strong); }
.tg-rrp-hl-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 8px;
}
.tg-rrp-hl-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.tg-rrp-hl-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--coral);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}

/* Prose body */
.tg-rrp-body { padding: 72px 0; }
.tg-rrp-prose { max-width: 780px; }
.tg-rrp-intro {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

/* Sections */
.tg-rrp-section {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding-bottom: 52px;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.tg-rrp-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.tg-rrp-section-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--coral);
  opacity: 0.25;
  line-height: 1;
  padding-top: 4px;
}
.tg-rrp-section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin: 0 0 14px;
}
.tg-rrp-section-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0;
}

/* Eligibility list (section 02) */
.tg-rrp-elig-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
}
.tg-rrp-elig-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.tg-rrp-elig-item:last-child { border-bottom: none; }
.tg-rrp-elig-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}
.tg-rrp-elig-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Non-refundable list */
.tg-rrp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tg-rrp-list li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  padding-left: 20px;
  position: relative;
}
.tg-rrp-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--coral);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

/* Contact row */
.tg-rrp-contact-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.18s, color 0.18s;
}
.tg-rrp-contact-row:hover { border-color: var(--coral); color: var(--coral); }
.tg-rrp-contact-ico { display: flex; align-items: center; color: var(--text-dim); }

/* Responsive */
@media (max-width: 960px) { .tg-rrp-hl-grid { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 600px) {
  .tg-rrp-hero { padding: 56px 0 48px; }
  .tg-rrp-section { grid-template-columns: 1fr; gap: 6px; }
  .tg-rrp-section-num { font-size: 28px; }
}


/* ═══════════════════════════════════════════
   FUTURE PROJECTS PAGE
═══════════════════════════════════════════ */

/* Scroll reveal */
.tg-fp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.tg-fp-reveal--in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ── */
.tg-fp-hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.tg-fp-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 20% 50%, rgba(226,100,63,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 30%, rgba(226,100,63,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.tg-fp-hero-inner { max-width: 700px; margin-bottom: 64px; }
.tg-fp-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--paper);
  margin: 12px 0 20px;
}
.tg-fp-hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 580px;
}

/* Timeline */
.tg-fp-timeline { max-width: 520px; }
.tg-fp-tl-track {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 0;
}
.tg-fp-tl-line {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: linear-gradient(to right, var(--coral) 33%, var(--line-strong) 33%);
}
.tg-fp-tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
  position: relative;
}
.tg-fp-tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--ink);
  position: relative;
  z-index: 1;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
.tg-fp-tl-node--active .tg-fp-tl-dot {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(226,100,63,0.2);
}
.tg-fp-tl-node--near .tg-fp-tl-dot {
  border-color: var(--coral);
  background: var(--ink);
}
.tg-fp-tl-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.tg-fp-tl-node--active .tg-fp-tl-year,
.tg-fp-tl-node--near .tg-fp-tl-year { color: var(--coral); }
.tg-fp-tl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-align: center;
  text-transform: uppercase;
}

/* Timeline node hover */
.tg-fp-tl-node--hover-on .tg-fp-tl-dot {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(226,100,63,0.25);
  transform: scale(1.15);
}
.tg-fp-tl-node--hover-on .tg-fp-tl-year { color: var(--coral); }
.tg-fp-tl-node--hover-off .tg-fp-tl-dot {
  border-color: var(--line);
  background: var(--ink);
  box-shadow: none;
  opacity: 0.45;
}
.tg-fp-tl-node--hover-off .tg-fp-tl-year { color: var(--text-dim); opacity: 0.5; }

/* Version pill */
.tg-fp-version-pill {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--coral);
  background: rgba(226,100,63,0.1);
  border: 1px solid rgba(226,100,63,0.22);
  border-radius: 20px;
  padding: 2px 9px;
}

/* ── TJMS Pipeline card ── */
.tg-fp-pipeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 16px;
}
.tg-fp-pipe-step {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
}
.tg-fp-pipe-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--panel-2);
}
.tg-fp-pipe-icon--done {
  border-color: var(--coral);
  background: rgba(226,100,63,0.12);
  color: var(--coral);
}
.tg-fp-pipe-icon--active {
  border-color: var(--coral);
  background: rgba(226,100,63,0.08);
  position: relative;
}
.tg-fp-pipe-icon--pending { opacity: 0.35; }
.tg-fp-pipe-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  display: block;
  animation: tg-fp-pulse 1.8s ease-in-out infinite;
}
@keyframes tg-fp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.tg-fp-pipe-track {
  height: 3px;
  background: var(--panel-2);
  border-radius: 2px;
  overflow: hidden;
}
.tg-fp-pipe-fill {
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
  transition: width 1s ease;
}
.tg-fp-pipe-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tg-fp-pipe-step--active .tg-fp-pipe-label { color: var(--paper); }
.tg-fp-pipe-step--done .tg-fp-pipe-label { color: var(--text-dim); }
.tg-fp-pipe-active-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--coral);
  background: rgba(226,100,63,0.1);
  border: 1px solid rgba(226,100,63,0.2);
  border-radius: 20px;
  padding: 1px 7px;
  text-transform: uppercase;
}

/* ── TJPI Coverage card ── */
.tg-fp-coverage-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 4px 0 16px;
}
.tg-fp-cov-stat {
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  cursor: default;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.tg-fp-cov-stat:hover {
  border-color: rgba(226,100,63,0.45);
  box-shadow: 0 0 0 1px rgba(226,100,63,0.18), 0 6px 20px rgba(226,100,63,0.12);
  transform: translateY(-4px);
}
.tg-fp-cov-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 5px;
}
.tg-fp-cov-num span { font-size: 16px; }
.tg-fp-cov-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.tg-fp-compat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tg-fp-compat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tg-fp-compat-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 4px 10px;
  transition: border-color 0.2s, color 0.2s;
}
.tg-fp-compat-chip:hover { border-color: var(--coral); color: var(--coral); }

/* TJPI card — fills container height, spreads content */
.tg-fp-tjpi-fvis {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tg-fp-tjpi-fvis .tg-fp-coverage-stats {
  gap: 8px;
  margin: 8px 0 20px;
}
.tg-fp-tjpi-fvis .tg-fp-cov-stat {
  padding: 20px 16px;
}
.tg-fp-tjpi-fvis .tg-fp-cov-num {
  font-size: 28px;
  margin-bottom: 7px;
}
.tg-fp-tjpi-fvis .tg-fp-compat-grid {
  gap: 8px;
  margin-bottom: 20px;
}
.tg-fp-tjpi-fvis .tg-fp-fvis-foot {
  margin-top: auto;
  padding-top: 16px;
}

/* Shared card footer */
.tg-fp-fvis-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.tg-fp-foot-sep { opacity: 0.3; }

/* ── Closing ── */
.tg-fp-closing {
  padding: 96px 0 112px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.tg-fp-closing-inner { max-width: 640px; margin: 0 auto; }
.tg-fp-closing-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--paper);
  margin: 12px 0 18px;
}
.tg-fp-closing-sub {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 36px;
}
.tg-fp-closing-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .tg-fp-hero-inner { margin-bottom: 48px; }
  .tg-fp-timeline { max-width: 100%; }
}
@media (max-width: 600px) {
  .tg-fp-hero { padding: 64px 0 56px; }
  .tg-fp-closing { padding: 64px 0 80px; }
  .tg-fp-coverage-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tg-fp-cov-num { font-size: 20px; }
}

/* ═══════════════════════════════════════════════
   ARABIC / RTL OVERRIDES  [dir="rtl"]
   ═══════════════════════════════════════════════ */

/* Typography — Cairo for all Arabic text */
html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] span,
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] div { font-family: 'Cairo', sans-serif; }

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .tg-section-title,
html[lang="ar"] .tg-bento-title,
html[lang="ar"] .tg-process-title,
html[lang="ar"] .tg-serve-title,
html[lang="ar"] .tg-price-tier,
html[lang="ar"] .tg-vmp-text,
html[lang="ar"] .tg-cta-h2,
html[lang="ar"] .tg-price-badge { font-family: 'Cairo', sans-serif; }

/* Logo always Space Grotesk regardless of page language */
html[lang="ar"] .tg-logo,
html[lang="ar"] .tg-logo-accent { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.025em; }

/* Eyebrows — remove letter-spacing (Arabic doesn't use it) */
html[lang="ar"] .tg-eyebrow {
  letter-spacing: 0;
  font-family: 'Cairo', sans-serif;
  font-size: 0.7rem;
}

/* Header — language switcher dropdown */
.tg-lang-menu { position: relative; display: flex; align-items: center; }
.tg-lang-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.tg-lang-btn:hover { color: var(--paper); border-color: var(--line-strong); }
.tg-lang-caret {
  font-size: 0.55rem;
  opacity: 0.6;
  transition: transform 0.15s;
}
.tg-lang-dropdown.tg-lang-open ~ * .tg-lang-caret,
.tg-lang-btn[aria-expanded="true"] .tg-lang-caret { transform: rotate(180deg); }
.tg-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  min-width: 118px;
  z-index: 200;
  padding: 4px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.tg-lang-dropdown.tg-lang-open { display: block; }
.tg-lang-dropdown a {
  display: block;
  padding: 9px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.tg-lang-dropdown a:hover { color: var(--paper); background: rgba(242,245,243,0.06); }
.tg-lang-dropdown a.tg-lang-active { color: var(--paper); }
.tg-lang-dropdown a .tg-lang-label { font-family: 'Inter', sans-serif; font-size: 0.67rem; opacity: 0.55; display: block; letter-spacing: 0; }
html[lang="ar"] .tg-lang-btn { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; }
html[lang="ar"] .tg-lang-dropdown a { font-family: 'JetBrains Mono', monospace; }

/* Trust marquee — force LTR on both container and track so infinite loop works */
html[lang="ar"] .tg-trust-marquee,
html[lang="ar"] .tg-trust-track { direction: ltr; }

/* Hero grid: LTR so card (1st in DOM) lands LEFT, text (2nd in DOM) lands RIGHT */
html[lang="ar"] .tg-hero-row { direction: ltr; grid-template-columns: 1fr 1.1fr; }
html[lang="ar"] .tg-hero-row .tg-hero-text { direction: rtl; }

/* Hero text alignment in RTL */
html[lang="ar"] .tg-hero-text { text-align: right; }
html[lang="ar"] .tg-hero-buttons { justify-content: flex-start; }

/* Bento desc in RTL */
html[lang="ar"] .tg-bento-desc { text-align: right; }

/* Serve list in RTL — bullet on RIGHT */
html[lang="ar"] .tg-serve-list { padding: 0; text-align: right; }
html[lang="ar"] .tg-serve-list li { padding-left: 0; padding-right: 20px; }
html[lang="ar"] .tg-serve-list li::before { left: auto; right: 0; }

/* Pricing features in RTL — bullet on RIGHT */
html[lang="ar"] .tg-price-features { padding: 0; }
html[lang="ar"] .tg-price-features li { padding-left: 0; padding-right: 20px; }
html[lang="ar"] .tg-price-features li::before { left: auto; right: 0; }

/* Pricing grid in RTL — LTR column order, RTL content, wider cards */
html[lang="ar"] .tg-pricing-grid { direction: ltr; gap: 16px; }
html[lang="ar"] .tg-price-card { direction: rtl; padding: 26px 20px; }

/* Process step numbers + text alignment */
html[lang="ar"] .tg-process-step { text-align: right; }

/* Vision/mission alignment — border divider on RIGHT side in RTL */
html[lang="ar"] .tg-vmp-item { text-align: right; padding: 0 0 0 72px; }
html[lang="ar"] .tg-vmp-item:last-child { border-left: none; border-right: 1px solid var(--line); padding: 0 72px 0 0; }

/* FAQ icon flips to left side in RTL */
html[lang="ar"] .tg-faq-q svg.tg-faq-icon { margin-left: 0; margin-right: auto; order: -1; }

/* Section subs alignment */
html[lang="ar"] .tg-section-sub,
html[lang="ar"] .tg-section-title { text-align: right; }
html[lang="ar"] .tg-faq-aside { text-align: right; }
html[lang="ar"] .tg-faq-a { text-align: right; }

/* CTA center stays center */
html[lang="ar"] .tg-cta-inner { text-align: center; }
html[lang="ar"] .tg-cta-inner .tg-section-title,
html[lang="ar"] .tg-cta-inner h2 { text-align: center; }

/* Footer — full LTR so columns and content match English layout */
html[lang="ar"] .tg-footer__top { direction: ltr; }
html[lang="ar"] .tg-footer__col { direction: ltr; text-align: left; }
html[lang="ar"] .tg-footer__bottom { text-align: center; }
html[lang="ar"] .tg-footer__heading { letter-spacing: 0; text-transform: none; }

/* Nav row: logo LEFT, links RIGHT (force LTR so first item = logo stays left) */
html[lang="ar"] .tg-nav__row { direction: ltr; }

/* Topbar row in RTL — force LTR so items stay right-aligned same as English */
html[lang="ar"] .tg-topbar__row { direction: ltr; }

/* Portfolio carousel controls — RTL flex already puts heading RIGHT and controls LEFT */
html[lang="ar"] .tg-portfolio-head > div { text-align: right; }

/* Force carousel track to LTR so JS translateX logic works correctly */
html[lang="ar"] .tg-carousel,
html[lang="ar"] .tg-carousel-track { direction: ltr; }

/* ─── Arabic hero visual card ──────────────────── */
.tg-ar-hero-vis {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 32px 28px;
  direction: rtl;
  text-align: right;
}
.tg-ar-vis-stats {
  display: flex;
  align-items: stretch;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.tg-ar-vis-stat {
  flex: 1;
  text-align: center;
}
.tg-ar-vis-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.tg-ar-vis-lbl {
  font-family: 'Cairo', sans-serif;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.tg-ar-vis-vdiv {
  width: 1px;
  background: var(--line);
  flex-shrink: 0;
  margin: 0 16px;
}
.tg-ar-vis-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.tg-ar-vis-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 0.875rem;
  color: var(--paper);
  direction: rtl;
}
.tg-ar-vis-ck {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(226,100,63,0.12);
  border: 1.5px solid var(--coral);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--coral);
  font-weight: 700;
  line-height: 1;
}
.tg-ar-vis-tagline {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ─── Arabic hero stats card (compact) ─────────── */
.tg-ar-card {
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 22px 20px;
  direction: rtl;
}
.tg-ar-card-stats {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tg-ar-card-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tg-ar-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tg-ar-card-lbl {
  font-family: 'Cairo', sans-serif;
  font-size: 0.74rem;
  color: var(--text-dim);
}
.tg-ar-card-vdiv {
  width: 1px;
  height: 36px;
  background: var(--line);
  flex-shrink: 0;
  margin: 0 12px;
}
.tg-ar-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tg-ar-card-list li {
  font-family: 'Cairo', sans-serif;
  font-size: 0.84rem;
  color: var(--paper);
  padding-right: 22px;
  position: relative;
  text-align: right;
}
.tg-ar-card-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(226,100,63,0.12);
  border: 1.5px solid var(--coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--coral);
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

/* ── ARABIC HERO PANEL CARDS (journal-setup) ── */

/* Card 1: Timeline */
.tg-ar-timeline {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 4px;
}
.tg-ar-tl-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px;
}
.tg-ar-tl-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--line-strong);
  border: 1.5px solid var(--text-dim);
}
.tg-ar-tl-done .tg-ar-tl-dot {
  background: rgba(226,100,63,0.20);
  border-color: var(--coral);
}
.tg-ar-tl-live .tg-ar-tl-dot {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 0 6px rgba(226,100,63,0.5);
}
.tg-ar-tl-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  color: var(--coral); white-space: nowrap;
  min-width: 40px;
}
.tg-ar-tl-lbl {
  font-family: 'Cairo', sans-serif;
  font-size: 11.5px; color: var(--text-dim);
}
.tg-ar-tl-live .tg-ar-tl-lbl { color: var(--paper); font-weight: 600; }

/* Card 2: Dar Al-Mandumah */
.tg-ar-dam-bar {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Cairo', sans-serif;
  font-size: 11px; color: var(--text-dim);
  background: rgba(242,245,243,0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 8px;
  margin: 6px 0 8px;
}
.tg-ar-dam-bar svg { width: 11px; height: 11px; flex-shrink: 0; }
.tg-ar-dam-result {
  background: rgba(242,245,243,0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 8px;
  direction: rtl;
}
.tg-ar-dam-title {
  font-family: 'Cairo', sans-serif;
  font-size: 12px; font-weight: 700;
  color: var(--paper); margin-bottom: 3px;
}
.tg-ar-dam-meta {
  font-family: 'Cairo', sans-serif;
  font-size: 10.5px; color: var(--text-dim);
  margin-bottom: 4px;
}
.tg-ar-dam-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--coral); font-weight: 600;
}

/* Card 3: Bilingual */
.tg-ar-bilingual {
  display: flex; flex-direction: column; gap: 7px;
  margin: 6px 0 8px;
}
.tg-ar-bil-row {
  display: flex; align-items: center;
  background: rgba(242,245,243,0.04);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px 8px;
  gap: 6px;
}
.tg-ar-bil-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 11px; color: var(--paper);
  flex: 1; text-align: right;
}
.tg-ar-bil-sep {
  font-size: 11px; color: var(--coral);
  flex-shrink: 0; font-weight: 700;
}
.tg-ar-bil-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--text-dim);
  flex: 1; text-align: left;
}

/* Card 4: dim check variant */
.tg-ar-pcheck-dim { opacity: 0.45; }
.tg-ar-pcheck-dim svg { color: var(--text-dim); }

/* Feature 03 ISSN — journal info rows */
.tg-ar-fvis-jinfo { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }
.tg-ar-fvis-jinfo-row {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 12.5px;
}
.tg-ar-fvis-jinfo-row .tg-js-fvis-key { min-width: 72px; flex-shrink: 0; }
.tg-ar-fvis-jinfo-row .tg-js-fvis-val { font-family: 'Cairo', sans-serif; }

/* Feature 04 Indexing — Dar Al-Mandumah result block */
.tg-ar-fvis-dam-result {
  display: flex; align-items: center; gap: 10px;
  background: rgba(242,245,243,0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  margin: 8px 0;
}
.tg-ar-fvis-dam-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(226,100,63,0.15);
  border: 1px solid rgba(226,100,63,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cairo', sans-serif; font-size: 13px;
  font-weight: 800; color: var(--coral); flex-shrink: 0;
}
.tg-ar-fvis-dam-name {
  font-family: 'Cairo', sans-serif;
  font-size: 11.5px; font-weight: 700; color: var(--paper);
  direction: rtl;
}
.tg-ar-fvis-dam-sub {
  font-family: 'Cairo', sans-serif;
  font-size: 10.5px; color: var(--text-dim);
}

/* ── JOURNAL SETUP PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-js-hero-left { text-align: right; }
html[lang="ar"] .tg-js-hero-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-js-hero-sub { max-width: none; text-align: right; }
html[lang="ar"] .tg-js-hero-btns { justify-content: flex-start; }

/* Feature sections */
html[lang="ar"] .tg-js-feat-text { text-align: right; }
html[lang="ar"] .tg-js-feat-kicker { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; }
html[lang="ar"] .tg-js-feat-h3 { letter-spacing: -0.02em; }

/* Pricing toggle */
html[lang="ar"] .tg-js-pricing-toggle { text-align: right; }
html[lang="ar"] .tg-js-pricing-toggle-kicker { font-family: 'Cairo', sans-serif; letter-spacing: 0; }

/* Pricing grid: force LTR column order, RTL content inside cards */
html[lang="ar"] .tg-js-prc-grid { direction: ltr; gap: 16px; }
html[lang="ar"] .tg-js-prc-card { direction: rtl; padding: 26px 20px; }
html[lang="ar"] .tg-js-prc-name,
html[lang="ar"] .tg-js-prc-desc,
html[lang="ar"] .tg-js-prc-ideal { text-align: right; }
html[lang="ar"] .tg-js-prc-price { text-align: right; }

/* ── INDEXING PAGE — ARABIC-SPECIFIC COMPONENTS ── */

/* دار المنظومة full feature visual card */
.tg-ar-dam-fvis-card {
  background: rgba(242,245,243,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 8px 0 4px;
}
.tg-ar-dam-fvis-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.tg-ar-dam-fvis-logo {
  width: 32px; height: 32px; border-radius: 7px;
  background: rgba(226,100,63,0.18);
  border: 1px solid rgba(226,100,63,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cairo', sans-serif; font-size: 16px;
  font-weight: 800; color: var(--coral); flex-shrink: 0;
}
.tg-ar-dam-fvis-site {
  font-family: 'Cairo', sans-serif; font-size: 12px;
  font-weight: 700; color: var(--paper);
}
.tg-ar-dam-fvis-sub {
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: var(--text-dim); margin-top: 1px;
}
.tg-ar-dam-fvis-result { padding: 8px 0 2px; }
.tg-ar-dam-fvis-jtitle {
  font-family: 'Cairo', sans-serif; font-size: 13px;
  font-weight: 700; color: var(--paper); margin-bottom: 4px;
}
.tg-ar-dam-fvis-jmeta {
  font-family: 'Cairo', sans-serif; font-size: 10.5px;
  color: var(--text-dim); margin-bottom: 5px;
}
.tg-ar-dam-fvis-counts {
  display: flex; gap: 6px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--coral); font-weight: 600;
}
.tg-ar-dam-fvis-dot { color: var(--text-dim); }

/* Google Scholar stats row */
.tg-ix-gs-stats {
  display: flex; align-items: center; gap: 0;
  padding: 8px 2px 4px;
}
.tg-ix-gs-stat { display: flex; flex-direction: column; align-items: center; flex: 1; }
.tg-ix-gs-stat-n {
  font-family: 'JetBrains Mono', monospace; font-size: 18px;
  font-weight: 700; color: var(--paper); line-height: 1;
}
.tg-ix-gs-stat-l {
  font-family: 'Cairo', sans-serif; font-size: 10px;
  color: var(--text-dim); margin-top: 3px;
}
.tg-ix-gs-stat-sep {
  width: 1px; height: 28px; background: var(--line); flex-shrink: 0;
}
.tg-ix-gs-footer {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Cairo', sans-serif; font-size: 11.5px;
  color: var(--text-dim); padding: 6px 0 2px;
}
.tg-ix-gs-footer svg {
  width: 13px; height: 13px; color: #4F9E77; flex-shrink: 0;
}

/* Web of Science stats */
.tg-ix-wos-stats {
  display: flex; align-items: center; padding: 8px 2px 4px;
}
.tg-ix-wos-stat { display: flex; flex-direction: column; align-items: center; flex: 1; }
.tg-ix-wos-sn {
  font-family: 'JetBrains Mono', monospace; font-size: 18px;
  font-weight: 700; color: var(--paper); line-height: 1;
}
.tg-ix-wos-sl {
  font-family: 'Cairo', sans-serif; font-size: 10px;
  color: var(--text-dim); margin-top: 3px;
}
.tg-ix-wos-sep {
  width: 1px; height: 28px; background: var(--line); flex-shrink: 0;
}

/* Scopus bar labels — Arabic */
html[lang="ar"] .tg-ix-sc-lbl {
  font-family: 'Cairo', sans-serif; font-size: 11px;
  min-width: 110px;
}

/* ── INDEXING PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-ix-hero-left { text-align: right; }
html[lang="ar"] .tg-ix-hero-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-ix-hero-sub { text-align: right; max-width: none; }
html[lang="ar"] .tg-ix-hero-btns { justify-content: flex-start; }
html[lang="ar"] .tg-ix-hero-dbs { justify-content: flex-start; }
html[lang="ar"] .tg-ix-panel-label { font-family: 'JetBrains Mono', monospace; }
html[lang="ar"] .tg-ix-db-name { font-family: 'Cairo', sans-serif; font-size: 12.5px; }
html[lang="ar"] .tg-ix-db-status-text { font-family: 'Cairo', sans-serif; font-size: 11px; }
html[lang="ar"] .tg-ix-stat-l { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-js-fhd-h2 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-js-fhd-sub { text-align: right; max-width: none; }
html[lang="ar"] .tg-ix-cta-h2 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-ix-cta-sub { text-align: right; }
html[lang="ar"] .tg-ix-cta-btns { justify-content: center; }
html[lang="ar"] .tg-ix-doaj-criteria { direction: rtl; }
html[lang="ar"] .tg-ix-doaj-crit { font-family: 'Cairo', sans-serif; font-size: 12px; }
html[lang="ar"] .tg-ix-road-fk { font-family: 'Cairo', sans-serif; font-size: 11px; }
html[lang="ar"] .tg-ix-road-fv { font-family: 'Cairo', sans-serif; font-size: 12px; }

/* ── PORTFOLIO PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-pf-hero { text-align: right; }
html[lang="ar"] .tg-pf-hero-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-pf-hero-sub { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-pf-card-foot { direction: rtl; }
html[lang="ar"] .tg-pf-name { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-pf-cta-inner { text-align: right; }
html[lang="ar"] .tg-pf-cta-h2 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-pf-cta-sub { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-pf-cta-btns { justify-content: flex-start; }

/* ── CONTACT PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-cu-hero-left { text-align: right; }
html[lang="ar"] .tg-cu-hero-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-cu-hero-sub { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-cu-promise { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-card-label { font-family: 'JetBrains Mono', monospace; }
html[lang="ar"] .tg-cu-avail-pill { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-ch-body { text-align: right; }
html[lang="ar"] .tg-cu-ch-type { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-ch-hint { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-card-foot { font-family: 'Cairo', sans-serif; justify-content: center; }
html[lang="ar"] .tg-cu-section-h2 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-cu-section-sub { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-cu-region-card { text-align: right; }
html[lang="ar"] .tg-cu-region-name { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-region-desc { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-step-body { text-align: right; }
html[lang="ar"] .tg-cu-step-title { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-step-desc { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-why-card { text-align: right; }
html[lang="ar"] .tg-cu-why-title { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-cu-why-desc { font-family: 'Cairo', sans-serif; }

/* ── BLOG PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-blog-hero { text-align: right; }
html[lang="ar"] .tg-blog-hero-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-blog-hero-sub { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-blog-card { text-align: right; }
html[lang="ar"] .tg-blog-card-tag { font-family: 'JetBrains Mono', monospace; }
html[lang="ar"] .tg-blog-card-title { font-family: 'Cairo', sans-serif; letter-spacing: -0.01em; }
html[lang="ar"] .tg-blog-card-excerpt { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-blog-card-meta { flex-direction: row-reverse; }
html[lang="ar"] .tg-blog-cta-inner { text-align: right; }
html[lang="ar"] .tg-blog-cta-h2 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-blog-cta-sub { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-blog-cta-btns { justify-content: flex-start; }

/* ── FUTURE PROJECTS PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-fp-hero-inner { text-align: right; }
html[lang="ar"] .tg-fp-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-fp-hero-sub { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-fp-tl-label { font-family: 'Cairo', sans-serif; font-size: 11px; }
html[lang="ar"] .tg-fp-pipe-label { font-family: 'Cairo', sans-serif; font-size: 11.5px; }
html[lang="ar"] .tg-fp-pipe-active-tag { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-fp-fvis-foot { font-family: 'Cairo', sans-serif; justify-content: center; }
html[lang="ar"] .tg-fp-cov-lbl { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-fp-compat-label { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; text-align: right; }
html[lang="ar"] .tg-fp-compat-chip { font-family: 'JetBrains Mono', monospace; }
html[lang="ar"] .tg-fp-closing-inner { text-align: right; }
html[lang="ar"] .tg-fp-closing-h2 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-fp-closing-sub { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-fp-closing-btns { justify-content: flex-start; }

/* ── REFUND POLICY PAGE — RTL OVERRIDES ── */
html[lang="ar"] .tg-rrp-hero-inner { text-align: right; }
html[lang="ar"] .tg-rrp-h1 { letter-spacing: -0.02em; }
html[lang="ar"] .tg-rrp-tagline { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-rrp-hl-card { text-align: right; }
html[lang="ar"] .tg-rrp-hl-title { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-rrp-hl-desc { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-rrp-hl-cta { font-family: 'Cairo', sans-serif; justify-content: flex-end; flex-direction: row-reverse; }
html[lang="ar"] .tg-rrp-intro { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-rrp-section-content { text-align: right; }
html[lang="ar"] .tg-rrp-section-h2 { font-family: 'Cairo', sans-serif; letter-spacing: -0.01em; }
html[lang="ar"] .tg-rrp-section p,
html[lang="ar"] .tg-rrp-elig-text,
html[lang="ar"] .tg-rrp-list li { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-rrp-elig-label { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-rrp-contact-row { flex-direction: row-reverse; }
html[lang="ar"] .tg-rrp-contact-val { font-family: 'JetBrains Mono', monospace; direction: ltr; }

/* ── Article page — new structural classes ─────────────── */

.tg-art-main { width: 100%; }

.tg-art-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.tg-art-body { width: 100%; }

.tg-art-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 14px;
}

.tg-art-section { margin-bottom: 48px; }

.tg-art-bc-sep {
  color: var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
}

.tg-art-callout--warn {
  border-color: rgba(226,100,63,0.35);
  border-left: 3px solid var(--coral);
}

.tg-art-callout-text {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0;
}

.tg-art-code-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tg-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  white-space: pre;
  line-height: 1.6;
  margin: 0;
  overflow-x: auto;
}

/* ── Article pages — RTL overrides ─────────────────────── */

html[lang="ar"] .tg-art-breadcrumb { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; }
html[lang="ar"] .tg-art-kicker { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-transform: none; }
html[lang="ar"] .tg-art-h1 { font-family: 'Cairo', sans-serif; letter-spacing: -0.01em; text-align: right; }
html[lang="ar"] .tg-art-meta { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-art-lede { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-toc { text-align: right; }
html[lang="ar"] .tg-art-toc-label { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
html[lang="ar"] .tg-art-toc-list { font-family: 'Cairo', sans-serif; padding-right: 18px; padding-left: 0; }
html[lang="ar"] .tg-art-toc-list a { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-art-h2 { font-family: 'Cairo', sans-serif; letter-spacing: -0.01em; text-align: right; }
html[lang="ar"] .tg-art-answer { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-p { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-callout { text-align: right; }
html[lang="ar"] .tg-art-callout-label { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
html[lang="ar"] .tg-art-callout-text { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-art-ul { padding-right: 0; padding-left: 0; }
html[lang="ar"] .tg-art-ul li { font-family: 'Cairo', sans-serif; text-align: right; padding-right: 18px; padding-left: 0; }
html[lang="ar"] .tg-art-ul li::before { content: '◆'; right: 0; left: auto; position: absolute; }
html[lang="ar"] .tg-art-ul li { position: relative; }
html[lang="ar"] .tg-art-step { text-align: right; }
html[lang="ar"] .tg-art-step-num { font-family: 'JetBrains Mono', monospace; }
html[lang="ar"] .tg-art-step-title { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
html[lang="ar"] .tg-art-step-content p { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-stat-row { direction: rtl; }
html[lang="ar"] .tg-art-stat:last-child { border-right: 1px solid var(--line); border-left: none; }
html[lang="ar"] .tg-art-stat { border-right: none; border-left: 1px solid var(--line); }
html[lang="ar"] .tg-art-stat-n { font-family: 'Space Grotesk', sans-serif; }
html[lang="ar"] .tg-art-stat-l { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-compare { direction: rtl; }
html[lang="ar"] .tg-art-compare-col { text-align: right; }
html[lang="ar"] .tg-art-compare-head { font-family: 'Cairo', sans-serif; letter-spacing: 0; text-align: right; }
html[lang="ar"] .tg-art-compare-col ul li { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-art-code-block { direction: ltr; text-align: left; }
html[lang="ar"] .tg-art-cta { text-align: right; }
html[lang="ar"] .tg-art-cta-title { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-cta-text { font-family: 'Cairo', sans-serif; text-align: right; }
html[lang="ar"] .tg-art-cta-btns { justify-content: flex-start; }
html[lang="ar"] .tg-art-toc { border-left: 1px solid var(--line-strong); border-right: 3px solid var(--coral); }
html[lang="ar"] .tg-art-callout--warn { border-left: 1px solid rgba(226,100,63,0.35); border-right: 3px solid var(--coral); }
html[lang="ar"] .tg-art-compare-col:first-child { border-right: none; border-left: 1px solid var(--line-strong); }
html[lang="ar"] .tg-blog-card:hover .tg-blog-card-arrow { transform: translateX(-5px); }
html[lang="ar"] .tg-art-related { text-align: right; }
html[lang="ar"] .tg-art-rel-list a::before { content: '← '; }
html[lang="ar"] .tg-art-rel-list a { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .tg-art-rel-list li { font-family: 'Cairo', sans-serif; }

/* ── Inline code in article body ────────────────────── */
.tg-art-p code,
.tg-art-ul li code,
.tg-art-answer code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82em;
  color: var(--coral);
  background: rgba(226,100,63,0.10);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ── Refund policy RTL fixes ─────────────────────────── */
html[lang="ar"] .tg-rrp-list li { padding-left: 0; padding-right: 20px; text-align: right; }
html[lang="ar"] .tg-rrp-list li::before { left: auto; right: 0; }
html[lang="ar"] .tg-rrp-elig-label { text-align: right; }
html[lang="ar"] .tg-rrp-elig-text { text-align: right; }
html[lang="ar"] .tg-rrp-elig-item { text-align: right; }

/* ── Arabic footer phone numbers — force LTR per link ── */
html[lang="ar"] .tg-footer__text a[href^="https://wa.me/"],
html[lang="ar"] .tg-footer__text a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
