/* Learning Loop Studio - prototype stylesheet
   One accent color, system font stack, mobile-first, white background. */
:root {
  --accent: #1d6f5c;
  --accent-dark: #14503f;
  --text: #1a1a1a;
  --muted: #555;
  --line: #e2e2e2;
  --card-bg: #f7f9f8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}
.site-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-dark); }

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
section { margin: 2.5rem 0; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.featured {
  border-left: 4px solid var(--accent);
  background: var(--card-bg);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

form { display: grid; gap: 0.9rem; }
label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0.25rem; }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid #bbb;
  border-radius: 6px;
  font: inherit;
}
textarea { min-height: 8rem; }
.checkbox-row { display: flex; gap: 0.5rem; align-items: flex-start; }
.checkbox-row label { font-weight: 400; margin: 0; }
.privacy-note { font-size: 0.85rem; color: var(--muted); }
button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  justify-self: start;
}
button[type="submit"]:hover { background: var(--accent-dark); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 44rem;
  margin: 0 auto;
}
button[type="submit"]:disabled {
  background: #9db8b0;
  cursor: not-allowed;
}

/* Benchmark page */
.byline { color: var(--muted); font-size: 0.9rem; margin-top: -0.5rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}
th, td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
thead th { background: #f3f6f5; font-weight: 600; }
tbody tr:nth-child(even) { background: #fafbfa; }
main section { margin-bottom: 2.5rem; }

table.comparison { font-size: 0.8rem; table-layout: fixed; }
table.comparison th, table.comparison td { padding: 0.35rem 0.45rem; overflow-wrap: break-word; }

@media (max-width: 720px) {
  table.comparison { table-layout: auto; width: 860px; font-size: 0.85rem; }
}

.site-nav { display: flex; flex-wrap: wrap; }
.site-nav a { white-space: nowrap; }

/* Peninsula top-ten page */
.intro { font-size: 1.05rem; }
.impressive-list { padding-left: 0; list-style: none; counter-reset: item; }
.impressive-list li {
  counter-increment: item;
  margin-bottom: 1.4rem;
  padding-left: 2.6rem;
  position: relative;
}
.impressive-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.impressive-list strong { display: block; margin-bottom: 0.15rem; }
.bonus {
  border-left: 4px solid var(--accent);
  background: var(--card-bg);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.bonus p { margin: 0; }
.source-line { color: var(--muted); font-size: 0.9rem; }

.page-capture { margin: 1rem 0; }
.page-capture img {
  width: 100%;
  max-width: 44rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
}
.page-capture figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }
