/* Direct Insight Services — design system
   Palette matched to the DIS brand logo: slate-charcoal authority + crimson/orange accent,
   light-blue link tone. Enterprise, trustworthy, restrained.
   Source hexes from dic4.com: slate #3E4D5C, crimson #c71820, orange #E84D1C, blue #83bee0. */

:root {
  --navy-900: #23303b;
  --navy-800: #2c3a47;
  --navy-700: #3e4d5c;
  --navy-600: #4c5d6d;
  --slate-500: #5f6d7b;
  --slate-400: #7c8894;
  --slate-300: #a6afb8;
  --mist-200: #d3d9de;
  --mist-100: #ececee;
  --paper: #f7f8f9;
  --white: #ffffff;
  --gold: #b81d22;
  --gold-soft: #e84d1c;
  --steel: #4f9fce;
  --ink: #2b3640;
  --ok: #2f8f5b;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(35, 48, 59, .08), 0 1px 2px rgba(35, 48, 59, .06);
  --shadow-md: 0 10px 30px rgba(35, 48, 59, .10);
  --shadow-lg: 0 24px 60px rgba(35, 48, 59, .18);
  --maxw: 1160px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--steel); }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy-900); line-height: 1.18; letter-spacing: -0.01em; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.22rem; color: var(--slate-500); line-height: 1.6; }
.eyebrow { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0 0 1rem; }
.eyebrow.on-dark { color: var(--gold-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.center { text-align: center; }
.muted { color: var(--slate-500); }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-soft); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--mist-200); }
.btn-ghost:hover { border-color: var(--navy-600); color: var(--navy-800); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-lock::before { content: "🔒"; font-size: .85em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--mist-100);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-serif); font-weight: 600; color: var(--navy-900); font-size: 1.16rem; }
.brand:hover { color: var(--navy-900); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo--rev { filter: brightness(0) invert(1); opacity: .92; }
@media (max-width: 640px) { .brand-logo { height: 34px; } }
.brand small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-400); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy-800); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--steel); }
.nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: .2s; }
.nav-links .mobile-login { display: none; }
@media (max-width: 900px) { .nav-links.open .mobile-login { display: block; } .nav-links.open .mobile-login a { color: var(--gold); font-weight: 600; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(63,124,192,.28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(200,164,92,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 70% 20%, #000, transparent);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 100px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: var(--mist-200); max-width: 60ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badges { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero-badge { display: flex; align-items: center; gap: .6rem; color: var(--mist-200); font-size: .92rem; font-weight: 500; }
.hero-badge .ic { color: var(--gold-soft); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--mist-100); }
.trustbar .wrap { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; padding: 22px 24px; }
.trustbar span.label { color: var(--slate-400); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.logo-chip { color: var(--slate-500); font-weight: 600; font-family: var(--font-serif); font-size: 1.05rem; opacity: .8; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--mist-100); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--mist-200); }
.card .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--mist-100); color: var(--navy-600); margin-bottom: 16px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--slate-500); margin: 0; font-size: .98rem; }

.panel { background: var(--paper); }
.panel-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.panel-navy h2, .panel-navy h3 { color: #fff; }
.panel-navy p { color: var(--mist-200); }

/* ---------- Trust Center specifics ---------- */
.tc-item { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--mist-100); }
.tc-item:last-child { border-bottom: 0; }
.tc-num { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-800); color: var(--gold-soft); font-family: var(--font-serif); font-weight: 600; display: grid; place-items: center; }
.tc-item h3 { margin-bottom: .3em; }
.tc-item p { margin: 0; color: var(--slate-500); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-500); }
.check-list li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; margin-top: 1px; }

/* ---------- Audience strip ---------- */
.aud { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--mist-100); border-radius: var(--radius-sm); background: #fff; }
.aud .ic { color: var(--gold); }
.aud strong { display: block; color: var(--navy-900); }
.aud span { color: var(--slate-400); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: 18px; padding: 54px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--mist-200); max-width: 56ch; margin-inline: auto; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--mist-200); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(63,124,192,.15); }
.form-note { font-size: .85rem; color: var(--slate-400); }
.notice { display: flex; gap: 12px; align-items: flex-start; background: #fbf6ea; border: 1px solid var(--gold-soft); border-radius: var(--radius-sm); padding: 14px 16px; color: #6b5524; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--mist-200); padding: 64px 0 32px; }
.site-footer a { color: var(--mist-200); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .94rem; }
.footer-brand p { color: var(--slate-300); font-size: .92rem; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: var(--slate-400); font-size: .85rem; }

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.mini-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--mist-200); border: 1px solid rgba(255,255,255,.16); padding: 6px 11px; border-radius: 999px; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 72px 0 66px; }
.page-head h1 { color: #fff; }
.page-head .lead { color: var(--mist-200); max-width: 62ch; }
.breadcrumb { color: var(--slate-300); font-size: .85rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--slate-300); }

/* ---------- Utilities ---------- */
.stack-lg > * + * { margin-top: 20px; }
.divider { height: 1px; background: var(--mist-100); border: 0; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--navy-700); background: var(--mist-100); padding: 5px 11px; border-radius: 999px; }
.kicker-num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold); font-weight: 600; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--mist-100); box-shadow: var(--shadow-md); padding: 8px 0;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 12px 24px; width: 100%; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 36px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .cta-band, .no-print { display: none !important; }
  body { color: #000; }
  .section { padding: 18px 0; }
}
