/* Jerreson's Lab — palette taken from the lab illustrations (navy, teal, amber on cream).
   Single light look: the illustrations are drawn on cream, so the page matches them. */
:root {
  --bg: #fef9f1;
  --ink: #1d2638;
  --muted: #5b6475;
  --line: #ece4d6;
  --card: #ffffff;
  --teal: #0f8c83;
  --teal-soft: #dff1ee;
  --amber: #f2b33d;
  --amber-soft: #fdf0d5;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .brand, .card strong {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--line);
}
header.site a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
header.site a.brand img { width: 34px; height: 34px; }
header.site nav a { margin-left: 18px; font-size: 15px; font-weight: 600; }
header.site nav a:first-child { margin-left: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: 36px; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 10px; }
h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 40px 0 10px; }
p, ul { margin: 0 0 16px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.lede { font-size: 20px; color: var(--muted); margin-bottom: 28px; }
.meta { color: var(--muted); font-size: 15px; }

/* Home hero */
.hero {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero img {
  width: 240px;
  max-width: 100%;
  height: auto;
  flex: none;
}
.hero .hero-text { flex: 1 1 280px; }
.hero h1 { font-size: 44px; }
.hero h1 .accent { color: var(--teal); }
.hero .lede { margin-bottom: 0; }

.rule {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 0;
}
.rule span { height: 5px; border-radius: 3px; background: var(--teal); }
.rule span:nth-child(1) { width: 120px; }
.rule span:nth-child(2) { width: 32px; background: var(--amber); }
.rule span:nth-child(3) { width: 6px; background: var(--ink); }

/* Cards */
.card {
  display: block;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 14px;
  color: var(--ink);
}
a.card:hover { text-decoration: none; border-color: var(--teal); }
.card strong { display: block; font-size: 20px; font-weight: 800; margin-bottom: 2px; }
.card span { color: var(--muted); }
.card .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8a5a00;
  font-size: 13px;
  font-weight: 700;
}

/* App page title with icon */
.app-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}
.app-title h1 { margin: 0; }
.app-icon {
  width: 96px;
  height: 96px;
  flex: none;
  border-radius: 22.37%;
  box-shadow: 0 4px 14px rgba(29, 38, 56, 0.22);
}

.contact {
  background: var(--teal-soft);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 24px 0;
}
.contact p:last-child { margin-bottom: 0; }

footer.site {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
