/* Readability, responsive layout, and interaction refinements. */
:root { --muted: #afc1b5; }
body { text-rendering: optimizeLegibility; }
main, section, .hero > *, .tool-hero > *, .founder-layout > * { min-width: 0; }
main:focus { outline: none; }
.skip-link {
  position: fixed; top: 10px; left: 16px; z-index: 1000;
  padding: 12px 18px; background: #70e291; color: #082012;
  border-radius: 6px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Keep headline accents legible while retaining the supplied logo artwork. */
.hero h1 span, .tool-hero h1 span, .about-hero h1 span, .page-heading h1 span {
  background: none; color: #69d98c; -webkit-text-fill-color: currentColor; filter: none;
}
h1 { text-wrap: balance; }
p { text-wrap: pretty; }
.hero p { max-width: 59ch; }
.hero h1 { font-size: clamp(40px, 4.5vw, 66px); letter-spacing: -.055em; }
.hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.brand-showcase > img { max-width: 420px; }
.brand-showcase > span { margin-top: 0; line-height: 1.8; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-head .sub { max-width: 44ch; }
.about-hero { max-width: 1050px; }
.about-hero p { max-width: 72ch; font-size: 16px; }
.about-values { padding-top: 40px; }
.founder-layout { grid-template-columns: minmax(220px, 330px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
.founder-portrait img { aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: center 43%; }
.founder-bio { max-width: 78ch; }
.founder-bio h3 { margin-bottom: 8px; }
.founder-bio p { margin-top: 10px; }
.founder-bio .founder-intro { line-height: 1.8; }

/* Consistent, visible actions. */
.btn { min-height: 44px; border-radius: 6px; transition: background-color .15s, border-color .15s; }
.btn:hover { background: #67d982; border-color: #67d982; }
.btn.outline:hover { background: #153724; border-color: #72b68b; }
.btn:active { transform: translateY(1px); }
input:focus, textarea:focus { outline: 2px solid #69d98c; outline-offset: 2px; }
.close { width: 44px; height: 44px; line-height: 1; border-radius: 5px; }
.close:hover { background: #2b4935; }
dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.sidebar-nav a { min-height: 48px; }
.sidebar-caption { color: #8fb39d; }
.sidebar-bottom > span, .legal { color: #94ac9c; }
.sidebar-nav small { font-size: 8px; }
.sidebar-brand img { max-height: 110px; object-fit: contain; }
.destination-grid > a { padding: 24px 20px; border: 1px solid var(--line); border-radius: 8px; background: #09160e; }
.destination-grid > a:hover { background: #10261a; border-color: #4a805d; }
.destination-grid h3 { margin-top: 14px; }
.destination-grid p { margin-bottom: 0; }
.news-feature .news-body > p { font-size: 13px; }
.news-feature .meta { letter-spacing: .35px; line-height: 1.6; }
.featured-news .news-preview img { object-fit: contain; background: #07150e; }
.preview-label { position: static; display: inline-flex; margin: 9px 12px; }
.news-feature .read { min-height: 44px; align-items: center; }
.news:hover { transform: translateY(-2px); }
.testimonial-pending { max-width: none; }
.testimonials h2 { font-size: clamp(28px, 3vw, 38px); }
.cta { padding: clamp(26px, 3vw, 46px); margin-bottom: 44px; }
.cta h2 { font-size: clamp(27px, 2.7vw, 35px); }
.footer-row { flex-wrap: wrap; gap: 18px 28px; }
.footer-row > a:not(.brand) { min-height: 44px; display: inline-flex; align-items: center; }
.footer-wordmark { width: 145px; }
.legal { line-height: 1.8; margin-top: 15px; }
html { scroll-padding-top: 24px; }

@media (min-width: 761px) and (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 5.5vw, 62px); }
  .brand-showcase { display: none; }
  .founder-layout { grid-template-columns: minmax(190px, 250px) minmax(0, 1fr); }
  .offering { padding: 24px; }
}
@media (min-width: 621px) and (max-width: 1000px) {
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; margin: 0; }
  .offering-grid, .case-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  body.navigation-open { overflow: hidden; }
  .site-sidebar { height: calc(100dvh - 58px); padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .sidebar-toggle { padding-left: 20px; padding-right: 20px; }
  .sidebar-nav a { font-size: 13px !important; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 30px; }
  .hero h1, .tool-hero h1, .about-hero h1, .page-heading h1 {
    font-size: clamp(36px, 9.7vw, 52px); letter-spacing: -.045em; line-height: 1.1;
  }
  .hero .actions, .actions { flex-wrap: wrap; gap: 12px; }
  .hero .actions .btn { font-size: 12px; padding: 13px 15px; }
  .brand-showcase > img { max-width: 250px; }
  .brand-showcase > span { font-size: 8px; letter-spacing: 1.2px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .about-hero, .page-heading { padding-top: 30px; padding-bottom: 36px; }
  .founder-layout { grid-template-columns: 1fr; gap: 25px; }
  .founder-portrait { max-width: 290px; margin: 0 auto; width: 100%; }
  .founder-portrait img { aspect-ratio: 4 / 5; }
  .founder-bio h2 { font-size: 36px; }
  .tool-hero { padding-top: 35px; padding-bottom: 35px; }
  .offering h3 { font-size: 25px; }
  .case-choice { min-height: 66px; }
  .stock-banner-heading span { font-size: 10px; line-height: 1.6; }
  .stock-banner .tradingview-widget-copyright { font-size: 10px; }
  dialog { padding: 24px; }
  dialog h2 { font-size: 27px; }
  .cta .btn { white-space: normal; }
}
@media (max-width: 380px) {
  .sidebar-toggle:after { font-size: 10px; }
  .hero .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .news:hover, .news-preview:hover img, .btn:active { transform: none; }
}

/* N3xtG AI square PNG lockup: preserve the entire artwork. */
.sidebar-brand img { width: 100%; height: auto; max-height: none; aspect-ratio: 1; object-fit: contain; }
.brand-showcase > img { height: auto; aspect-ratio: 1; object-fit: contain; }
.footer-wordmark { width: 175px; height: auto; aspect-ratio: 1; object-fit: contain; }

/* Preserve the proportions of the supplied N3xtG AI artwork. */
.sidebar-brand img, .brand-showcase > img, .footer-wordmark { aspect-ratio: auto; object-fit: contain; }

/* Matching compact ticker bands; clocks travel right, stocks travel left. */
.world-clock, .stock-banner { height: 64px; min-height: 64px; box-sizing: border-box; }
.world-clock { padding: 0 28px; gap: 28px; overflow: hidden; }
.world-clock > strong { display: block; flex: 0 0 auto; font-size: 10px; }
.world-clock-window { min-width: 0; flex: 1; overflow: hidden; }
.world-clock-track { display: flex; width: max-content; animation: world-clock-east 100s linear infinite; }
.world-clock-cities { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex-shrink: 0; }
.world-clock-city { display: grid; gap: 4px; flex: 0 0 auto; }
.world-clock-city > span { color: #bac2b7; font-size: 10px; letter-spacing: .5px; }
.world-clock-city time { color: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.world-clock:hover .world-clock-track, .world-clock:focus-within .world-clock-track { animation-play-state: paused; }
.stock-banner { padding: 0 28px; }
.stock-banner-heading { height: 17px; margin: 0; flex-direction: row; align-items: center; }
.stock-banner-heading span { font-size: 9px; line-height: 1; }
.stock-banner .tradingview-widget-container { min-height: 0; height: 46px; }
.stock-banner .tradingview-widget-container__widget { min-height: 0; height: 46px; }
@keyframes world-clock-east { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 760px) {
  .world-clock, .stock-banner { padding-left: 12px; padding-right: 12px; }
  .world-clock { gap: 16px; }
  .stock-banner-heading span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .world-clock-track { animation: none; }
  .world-clock-window { overflow-x: auto; }
  .world-clock-cities[aria-hidden] { display: none; }
}

/* The centered logo sits across both bands; quotes fade behind it. */
.ticker-bands { position: relative; width: 100%; --logo-gap: 124px; }
.ticker-bands .world-clock, .ticker-bands .stock-banner { width: 100%; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.ticker-bands .world-clock { gap: 0; }
.stock-banner-heading { padding: 0 12px; }
.world-clock-window, .stock-banner .tradingview-widget-container {
 mask-image: linear-gradient(to right, #000 calc(50% - var(--logo-gap) - 24px), transparent calc(50% - var(--logo-gap)), transparent calc(50% + var(--logo-gap)), #000 calc(50% + var(--logo-gap) + 24px));
 -webkit-mask-image: linear-gradient(to right, #000 calc(50% - var(--logo-gap) - 24px), transparent calc(50% - var(--logo-gap)), transparent calc(50% + var(--logo-gap)), #000 calc(50% + var(--logo-gap) + 24px));
}
.cloud-masthead { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.cloud-brand { display: flex; align-items: center; justify-content: center; width: 248px; height: 112px; padding: 14px 20px; border-radius: 58% 45% 52% 42%; background: #07150d; box-shadow: 0 0 26px 10px #07150de6, 0 0 36px #58ae7133; pointer-events: auto; }
.cloud-brand img { display: block; width: 100%; height: auto; max-height: 88px; object-fit: contain; mix-blend-mode: screen; }
body:not(.editorial-development) .site-sidebar > * { flex-shrink: 0; }
@media (min-width: 761px) {
 body:not(.editorial-development) { --sidebar-width: 228px; }
 body:not(.editorial-development) > .ticker-bands { width: calc(100% + var(--sidebar-width)); margin-left: calc(-1 * var(--sidebar-width)); }
 body:not(.editorial-development) .site-sidebar { top: 128px; height: calc(100dvh - 128px); }
}
@media (min-width: 1500px) { body:not(.editorial-development) { --sidebar-width: 250px; } }
@media (min-width: 761px) and (max-width: 1050px) { body:not(.editorial-development) { --sidebar-width: 205px; } }
@media (max-width: 760px) {
 .ticker-bands { --logo-gap: 73px; }
 .cloud-brand { width: 146px; height: 94px; padding: 12px 8px; }
 .stock-banner-heading { height: 17px; }
 .stock-banner-heading strong { font-size: 7px; letter-spacing: 0; }
 .stock-banner-heading span { max-width: calc(50% - 85px); font-size: 7px; white-space: nowrap; overflow: hidden; }
}
@media (min-width: 761px) {
 body:not(.editorial-development) { --sidebar-width: 228px; }
 body:not(.editorial-development) > .ticker-bands { width: calc(100% + var(--sidebar-width)); margin-left: calc(-1 * var(--sidebar-width)); }
 body:not(.editorial-development) .site-sidebar { top: 128px; height: calc(100dvh - 128px); }
}
@media (min-width: 1500px) { body:not(.editorial-development) { --sidebar-width: 250px; } }
@media (min-width: 761px) and (max-width: 1050px) { body:not(.editorial-development) { --sidebar-width: 205px; } }
/* Borderless ticker bands and logo overlay. */
.ticker-bands .world-clock, .ticker-bands .stock-banner { border: 0; }
.cloud-brand { border: 0; }
.site-sidebar.site-sidebar { border: 0; }
