/* tomsurveynotes.com — minimal stylesheet, no external dependencies, no trackers, no Google Fonts */

* { box-sizing: border-box; }

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: #1c1c1c;
  background: #fafaf5;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle green accent bar at top of page — visual anchor */
body::before {
  content: "";
  display: block;
  height: 5px;
  background: #2a6e3f;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 22px 80px;
}

header {
  margin-bottom: 48px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e6e2d5;
}

header .site-title {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: #1c1c1c;
  letter-spacing: -0.01em;
}

header .site-title:hover {
  color: #2a6e3f;
  text-decoration: none;
}

header nav {
  margin-top: 14px;
  font-size: 0.93rem;
  line-height: 2;
}

header nav a {
  margin-right: 22px;
  color: #555;
  text-decoration: none;
  transition: color 0.15s ease;
}

header nav a:hover {
  color: #2a6e3f;
  text-decoration: underline;
}

h1 {
  font-size: 2.15rem;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h2 {
  font-size: 1.45rem;
  margin-top: 48px;
  margin-bottom: 14px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 10px;
  font-weight: 600;
}

p {
  margin: 0 0 18px;
}

a {
  color: #2a6e3f;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover {
  color: #1a4d29;
}

ul, ol {
  padding-left: 26px;
  margin-bottom: 18px;
}

li {
  margin-bottom: 8px;
}

strong { color: #111; }

em { color: #3a3a3a; }

blockquote {
  border-left: 3px solid #c0bdb5;
  margin: 18px 0;
  padding: 4px 18px;
  color: #555;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.93rem;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-radius: 4px;
  overflow: hidden;
}

th, td {
  border: 1px solid #e6e2d5;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f4f1e5;
  font-weight: 600;
  color: #2c2c2c;
}

tbody tr:nth-child(even) {
  background: #fbfaf3;
}

.tldr {
  background: #f4f1e5;
  border-left: 4px solid #2a6e3f;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.tldr p:last-child {
  margin-bottom: 0;
}

.cta {
  display: inline-block;
  background: #2a6e3f;
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(42, 110, 63, 0.25);
  transition: all 0.15s ease;
}

.cta:hover {
  background: #1f5530;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(42, 110, 63, 0.35);
  transform: translateY(-1px);
}

.disclosure {
  background: #fdf7e1;
  border: 1px solid #e8d896;
  padding: 14px 18px;
  margin: 20px 0 28px;
  font-size: 0.94rem;
  border-radius: 6px;
  color: #5a4e1f;
}

.disclosure strong { color: #4a3e10; }

.disclosure p {
  margin-bottom: 0;
}

main h2:first-of-type {
  margin-top: 40px;
}

footer {
  border-top: 1px solid #e6e2d5;
  margin-top: 72px;
  padding-top: 28px;
  font-size: 0.86rem;
  color: #777;
}

footer p {
  margin-bottom: 8px;
}

footer a { color: #555; }
footer a:hover { color: #2a6e3f; }

@media (max-width: 640px) {
  html { font-size: 16px; }
  .container { padding: 32px 18px 60px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  header nav { font-size: 0.9rem; }
  header nav a { margin-right: 16px; }
  table { font-size: 0.86rem; }
  th, td { padding: 7px 8px; }
  .cta { display: block; text-align: center; }
}
