
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: #fff;
  color: #1a1a18;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* NAV */
.t-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Asymmetric padding: tighter on the left so the brand wordmark
     sits anchored ~24px from the viewport edge (matching the SaaS
     convention — Stripe / Linear / Vercel / Anthropic) instead of
     reading as center-leaning. Right side keeps more breathing room
     so the Sign in + primary CTA don't crowd the screen edge. */
  padding: 0 2.5rem 0 1.5rem;
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid rgba(26,26,24,0.08);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 12px rgba(26,26,24,0.05);
}
.t-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #1a1a18;
  letter-spacing: 0;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.5rem;
  margin-left: 0;
  line-height: 1;
}
.t-logo span { color: #3b5bdb; }
.t-nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  height: 100%;
}
.t-nav-links > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.t-nav-links > li > a {
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a18;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  opacity: 0.7;
}
.t-nav-links > li > a:hover { opacity: 1; background: rgba(26,26,24,0.05); }
.t-nav-links > li > a.active { color: #3b5bdb; opacity: 1; background: #eef1ff; }

/* Dropdown */
.t-nav-dropdown { position: relative; }
.t-nav-dropdown-trigger { cursor: default; }
.t-nav-dropdown:hover .t-nav-dropdown-trigger { opacity: 1; background: rgba(26,26,24,0.05); }
.t-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  max-width: min(90vw, 500px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26,26,24,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(26,26,24,0.12);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
  z-index: 300;
  min-width: 240px;
}
.t-nav-dropdown:hover .t-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* Services dropdown — grid layout */
.t-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  width: min(460px, 90vw);
}
.t-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s;
}
.t-dropdown-item:hover { background: #f7f5f0; }
.t-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-dropdown-title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a18;
  line-height: 1.2;
}
.t-dropdown-sub {
  font-size: 11px;
  color: rgba(26,26,24,0.4);
  margin-top: 1px;
}

