/* ─────────────────────────────────────────────────────────────────
   Iuvara marketing site — consolidated component stylesheet.
   Shared by every page. Design tokens (palette, spacing, the serif
   font) come from colors_and_type.css; this file holds the marketing
   site's own component classes. Body font (Instrument Sans) imported
   below. All per-element layout is set via inline style attributes
   in the markup.
   ───────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&display=swap');

body { margin: 0; background: #F0EAD8; }

.body { font-family: 'Instrument Sans', system-ui, sans-serif; }
.serif { font-family: var(--iuv-font-serif); }
.head { font-family: 'Instrument Sans', system-ui, sans-serif; }

/* Eyebrow labels */
.eyebrow {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: #8A8A80;
}

/* Header navigation */
.nav-link {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px; letter-spacing: 0.01em;
  color: rgba(224,216,196,0.62); text-decoration: none;
  transition: color 120ms cubic-bezier(0.32,0.08,0.24,1);
}
.nav-link:hover { color: #E0D8C4; }
.nav-link.current { color: #E0D8C4; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu-item { position: relative; display: flex; align-items: center; }
.caret {
  display: inline-block; margin-left: 5px; width: 0; height: 0;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor; opacity: 0.7; vertical-align: middle;
}
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 14px; opacity: 0; visibility: hidden;
  transition: opacity 120ms cubic-bezier(0.32,0.08,0.24,1);
}
.menu-item:hover .submenu { opacity: 1; visibility: visible; }
.submenu-inner {
  background: #0F1E33; border: 1px solid #263646; border-radius: 2px;
  padding: 8px; min-width: 210px; display: flex; flex-direction: column;
}
.submenu-inner a {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13px; color: rgba(224,216,196,0.72); text-decoration: none;
  padding: 9px 12px; border-radius: 2px; white-space: nowrap;
  transition: background 120ms cubic-bezier(0.32,0.08,0.24,1), color 120ms;
}
.submenu-inner a:hover { background: rgba(255,255,255,0.05); color: #E0D8C4; }

/* Asymmetric heading-rail layout */
.rail {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.4fr);
  gap: 56px; align-items: start;
}
@media (max-width: 720px) { .rail { grid-template-columns: 1fr; gap: 20px; } }

/* Display numerals (serif) */
.num {
  font-family: var(--iuv-font-serif); font-weight: 600;
  color: #0C1828; line-height: 0.9; letter-spacing: -0.01em;
}

/* Home — lede list */
.lede { list-style: none; margin: 0; padding: 0; }
.lede li {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 19px; line-height: 1.55; color: #2A2A28;
  padding: 22px 0; border-top: 1px solid #D0C8B4;
}
.lede li:last-child { border-bottom: 1px solid #D0C8B4; }

/* Home — "who are you" rows */
.who-row {
  display: flex; align-items: baseline; gap: 22px; padding: 30px 0;
  border-top: 1px solid #D0C8B4; text-decoration: none;
  transition: padding-left 160ms cubic-bezier(0.32,0.08,0.24,1);
}
.who-row:hover { padding-left: 14px; }
.who-row:hover .who-arrow { color: #14706F; }

/* Established experts — comparison table */
.cmp-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.3fr) minmax(0,1.3fr);
}
@media (max-width: 720px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-row > div:first-child { padding-bottom: 4px !important; }
}

/* How it works — steps + screenshots */
.stepnum {
  font-family: var(--iuv-font-serif); font-size: 42px; font-weight: 600;
  color: #2BBFBF; line-height: 0.9;
}
.hiw-shot {
  margin: 26px 0 0; border: 1px solid #D0C8B4; border-radius: 2px;
  overflow: hidden; background: #fff;
}
.hiw-shot img { display: block; width: 100%; height: auto; }
.hiw-cap {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 12px; line-height: 1.5; color: #8A8A80; margin: 10px 0 0;
}

/* Principles — acrostic */
.qual {
  display: grid; grid-template-columns: auto minmax(0,1fr);
  column-gap: 24px; align-items: start; padding: 22px 0;
  border-top: 1px solid #D0C8B4;
}
.qual .initial { grid-row: span 2; }
@media (max-width: 720px) { .qual { padding: 18px 0; } }
.initial {
  font-family: var(--iuv-font-serif); font-size: 56px; font-weight: 500;
  color: #0C1828; line-height: 0.78; width: 52px; text-align: center;
}
.qgrid { display: grid; grid-template-columns: 1fr; max-width: 760px; }
.qgrid .qual:first-child { border-top: 1px solid #D0C8B4 !important; }

/* About — credentials */
.cred li {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 16.5px; line-height: 1.5; color: #2A2A28;
}

/* Privacy notice — document body */
.pn a { color: #14706F; text-decoration: none; border-bottom: 1px solid rgba(20,112,111,0.3); }
.pn a:hover { border-bottom-color: #14706F; }
.pn h2 {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 26px; font-weight: 600; color: #2A2A28; margin: 0 0 6px;
  scroll-margin-top: 82px;
}
.pn p {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 18px; line-height: 1.68; color: #58584E; margin: 0;
  text-align: justify;
}
.pn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pn li {
  display: flex; gap: 14px;
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 18px; line-height: 1.6; color: #58584E; text-align: justify;
}
.pn li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 11px;
  background: #2BBFBF; border-radius: 50%;
}
.toc a {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 13.5px; line-height: 1.9; color: #58584E; text-decoration: none;
}
.toc a:hover { color: #14706F; }

/* Scroll-reveal — fails open (visible) if JS does not run */
.reveal.armed {
  opacity: 0; transform: translateY(16px);
  transition: opacity 620ms cubic-bezier(0.16,1,0.3,1), transform 620ms cubic-bezier(0.16,1,0.3,1);
}
.reveal.armed.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal.armed { opacity: 1 !important; transform: none !important; transition: none !important; }
}
