/* Pawprint — site.css
   Shared styles across all marketing pages.
   Dark theme, purple accent (#7c4dff), DM Sans + Bebas Neue.
   Matches the cherp.live aesthetic so the sibling-product
   relationship is visible without needing the brand to say so.
*/

:root {
  --black:        #0a0d14;
  --bg:           #0a0d14;
  --bg-2:         #0f1320;
  --dark:         #111827;
  --card:         #1a1f2e;
  --card-2:       #232a3d;
  --border:       #2a3042;
  --border-hover: #3a4263;
  --accent:       #7c4dff;
  --accent-light: #b39dff;
  --accent-dim:   rgba(124, 77, 255, 0.12);
  --accent-glow:  rgba(179, 157, 255, 0.25);
  /* Warm secondary — used sparingly for "fun" moments: streak hits, milestone
     callouts, the celebrate-the-kid flashes. Coral, not cartoon. Family-warm
     without losing the cherp-sibling competence. */
  --warm:         #ff9558;
  --warm-light:   #ffb085;
  --warm-dim:     rgba(255, 149, 88, 0.12);
  --warm-glow:    rgba(255, 176, 133, 0.22);
  --white:        #e2e8f0;
  --text-2:       #c8d0e8;
  --text-3:       #94a3b8;
  --gray:         #6b7a9f;
  --gray-light:   #94a3b8;
  --green:        #22c55e;
  --green-dim:    rgba(34, 197, 94, 0.12);
  --amber:        #f59e0b;
  --red:          #ef4444;
  --font-h: 'Bebas Neue', sans-serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--black); }

/* ── layout ───────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; position: relative; }
.section + .section { border-top: 1px solid var(--border); }
.section.alt { background: var(--bg-2); }
.center { text-align: center; }

/* ── header / nav ─────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 18px var(--accent-dim);
}
.brand {
  font-family: var(--font-h); font-size: 26px; letter-spacing: 3px;
  color: var(--white);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--text-3); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav a:hover, .nav a.on {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}
.nav .btn { padding: 8px 16px; font-size: 12px; }

.hamburger {
  display: none; background: transparent; border: 0;
  color: var(--white); font-size: 22px; cursor: pointer;
  padding: 6px 8px;
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 18px 24px;
  }
  .hamburger { display: inline-block; }
}

/* ── buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px;
  border-radius: 9px; border: 0;
  font-family: var(--font-b); font-size: 14px; font-weight: 700;
  letter-spacing: 0.4px; cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--black);
  box-shadow: 0 4px 22px var(--accent-dim);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: var(--black);
}
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent-light);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--accent-dim);
  color: var(--accent-light);
}
.btn-ghost {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--card-2);
  color: var(--white);
}
.btn-warm {
  background: linear-gradient(135deg, var(--warm), var(--warm-light));
  color: var(--black);
  box-shadow: 0 4px 22px var(--warm-dim);
}
.btn-warm:hover {
  box-shadow: 0 8px 32px var(--warm-glow);
}
/* Creator-note callout — used on pedagogy.html for the "From the creator"
   placeholder section. Warm-tinted card with a subtle highlight bar. */
.creator-note {
  background: var(--card);
  border: 1px solid var(--warm);
  border-left: 4px solid var(--warm);
  border-radius: 14px;
  padding: 26px 28px;
  position: relative;
  box-shadow: 0 12px 40px rgba(255, 149, 88, 0.08);
}
.creator-note .by {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-light); margin-bottom: 6px; font-weight: 700;
}
.creator-note h3 {
  font-family: var(--font-h);
  font-size: 26px; letter-spacing: 1px;
  color: var(--white); margin-bottom: 14px;
}
.creator-note p { color: var(--text-2); line-height: 1.75; font-size: 15px; }
.creator-note .placeholder {
  margin-top: 14px; padding: 14px 16px;
  background: var(--bg-2);
  border: 1px dashed var(--warm);
  border-radius: 10px;
  font-style: italic; color: var(--gray-light); font-size: 13px;
}