/* Articles dropdown — list layout */
.t-dropdown-col { width: min(280px, 85vw); }
.t-dropdown-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3b5bdb;
  padding: 0 0.5rem;
  margin-bottom: 0.35rem;
}
.t-dropdown-item-simple {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a18;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  opacity: 0.85;
  transition: all 0.12s;
  line-height: 1.35;
}
.t-dropdown-item-simple:hover { opacity: 1; background: #f7f5f0; color: #3b5bdb; }

/* Dropdown items: always solid Trovo blue, regardless of visited state */
.t-dropdown-item,
.t-dropdown-item:link,
.t-dropdown-item:visited,
.t-dropdown-item:hover,
.t-dropdown-item:active,
.t-dropdown-item .t-dropdown-title,
.t-dropdown-item .t-dropdown-item-title,
.t-dropdown-item .t-dropdown-sub,
.t-dropdown-item .t-dropdown-item-sub,
.t-dropdown-item:visited .t-dropdown-title,
.t-dropdown-item:visited .t-dropdown-item-title,
.t-dropdown-item:visited .t-dropdown-sub,
.t-dropdown-item:visited .t-dropdown-item-sub { color: #3b5bdb; opacity: 1; }

.t-dropdown-item-simple,
.t-dropdown-item-simple:link,
.t-dropdown-item-simple:visited,
.t-dropdown-item-simple:active,
.t-dropdown-item-simple:hover,
.t-dropdown-item-simple:visited:hover { color: #3b5bdb; opacity: 1; }
.t-dropdown-item-simple:hover,
.t-dropdown-item-simple:visited:hover { background: #f7f5f0; }

.t-btn-nav {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: #3b5bdb;
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.t-btn-nav:hover { background: #2f4ac7; }

/* BUTTONS */
.t-btn-primary {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  background: #3b5bdb; color: #fff;
  border: none; padding: 0.8rem 1.75rem;
  border-radius: 100px; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none; display: inline-block;
}
.t-btn-primary:hover { background: #2f4ac7; transform: translateY(-1px); }

.t-btn-outline {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  background: transparent; color: #3b5bdb;
  border: 1.5px solid #3b5bdb; padding: 0.75rem 1.75rem;
  border-radius: 100px; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none; display: inline-block;
}
.t-btn-outline:hover { background: #eef1ff; transform: translateY(-1px); }

.t-btn-white {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  background: #fff; color: #1a1a18;
  border: none; padding: 0.8rem 1.75rem;
  border-radius: 100px; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none; display: inline-block;
}
.t-btn-white:hover { background: #f0f2ff; transform: translateY(-1px); }

/* SECTION LABELS */
.t-section-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: #3b5bdb; margin-bottom: 0.6rem; }
.t-section-h2 { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: 0; color: #1a1a18; margin-bottom: 1rem; line-height: 1.15; }
.t-section-sub { font-size: 15px; line-height: 1.7; color: rgba(26,26,24,0.5); margin-bottom: 2.5rem; max-width: 520px; }

/* PILL BADGE */
.t-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #eef1ff; border: 1px solid #c5cfff;
  color: #3b5bdb; font-size: 11px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.t-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #3b5bdb; }

/* FORM ELEMENTS */
.t-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(26,26,24,0.38); margin-bottom: 0.3rem; margin-top: 0.85rem; }
.t-label:first-of-type { margin-top: 0; }
.t-input, .t-select, .t-textarea {
  width: 100%; background: #f7f4ef;
  border: 1px solid rgba(26,26,24,0.12); border-radius: 10px;
  color: #1a1a18; font-family: 'Instrument Sans', sans-serif;
  font-size: 13px; padding: 0.65rem 0.85rem; outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.t-input:focus, .t-select:focus, .t-textarea:focus { border-color: #3b5bdb; background: #fff; }
.t-select option { background: #fff; }
.t-textarea { resize: vertical; min-height: 100px; }

/* DARK STATS BAND */
.t-stats-wrap { background: #1a1a18; }
.t-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.t-stat { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.t-stat:last-child { border-right: none; }
.t-stat-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 0px; line-height: 1.1; margin-bottom: 0.25rem; }
.t-stat-num span { color: #818cf8; }
.t-stat-label { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.5; }

/* PAGE HERO (interior pages) */
.t-page-hero {
  position: relative; overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgba(26,26,24,0.07);
  padding: 4rem 2.5rem;
  text-align: center;
}
.t-page-hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(59,91,219,0.1) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 80%);
  pointer-events: none;
}
.t-page-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; width: 100%; }
.t-page-h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 32px; line-height: 1.15; letter-spacing: 0; color: #1a1a18; margin-bottom: 1.25rem; }
.t-page-h1 span { color: #3b5bdb; }
.t-page-sub { font-size: 16px; line-height: 1.7; color: rgba(26,26,24,0.5); }

/* CTA BAND */
.t-cta-band {
  position: relative; overflow: hidden;
  background: #3b5bdb; padding: 4rem 2.5rem;
  text-align: center;
}
.t-cta-band-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.t-cta-band h2 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: 0; color: #fff; margin-bottom: 0.75rem; position: relative; }
.t-cta-band p { font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 2rem; position: relative; }
.t-cta-band-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* AREAS BAND */
.t-areas { background: #1a1a18; padding: 1.75rem 2.5rem; position: relative; overflow: hidden; }
.t-areas::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 24px); pointer-events: none; }
.t-areas-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; position: relative; }
.t-areas-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.3); white-space: nowrap; letter-spacing: 0.06em; text-transform: uppercase; }
.t-area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.t-area-tag { font-size: 11px; font-weight: 500; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.55); padding: 0.3rem 0.75rem; border-radius: 100px; }

/* FOOTER */
.t-footer { border-top: 1px solid rgba(26,26,24,0.07); background: #f7f5f0; }
.t-footer-inner { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2.5rem 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.t-footer-brand .t-logo { display: block; margin-bottom: 0.75rem; }
.t-footer-brand p { font-size: 12px; color: rgba(26,26,24,0.4); line-height: 1.6; max-width: 180px; }
.t-footer-col h4 { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; color: #1a1a18; margin-bottom: 0.85rem; letter-spacing: 0.02em; }
.t-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.t-footer-col ul a { font-size: 13px; color: rgba(26,26,24,0.45); text-decoration: none; transition: color 0.15s; }
.t-footer-col ul a:hover { color: #1a1a18; }
.t-footer-bottom { border-top: 1px solid rgba(26,26,24,0.06); padding: 1.25rem 2.5rem; display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; }
.t-footer-copy { font-size: 11px; color: rgba(26,26,24,0.3); }
.t-footer-email { font-size: 12px; color: #3b5bdb; text-decoration: none; }
.t-footer-email:hover { text-decoration: underline; }

/* CONTENT CONTAINER */
.t-content { max-width: 960px; margin: 0 auto; padding: 4rem 2.5rem; }

/* CARD */
.t-card {
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(26,26,24,0.07); padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(26,26,24,0.05);
}

/* RESPONSIVE */
/* HAMBURGER + MOBILE MENU */
.t-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
  flex-shrink: 0;
}
.t-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a18;
  border-radius: 2px;
  transition: all 0.2s;
  transform-origin: center;
}
.t-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t-hamburger.open span:nth-child(2) { opacity: 0; }
.t-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.t-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 198;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.5rem 0 2rem;
}
.t-mobile-menu.open { display: flex; }
.t-mobile-menu a {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a18;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(26,26,24,0.06);
  display: block;
}
.t-mobile-menu-divider {
  height: 8px;
  background: #f7f4ef;
  margin: 0.5rem 0;
  border-top: 1px solid rgba(26,26,24,0.06);
  border-bottom: 1px solid rgba(26,26,24,0.06);
}
.t-mobile-signin {
  color: #1a1a18 !important;
  font-weight: 500 !important;
}
.t-mobile-cta {
  margin: 0.75rem 1.5rem !important;
  background: #3b5bdb !important;
  color: #fff !important;
  border-radius: 100px !important;
  text-align: center !important;
  border-bottom: none !important;
  font-weight: 500 !important;
  padding: 0.85rem 1.5rem !important;
}

@media (max-width: 768px) {
  .t-nav { padding: 0 1.25rem 0 1rem; }
  .t-nav-links { display: none; }
  .t-nav-actions { display: none !important; }
  .t-hamburger { display: flex !important; }
  .t-mobile-menu { top: 72px; }
  .t-page-h1 { font-size: 28px; }
  .t-section-h2 { font-size: 22px; }
  .t-footer-inner { grid-template-columns: 1fr 1fr; }
  .t-stats { grid-template-columns: 1fr; }
  .t-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .t-stat:last-child { border-bottom: none; }
}

/* Nav action group */
.t-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.t-nav-signin {
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a18;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(26,26,24,0.18);
  transition: all 0.15s;
  opacity: 0.75;
}
.t-nav-signin:hover { opacity: 1; border-color: rgba(26,26,24,0.35); background: rgba(26,26,24,0.03); }

/* Footer logo */
.t-footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #1a1a18;
  letter-spacing: 0;
}
.t-footer-logo span { color: #3b5bdb; }

/* ── HOMEPAGE SPECIFIC ───────────────────────────── */
.t-hero-wrap { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid rgba(26,26,24,0.07); }
.t-hero-wrap::before { content: ''; position: absolute; inset: 0; opacity: 0.03; pointer-events: none; z-index: 0; }
.t-hero-accent { position: absolute; top: -80px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle at 60% 40%, rgba(59,91,219,0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: 0; }
.t-hero { max-width: 960px; margin: 0 auto; padding: 4rem 2.5rem; display: grid; grid-template-columns: 1fr 340px; gap: 3.5rem; align-items: start; position: relative; z-index: 1; }
.t-hero-location { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 12px; font-weight: 500; color: rgba(26,26,24,0.5); margin-bottom: 1rem; padding: 0.3rem 0.75rem 0.3rem 0.5rem; background: rgba(26,26,24,0.05); border-radius: 100px; border: 1px solid rgba(26,26,24,0.08); }
.t-hero-location-dot { width: 6px; height: 6px; border-radius: 50%; background: #3b5bdb; flex-shrink: 0; }
.t-h1 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.2; letter-spacing: 0; color: #1a1a18; margin-bottom: 1.25rem; }
.t-h1 .accent { color: #3b5bdb; }
.t-hero-sub { font-size: 15px; line-height: 1.7; color: rgba(26,26,24,0.55); margin-bottom: 1.75rem; max-width: 400px; }
.t-hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.t-btn-ghost { font-size: 13px; font-weight: 500; color: rgba(26,26,24,0.45); background: none; border: none; cursor: pointer; padding: 0; text-decoration: none; }
.t-btn-ghost:hover { color: #1a1a18; }
.t-proof-bar { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0.95rem; background: #fff; border: 1px solid rgba(26,26,24,0.09); border-radius: 12px; box-shadow: 0 1px 4px rgba(26,26,24,0.06); flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.t-proof-bar .t-proof-text, .t-proof-bar .t-proof-stat { white-space: nowrap; }
.t-proof-avatars { display: flex; flex-shrink: 0; }
.t-avatar { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; margin-left: -8px; color: #fff; }
.t-avatar:first-child { margin-left: 0; }
.av1 { background: #3b5bdb; } .av2 { background: #0ca678; } .av3 { background: #e8590c; } .av4 { background: #9c36b5; }
.t-proof-text { font-size: 12px; color: rgba(26,26,24,0.5); line-height: 1.4; }
.t-proof-text strong { color: #1a1a18; font-weight: 600; }
.t-proof-divider { width: 1px; height: 24px; background: rgba(26,26,24,0.08); flex-shrink: 0; }
.t-proof-stat { text-align: center; flex-shrink: 0; }
.t-proof-stat-num { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 800; color: #1a1a18; }
.t-proof-stat-label { font-size: 10px; color: rgba(26,26,24,0.4); margin-top: 1px; }
.t-form-card { background: #fff; border-radius: 20px; border: 1px solid rgba(26,26,24,0.08); border-top: 3px solid #3b5bdb; padding: 1.75rem; box-shadow: 0 8px 40px rgba(59,91,219,0.1); }
.t-form-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #3b5bdb; margin-bottom: 0.35rem; }
.t-form-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: #1a1a18; margin-bottom: 1.25rem; }
.t-form-submit { width: 100%; margin-top: 1.1rem; font-family: 'Instrument Sans', sans-serif; font-size: 14px; font-weight: 500; background: #3b5bdb; color: #fff; border: none; padding: 0.8rem; border-radius: 100px; cursor: pointer; transition: background 0.15s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap; }
.t-form-submit:hover:not(:disabled) { background: #2f4ac7; }
.t-form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.t-form-note { font-size: 11px; color: rgba(26,26,24,0.3); text-align: center; margin-top: 0.75rem; }
.t-field-error { font-size: 11px; color: #ef4444; margin-top: 3px; display: none; }
.t-field-error.show { display: block; }
.t-input.error, .t-select.error, .t-textarea.error { border-color: #ef4444 !important; background: #fff5f5 !important; }
.t-stats-wrap { background: #1a1a18; }
.t-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.t-stat { padding: 2rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.t-stat:last-child { border-right: none; }
.t-stat-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 0; line-height: 1; margin-bottom: 0.4rem; }
.t-stat-num span { color: #818cf8; }
.t-stat-label { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.5; }
.t-how { max-width: 960px; margin: 0 auto; padding: 5rem 2.5rem; }
.t-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.t-step-card { background: #fff; border-radius: 16px; border: 1px solid rgba(26,26,24,0.08); border-left: 3px solid #3b5bdb; padding: 1.75rem; box-shadow: 0 2px 12px rgba(26,26,24,0.06); transition: transform 0.2s; }
.t-step-card:hover { transform: translateY(-2px); }
.t-step-icon { width: 40px; height: 40px; border-radius: 12px; background: #eef1ff; border: 1px solid #c5cfff; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.t-step-icon svg { width: 18px; height: 18px; }
.t-step-num-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,26,24,0.25); margin-bottom: 0.4rem; }
.t-step-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: #1a1a18; margin-bottom: 0.5rem; }
.t-step-body { font-size: 13px; line-height: 1.65; color: rgba(26,26,24,0.5); }
.t-photo-strip { border-top: 1px solid rgba(26,26,24,0.07); border-bottom: 1px solid rgba(26,26,24,0.07); background: #f0f2ff; padding: 3rem 2.5rem; overflow: hidden; }
.t-photo-inner { max-width: 960px; margin: 0 auto; }
.t-photo-label { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(59,91,219,0.6); margin-bottom: 1.25rem; text-align: center; }
.t-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.t-photo-card { border-radius: 14px; overflow: hidden; border: 1px solid rgba(59,91,219,0.1); background: #fff; }
.t-photo-img-placeholder { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; }
.p1 { background: linear-gradient(135deg,#dbeafe,#bfdbfe); } .p2 { background: linear-gradient(135deg,#dcfce7,#bbf7d0); } .p3 { background: linear-gradient(135deg,#fef3c7,#fde68a); }
.t-photo-caption { padding: 0.85rem 1rem; }
.t-photo-cap-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: #1a1a18; margin-bottom: 2px; }
.t-photo-cap-sub { font-size: 11px; color: rgba(26,26,24,0.45); }
.t-vetting-strip { position: relative; overflow: hidden; background: #eef1ff; border-top: 1px solid #c5cfff; border-bottom: 1px solid #c5cfff; }
.t-vetting-dots { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px,rgba(59,91,219,0.15) 1px,transparent 0); background-size: 24px 24px; pointer-events: none; opacity: 0.5; }
.t-vetting-inner { max-width: 960px; margin: 0 auto; padding: 4.5rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; position: relative; }
.t-vetting-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(59,91,219,0.6); margin-bottom: 0.6rem; }
.t-vetting-h2 { font-family: 'Syne', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: 0; color: #1a1a18; margin-bottom: 1rem; line-height: 1.15; }
.t-vetting-h2 span { color: #3b5bdb; }
.t-vetting-body { font-size: 14px; line-height: 1.7; color: rgba(26,26,24,0.55); margin-bottom: 1.25rem; }
.t-checks { display: flex; flex-direction: column; gap: 0.65rem; }
.t-check { display: flex; align-items: flex-start; gap: 0.85rem; background: #fff; border: 1px solid rgba(59,91,219,0.12); border-radius: 12px; padding: 1rem 1.1rem; }
.t-check-dot { width: 20px; height: 20px; border-radius: 50%; background: #3b5bdb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.t-check-dot svg { width: 10px; height: 10px; }
.t-check-text strong { display: block; font-size: 13px; font-weight: 500; color: #1a1a18; margin-bottom: 2px; }
.t-check-text span { font-size: 12px; color: rgba(26,26,24,0.45); line-height: 1.5; }
.t-vs { max-width: 960px; margin: 0 auto; padding: 5rem 2.5rem; }
.t-vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.t-vs-col { border-radius: 16px; overflow: hidden; border: 1px solid rgba(26,26,24,0.08); }
.t-vs-header { padding: 1rem 1.25rem; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.t-vs-header.them { background: #f7f5f0; color: rgba(26,26,24,0.4); }
.t-vs-header.us { background: #3b5bdb; color: rgba(255,255,255,0.85); }
.t-vs-items { background: #fff; }
.t-vs-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.25rem; border-top: 1px solid rgba(26,26,24,0.05); font-size: 13px; }
.t-vs-item:first-child { border-top: none; }
.t-vs-item.them { color: rgba(26,26,24,0.38); }
.t-vs-item.us { color: #1a1a18; font-weight: 500; }
.t-vs-x { width: 16px; height: 16px; border-radius: 50%; background: rgba(26,26,24,0.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-vs-check { width: 16px; height: 16px; border-radius: 50%; background: #3b5bdb; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-vs-x svg, .t-vs-check svg { width: 8px; height: 8px; }
@keyframes trovoSpin { to { transform: rotate(360deg); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.t-form-card.highlight { animation: formPulse 0.6s ease; }
@keyframes formPulse { 0%,100% { box-shadow: 0 8px 40px rgba(59,91,219,0.1); } 50% { box-shadow: 0 0 0 4px rgba(59,91,219,0.25); } }
@media (max-width: 720px) {
  .t-page-hero-inner { grid-template-columns: 1fr !important; }
  .t-page-hero-inner > div:first-child { text-align: left; }
  .t-h1 { font-size: 30px; }
  .t-stats { grid-template-columns: 1fr; }
  .t-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .t-stat:last-child { border-bottom: none; }
  .t-steps { grid-template-columns: 1fr; }
  .t-photo-grid { grid-template-columns: 1fr; }
  .t-vetting-inner { grid-template-columns: 1fr; gap: 2rem; }
  .t-vs-grid { grid-template-columns: 1fr; }
  .t-proof-divider { display: none; }
}

/* Mobile form fixes */
@media (max-width: 768px) {
  .t-form-card {
    max-height: none !important;
    overflow: visible !important;
  }
  /* Hero grid goes single column on mobile */
  [style*="grid-template-columns:1fr 360px"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 400px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── COMPREHENSIVE MOBILE RESPONSIVE LAYER ─────────────────
   At ≤640px (the threshold where most desktop multi-column
   layouts genuinely break) collapse every inline 2-col grid,
   reduce horizontal padding on every major container, allow
   wrap-locked rows to wrap, shrink hero typography, and
   defensively prevent horizontal overflow at the document
   level. Catches inline styles (which can't be targeted by
   class-based media queries) via attribute substring selectors
   so the homepage, about, contact, articles, and service pages
   all respond without per-page edits. */
@media (max-width: 640px) {
  /* Collapse inline-style 2-col grids to single column. The space
     and no-space variants both have to be listed because inline
     styles aren't normalized. */
  [style*="grid-template-columns:1fr 360px"],
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns:1fr 400px"],
  [style*="grid-template-columns: 1fr 360px"],
  [style*="grid-template-columns: 1fr 340px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns: 1fr 400px"],
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Reduce horizontal padding on inline-padded blocks. Catches
     hero / banner / section paddings of "Xrem 2.5rem". */
  [style*="padding:4rem 2.5rem"],
  [style*="padding: 4rem 2.5rem"] { padding: 2.25rem 1.25rem !important; }
  [style*="padding:1.25rem 2.5rem"],
  [style*="padding: 1.25rem 2.5rem"] { padding: 1.25rem 1.25rem !important; }
  [style*="padding:5rem 2.5rem"],
  [style*="padding: 5rem 2.5rem"] { padding: 3rem 1.25rem !important; }

  /* Class-based section padding shrink */
  .t-hero, .t-content, .t-how, .t-photo, .t-vetting-inner, .t-vs,
  .t-areas-inner, .t-footer-inner, .t-footer-bottom {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .t-hero { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; gap: 2rem !important; }
  .t-how, .t-photo, .t-vetting-inner, .t-vs { padding-top: 3rem !important; padding-bottom: 3rem !important; }

  /* Proof bar — let it wrap so dividers + stats stack on narrow screens
     instead of overflowing the column. */
  .t-proof-bar {
    flex-wrap: wrap !important;
    overflow: visible !important;
    white-space: normal !important;
    gap: 0.6rem !important;
  }
  .t-proof-bar .t-proof-text,
  .t-proof-bar .t-proof-stat { white-space: normal !important; }
  .t-proof-divider { display: none !important; }

  /* Hero typography — smaller on phones so a single long word
     doesn't push the line past the viewport. */
  .t-page-h1, .t-h1 { font-size: 26px !important; line-height: 1.2 !important; }
  .t-section-h2 { font-size: 20px !important; }

  /* Match-form card padding */
  .t-form-card { padding: 1.25rem !important; }

  /* Footer compresses to 2 columns + stacks the bottom row */
  .t-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
    padding: 2.25rem 1.25rem 1.5rem !important;
  }
  .t-footer-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    padding: 1rem 1.25rem !important;
  }

  /* Anchor any flex row with min-width:200px (used by inline banners
     on the homepage) so a long unbroken phrase doesn't overflow. */
  [style*="min-width:200px"] { min-width: 0 !important; }
}

/* Tighter still on very narrow phones (older iPhone SE, etc.) */
@media (max-width: 380px) {
  .t-hero, .t-content, .t-how, .t-photo, .t-vetting-inner, .t-vs,
  .t-areas-inner, .t-footer-inner, .t-footer-bottom {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .t-page-h1, .t-h1 { font-size: 24px !important; }
}

/* Defense-in-depth: prevent ANY page from horizontal-scrolling on
   mobile, regardless of whether some embedded widget / iframe /
   third-party script overflows. Works in tandem with the per-page
   `body { overflow-x: hidden }` inline style on index.html. */
html, body { max-width: 100vw; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
/* Reserve nav + footer height to prevent CLS from JS injection */
#nav { min-height: 72px; }
#footer { min-height: 360px; }

/* ── ACCESSIBILITY: keyboard focus ──────────────────────────
   Visible focus ring on every interactive element when reached via
   keyboard. Uses :focus-visible so mouse clicks don't show the ring.
   The default browser outline is suppressed inconsistently across
   our UI; this gives a uniform high-contrast indicator. */
:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus { outline: none; }
:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline: 2px solid #3b5bdb;
  outline-offset: 2px;
  border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #3b5bdb;
  outline-offset: 1px;
}
/* Skip-link target — invisible until focused via keyboard.
   Use width/height + clip rather than off-screen positioning so pages with
   overflow-x:hidden + sticky nav can't accidentally render the link as a
   visible bar above the header. */
.skip-link {
  position: fixed !important;
  top: 0;
  left: 0;
  background: #1a1a18;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 0 0 8px 0;
  font-size: 13px;
  font-weight: 600;
  z-index: 99999;
  text-decoration: none;
  /* Hidden by default. Translates fully off-screen vertically so it can't
     bleed through any overflow context. clip-path is a second hide layer
     in case a parent with transform breaks position:fixed (Safari quirk). */
  transform: translateY(-200%);
  clip-path: inset(50%);
  pointer-events: none;
  transition: transform 0.15s ease;
}
.skip-link:focus, .skip-link:focus-visible {
  transform: translateY(0);
  clip-path: none;
  pointer-events: auto;
  outline: 3px solid #c5cfff;
  outline-offset: 0;
}
/* sr-only — visually hidden, still readable by screen readers. */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
