/*
 * Optionality Capital — public site.
 *
 * Follows DESIGN.md v2 (austere pivot): one sans family, monochrome, square
 * corners, hairline rules, single column, left-aligned. Decoration level is
 * near-zero on purpose — restraint is the point, not a shortcut.
 *
 * One stylesheet for all three pages so they cannot drift apart. No webfont
 * and no CDN: the design system forbids both, and a stealth site should make
 * no third-party requests a visitor could be profiled by.
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:   #111;
  --ink2:  #3d3d3d;
  --muted: #767676;
  --faint: #9a9a9a;
  --hair:  #dcdcdc;
  --bg:    #fff;
  --font:  "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Masthead: wordmark, quiet tag, then the one strong horizontal rule. */
.wm  { font-size: 24px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); }
.tag { margin-top: 6px; font-size: 9px; font-weight: 600; letter-spacing: 1.7px;
       text-transform: uppercase; color: var(--muted); }
.rule { margin-top: 15px; height: 1px; background: var(--ink); }

/* Body content. Hierarchy from weight and whitespace, never size or colour. */
.body { margin-top: 44px; }
h1 { font-size: 17px; font-weight: 700; color: var(--ink); }
h2 { margin-top: 30px; font-size: 13px; font-weight: 700; color: var(--ink); }
p  { margin-top: 10px; font-size: 12px; line-height: 1.65; }
p.lead { font-size: 13px; color: var(--ink2); }
.updated { margin-top: 8px; font-size: 9px; font-weight: 600; letter-spacing: 1.6px;
           text-transform: uppercase; color: var(--faint); }

a { color: var(--ink); text-decoration: underline;
    text-underline-offset: 2px; text-decoration-thickness: 0.5px; }

/* Footer pinned to the bottom of the viewport on short pages, flowing after
   content on long ones — hence margin-top:auto inside the flex column. */
.foot {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--faint);
}
.foot a { color: var(--muted); }
.foot .links { white-space: nowrap; }

@media (max-width: 480px) {
  .wrap { padding: 48px 20px 32px; }
  .foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .foot .links { white-space: normal; }
}
