/* =========================================================
   Translead Foundation — Design System & Site Styles
   ========================================================= */

:root {
  /* Brand colors (sampled from brand mockups) */
  --blue-900: #14134F;
  --blue-800: #1B1A8A;
  --blue-700: #211FA6;
  --blue-600: #2A28C4;   /* primary brand blue */
  --blue-500: #3B39D6;
  --blue-100: #E7E7FB;
  --blue-050: #F2F2FD;

  --red-700: #B31812;
  --red-600: #E8281E;    /* primary brand red */
  --red-500: #F2453B;
  --red-100: #FCE3E1;

  --ink-900: #101026;
  --ink-700: #34344F;
  --ink-500: #5B5B78;
  --ink-300: #9494AC;
  --ink-100: #E4E4EE;

  --white: #FFFFFF;
  --off-white: #F7F7FB;
  --border: #E6E6F2;

  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(16, 16, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 16, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 16, 38, 0.16);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--blue-900);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.3px; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 16px; color: var(--ink-700); }
.lede { font-size: 1.15rem; color: var(--ink-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

.section-tight { padding: 56px 0; }
.bg-off { background: var(--off-white); }
.bg-blue {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600) 55%, var(--blue-800));
  color: var(--white);
}
.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4 { color: var(--white); }
.bg-blue p { color: rgba(255,255,255,0.86); }
.bg-navy { background: var(--blue-900); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--red-600);
  border-radius: 2px;
}
.bg-blue .eyebrow, .bg-navy .eyebrow { color: #FF8A83; }
.bg-blue .eyebrow::before, .bg-navy .eyebrow::before { background: #FF8A83; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Dash strip (brand motif from mockups) ---------- */
.dash-strip {
  display: flex;
  gap: 6px;
  height: 6px;
}
.dash-strip span {
  flex: 1;
  max-width: 26px;
  height: 100%;
  border-radius: 3px;
  background: var(--red-600);
}
.dash-strip.alt span:nth-child(3n) { background: var(--blue-600); }
.dash-strip.on-dark span { background: rgba(255,255,255,0.35); }
.dash-strip.on-dark span:nth-child(4n) { background: var(--red-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-arrow::after { content: "→"; transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-primary { background: var(--red-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-700); box-shadow: var(--shadow-md); }

.btn-light { background: var(--white); color: var(--blue-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--blue-050); }

.btn-outline { background: transparent; border-color: var(--blue-600); color: var(--blue-600); }
.btn-outline:hover { background: var(--blue-600); color: var(--white); }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--blue-700); border-color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand { color: var(--blue-700); }
.brand svg { height: 38px; width: auto; }
.brand .tl-logo-mark { color: var(--blue-700); }
.brand .tl-logo-word { color: var(--ink-900); }

.main-nav { display: flex; }
.main-nav ul { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-700);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-700); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.mobile-cta { display: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  position: relative;
  transition: all .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
    overflow-y: auto;
    padding: 10px 0 40px;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px; }
  .main-nav a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--border); }
  .header-cta .btn-outline,
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-cta { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 100px;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-800) 0%, var(--blue-600) 60%, var(--blue-700) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), transparent 60%);
}
.hero .stripes {
  position: absolute;
  top: 0; right: 0;
  width: 46%;
  height: 100%;
  opacity: 0.5;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.10) 0 10px, transparent 10px 24px);
  mask-image: linear-gradient(to left, black, transparent 85%);
}
.hero .blob {
  position: absolute;
  left: -80px; bottom: -140px;
  width: 380px; height: 380px;
  background: var(--red-600);
  border-radius: 50%;
  opacity: 0.9;
  filter: blur(0px);
}
.hero h1, .hero h2, .hero h3, .hero h4 { color: var(--white); }
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero.hero-page { padding: 64px 0 76px; }
.hero-inner.wide { max-width: 900px; }
.hero p.lede { color: rgba(255,255,255,0.88); }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.breadcrumb span { opacity: 0.55; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-050);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: var(--ink-500); font-size: 0.98rem; }

.card-accent { border-top: 4px solid var(--red-600); }

.value-card .icon { background: var(--red-100); color: var(--red-600); }

/* Focus area cards with number */
.num-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  height: 100%;
}
.num-card .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--blue-600);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.num-card p { color: var(--ink-500); margin-bottom: 0; font-size: 0.97rem; }

/* Stat row */
.stat-row { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 8px; }
.stat { min-width: 140px; }
.stat .n { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--white); }
.stat .l { font-size: 0.86rem; color: rgba(255,255,255,0.78); text-transform: uppercase; letter-spacing: 0.6px; }

