/* =========================================================
   Dijit Finance — marketing site
   Palette pulled from the logo: deep navy + teal
   ========================================================= */
:root {
  --navy-900: #061726;
  --navy-800: #0b2540;
  --navy-700: #11365c;
  --navy-600: #1a4a7a;
  --teal-500: #2bb3b3;
  --teal-400: #3dcac5;
  --teal-300: #6fded9;
  --ink: #0b1622;
  --ink-2: #1d2a3a;
  --muted: #56697f;
  --muted-2: #8696aa;
  --line: #e6ecf2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --bg-accent: #eef6f6;
  --shadow-sm: 0 1px 2px rgba(11, 37, 64, 0.06), 0 1px 1px rgba(11, 37, 64, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 37, 64, 0.08), 0 2px 8px rgba(11, 37, 64, 0.06);
  --shadow-lg: 0 30px 70px rgba(11, 37, 64, 0.18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --grad: linear-gradient(135deg, #2bb3b3 0%, #3dcac5 50%, #2dd4bf 100%);
  --grad-navy: linear-gradient(180deg, #0b2540 0%, #061726 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy-800);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4.25rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--ink-2); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 12px 16px; z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy-800);
}
.brand-logo { height: 38px; width: auto; display: block; }
.brand-wordmark {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  line-height: 1;
  white-space: nowrap;
}
.brand-wordmark > span {
  font-weight: 500;
  color: var(--teal-500);
  margin-left: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal-500); }
.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--navy-800);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy-800);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #04282a;
  box-shadow: 0 8px 20px rgba(43, 179, 179, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(43, 179, 179, 0.45); }
.btn-ghost {
  background: transparent; color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-ghost:hover { background: var(--navy-800); color: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ========== HERO ========== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 78vh;
  display: flex; align-items: center;
  padding: 56px 0 64px;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
}
.hero-grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(43,179,179,0.28), transparent 60%),
    linear-gradient(180deg, rgba(6,23,38,0.93) 0%, rgba(11,37,64,0.96) 60%, rgba(6,23,38,0.98) 100%);
}
.hero-inner { max-width: 880px; }
.hero-logo {
  height: 88px;
  width: auto;
  display: block;
  margin-bottom: 28px;
  filter: drop-shadow(0 10px 30px rgba(43, 179, 179, 0.35));
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 12px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-400);
  padding: 6px 12px;
  background: rgba(43,179,179,0.12);
  border: 1px solid rgba(43,179,179,0.35);
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow-light {
  color: var(--teal-300);
  background: rgba(111,222,217,0.1);
  border-color: rgba(111,222,217,0.3);
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: clamp(1.05rem, 1vw + .85rem, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin-bottom: 36px;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stats span { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.hero-values strong {
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.3rem);
  color: var(--teal-300);
}
.hero-values span { font-size: 0.9rem; line-height: 1.5; }

/* ========== TRUST TICKER ========== */
.trustbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.trust-headline {
  text-align: center;
  font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);
  color: var(--navy-800);
  max-width: 760px;
  margin: 0 auto 32px;
}
.trust-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.trust-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.trust-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.trust-label {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-800);
  line-height: 1.2;
}
.trust-detail {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}
.trust-chip .trust-label {
  font-size: 1.05rem;
  color: var(--teal-500);
}

/* ========== SECTIONS ========== */
.section { padding: 110px 0; }
.section-dark {
  background: var(--grad-navy);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-accent { background: var(--bg-alt); }

.section-head {
  max-width: 820px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 12px;
}
.section-dark .section-sub,
.section-sub.light { color: rgba(255,255,255,0.78); }

/* ========== CARDS ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43,179,179,0.4);
}
.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card h3 { padding: 24px 24px 0; }
.card p  { padding: 0 24px; }
.card .ticks { padding: 0 24px 24px; }
.card.mini { padding: 28px; }
.card.mini h3 { padding: 0; margin-bottom: 10px; }
.card.mini p  { padding: 0; margin: 0; }

.ticks {
  list-style: none; padding: 0; margin: 0 0 8px;
}
.ticks li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 14px; height: 14px;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(43,179,179,0.15);
}
.ticks li::after {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ========== SPLIT (image + copy) ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 0; }
.split-copy h2 { margin-bottom: 18px; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-media img {
  width: 100%; height: 100%; object-fit: cover;
}

.bigticks {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 20px;
}
.bigticks li {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 28px; position: relative;
}
.bigticks li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(43,179,179,0.18);
}
.bigticks li::after {
  content: "";
  position: absolute; left: 5px; top: 12px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.bigticks strong {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-800);
}
.section-dark .bigticks strong { color: #fff; }
.bigticks span { color: var(--muted); font-size: 0.95rem; }
.section-dark .bigticks span { color: rgba(255,255,255,0.7); }

/* ========== WHY ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-item {
  padding: 32px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  transition: background .25s, border-color .25s, transform .25s;
}
.why-item:hover {
  background: rgba(43,179,179,0.06);
  border-color: rgba(43,179,179,0.4);
  transform: translateY(-3px);
}
.why-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.why-item h3 { color: #fff; margin-bottom: 8px; }
.why-item p  { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ========== INDUSTRIES ========== */
.industry-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.industry {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.industry-body { padding: 24px; }

/* ========== CONTACT ========== */
.section-cta {
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(43,179,179,0.35), transparent 70%),
    linear-gradient(180deg, #061726 0%, #0b2540 100%);
  color: #fff;
}
.section-cta h2 { color: #fff; }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.contact-form {
  margin-top: 40px;
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 32px;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
}
.contact-form label > span {
  color: rgba(255,255,255,0.85);
  font-weight: 500; font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: rgba(255,255,255,0.1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 22px;
}
.mailto { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.mailto:hover { color: var(--teal-300); }

/* ========== FOOTER ========== */
.footer {
  background: #061321;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand-link { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.6); margin: 16px 0 0; max-width: 360px; }
.footer-logo {
  height: 40px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}
.footer-wordmark { color: #fff; font-size: 1.25rem; }
.footer-wordmark > span { color: var(--teal-400); }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-cols h4 {
  color: #fff;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.footer-cols a {
  display: block; padding: 6px 0;
  color: rgba(255,255,255,0.7);
  transition: color .2s;
}
.footer-cols a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .cards, .cards.three { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: 1fr; }
  .trust-ticker { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split.reverse .split-media { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }

  .section { padding: 72px 0; }
  .hero { min-height: 92vh; padding: 60px 0 80px; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cards, .cards.three { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-item { padding: 22px; }
  .why-num { font-size: 2.4rem; }
  .contact-form { padding: 22px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 14px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 1 1 auto; }
  .trust-ticker { grid-template-columns: 1fr; }
  .trustbar { padding: 32px 0; }
}

@media (max-width: 720px) {
  .hero-logo { height: 72px; margin-bottom: 22px; }
}

@media (max-width: 420px) {
  .why-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 32px; }
  .brand-wordmark { font-size: 1rem; }
  .hero-logo { height: 64px; padding: 10px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
