/*
Theme Name: True Turtles Global
Theme URI: https://trueturtles.in
Author: Mohd Akram
Author URI: https://github.com/iamakram22
Description: Global Investing landing page theme for True Turtles Research — derived from trueturtles-theme, extracted for the Global Investing portfolio page. WCAG 2.1 AA compliant.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: trueturtles
Tags: custom-menu, featured-images, accessibility-ready, custom-logo, threaded-comments
*/

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-primary: #00C853;
  --green-dark: #0B6D4C;
  --green-on-light: #084A38;
  --green-surface: #053220;
  --green-surface-hover: #063529;
  --green-neon: #00FF88;
  --green-mid: #16A34A;
  --green-light: #22C55E;
  --green-pale: #F0FDF4;
  --navy-deep: #000C18;
  --navy-mid: #002C59;
  --white: #FFFFFF;
  --black: #000000;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-100: #F3F4F6;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-600: #2563EB;
  --blue-800: #1E40AF;
  --focus-ring: #005fcc;
  --error: #b42318;
  --border-green: rgba(134, 239, 172, .5);
  --border-green-dark: #15803d;
  --shadow-green: rgba(34, 197, 94, .15);
  --shadow-dark-green: rgba(11, 109, 76, .12);
  --bg-light-green: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  --hero-text: #FFFFFF;
  --hero-text-muted: #D1FAE5;
  --hero-text-subtle: #B8E6D0;
  --announcement-highlight: #FDE047;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-alt: 'Onest', sans-serif;
  --transition: all .3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

[hidden] {
  display: none !important;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 99999;
  padding: 10px 20px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
}

.tt-accessibility-panel {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  top: 8.5rem;
  z-index: 1000;
  font-family: var(--font-body);
}

.tt-accessibility-toggle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--green-surface);
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  font-weight: 800;
  font-size: 1rem;
}

.tt-accessibility-toggle[aria-expanded="true"] {
  background: var(--navy-deep);
}

.tt-accessibility-controls {
  position: absolute;
  top: calc(100% + .75rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-100);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.tt-accessibility-controls::before {
  content: "";
  position: absolute;
  right: 1rem;
  top: -.45rem;
  width: .9rem;
  height: .9rem;
  background: inherit;
  border-left: 1px solid var(--gray-100);
  border-top: 1px solid var(--gray-100);
  transform: rotate(45deg);
}

.tt-accessibility-group+.tt-accessibility-group {
  margin-top: .875rem;
  padding-top: .875rem;
  border-top: 1px solid var(--gray-100);
}

.tt-accessibility-label {
  display: block;
  margin-bottom: .45rem;
  color: var(--gray-800);
  font-size: .85rem;
  font-weight: 700;
}

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

.tt-accessibility-option {
  min-height: 40px;
  padding: .45rem .35rem;
  border-radius: 6px;
  border: 1px solid var(--gray-400);
  background: var(--white);
  color: var(--gray-900);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.2;
}

.tt-accessibility-option:hover,
.tt-accessibility-option[aria-pressed="true"] {
  border-color: var(--green-on-light);
  background: var(--green-pale);
  color: var(--green-on-light);
}

@media (max-width: 768px) {
  .tt-accessibility-panel {
    top: auto;
    right: .875rem;
    bottom: 5.25rem;
  }

  .tt-accessibility-controls {
    top: auto;
    bottom: calc(100% + .75rem);
  }

  .tt-accessibility-controls::before {
    top: auto;
    bottom: -.45rem;
    border: 0;
    border-right: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
  }
}

#main-content {
  scroll-margin-top: 120px;
}

@media (max-width: 768px) {
  #main-content {
    scroll-margin-top: 100px;
  }
}

#main-content:focus,
#main-content.is-skip-target,
#main-content h1.is-skip-target,
#main-content h1:focus {
  outline: 3px solid var(--blue-600);
  outline-offset: 4px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 3px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }
}

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  z-index: 200;
  background-color: var(--navy-deep);
  background-image: linear-gradient(to right, var(--navy-deep), var(--navy-mid), var(--navy-deep));
  padding: .4rem 1rem;
  text-align: center;
}

.announcement-bar p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hero-text);
  font-family: var(--font-body);
}

