/* Shared with the other Strive4 app sites. Only the brand colours differ:
   CoachMeSimple's accent is the teal the app itself uses, brightened enough to
   carry on a dark ground. */
:root {
  --bg: #0d1117;
  --panel: #161b22;
  --border: #232a33;
  --text: #e6edf3;
  --muted: #9aa4b2;
  --brand: #2dd4bf;
  --brand-dark: #14b8a6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.logo span { color: var(--brand); }

nav.site a {
  color: var(--muted);
  margin-left: 20px;
  font-size: 15px;
  font-weight: 500;
}
nav.site a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 72px 0 48px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -1px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 600px; margin: 0 auto 28px; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #04211f;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 0 40px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Screens. Three device shots across, dropping to a horizontal scroller on a phone
   rather than shrinking to thumbnails nobody can read. */
.shots { padding: 8px 0 24px; }
.shots h2 { font-size: 20px; margin: 0 0 4px; }
.shots p.lead { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.shot figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }
.shot { margin: 0; }

.note {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  margin: 32px 0 64px;
  color: var(--muted);
  font-size: 15px;
}
.note strong { color: var(--text); }

.content { padding: 40px 0 72px; }
.content h1 { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 4px; }
.content h2 { font-size: 20px; margin: 32px 0 8px; }
.content h3 { font-size: 17px; margin: 28px 0 6px; }
.content .updated { color: var(--muted); font-size: 14px; margin-top: 0; }
.content p, .content li { color: var(--muted); }

.contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}
.contact-box a { font-weight: 600; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  header.site { flex-direction: column; gap: 10px; }
  nav.site a:first-child { margin-left: 0; }
  .shot-row {
    grid-template-columns: repeat(3, 78%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .shot { scroll-snap-align: center; }
}
