:root {
  color-scheme: dark;
  --paper: #171c1e;
  --ink: #f1f3ed;
  --muted: #a7b1ad;
  --accent: #ccedaa;
  --line: #39423f;
  --tint: #2f3b32;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; touch-action: manipulation; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1220px; margin-inline: auto; padding-inline: 52px; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 12px 20px; background: var(--accent); color: var(--paper); z-index: 1; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: -.7px; line-height: 1.1; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid var(--accent); color: var(--accent); border-radius: 6px; font: 19px Georgia, serif; }
.site-header nav { display: flex; gap: 25px; font-size: 13px; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; }
.intro { padding-block: 64px 52px; max-width: 940px; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: 2px; margin-bottom: 22px; }
h1 { font-size: clamp(48px, 6.7vw, 82px); line-height: 1.04; letter-spacing: -3px; font-weight: 600; }
h1 span { color: var(--accent); }
.intro-copy { color: var(--muted); font-size: 17px; max-width: 580px; margin-top: 25px; }
.cta { display: inline-flex; align-items: center; gap: 30px; color: var(--accent); border-bottom: 1px solid currentColor; padding-block: 8px; margin-top: 27px; min-height: 44px; font-size: 14px; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; font-weight: 400; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.section-heading > p { color: var(--muted); font-size: 13px; }
.projects { border-top: 1px solid var(--line); }
.project { display: grid; grid-template-columns: 55px minmax(0, 1fr) minmax(0, 1.2fr) 160px; gap: 24px; align-items: start; padding-block: 29px; border-bottom: 1px solid var(--line); }
.app-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px; background: var(--tint); color: var(--accent); }
.app-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.6px; font-weight: 400; }
.tagline { font-size: 12px; color: var(--muted); margin-top: 7px; }
.project-description { font-size: 15px; color: var(--muted); max-width: 440px; }
.platform { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.project-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 13px; font-weight: 700; }
.coming-soon { color: var(--muted); font-size: 12px; padding-block: 10px; }
.project-note { margin-top: 20px; color: var(--muted); font-size: 13px; max-width: 640px; }
.purpose { display: grid; grid-template-columns: 1fr 1.4fr; gap: 55px; padding-block: 60px; margin-top: 20px; border-top: 1px solid var(--line); }
.purpose .eyebrow { margin-bottom: 15px; }
.purpose h2 { color: var(--accent); }
.purpose-statement { font-size: 19px; max-width: 580px; }
.purpose-note { font-size: 14px; color: var(--muted); margin-top: 19px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 25px 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.error-page { padding-block: 80px; min-height: 65vh; }
.error-page h1 { margin-bottom: 25px; }
.privacy-page { max-width: 800px; padding-block: 52px; overflow-wrap: anywhere; }
.privacy-page h1 { font-size: clamp(36px, 5vw, 54px); letter-spacing: -1.5px; margin-bottom: 24px; }
.privacy-page h2 { font-size: 27px; margin-block: 36px 18px; }
.privacy-page p, .privacy-page li { margin-bottom: 18px; }
.privacy-page ul { padding-left: 24px; }
.privacy-page a { color: var(--accent); text-decoration: underline; }
@media (max-width: 850px) {
  .project { grid-template-columns: 45px minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
  .project-links { grid-column: 2 / -1; display: flex; align-items: center; gap: 20px; }
  .platform { margin: 0; }
}
@media (max-width: 650px) {
  .wrap { padding-inline: 24px; }
  .site-header { padding-block: 24px; gap: 16px; }
  .brand { font-size: 16px; }
  .site-header nav { font-size: 12px; gap: 16px; }
  .github-nav { display: none !important; }
  .intro { padding-block: 46px; }
  h1 { font-size: 46px; letter-spacing: -2px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading > p { font-size: 11px; }
  .project { grid-template-columns: 45px minmax(0, 1fr); gap: 18px; }
  .project-description, .project-links { grid-column: 2; }
  .project-description { font-size: 17px; }
  .project-links { display: block; }
  .project-links a { font-size: 15px; }
  .platform { font-size: 12px; }
  .tagline { font-size: 14px; }
  .purpose { display: block; padding-block: 32px; margin-top: 24px; }
  .purpose-statement { margin-top: 22px; font-size: 20px; }
  .site-footer { align-items: start; font-size: 11px; }
}
@media (max-width: 360px) {
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .site-footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
