/* Guides for investors (/investors/guides, /startups/investors/compare/*, ...). Builds on the research
   stylesheet (layout, contents, cards); this adds comparison tables, options, verdicts,
   questions, templates and the call to action. Classes start with ig-. */
[data-area="ig"] { --a1: #3f4fd8; --a2: #a6c8f5; --a3: #cbbcf7; --ag: #eceff9; }
.ig-crumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 13.5px; color: var(--muted); }
.ig-hub .ig-crumbs { justify-content: flex-start; margin-bottom: 22px; }
.ig-crumbs a:hover { color: var(--ink); }
.ig-crumbs span { color: var(--faint); }
.ig-page > header .rs-pmeta span + span::before { content: none; }
.ig-group { padding-top: 96px; scroll-margin-top: 80px; }
.ig-group .rs-grid { gap: 44px 24px; }

/* the comparison table */
.ig-matrix { margin: 26px 0 30px; border-top: 1px solid var(--ink); font-size: 14.5px; line-height: 1.45; }
.ig-matrix > div { display: grid; grid-template-columns: 1.05fr repeat(calc(var(--cols) - 1), minmax(0, 1.25fr)); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink2); }
.ig-matrix > div.h { font-size: 13px; color: var(--muted); font-weight: 500; position: sticky; top: 60px; background: rgba(255,255,255,.95); z-index: 1; }
.ig-matrix > div > span:first-child { color: var(--ink); font-weight: 500; }
.ig-matrix i { display: inline-block; font-style: normal; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; margin-right: 6px; }
.ig-y { background: #e9f2ec; color: #1f5f3f; }
.ig-n { background: #f1f1f1; color: #6e6e6e; }
.ig-p { background: #efedfc; color: #4a3fc4; }

/* the short answer, the verdict, the options */
.ig-answer span { color: var(--signal) !important; }
.ig-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 34px; background: #f6f6f5; border-radius: 10px; padding: 10px; }
.ig-verdict > div { background: #fff; border-radius: 7px; padding: 20px 22px; }
.ig-verdict b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); }
.ig-verdict p { margin: 8px 0 0 !important; font-size: 15px !important; line-height: 1.55 !important; }
.ig-opts { display: grid; gap: 12px; margin: 22px 0 34px; }
.ig-opt { border: 1px solid #e7e7e7; border-radius: 12px; padding: 22px 24px; }
.ig-opt header { display: flex; align-items: center; gap: 10px; }
.ig-opt h3 { font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.ig-ours { font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; background: var(--signal); color: #fff; }
.ig-who { margin: 6px 0 12px !important; font-size: 15.5px !important; color: var(--ink) !important; }
.ig-opt dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 16px; font-size: 14.5px; line-height: 1.5; }
.ig-opt dt { color: var(--muted); }
.ig-opt dd { margin: 0; color: var(--ink2); }
.ig-opt > a { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: #c9c9c9; text-underline-offset: 3px; }

/* questions */
.ig-q { border-bottom: 1px solid var(--line); }
.ig-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.ig-q summary::-webkit-details-marker { display: none; }
.ig-q summary::after { content: "+"; color: var(--faint); font-weight: 400; transition: transform .2s; }
.ig-q[open] summary::after { transform: rotate(45deg); }
.ig-q p { margin: -4px 0 18px !important; font-size: 16.5px !important; }

/* templates */
.ig-tpl { margin: 24px 0 32px; border: 1px solid #e7e7e7; border-radius: 12px; overflow: hidden; }
.ig-tpl header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #f6f6f5; }
.ig-tpl header b { font-size: 14px; font-weight: 500; }
.ig-tpl button { height: 30px; padding: 0 13px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; }
.ig-tpl pre { margin: 0; padding: 18px 20px; font: 13.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink2); white-space: pre-wrap; overflow-x: auto; }

/* the call to action */
.ig-cta { margin: 52px 0 10px; border-radius: 12px; padding: 28px 28px 26px; background: radial-gradient(120% 120% at 0% 0%, #e3e9fb, transparent 60%), radial-gradient(90% 90% at 100% 100%, #efe9fd, transparent 60%), #f6f6f5; }
.ig-cta b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
.ig-cta p { margin: 8px 0 18px !important; font-size: 16px !important; max-width: 46ch; }
.ig-cta div { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 700px) {
  .ig-matrix > div { grid-template-columns: 1fr; gap: 4px; }
  .ig-matrix > div.h { display: none; }
  .ig-matrix > div > span:not(:first-child)::before { content: attr(data-col); color: var(--muted); font-weight: 500; }
  .ig-verdict { grid-template-columns: 1fr; }
  .ig-opt dl { grid-template-columns: 1fr; gap: 2px; }
  .ig-opt dd { margin-bottom: 8px; }
}