/* ── typography ───────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px; color: var(--accent-light);
  letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.eyebrow.warm {
  color: var(--warm-light);
}
.eyebrow.warm::before {
  content: '✦ '; color: var(--warm); margin-right: 2px;
}
h1, .h1 {
  font-family: var(--font-h);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04; letter-spacing: 1.5px;
  color: var(--white); margin-bottom: 22px;
}
h1 .hl, .h1 .hl { color: var(--accent-light); }
h2, .h2 {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08; letter-spacing: 1.2px;
  color: var(--white); margin-bottom: 16px;
}
h3, .h3 {
  font-size: 17px; font-weight: 700;
  color: var(--white); margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.lede {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray-light); line-height: 1.7;
  max-width: 680px; margin-bottom: 14px;
}
.lede strong { color: var(--white); font-weight: 600; }
p {
  font-size: 15px; color: var(--gray-light); line-height: 1.7;
  margin-bottom: 14px;
}
p:last-child { margin-bottom: 0; }

/* ── hero ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 25% 30%, var(--accent-dim), transparent 60%),
              radial-gradient(50% 40% at 80% 75%, var(--warm-dim), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  margin-top: 26px;
  font-size: 13px; color: var(--gray);
}
.trust span::before { content: '· '; color: var(--accent); }

/* ── card grid ────────────────────────────────────── */
.card-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 77, 255, 0.10);
}
.card.warm:hover {
  border-color: var(--warm);
  box-shadow: 0 10px 30px var(--warm-dim);
}
.card.warm h3 { color: var(--warm-light); }
.card .icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
  border: 1px solid var(--accent);
  color: var(--accent-light);
}
.card h3 { margin-bottom: 6px; }
.card p { font-size: 14px; }

/* ── intro / split ────────────────────────────────── */
.intro { max-width: 720px; margin-bottom: 18px; }
.split {
  display: grid; gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ── status + pills ───────────────────────────────── */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--green-dim);
  color: var(--green); border: 1px solid var(--green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
}
.status-pill.amber {
  background: rgba(245, 158, 11, 0.10);
  color: var(--amber); border-color: var(--amber);
}
.status-pill.amber .dot { background: var(--amber); }

/* ── pricing ──────────────────────────────────────── */
.price-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 22px;
}
.price-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 12px 36px var(--accent-dim);
  position: relative;
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute; top: -11px; right: 24px;
  background: var(--accent); color: var(--black);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.price-card .tier {
  font-family: var(--font-h); font-size: 28px;
  letter-spacing: 1.2px; color: var(--white);
  margin-bottom: 6px;
}
.price-card .price {
  font-size: 28px; font-weight: 700;
  color: var(--accent-light); margin: 6px 0 14px;
}
.price-card .price small {
  display: block; font-size: 12px; font-weight: 500;
  color: var(--gray); margin-top: 2px;
}
.price-card ul { list-style: none; margin: 14px 0 18px; }
.price-card li {
  font-size: 14px; color: var(--text-2);
  padding: 5px 0; padding-left: 22px; position: relative;
}
.price-card li::before {
  content: '✓'; position: absolute; left: 0; top: 5px;
  color: var(--green); font-weight: 700;
}
.price-card li.locked { color: var(--gray); }
.price-card li.locked::before { content: '🔒'; color: var(--gray); font-size: 11px; }

/* ── role hierarchy diagram ───────────────────────── */
.role-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden;
}
.role-table th, .role-table td {
  padding: 12px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.role-table th {
  background: var(--card-2); color: var(--accent-light);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700;
}
.role-table tr:last-child td { border-bottom: 0; }
.role-table .yes { color: var(--green); font-weight: 700; }
.role-table .no  { color: var(--gray); }
.role-table td:first-child { color: var(--white); font-weight: 600; }

/* ── form ─────────────────────────────────────────── */
.form-card {
  max-width: 520px; margin: 18px auto 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-3); margin-bottom: 5px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-row input, .form-row textarea {
  width: 100%; padding: 11px 13px;
  background: var(--bg-2); color: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14px;
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-row .hint {
  font-size: 11px; color: var(--gray); margin-top: 5px;
}

/* ── footer ───────────────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  margin-top: 60px;
}
.site-footer .container {
  display: grid; gap: 30px;
  grid-template-columns: 1.6fr repeat(3, 1fr);
}
.site-footer h4 {
  font-size: 11px; color: var(--accent-light);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 12px;
}
.site-footer a {
  display: block; color: var(--gray-light);
  font-size: 13px; padding: 4px 0;
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent-light); }
.site-footer .brand-statement {
  font-size: 13px; color: var(--gray); line-height: 1.6;
  margin-top: 10px; max-width: 280px;
}
.site-footer .legal {
  grid-column: 1 / -1; padding-top: 24px;
  margin-top: 18px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--gray);
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between;
}
@media (max-width: 760px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .site-footer .brand-statement { max-width: none; grid-column: 1 / -1; }
}