.announcement-bar .highlight {
  color: var(--announcement-highlight);
  font-weight: 700;
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: var(--transition);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-logo a {
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 2px solid var(--green-primary);
  border-radius: 2rem;
  padding: .4rem 1.5rem;
  background: var(--white);
}

.main-nav ul li a,
.main-nav ul li button {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-900);
  transition: color .2s;
  font-family: var(--font-body);
  padding: .25rem 0;
  background: none;
  border: none;
  cursor: pointer;
}

.main-nav ul li a:hover,
.main-nav ul li button:hover,
.main-nav ul li a[aria-current="page"] {
  color: var(--green-on-light);
}

.main-nav ul li a[aria-current="page"] {
  color: var(--green-on-light) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  color: var(--gray-800);
}

.menu-toggle:hover {
  color: var(--green-primary);
}

.menu-toggle svg {
  display: block;
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 1rem 2rem 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-nav ul li a,
.mobile-nav ul li button {
  display: block;
  padding: .75rem 1rem;
  font-weight: 500;
  color: var(--gray-900);
  border-radius: 8px;
  transition: var(--transition);
  font-family: var(--font-body);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: .95rem;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a[aria-current="page"],
.mobile-nav ul li button:hover {
  background: var(--green-pale);
  color: var(--green-on-light);
}

.mobile-nav ul li a[aria-current="page"] {
  color: var(--green-on-light) !important;
}

.page-offset {
  margin-top: 120px;
}

@media (max-width: 768px) {
  .page-offset {
    margin-top: 100px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header:has(.menu-toggle[aria-expanded="true"]) .mobile-nav {
    display: block;
    transition: all .3s linear;
  }

  .admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-green,
.btn-green-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  border: 2px solid var(--green-surface);
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  width: 100%;
  margin-top: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.btn-green {
  background: var(--green-surface);
  color: var(--white);
}

.btn-green-outline {
  color: var(--green-mid);
  background: var(--white);
  border-color: var(--green-mid);
}

.btn-green:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-green-outline:hover {
  background-color: var(--green-mid);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-green svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.btn-green:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 2rem;
  font-family: var(--font-body);
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-brand-logo {
  width: 100px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(rgba(0, 255, 120, 0.4) 0px 0px 8px) drop-shadow(rgba(0, 200, 83, 0.3) 0px 0px 16px);
  background: var(--white);
  padding-inline: 10px;
  border-radius: 4px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
}

.footer-nav {
  max-width: 1200px;
  margin-inline: auto;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .25rem .5rem;
  list-style: none;
}

.footer-nav ul li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-nav ul li a,
.footer-nav ul li button {
  font-size: .8rem;
  color: var(--white);
  text-decoration: none;
  padding: .4rem .6rem;
  border-radius: 4px;
  transition: color .2s;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}

.footer-nav ul li a:hover,
.footer-nav ul li button:hover {
  color: var(--gray-400);
}

.footer-nav li::after {
  content: "|";
  padding-inline: 0.5rem;
  color: var(--gray-500);
}

.footer-nav li:last-child::after {
  content: none;
}

.footer-sep {
  color: var(--gray-500);
  font-size: .8rem;
}

.footer-divider {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: #4B5563;
  margin: 1.5rem auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  transition: transform .2s, opacity .2s;
  text-decoration: none;
}

.social-link:hover {
  transform: scale(1.12);
  opacity: .9;
}

.social-link-li {
  background: #0077B5;
}

.social-link-fb {
  background: #1877f2;
}

.social-link-tw {
  background: var(--black);
  border: 1px solid #6b7280;
}

.social-link-ig {
  background: #E4405F;
}

.social-link-yt {
  background: #FF0000;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-contact {
  text-align: center;
  font-size: .85rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.footer-contact a {
  color: #4ADE80;
  text-decoration: underline;
}

.footer-contact a:hover {
  color: #86EFAC;
}

.footer-disclaimer {
  font-size: .75rem;
  color: #D1D5DB;
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-inline: 1rem;
}

.footer-copy {
  text-align: center;
  font-size: .8rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.footer-copy .sep {
  color: var(--white);
}

/* ============================================================
   UTILITY
============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .45);
  animation: floatUpDown 3s ease-in-out infinite;
  transition: transform .2s;
  color: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
   ACCESSIBILITY PREFERENCE MODES
============================================================ */
html[data-tt-font-size="large"] {
  font-size: 18px;
}

html[data-tt-font-size="larger"] {
  font-size: 20px;
}

@media (max-width: 640px) {
  html[data-tt-font-size="large"] {
    font-size: 17px;
  }
  html[data-tt-font-size="larger"] {
    font-size: 18px;
  }
}

html[data-tt-theme="dark"] {
  --tt-logo-filter: brightness(0) invert(1);
  --green-primary: #34D399;
  --green-dark: #6EE7B7;
  --green-on-light: #A7F3D0;
  --green-surface: #047857;
  --green-surface-hover: #065F46;
  --green-mid: #34D399;
  --green-pale: #06281F;
  --navy-deep: #020617;
  --navy-mid: #0F172A;
  --white: #0B1120;
  --black: #F8FAFC;
  --gray-900: #F8FAFC;
  --gray-800: #E5E7EB;
  --gray-600: #CBD5E1;
  --gray-500: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-100: #1E293B;
  --blue-50: #0B1B33;
  --blue-100: #1D4ED8;
  --blue-600: #93C5FD;
  --blue-800: #BFDBFE;
  --focus-ring: #FACC15;
  --border-green: rgba(110, 231, 183, .5);
  --border-green-dark: #34D399;
  --shadow-green: rgba(0, 0, 0, .35);
  --shadow-dark-green: rgba(0, 0, 0, .4);
  --bg-light-green: linear-gradient(135deg, rgba(52, 211, 153, .12) 0%, rgba(15, 23, 42, .95) 100%);
  --hero-text: #F8FAFC;
  --hero-text-muted: #D1FAE5;
  --hero-text-subtle: #A7F3D0;
  --announcement-highlight: #FDE047;
  color-scheme: dark;
}

html[data-tt-theme="contrast"] {
  --tt-logo-filter: brightness(0) invert(1);
  --green-primary: #00FF66;
  --green-dark: #00FF66;
  --green-on-light: #00FF66;
  --green-surface: #000000;
  --green-surface-hover: #111111;
  --green-mid: #00FF66;
  --green-light: #00FF66;
  --green-pale: #000000;
  --navy-deep: #000000;
  --navy-mid: #000000;
  --white: #000000;
  --black: #FFFFFF;
  --gray-900: #FFFFFF;
  --gray-800: #FFFFFF;
  --gray-600: #FFFFFF;
  --gray-500: #FFFFFF;
  --gray-400: #FFFFFF;
  --gray-100: #FFFFFF;
  --blue-50: #000000;
  --blue-100: #FFFFFF;
  --blue-600: #FFFF00;
  --blue-800: #FFFF00;
  --focus-ring: #FFFF00;
  --border-green: #FFFFFF;
  --border-green-dark: #FFFFFF;
  --shadow-green: rgba(255, 255, 255, .3);
  --shadow-dark-green: rgba(255, 255, 255, .3);
  --bg-light-green: #000000;
  --hero-text: #FFFFFF;
  --hero-text-muted: #FFFFFF;
  --hero-text-subtle: #FFFFFF;
  --announcement-highlight: #FFFF00;
  color-scheme: dark;
}

html[data-tt-theme="dark"] body,
html[data-tt-theme="contrast"] body {
  background: var(--white);
  color: var(--black);
}

html[data-tt-theme="dark"] .site-header,
html[data-tt-theme="dark"] .announcement-bar,
html[data-tt-theme="dark"] .mobile-nav,
html[data-tt-theme="dark"] .main-nav ul,
html[data-tt-theme="dark"] .tt-accessibility-controls,
html[data-tt-theme="contrast"] .site-header,
html[data-tt-theme="contrast"] .announcement-bar,
html[data-tt-theme="contrast"] .mobile-nav,
html[data-tt-theme="contrast"] .main-nav ul,
html[data-tt-theme="contrast"] .tt-accessibility-controls {
  background: var(--white);
  background-image: none;
  color: var(--black);
  border-color: var(--gray-100);
}

html[data-tt-theme="dark"] .site-logo img,
html[data-tt-theme="dark"] .custom-logo,
html[data-tt-theme="dark"] .footer-brand-logo,
html[data-tt-theme="contrast"] .site-logo img,
html[data-tt-theme="contrast"] .custom-logo,
html[data-tt-theme="contrast"] .footer-brand-logo {
  filter: var(--tt-logo-filter);
}

html[data-tt-theme="dark"] .footer-brand-logo,
html[data-tt-theme="contrast"] .footer-brand-logo {
  background: transparent;
  padding-inline: 0;
}

html[data-tt-theme="dark"] section,
html[data-tt-theme="dark"] article,
html[data-tt-theme="dark"] aside,
html[data-tt-theme="contrast"] section,
html[data-tt-theme="contrast"] article,
html[data-tt-theme="contrast"] aside {
  border-color: var(--gray-100);
}

html[data-tt-theme="dark"] input,
html[data-tt-theme="dark"] select,
html[data-tt-theme="dark"] textarea,
html[data-tt-theme="contrast"] input,
html[data-tt-theme="contrast"] select,
html[data-tt-theme="contrast"] textarea {
  background: var(--white);
  color: var(--black);
  border-color: var(--gray-100);
}

html[data-tt-theme="dark"] .tt-accessibility-label,
html[data-tt-theme="dark"] .tt-accessibility-option,
html[data-tt-theme="contrast"] .tt-accessibility-label,
html[data-tt-theme="contrast"] .tt-accessibility-option {
  color: var(--black);
}

html[data-tt-theme="dark"] .tt-accessibility-option,
html[data-tt-theme="contrast"] .tt-accessibility-option {
  background: var(--white);
  border-color: var(--gray-100);
}

html[data-tt-theme="dark"] .tt-accessibility-option:hover,
html[data-tt-theme="dark"] .tt-accessibility-option[aria-pressed="true"],
html[data-tt-theme="contrast"] .tt-accessibility-option:hover,
html[data-tt-theme="contrast"] .tt-accessibility-option[aria-pressed="true"] {
  color: var(--green-on-light);
  border-color: var(--green-on-light);
}

html[data-tt-theme="dark"] .site-footer,
html[data-tt-theme="contrast"] .site-footer {
  background: var(--white);
  color: var(--black);
  border-top: 1px solid var(--gray-100);
}

html[data-tt-theme="dark"] .footer-contact a,
html[data-tt-theme="contrast"] .footer-contact a {
  color: var(--green-on-light);
}

html[data-tt-theme="dark"] .footer-disclaimer,
html[data-tt-theme="contrast"] .footer-disclaimer {
  color: var(--gray-600);
}

html[data-tt-theme="dark"] .footer-divider,
html[data-tt-theme="contrast"] .footer-divider {
  background: var(--gray-100);
}

html[data-tt-theme="dark"] a,
html[data-tt-theme="contrast"] a {
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

html[data-tt-theme="dark"] .btn-green,
html[data-tt-theme="dark"] .tt-accessibility-toggle,
html[data-tt-theme="contrast"] .btn-green,
html[data-tt-theme="contrast"] .tt-accessibility-toggle {
  background: var(--green-surface);
  color: var(--hero-text);
  border-color: var(--border-green-dark);
}

html[data-tt-theme="contrast"] *,
html[data-tt-theme="contrast"] *::before,
html[data-tt-theme="contrast"] *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-tt-theme="contrast"] body,
html[data-tt-theme="contrast"] .site-header,
html[data-tt-theme="contrast"] .announcement-bar,
html[data-tt-theme="contrast"] .site-footer,
html[data-tt-theme="contrast"] .tt-accessibility-controls {
  background-image: none !important;
}

html[data-tt-theme="contrast"] .site-header,
html[data-tt-theme="contrast"] .main-nav ul,
html[data-tt-theme="contrast"] .mobile-nav,
html[data-tt-theme="contrast"] .tt-accessibility-controls,
html[data-tt-theme="contrast"] .tt-accessibility-option {
  border: 2px solid var(--gray-100);
}

html[data-tt-theme="contrast"] img {
  filter: contrast(1.15);
}

html[data-tt-theme="dark"] .footer-brand-name,
html[data-tt-theme="dark"] .footer-nav a,
html[data-tt-theme="dark"] .footer-contact,
html[data-tt-theme="dark"] .footer-copy,
html[data-tt-theme="contrast"] .footer-brand-name,
html[data-tt-theme="contrast"] .footer-nav a,
html[data-tt-theme="contrast"] .footer-contact,
html[data-tt-theme="contrast"] .footer-copy {
  color: var(--black);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   GLOBAL INVESTING LANDING STYLES
   ============================================================ */

.tt-landing-wrapper {
    font-family: var(--font-body);
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.6;
}

.tt-section-label {
    display: inline-block;
    color: var(--green-mid);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tt-section-sublabel {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tt-section-sublabel::after {
    content: '';
    width: 50px;
    height: 4px;
    display: block;
    margin: 10px auto 0;
    background-color: var(--green-mid);
}

.tt-hero {
    padding: 80px 0;
    overflow: hidden;
    background-position: right center;
    background-size: 80%;
    background-repeat: no-repeat;
    position: relative;
    background-color: var(--white);
}

.tt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tt-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.tt-hero-highlight {
    color: var(--green-dark);
    position: relative;
    display: inline-block;
}

.tt-hero p {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    max-width: 480px;
}

.tt-hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.tt-hero-buttons .btn-green {
    display: initial;
}

.tt-hero-features {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .875rem;
    font-weight: 500;
    color: var(--gray-900);
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    margin-inline-end: -200px;
    box-shadow: 0 2px 8px var(--shadow-dark-green);
}

.tt-hero-features .iconbox {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.tt-hero-features .iconbox .iconbox-content {
    color: var(--gray-600);
    font-weight: 400;
}

.tt-hero-features .iconbox .iconbox-content .iconbox-title {
    color: var(--black);
    font-weight: 700;
}

.tt-hero-features .divider {
    background-color: var(--border-green);
    height: 100%;
    width: 1px;
    align-self: center;
}

.tt-hero-features svg {
    color: var(--green-mid);
    flex-shrink: 0;
}

.tt-hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.tt-hero-image-container .brand-icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 1rem;
}

.tt-hero-image-container .brand-icons .icon {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    z-index: 2;
    display: flex;
    place-items: center;
}

.tt-hero-image-container .brand-icons .apple-logo {
    margin-inline-end: 50px;
}

.tt-hero-image-container .brand-icons .nvidia-logo {
    background-color: var(--green-surface);
    margin-block: -30px 30px;
}

.tt-hero-image-container .brand-icons .microsoft-logo {
    margin-inline-end: 150px;
}

.tt-hero-image-container .brand-icons .amazon-logo {
    margin-inline-end: 50px;
}

.tt-25-card {
    position: absolute;
    bottom: -20px;
    right: 40px;
    background: var(--navy-deep);
    color: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px var(--shadow-dark-green);
    max-width: 250px;
}

.tt-25-card .tt-25-number {
    color: var(--green-mid);
    font-size: 4rem;
    line-height: 1;
    margin: 0 0 8px;
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
}

.tt-25-card p {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.tt-25-card span {
    color: var(--green-mid);
    font-size: .875rem;
}

.tt-why-us {
    padding: 100px 0;
    background: url('assets/img/why-section-globe.webp') right center / 60% no-repeat;
}

.tt-why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.tt-access-world-market {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px var(--shadow-dark-green);
    align-self: end;
}

.tt-why-us h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.tt-why-us p {
    margin-bottom: 24px;
}

.tt-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tt-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.tt-check-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--green-mid);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.tt-receive {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.tt-receive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.tt-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px var(--shadow-dark-green);
    border: 1px solid var(--gray-100);
}

.tt-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--green-pale);
    border-radius: 12px;
}

.tt-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tt-card p {
    color: var(--gray-500);
    font-size: .875rem;
    margin-bottom: 24px;
}

.tt-card .tt-check-list li {
    font-size: .875rem;
    margin-bottom: 8px;
}

.tt-how {
    padding: 100px 0;
    text-align: center;
}

.tt-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    gap: 20px;
}

.tt-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    border-top: 2px dashed var(--gray-400);
    z-index: 0;
}

.tt-step {
    position: relative;
    z-index: 1;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tt-step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--green-mid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.tt-step-num {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--green-mid);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 700;
}

.tt-step h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tt-step p {
    font-size: .75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.tt-philosophy-wrap {
    padding-top: 0;
    padding-bottom: 60px;
}

.tt-philosophy {
    background-color: var(--navy-deep);
    border-radius: 16px;
    color: var(--white);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.tt-philosophy h2 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 16px;
}

.tt-philosophy p {
    color: var(--white);
    font-size: .875rem;
}

.tt-phil-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-left: 1px solid #1e293b;
    padding-left: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.tt-phil-item {
    text-align: center;
}

.tt-phil-item svg {
    width: 48px;
    height: 48px;
    stroke: var(--green-mid);
    margin-bottom: 12px;
    fill: none;
}

.tt-phil-item p {
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

.tt-phil-tag {
    color: var(--green-mid);
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
}

.tt-pricing-section {
    padding: 0 0 100px;
}

.tt-pf-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.tt-pricing-card {
    border: 1px solid var(--green-mid);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, .1);
}

.tt-pricing-card .tt-section-label {
    margin-bottom: 16px;
}

.tt-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-mid);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.tt-price span {
    font-size: 1.25rem;
    color: var(--gray-900);
    font-weight: 600;
}

.tt-price--old {
    text-decoration: line-through;
    opacity: .65;
    font-weight: 500;
}

.tt-price .tt-price--old {
    font-size: 1.25rem;
    color: var(--gray-500);
    font-weight: 400;
    margin-right: 8px;
}

.tt-pricing-card .tt-pricing-sub {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top: 16px;
}

.tt-pricing-card .tt-check-list li {
    font-size: .9375rem;
    margin-bottom: 10px;
}

.tt-pricing-card .btn-green {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
}

.tt-faq-list {
    display: flex;
    flex-direction: column;
}

.tt-faq-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.tt-faq-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
}

.tt-faq-item:first-child {
    padding-top: 0;
}

.tt-faq-item:last-child {
    border-bottom: none;
}

.tt-faq-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tt-faq-icon-wrap svg {
    width: 20px;
    height: 20px;
    stroke: var(--green-mid);
    fill: none;
}

.tt-faq-content {
    flex: 1;
}

.tt-faq-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.tt-faq-content p {
    font-size: .875rem;
    color: var(--gray-500);
    margin: 0;
}

.tt-faq-arrow {
    color: var(--gray-400);
    flex-shrink: 0;
}

.tt-landing-wrapper .btn-outline-green:hover {
    background: var(--green-pale);
}

.tt-disclaimer {
    padding: 60px 0;
    border-top: 1px solid var(--gray-100);
}

.tt-disclaimer__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.tt-disclaimer__list {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
    font-size: .75rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.tt-disclaimer__list>li {
    margin-bottom: 16px;
}

.tt-disclaimer__list strong {
    font-weight: 600;
    color: var(--gray-600);
}

.tt-disclaimer__sublist {
    list-style: lower-alpha;
    padding-left: 20px;
    margin-top: 8px;
}

.tt-disclaimer__sublist li {
    margin-bottom: 4px;
}

/* Dark / Contrast mode overrides for global content */
html[data-tt-theme="dark"] .tt-hero-features,
html[data-tt-theme="contrast"] .tt-hero-features {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-100);
}

html[data-tt-theme="contrast"] .tt-hero-image-container .icon {
    border: 1px solid var(--green-mid);
}

html[data-tt-theme="contrast"] .tt-hero-image-container .apple-logo img,
html[data-tt-theme="contrast"] .tt-hero-image-container .amazon-logo img {
    filter: contrast(0) brightness(15);
}

html[data-tt-theme="dark"] .tt-access-world-market,
html[data-tt-theme="contrast"] .tt-access-world-market {
    background: var(--white);
    border: 1px solid var(--gray-100);
}

html[data-tt-theme="dark"] .tt-card,
html[data-tt-theme="contrast"] .tt-card {
    background: var(--white);
    color: var(--black);
    border-color: var(--gray-100);
}

html[data-tt-theme="dark"] .tt-card-icon,
html[data-tt-theme="contrast"] .tt-card-icon {
    background: var(--black);
}

html[data-tt-theme="dark"] .tt-step-icon,
html[data-tt-theme="contrast"] .tt-step-icon {
    background: var(--black);
    border-color: var(--green-mid);
}

html[data-tt-theme="dark"] .tt-pricing-card,
html[data-tt-theme="contrast"] .tt-pricing-card {
    background: var(--white);
}

html[data-tt-theme="dark"] .tt-faq-item,
html[data-tt-theme="contrast"] .tt-faq-item {
    border-bottom-color: var(--gray-100);
}

html[data-tt-theme="dark"] .tt-faq-icon-wrap,
html[data-tt-theme="contrast"] .tt-faq-icon-wrap {
    background: var(--black);
}

html[data-tt-theme="dark"] .tt-hero-features .iconbox .iconbox-content,
html[data-tt-theme="contrast"] .tt-hero-features .iconbox .iconbox-content {
    color: var(--gray-500);
}

html[data-tt-theme="dark"] .tt-hero-features .iconbox .iconbox-content .iconbox-title,
html[data-tt-theme="contrast"] .tt-hero-features .iconbox .iconbox-content .iconbox-title {
    color: var(--black);
}

html[data-tt-theme="contrast"] .tt-25-card {
    border: 2px solid var(--border-green-dark);
}

html[data-tt-theme="dark"] .tt-25-card p,
html[data-tt-theme="contrast"] .tt-25-card p {
    color: var(--black);
}

html[data-tt-theme="contrast"] .tt-pricing-card {
    border-width: 2px;
}

html[data-tt-theme="contrast"] .tt-step-icon {
    border-width: 2px;
}

html[data-tt-theme="dark"] .tt-philosophy h2,
html[data-tt-theme="dark"] .tt-philosophy p,
html[data-tt-theme="contrast"] .tt-philosophy h2,
html[data-tt-theme="contrast"] .tt-philosophy p {
    color: var(--black);
}

html[data-tt-theme="dark"] .tt-hero,
html[data-tt-theme="contrast"] .tt-hero {
    background-color: var(--white);
    background-size: 50%;
}

html[data-tt-theme="dark"] .tt-why-us,
html[data-tt-theme="contrast"] .tt-why-us {
    background-color: var(--white);
    background-size: 50%;
    border-top: 1px solid var(--black);
}

html[data-tt-theme="contrast"] .tt-receive {
    background-color: var(--white);
    border-top: 1px solid var(--black);
}

html[data-tt-theme="contrast"] .tt-how {
    background-color: var(--white);
    border-block: 1px solid var(--black);
}

.tt-faq-item .tt-faq-icon-wrap:focus-visible,
.tt-faq-item .tt-faq-arrow:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
    .tt-hero-features {
        transition: none;
    }
}

@media (max-width: 1024px) {
    .tt-hero h1 {
        font-size: 2.8rem;
    }
    .tt-pf-grid {
        gap: 40px;
    }
    .tt-why-us-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .tt-hero-grid,
    .tt-why-us-grid,
    .tt-pf-grid {
        grid-template-columns: 1fr;
    }
    .tt-receive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tt-philosophy {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .tt-phil-icons {
        border-left: none;
        border-top: 1px solid #1e293b;
        padding-left: 0;
        padding-top: 40px;
    }
    .tt-hero {
        background-image: none !important;
        background-color: var(--white);
        overflow: visible;
    }
    .tt-hero-image-container {
        height: 250px;
        background: url('assets/img/global-investing-hero.webp') center right / cover no-repeat;
    }
    .tt-hero-image-container .brand-icons {
        justify-content: start;
        align-items: start;
    }
    .tt-hero-image-container .brand-icons .icon {
        width: 50px;
        height: 50px;
    }
    .tt-hero-image-container .brand-icons .apple-logo {
        margin-inline: 50px 0;
    }
    .tt-hero-image-container .brand-icons .nvidia-logo {
        margin: 0 0 0 50px;
    }
    .tt-hero-image-container .tt-25-card {
        bottom: -100px;
        z-index: 2;
    }
    .tt-hero-features {
        margin-inline-end: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .tt-steps {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .tt-steps::before {
        border-top: 0;
        border-left: 2px dashed var(--gray-400);
        width: 2px;
        height: 81.5%;
        left: 20%;
    }
    .tt-step::before {
        content: '';
        border-top: 2px dashed var(--gray-400);
        width: 50%;
        height: 2px;
        position: absolute;
        left: -14%;
        top: 20%;
    }
    .tt-hero-features .divider {
        display: none;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .tt-receive-grid {
        grid-template-columns: 1fr;
    }
    .tt-hero h1 {
        font-size: 2.5rem;
    }
    .tt-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .tt-hero-buttons a {
        text-align: center;
    }
    .tt-why-us {
        padding: 60px 0;
        background-size: contain;
        background-position: center 70%;
    }
    .tt-access-world-market {
        flex-direction: column;
    }
    .tt-how {
        padding: 60px 0;
    }
    .tt-receive {
        padding: 48px 0;
    }
}

/* ============================================================
   PAGE CONTENT
============================================================ */
.content-area {
  max-width: 1240px;
  margin-inline: auto;
  padding: 3rem 0 5rem;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.post-featured-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.post-featured-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 1.75rem 0 .75rem;
}

.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.2rem; }

.post-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.post-content ul,
.post-content ol {
  margin: 1rem 0 1rem 1.5rem;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
  margin-bottom: .4rem;
}

.post-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-content a {
  color: var(--blue-600);
  text-decoration: underline;
}

.post-content blockquote {
  border-left: 4px solid var(--green-primary);
  padding: 1rem 1.5rem;
  background: var(--green-pale);
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}
