@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

/* SYS Power Yoga – policy pages (matches homepage calm & light theme) */
:root {
  --bg:#f6f1e9;
  --bg-alt:#efe7d9;
  --surface:#ffffff;
  --text:#2e2a25;
  --heading:#23332a;
  --muted:#7a7269;
  --brand:#5e7d5a;
  --brand-dark:#3f5a3c;
  --brand-soft:#eef3ea;
  --accent:#c47a54;
  --border:#e7ddcd;
  --shadow: 0 18px 40px rgba(63,90,60,.12);
  --shadow-soft: 0 8px 22px rgba(63,90,60,.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 12% -5%, rgba(94,125,90,.10), transparent 60%),
    radial-gradient(900px 480px at 95% 0%, rgba(196,122,84,.08), transparent 55%),
    var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); color: var(--heading); letter-spacing: -.01em; }

/* Header */
.site-header {
  background: rgba(246,241,233,.85);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.site-header-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--heading); }
.brand img {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-soft);
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--heading); }
.brand span { font-size: 0.72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; font-size: 0.88rem; font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-dark); }

/* Content */
.content { max-width: 1000px; margin: 0 auto; padding: 2.5rem 1.25rem 3.5rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

h1 { margin: 0 0 0.5rem; font-size: 2.4rem; font-weight: 600; line-height: 1.1; }
.meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
h2 { margin: 1.75rem 0 0.75rem; font-size: 1.35rem; font-weight: 600; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; color: var(--text); }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; border-radius: 12px; overflow: hidden; }
th, td { border: 1px solid var(--border); padding: 0.85rem; text-align: left; }
th { background: var(--brand-soft); color: var(--brand-dark); font-family: var(--sans); }

/* Contact grid */
.contact-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.25rem;
}
.contact-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
}
.contact-item strong { display: block; margin-bottom: 0.35rem; color: var(--heading); }

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: #c6d4c0;
  padding: 1.5rem 1.25rem;
  font-size: 0.86rem;
}
.site-footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
}
.site-footer a { color: #eef3ea; text-decoration: none; margin-right: 0.85rem; }
.site-footer a:hover { color: #fff; }

/* Compliance bar (if present on a page) */
.compliance-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  color: #fff; padding: 0.7rem 1rem; font-size: 0.82rem;
  z-index: 99999; text-align: center;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.14);
}
.compliance-bar a { color: #fff; text-decoration: none; margin: 0 0.45rem; font-weight: 700; }
.compliance-bar a:hover { text-decoration: underline; }
body.has-compliance-bar { padding-bottom: 52px; }

@media (max-width: 640px) {
  h1 { font-size: 1.85rem; }
  .card { padding: 1.5rem; }
  .compliance-bar { font-size: 0.75rem; }
}
