/* Palette: ink navy + slate, restrained blue accent. Change the variables to re-theme. */
:root {
  --ink: #0f1a2e;
  --muted: #56617a;
  --line: #e2e6ee;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --accent: #2851a3;
  --accent-ink: #1b2a4a;
  --accent-soft: #eaf0fb;
  --max: 960px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; color: var(--accent-ink); text-decoration: none; letter-spacing: -0.01em; }
header.site nav a, .appnav nav a { color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 22px; }
header.site nav a:first-child, .appnav nav a:first-child { margin-left: 0; }
header.site nav a:hover, header.site nav a[aria-current], .appnav nav a:hover { color: var(--ink); }

.appnav { background: var(--soft); border-bottom: 1px solid var(--line); }
.appnav .wrap { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; white-space: nowrap; }
.appname { font-weight: 650; font-size: 15px; color: var(--accent-ink); }
.appnav nav a { font-size: 14px; margin-left: 18px; }
.appnav nav a[aria-current] { color: var(--accent); font-weight: 600; }

main { padding: 64px 0 80px; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.025em; max-width: 780px; }
.hero .lead { font-size: 20px; color: var(--muted); margin: 0; max-width: 680px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; font-weight: 650; color: var(--accent); margin: 0 0 12px; }
.ctas { margin-top: 26px; }
.btn { display: inline-block; background: var(--accent-ink); color: #fff; text-decoration: none; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 15.5px; margin: 0 10px 10px 0; }
.btn.secondary { background: var(--bg); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--line); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 44px 0 8px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.page-head { margin-bottom: 8px; }
.page-head h1 { font-size: 38px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.02em; }
.page-head .meta { color: var(--muted); margin: 0; font-size: 18px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 25px; margin: 52px 0 12px; letter-spacing: -0.01em; padding-top: 28px; border-top: 1px solid var(--line); }
.prose > h2:first-child { border-top: 0; padding-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 14px 10px 0; }
.prose th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.prose blockquote { margin: 20px 0; padding: 14px 18px; background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; color: var(--ink); }
.prose blockquote p { margin: 4px 0; }
.note { background: var(--accent-soft); border-radius: 10px; padding: 16px 20px; margin: 22px 0; }
.note p { margin: 4px 0; }

.shot { margin: 24px 0; }
.shot-frame { width: 220px; aspect-ratio: 1290 / 2796; border: 2px dashed #c3cad8; border-radius: 26px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; gap: 6px; color: var(--muted); font-size: 13px; }
.shot-frame strong { color: var(--ink); font-size: 14px; }
.shots { display: flex; gap: 18px; flex-wrap: wrap; }
.shots .shot { margin: 8px 0; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site .links a { color: var(--muted); margin-left: 18px; }
footer.site .links a:first-child { margin-left: 0; }

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  main { padding: 40px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 18px; }
  .page-head h1 { font-size: 30px; }
  header.site nav a { margin-left: 16px; }
  .shot-frame { width: 160px; }
}
