/* IDEN — Investment Data Exchange Network
   Webflow-compatible vanilla CSS. No build step. */

:root {
  /* Brand palette */
  --navy: #001A31;
  --navy-2: #002847;
  --navy-deep: #001124;
  --blue: #1391FE;
  --blue-2: #4FAFFE;
  --blue-soft: #E1F0FF;
  --tile: #1391FE;          /* I-tile blue */
  --tile-2: #4FAFFE;
  --orange: #F48400;
  --orange-2: #FFA133;
  --orange-soft: #FFEAC9;
  --ink: #001A31;
  --ink-2: #1A3550;
  --muted: #5A6678;
  --muted-2: #8A95A6;
  --line: #E4E9F0;
  --line-2: #EEF2F7;
  --paper: #FFFFFF;
  --paper-2: #F6F8FB;
  --paper-3: #FAFBFD;
  --ok: #007867;

  --container: 1240px;
  --radius: 6px;
  --radius-lg: 12px;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ───────── Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
h4 { font-weight: 700; font-size: 16px; line-height: 1.3; }
p  { margin: 0 0 14px 0; color: var(--ink-2); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow--on-dark { color: var(--tile); }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }

/* ───────── Top nav (style 0: dark navy) */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; align-items: center; height: 32px; }
.brand-mark img { height: 32px; width: auto; display: block; }
.brand-mark .word { display: none; }
.brand-mark .i-tile { display: none; }
.brand-tag {
  display: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 12px;
  margin-left: 4px;
  max-width: 240px;
  line-height: 1.3;
}
@media (min-width: 900px) {
  .brand-tag { display: block; }
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
  transition: color .15s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
}

/* ───────── Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: #D87600; border-color: #D87600; }
.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover { background: #0B7CE0; border-color: #0B7CE0; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-deep); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───────── Section helpers */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--navy-deep); color: #fff; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 56px;
  max-width: 800px;
}

/* ───────── Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner {
  position: relative;
  padding: 120px 0 130px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,0.78); font-size: 21px; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* Constellation dots/lines bg */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(19,145,254,0.12) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(244,132,0,0.10) 0, transparent 45%);
}

/* ───────── Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(15,27,45,0.06); border-color: #D7DEE8; }
.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}
.card--dark:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.card-num {
  font-family: var(--font);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 16px;
  display: inline-block;
}

/* Tile (square accent) — echoes the I tile */
.tile {
  width: 36px;
  height: 36px;
  background: var(--tile);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  position: relative;
}
.tile--orange { background: var(--orange); color: #fff; }
.tile--navy { background: var(--navy); color: var(--tile); }
.tile--lg { width: 56px; height: 56px; }
.tile svg { width: 20px; height: 20px; }
.tile--lg svg { width: 28px; height: 28px; }

/* ───────── Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ───────── Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-val {
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--dark .stat-val { color: #fff; }
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.section--dark .stat-label { color: rgba(255,255,255,0.6); }

/* ───────── Footer */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 36px;
  margin-top: 0;
}
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: rgba(255,255,255,0.68); }
.footer a:hover { color: #fff; }
.footer-legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ───────── Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.tag--orange { background: var(--orange-soft); color: #B33800; border-color: transparent; }
.tag--tile { background: rgba(19,145,254,0.12); color: #0B5BA8; border-color: transparent; }
.tag--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.tag--dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.12); }
.tag--ok { background: rgba(0,120,103,0.1); color: var(--ok); border-color: transparent; }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ───────── Form */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 96px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,81,0,0.12);
}
.field--error .input { border-color: #B71D18; box-shadow: 0 0 0 3px rgba(183,29,24,0.08); }
.field-error { font-size: 12px; color: #B71D18; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.checkbox-row input { margin-top: 3px; }

/* utility */
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 32px 0; }
.divider--dark { background: rgba(255,255,255,0.08); }
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Webflow note: classes are stable & plain, no custom selectors that require build tooling */
