/* Steward — stewardvc.com
   Hand-written, no framework. Light by default, optional dark. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/serif-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf8f4;
  --ink: #1a1a1a;
  --muted: #5a5a57;
  --rule: #d9d4ca;
  --accent: #2c5f5d;
  --accent-ink: #1f4644;
  --measure: 38rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171a;
    --ink: #e8e6df;
    --muted: #9a978f;
    --rule: #2d2e31;
    --accent: #6fa3a0;
    --accent-ink: #8ab9b6;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: 'kern', 'liga', 'calt';
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.site-header {
  padding: 2rem 0 0;
}

.wordmark {
  font-family: 'Source Serif', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}

.wordmark::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
  margin-left: 0.4rem;
  vertical-align: 0.18em;
  border-radius: 0;
}

main { padding: 1rem 0 4rem; }

.hero { padding-top: 5rem; padding-bottom: 3rem; }

h1, h2, h3 {
  font-family: 'Source Serif', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.85rem, 4vw + 0.5rem, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 18ch;
}

h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
  max-width: var(--measure);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 36rem;
}

.cta {
  margin-top: 1.75rem;
  font-size: 0.98rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  background: var(--accent);
  color: #faf8f4;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--accent);
  transition: background-color 120ms ease, color 120ms ease;
}
.cta-button:hover {
  background: transparent;
  color: var(--accent);
}
.cta-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cta-meta {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft, #555);
}

.colophon {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-soft, #666);
  font-style: italic;
}
.colophon a { color: inherit; }

a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--ink); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.75rem auto;
  max-width: 760px;
  width: calc(100% - 3rem);
}

.block { padding: 2rem 1.5rem; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.cards article {
  position: relative;
  padding-top: 0.25rem;
}

.cards article p { margin-bottom: 0; color: var(--ink); }

.card-num {
  display: block;
  font-family: var(--serif, Georgia, serif);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.posture {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft, #555);
  font-style: italic;
  max-width: 36rem;
}

.device {
  margin: 4.5rem auto 2rem;
  text-align: center;
  color: var(--accent);
}
.easel {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: auto;
  color: #1a1a1a;
  opacity: 0.92;
}
@media (min-width: 720px) {
  .easel { width: 240px; }
}
.device figcaption {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-soft, #6a6a6a);
  font-style: italic;
  letter-spacing: 0.01em;
}
.device figcaption em {
  font-style: italic;
  font-family: var(--serif, Georgia, serif);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3rem;
  margin-top: 3rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer p { margin: 0 0 0.35rem; }
.site-footer .meta { color: var(--muted); }

::selection {
  background: var(--accent);
  color: var(--bg);
}

@media (min-width: 640px) {
  html { font-size: 18px; }
  .hero { padding-top: 6rem; padding-bottom: 3.5rem; }
}
