/**
 * Self-Talk Sidekick — shared styles for irldynamics.com/self-talk-sidekick/*
 * Drop this file into your site project and link from every page in the subdir.
 */
:root {
  --sts-bg: #0b0b14;
  --sts-bg-soft: #fafafa;
  --sts-surface: #ffffff;
  --sts-text: #1a1a2e;
  --sts-muted: #5c5c7a;
  --sts-primary: #8b5cf6;
  --sts-primary-soft: rgba(139, 92, 246, 0.14);
  --sts-border: rgba(139, 92, 246, 0.2);
  --sts-max: 720px;
  --sts-radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  color: var(--sts-text);
  background: var(--sts-bg-soft);
}

.sts-wrap {
  max-width: var(--sts-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.sts-nav {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.sts-nav a {
  color: var(--sts-muted);
  text-decoration: none;
}

.sts-nav a:hover {
  color: var(--sts-primary);
}

.sts-nav span {
  color: var(--sts-muted);
  margin: 0 0.4rem;
}

.sts-hero {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(99, 102, 241, 0.06));
  border: 1px solid var(--sts-border);
  border-radius: var(--sts-radius);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.sts-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  color: var(--sts-bg);
}

.sts-tagline {
  margin: 0 0 1rem;
  color: var(--sts-muted);
  font-size: 1.05rem;
}

.sts-badge {
  display: inline-block;
  background: var(--sts-primary-soft);
  color: var(--sts-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.sts-card {
  background: var(--sts-surface);
  border: 1px solid #e8e8f0;
  border-radius: var(--sts-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.sts-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--sts-bg);
}

.sts-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.sts-card li {
  margin: 0.35rem 0;
}

.sts-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.sts-links li {
  margin: 0.65rem 0;
}

.sts-links a {
  color: var(--sts-primary);
  font-weight: 500;
  text-decoration: none;
}

.sts-links a:hover {
  text-decoration: underline;
}

.sts-btn {
  display: inline-block;
  background: var(--sts-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.sts-btn:hover {
  filter: brightness(1.05);
}

.sts-muted {
  color: var(--sts-muted);
  font-size: 0.9rem;
}

.sts-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8f0;
  font-size: 0.85rem;
  color: var(--sts-muted);
}

.sts-footer a {
  color: var(--sts-primary);
}

h2 {
  color: var(--sts-bg);
  margin-top: 1.75rem;
  font-size: 1.15rem;
}

a {
  color: var(--sts-primary);
}

.sts-disclaimer {
  background: #fff8e6;
  border: 1px solid #f0dfa0;
  border-radius: var(--sts-radius);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.sts-store-note {
  font-size: 0.9rem;
  color: var(--sts-muted);
}

@media (prefers-color-scheme: dark) {
  :root {
    --sts-bg-soft: #0b0b14;
    --sts-surface: #141422;
    --sts-text: #ececf6;
    --sts-muted: #9898b0;
  }

  .sts-hero {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.22), rgba(99, 102, 241, 0.08));
  }

  .sts-hero h1,
  h2,
  .sts-card h2 {
    color: #f5f5ff;
  }

  .sts-card {
    border-color: #2a2a3d;
  }

  .sts-footer {
    border-color: #2a2a3d;
  }

  .sts-disclaimer {
    background: #2a2410;
    border-color: #4a4020;
  }
}
