/* 1494 Labs · every page but the home page
   Shared by the notes, the solution pages, capabilities and the legal pages.
   Tokens, type and the site header come from /DESIGN.md and match the home
   page's inline styles; change both together. */

@font-face{font-family:"Newsreader";font-style:normal;font-weight:400;font-display:swap;
  src:url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:swap;
  src:url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;
  src:url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;
  src:url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;
  src:url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2")}
/* EB Garamond is for the 1494 ledger page on the home page and nowhere else. */
@font-face{font-family:"EB Garamond";font-style:normal;font-weight:400;font-display:swap;
  src:url("/assets/fonts/eb-garamond-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"EB Garamond";font-style:italic;font-weight:400;font-display:swap;
  src:url("/assets/fonts/eb-garamond-latin-400-italic.woff2") format("woff2")}
@font-face{font-family:"EB Garamond";font-style:normal;font-weight:600;font-display:swap;
  src:url("/assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2")}

:root{
  /* color: one ink, one accent, neutrals */
  --ground:#F5F6F8; --sheet:#FFFFFF;
  --ink:#0E1A2B; --ink-2:#3B4657; --muted:#4A5568;
  --rule:#D9DDE3; --rule-faint:#E8EBEF;
  --accent:#2338D9; --accent-deep:#16259A; --accent-tint:#E6E9FB;
  --tie:#CDF25A;
  --dark:#0E1A2B; --on-dark:#F5F6F8; --on-dark-2:#A9B3C2;
  --loss:#C81E3A; --attention:#6D28D9; --attention-tint:#F1EAFD;
  /* type: serif display, sans body. Tabular figures are opt-in (tables, amounts, .num):
     applied to body text they give the hyphen a figure-width box. */
  --display:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,monospace;
  /* type scale, defined once */
  --step--1:.875rem; --step-0:1rem; --step-1:1.25rem;
  --step-2:clamp(1.5rem,3vw,2rem);
  --step-3:clamp(1.875rem,4.2vw,2.75rem);
  --step-4:clamp(2.125rem,5.2vw,4rem);
  /* vertical rhythm: 8px base */
  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:40px; --space-5:72px; --space-6:112px;
  --shadow:0 1px 2px rgba(14,26,43,.06),0 12px 32px rgba(14,26,43,.08);
  --measure:38rem;
  --gutter:clamp(16px,5vw,40px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}
body{
  margin:0; background:var(--ground); color:var(--ink-2);
  font-family:var(--sans); font-size:1rem; line-height:1.55;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
::selection{background:var(--accent-tint);color:var(--ink)}

.wrap{max-width:46rem;margin:0 auto;padding:40px var(--gutter) 72px}
.measure{max-width:var(--measure)}

/* ── site header: the same on every page ──────────────── */
header.site .bar{
  max-width:70rem;margin:0 auto;padding:20px var(--gutter);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;
}
.lockup{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.lockup svg{width:28px;height:28px;color:var(--accent);flex:none}
.wordmark{font-family:var(--display);font-size:1.375rem;font-weight:500;line-height:1}
.sitenav{display:flex;flex-wrap:wrap;gap:4px 24px}
.sitenav a{
  font-size:1rem;color:var(--ink-2);text-decoration:none;padding:8px 0;
  text-underline-offset:6px;text-decoration-thickness:1px;
}
.sitenav a:hover,.sitenav a[aria-current="page"]{color:var(--ink);text-decoration-line:underline}
.sitenav a.demo{background:var(--ink);color:var(--ground);font-weight:500;padding:12px 20px;text-decoration:none}
.sitenav a.demo:hover{background:var(--accent);color:#fff;text-decoration:none}
/* Phone width (#1449): the four links fold behind one Menu button (a native
   <details>, so it needs no script) and open as a list of 44px rows under the
   bar. The desktop nav is the same four links; only one of the two shows. */
.navmenu{display:none}
.navmenu:not([open]) nav{display:none}
@media (max-width:640px){
  header.site .bar{position:relative;padding-top:12px;padding-bottom:12px}
  .sitenav{display:none}
  .navmenu{display:block}
  .navmenu summary{
    list-style:none;display:flex;align-items:center;gap:8px;
    min-height:44px;min-width:44px;padding:0 4px;margin-right:-4px;
    font-weight:600;color:var(--ink);cursor:pointer;
    -webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:manipulation;
  }
  .navmenu summary::-webkit-details-marker{display:none}
  .navmenu summary svg{width:20px;height:20px;flex:none}
  .navmenu summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .navmenu nav{
    position:absolute;left:0;right:0;top:100%;z-index:10;
    display:flex;flex-direction:column;
    background:var(--ground);border-bottom:1px solid var(--rule);padding:0 var(--gutter) 8px;
  }
  .navmenu nav a{
    display:flex;align-items:center;min-height:44px;
    color:var(--ink-2);text-decoration:none;border-top:1px solid var(--rule-faint);
    touch-action:manipulation;
  }
  .navmenu nav a[aria-current="page"]{color:var(--ink);font-weight:600}
  .navmenu nav a.demo{color:var(--ink);font-weight:600}
}

/* ── typography ───────────────────────────────────────── */
h1{
  font-family:var(--display);font-weight:400;font-size:var(--step-4);color:var(--ink);
  line-height:1.06;letter-spacing:-.01em;margin:0 0 var(--space-3);text-wrap:balance;
}
.standfirst{
  font-size:1.25rem;line-height:1.5;color:var(--ink-2);margin:0;max-width:var(--measure);
}
.byline{font-size:.875rem;color:var(--muted);margin:16px 0 0}
article{margin-top:40px}
article > *{max-width:var(--measure)}
h2{
  font-family:var(--display);font-weight:400;font-size:var(--step-2);color:var(--ink);
  line-height:1.18;letter-spacing:-.005em;margin:56px 0 var(--space-2);text-wrap:balance;
}
h3{font-family:var(--display);font-weight:500;font-size:var(--step-1);line-height:1.3;color:var(--ink);margin:32px 0 8px}
p{margin:0 0 16px}
strong{font-weight:600;color:var(--ink)}
em{font-style:italic}
a{color:var(--accent);text-underline-offset:2px}
a:hover{color:var(--accent-deep)}
a:focus-visible,.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
code{
  font-family:var(--mono);font-size:.875rem;color:var(--ink);background:var(--sheet);
  border:1px solid var(--rule-faint);border-radius:2px;padding:1px 4px;
}
ul,ol{margin:0 0 16px;padding-left:22px}
li{margin-bottom:8px}
li::marker{color:var(--accent)}
hr{border:0;margin:40px 0}

/* ── tables: worked numbers are the point of these pages ─ */
.tablewrap{overflow-x:auto;margin:24px 0;background:var(--sheet);border:1px solid var(--rule);box-shadow:var(--shadow);max-width:100%}
table{border-collapse:collapse;width:100%;font-size:.875rem;min-width:24rem;color:var(--ink)}
caption{
  caption-side:top;text-align:left;padding:12px 16px 8px;
  font-size:.875rem;font-weight:600;color:var(--ink);
}
th,td{text-align:left;padding:8px 16px;border-bottom:1px solid var(--rule-faint);vertical-align:top}
tbody tr:last-child td{border-bottom:0}
thead th{font-size:.875rem;font-weight:400;color:var(--muted);border-bottom:1px solid var(--rule)}
td.n,th.n{text-align:right;white-space:nowrap}
table,td.n,th.n,.num{font-variant-numeric:tabular-nums}
th[scope="row"]{font-variant-numeric:normal}
/* A total: one ink rule above the figure, two below. */
tr.total td{font-weight:600;border-top:1px solid var(--ink)}
tr.total td.n{border-bottom:3px double var(--ink)}
.neg{color:var(--loss)}

/* ── callouts ─────────────────────────────────────────── */
.note{background:var(--sheet);border:1px solid var(--rule);border-left:3px solid var(--accent);padding:16px 24px;margin:24px 0}
.note p:last-child{margin-bottom:0}
.note .tag{display:block;font-weight:600;color:var(--ink);margin-bottom:8px}

/* ── notes index ──────────────────────────────────────── */
.notelist{list-style:none;margin:40px 0 0;padding:0;max-width:var(--measure)}
.notelist li{margin:0 0 32px}
.notelist a{text-decoration:none;color:inherit;display:block}
.notelist h2{font-size:var(--step-1);line-height:1.3;margin:0 0 8px;color:var(--accent)}
.notelist a:hover h2{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.notelist p{color:var(--ink-2);margin:0}
.fine{font-size:.875rem;color:var(--muted)}
.endcta + .fine{margin-top:40px}

/* ── end matter ───────────────────────────────────────── */
.endcta{
  margin-top:56px;padding:24px;background:var(--sheet);
  border:1px solid var(--rule);max-width:var(--measure);
}
.endcta h2{font-size:var(--step-1);line-height:1.3;margin:0 0 8px}
.endcta p{margin:0 0 16px;color:var(--ink-2)}
.endcta p:last-child{margin-bottom:0}
.btn{
  display:inline-block;font-family:var(--sans);font-size:1rem;font-weight:500;line-height:1.25;
  background:var(--accent);color:#fff;text-decoration:none;
  padding:16px 26px;border-radius:0;
}
.btn:hover{background:var(--accent-deep);color:#fff}

footer.site{
  margin-top:72px;display:flex;flex-wrap:wrap;gap:8px 24px;align-items:baseline;
}
footer.site span,footer.site a{font-size:.875rem;color:var(--muted)}
footer.site span{flex-basis:100%}
footer.site a{text-decoration:none}
footer.site a:hover{color:var(--ink);text-decoration:underline}

/* ── product screens ────────────────────────────────────── */
.shot{margin:32px 0 0}
/* Text after a screenshot needs air, or it reads as part of the caption (#2150). */
.shot + p,.shot + h2,.shot + h3{margin-top:28px}
.shot img{
  display:block;width:100%;height:auto;
  border:1px solid var(--rule);background:var(--sheet);box-shadow:var(--shadow);
}
.shot figcaption{font-size:.875rem;line-height:1.5;color:var(--muted);margin:12px 0 0}
.shot figcaption b{color:var(--ink);font-weight:600}

/* A figure is a full-width element on a text page: `article > *` clamps to the
   reading measure, which would squeeze a screenshot into a column. */
article > .shot{max-width:none}

/* ── solution pages ───────────────────────────────────── */
/* Same shell as a note, different job: these answer "does it do X for my kind
   of fund", so they carry a summary list and a closing call rather than a
   worked argument. */
.keypoints{list-style:none;margin:32px 0 0;padding:0}
.keypoints li{
  display:flex;gap:12px;align-items:baseline;margin:0;
  padding:8px 0;color:var(--ink-2);
}
/* The tick is drawn, not a glyph: the character stays in the markup for text
   readers and is painted over by the accent mark. */
.keypoints .tick{
  flex:none;width:14px;height:14px;align-self:center;overflow:hidden;color:transparent;
  background:var(--accent);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5 5.5 11 12 3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5 5.5 11 12 3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pagelinks{list-style:none;margin:16px 0 0;padding:0}
.pagelinks li{margin-bottom:8px}

/* A screenshot is evidence, and evidence has to be legible. At the reading
   measure the product's own type renders at about 7px, so on a wide viewport
   the figure breaks out of the column and centres on it. */
@media (min-width:1180px){
  article > .shot{width:58rem;margin-left:50%;transform:translateX(-50%)}
  article > .shot figcaption{max-width:46rem;margin-left:auto;margin-right:auto}
}

/* Phone hit areas (#1453). Icons and desktop geometry keep DESIGN.md's sizes;
   standalone links own their padding. Links inside prose stay inline. */
@media (max-width:767.98px){
  .lockup,.sitenav a,.btn,.btnlink,.solutions h3 a,footer.site a{
    display:inline-flex;align-items:center;min-width:44px;min-height:44px;
  }
  .fg input,.fg select{min-height:44px}
}

/* Public reading formats and assistant handoffs. */
.assistant-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:40px 0 24px}
.assistant-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--rule);border-radius:0;background:var(--sheet);font-size:.875rem;text-decoration:none}
.assistant-links a:hover{border-color:var(--accent);background:var(--accent-tint)}

/* Buyer search pages use the established reading column and shared footer. */
.buyer-page .wrap + .wrap{padding-top:0}
.buyer-page .wrap + .wrap footer.site{margin-top:40px}
