/* ============================================================
   Truvium v2 — shared site styles
   Used by: Landing Page v2.html, trufluence.html, truguard.html,
            trusight.html, truagent.html
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-1:      #f7f7f5;
  --bg-2:      #f0efe9;
  --ink:       #0f1114;
  --ink-2:     #3a3d44;
  --ink-3:     #767b87;
  --ink-4:     #b0b5bf;
  --accent:    #1a7a5e;
  --accent-2:  #e6f4ef;
  --accent-3:  #d0ece3;
  --hair:      #e4e4de;
  --hair-2:    #ecece7;
  --amber:     #b45309;
  --wrap:      1160px;
  --r:         8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
.serif { font-family: 'Instrument Serif', serif; }
.wrap  { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none; transition: all .18s;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #155e48; filter: brightness(0.96); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--hair); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--bg-1); }
.btn--lg { padding: 16px 28px; font-size: 15px; border-radius: 8px; }
.btn--sm { padding: 9px 16px; font-size: 13px; border-radius: 5px; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px; background: currentColor;
}

/* Section */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-1); }
.section--dark { background: var(--ink); color: #fff; }

/* Section heading */
.sh { margin-bottom: 56px; }
.sh h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em;
}
.sh p {
  margin-top: 16px; font-size: 17px; line-height: 1.65;
  color: var(--ink-2); max-width: 600px;
}

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  background: var(--accent-2); color: var(--accent);
}

.arrow-icon { width: 16px; height: 16px; }

/* ============================================================
   Mobile-nav-only helpers — toggled by V2Nav
   ============================================================ */
.nav-mobile-btn { display: none; }
.nav-desk a, .nav-desk button { white-space: nowrap; }
@media (max-width: 1024px) {
  .nav-desk       { display: none !important; }
  .nav-cta-cluster .btn-sign-in { display: none !important; }
  .nav-mobile-btn { display: inline-flex !important; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 17, 20, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  box-shadow: -20px 0 60px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,.0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer__panel { transform: translateX(0); }

/* ============================================================
   Responsive grids — used in inline styles via classNames
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr !important; gap: 40px !important; }
  .mod-tabs-grid      { grid-template-columns: 1fr !important; gap: 40px !important; }
  .three-col          { grid-template-columns: 1fr 1fr !important; }
  .three-col--four    { grid-template-columns: 1fr 1fr !important; }
  .two-col            { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-grid        { grid-template-columns: 1fr 1fr !important; }
  .workflow-grid      { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .trust-grid         { grid-template-columns: 1fr !important; }
  .suite-line         { display: none !important; }
  .workflow-line      { display: none !important; }
}

@media (max-width: 760px) {
  .section            { padding: 64px 0; }
  .sh                 { margin-bottom: 36px; }
  .wrap               { padding: 0 20px; }
  .three-col          { grid-template-columns: 1fr !important; }
  .three-col--four    { grid-template-columns: 1fr 1fr !important; }
  .footer-grid        { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .stats-row          { grid-template-columns: 1fr 1fr !important; }
  .stats-row > div    { border-left: none !important; border-right: none !important;
                        padding: 16px 0 !important; }
  .workflow-grid      { grid-template-columns: 1fr !important; }
  .btn--lg            { padding: 14px 22px; font-size: 14px; }
  .btn                { font-size: 13px; }

  /* CTA cluster (dark / accent CTA bands) */
  .cta-band           { padding: 64px 0 !important; }
  .cta-band-grid      { grid-template-columns: 1fr !important; gap: 28px !important; }
  .cta-band-grid h2   { font-size: clamp(28px, 7vw, 40px) !important; }
}

@media (max-width: 480px) {
  .wrap               { padding: 0 16px; }
  .three-col, .three-col--four { grid-template-columns: 1fr !important; }
  .footer-grid        { grid-template-columns: 1fr !important; }
  .stats-row          { grid-template-columns: 1fr 1fr !important; }
}

/* Make horizontal-scrolling things obvious */
.tab-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tab-scroll::-webkit-scrollbar { display: none; }

/* ============================================================
   Product UI vignettes — keep them looking like UIs on mobile
   ============================================================ */
.mod-ui-frame {
  /* Reserve room — but on tiny screens shrink the inner grid density */
  min-width: 0;
}
@media (max-width: 600px) {
  .mod-ui-frame { font-size: 12px; }
  .mod-ui-frame .ui-stat-4col { grid-template-columns: 1fr 1fr !important; }
  .mod-ui-frame .ui-stat-3col { grid-template-columns: 1fr 1fr !important; }
  .mod-ui-frame .ui-stat-2col { grid-template-columns: 1fr !important; }
  .mod-ui-frame .ui-cat-2col  { grid-template-columns: 1fr !important; }
}

/* Hero network — responsive height controlled by parent class */
.hero-network {
  position: relative;
  height: 560px;
  width: 100%;
}
@media (max-width: 1024px) {
  .hero-network { max-width: 480px; margin: 0 auto; height: 500px; }
}
@media (max-width: 600px) {
  .hero-network { height: 420px; max-width: 360px; }
}
@media (max-width: 400px) {
  .hero-network { height: 360px; max-width: 300px; }
}