/* Two-col media/text */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split > * { min-width: 0; }
.split.rev { grid-template-columns: 1.1fr 0.9fr; }
.split.rev .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.rev { grid-template-columns: minmax(0, 1fr); }
  .split.rev .split-media { order: 0; }
}
.split-media { position: relative; }
.media-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-500));
  aspect-ratio: 4/3.2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.media-panel .pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.10) 0 10px, transparent 10px 26px);
  opacity: 0.6;
}
.media-panel .glyph { position: relative; z-index: 2; width: 42%; color: rgba(255,255,255,0.92); }
.media-panel .corner-blob {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: var(--red-600); right: -60px; bottom: -70px; opacity: 0.9;
}
.media-panel .ring {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.35); top: -30px; left: -30px;
}

/* List with check/dash markers */
.mark-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-700);
}
.mark-list li:last-child { border-bottom: none; }
.mark-list .m {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}
.mark-list.on-dark li { border-bottom-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); }
.mark-list.on-dark .m { background: rgba(255,255,255,0.14); color: #fff; }

/* Values grid with red top accent circle */
.value-item { text-align: left; }
.value-item .icon-round {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-item .icon-round svg { width: 26px; height: 26px; }

/* CTA band */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(120deg, var(--blue-700), var(--blue-600));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--red-600); opacity: 0.85;
}
.cta-band .inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; max-width: 520px; }
@media (max-width: 720px) { .cta-band { padding: 40px 28px; } }

/* Timeline / process steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 62px;
  padding-bottom: 34px;
  border-left: 2px dashed var(--border);
  margin-left: 20px;
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -21px; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Quote / pull */
.pull-quote {
  border-left: 4px solid var(--red-600);
  padding: 6px 0 6px 26px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--blue-900);
  font-weight: 600;
  margin: 8px 0 24px;
}

/* Tag pill */
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-050);
  color: var(--blue-700);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}
.pill-red { background: var(--red-100); color: var(--red-700); }

/* Content article/news cards */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-thumb {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  aspect-ratio: 16/10;
  background: linear-gradient(140deg, var(--blue-600), var(--blue-800));
  position: relative;
  overflow: hidden;
}
.post-thumb .pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.12) 0 8px, transparent 8px 20px);
}
.post-thumb .tag {
  position: absolute; left: 16px; top: 16px;
  background: var(--white); color: var(--blue-700);
  font-family: var(--font-head); font-weight: 600; font-size: 0.74rem;
  padding: 5px 12px; border-radius: 999px;
}
.post-body {
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 24px 24px 26px;
  flex: 1;
  display: flex; flex-direction: column;
}
.post-body .meta { font-size: 0.8rem; color: var(--ink-300); margin-bottom: 10px; font-family: var(--font-head); }
.post-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.post-body p { font-size: 0.94rem; color: var(--ink-500); flex: 1; }
.post-body .read-more { font-family: var(--font-head); font-weight: 600; color: var(--red-600); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }

/* Form */
.form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--ink-700); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--ink-900);
  outline: none;
  width: 100%;
  min-width: 0;
  transition: border-color .15s ease, background .15s ease;
}
.field { min-width: 0; }
.form-row { min-width: 0; }
.form-row > .field { min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); background: var(--white); }
.field textarea { resize: vertical; min-height: 130px; }

.info-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-line .icon-round { flex: none; width: 44px; height: 44px; background: var(--blue-050); color: var(--blue-600); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.info-line .icon-round svg { width: 20px; height: 20px; }
.info-line h4 { margin-bottom: 4px; }
.info-line p { margin-bottom: 0; color: var(--ink-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,0.85); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand svg { height: 36px; width: auto; color: var(--white); margin-bottom: 18px; }
.footer-brand .tl-logo-mark { color: var(--white); }
.footer-brand .tl-logo-word { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.65); max-width: 320px; font-size: 0.94rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.68); font-size: 0.94rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #FF8A83; }

.newsletter { display: flex; gap: 10px; margin-top: 6px; }
.newsletter input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  border: none; border-radius: var(--radius-sm);
  background: var(--red-600); color: var(--white);
  font-family: var(--font-head); font-weight: 600;
  padding: 12px 18px; cursor: pointer;
}
.newsletter button:hover { background: var(--red-700); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding: 26px 0;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.social-row a:hover { background: var(--red-600); }
.social-row svg { width: 17px; height: 17px; color: var(--white); }

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--white); color: var(--blue-700);
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
  font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w { max-width: 640px; }
.center-col { margin-left: auto; margin-right: auto; }
