/* Seven Tells marketing site. Plain CSS, no build step, no trackers.
   Light and dark via prefers-color-scheme. WCAG AA contrast. Responsive. */

:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --text: #1f2421;
  --muted: #5c635e;
  --accent: #5a7d6f;
  --accent-ink: #ffffff;
  --border: #e3ded6;
  --radius: 16px;
  --maxw: 1040px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141715;
    --surface: #1d211e;
    --text: #eef0ec;
    --muted: #a7afa8;
    --accent: #8fb3a4;
    --accent-ink: #11201a;
    --border: #2b302c;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav a { margin-left: 20px; text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 56px 20px 24px; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 22px 0 8px; letter-spacing: -0.02em; }
.hero p.tagline { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { filter: brightness(1.05); }
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--border); }

/* Sections */
section { padding: 36px 0; }
section h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); text-align: center; margin: 0 0 8px; letter-spacing: -0.01em; }
section p.lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 24px; }
/* The features section butts up against the privacy band; trim the boundary so
   the two section paddings don't stack into a large empty gap. */
#features { padding-bottom: 16px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
/* The 8-card feature grid uses an even 4-up layout so there is no orphan cell. */
.grid.features { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid.features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.features { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card ul { margin: 8px 0 0; padding-left: 18px; }
.card li { color: var(--muted); font-size: 0.95rem; margin: 0 0 5px; }

/* Screenshots */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 16px; justify-content: center; }
.shots img {
  width: 240px;
  border-radius: 26px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

/* Privacy highlight */
.privacy-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; }

/* Long-form pages */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.doc h1 { letter-spacing: -0.02em; }
.doc h2 { margin-top: 32px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; }
.doc figure { margin: 22px 0; text-align: center; }
.doc figure img { width: 240px; max-width: 70%; border-radius: 26px; border: 1px solid var(--border); }
.doc figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.doc .callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; }
.doc .callout p { margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 28px 20px;
}
.site-footer a { color: var(--muted); margin: 0 10px; }
.disclaimer { max-width: 640px; margin: 14px auto 0; font-size: 0.82rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
