/* ==========================================================
   Sit — Global Styles
   All branding lives in CSS variables. Swap logo + vars
   when updated branding arrives and the whole site follows.
   ========================================================== */

:root {
  /* ---- Brand colours (update these) ---- */
  --color-primary:    #6B4EAB;   /* violet */
  --color-primary-light: #8B6FCF;
  --color-accent:     #A68B5B;   /* warm earth */
  --color-bg:         #FAFAF7;   /* off-white */
  --color-surface:    #FFFFFF;
  --color-text:       #2C2C2C;
  --color-text-muted: #6B6B6B;
  --color-border:     #E8E4DC;

  /* ---- Typography (update these) ---- */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* ---- Layout ---- */
  --max-width:    720px;
  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     6rem;
  --radius:       12px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

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

img { max-width: 100%; height: auto; display: block; }

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---- Nav ---- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: 960px;
  margin: 0 auto;
}

.site-nav .logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

/* Placeholder for logo image — uncomment when ready
.site-nav .logo img {
  height: 32px;
  width: auto;
}
*/

.site-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xs);
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* Placeholder for app screenshot / device mockup */
.hero .app-preview {
  max-width: 280px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius);
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.badge-row img {
  height: 48px;
  width: auto;
}

/* ---- Legal / Content Pages ---- */
.page-header {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.page-header .effective-date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.legal-content {
  padding-bottom: var(--space-xl);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content p,
.legal-content ul {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

/* ---- Support Page ---- */
.support-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.support-card h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.support-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.support-card a.cta {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: var(--space-xs);
  transition: background 0.2s;
}
.support-card a.cta:hover {
  background: var(--color-primary-light);
  text-decoration: none;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-footer a { color: var(--color-text-muted); }
.site-footer a:hover { color: var(--color-primary); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .hero .tagline { font-size: 1rem; }
  .site-nav ul { gap: var(--space-sm); }
  .site-nav a { font-size: 0.8rem; }
}
