/* Sunfield Yoga Collective — sage gradient, centered pill navigation */
:root {
  --sage: #6b8f71;
  --sage-dark: #3d5a40;
  --mist: #f0f5f1;
  --ink: #1e2b21;
  --muted: #5a6b5e;
  --banner-bg: #1e2b21;
  --banner-fg: #f0f5f1;
  --font: "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #e8f0ea 0%, var(--mist) 45%, #dce8df 100%);
  line-height: 1.65;
  min-height: 100vh;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--sage-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip:focus {
  left: 0.5rem;
}

.sfy-header {
  text-align: center;
  padding: 2rem 1.25rem 1rem;
}
.sfy-brand {
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--sage-dark);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.sfy-brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.sfy-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}
.sfy-pills a {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(61, 90, 64, 0.2);
  border-radius: 999px;
}
.sfy-pills a:hover,
.sfy-pills a.active {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
}

.sfy-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.sfy-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage);
  font-weight: 800;
  margin: 0 0 0.4rem;
}

h1 {
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1rem 0 1.35rem;
  box-shadow: 0 20px 50px rgba(30, 43, 33, 0.12);
}

.flow-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 540px) {
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sfy-hero-wrap {
  position: relative;
  padding-bottom: 0.25rem;
}
.sfy-hero-wrap::before {
  content: "";
  position: absolute;
  top: -1rem;
  right: -5%;
  width: min(200px, 45vw);
  height: min(200px, 45vw);
  background: radial-gradient(
    circle,
    rgba(107, 143, 113, 0.38) 0%,
    transparent 68%
  );
  border-radius: 50%;
  animation: sfy-breathe 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.sfy-hero-wrap > * {
  position: relative;
  z-index: 1;
}
@keyframes sfy-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.55;
  }
}

.sfy-wave {
  line-height: 0;
  margin: 0.25rem -1.25rem 1.35rem;
  opacity: 0.9;
}
.sfy-wave svg {
  display: block;
  width: 100%;
  height: 44px;
}

.flow-card {
  display: block;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(61, 90, 64, 0.12);
}
.flow-card--glass {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 24px rgba(30, 43, 33, 0.06);
}
.flow-card:hover {
  border-color: var(--sage);
  box-shadow: 0 8px 28px rgba(61, 90, 64, 0.1);
}
.flow-card h2 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}
.flow-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.25rem 0;
}
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn--solid {
  background: var(--sage-dark);
  color: #fff;
}
.btn--line {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.legal-doc h2 {
  font-size: 1.05rem;
  margin: 1.3rem 0 0.45rem;
}
.legal-doc p,
.legal-doc ul {
  margin: 0 0 0.9rem;
}
.legal-muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.policy-band {
  margin: 2.25rem 0 1rem;
  padding: 1.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--sage);
  border-radius: 14px;
}
.policy-band__title {
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
}
.policy-band__lede {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.policy-band__grid {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 520px) {
  .policy-band__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.policy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--sage-dark);
  border-radius: 10px;
}
.policy-btn:hover {
  opacity: 0.93;
}
.policy-btn--accent {
  background: var(--sage);
}

.site-foot {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(61, 90, 64, 0.15);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0.45rem 0;
}
.foot-legal a {
  color: var(--sage-dark);
  font-weight: 700;
}

/* Mobile: nav becomes a frosted bottom dock */
@media (max-width: 640px) {
  .sfy-pills {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 48;
    max-width: none;
    margin: 0;
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0));
    justify-content: space-between;
    gap: 0.25rem;
    background: rgba(30, 43, 33, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
  }
  .sfy-pills a {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
    font-size: 0.62rem;
    padding: 0.5rem 0.15rem;
    color: #e8f0ea;
    background: transparent;
    border-color: transparent;
  }
  .sfy-pills a:hover,
  .sfy-pills a.active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .sfy-main {
    padding-bottom: 4.75rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--banner-bg);
  color: var(--banner-fg);
  padding: 1rem 1.25rem;
  z-index: 999;
  border-top: 3px solid var(--sage);
}
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner__inner {
  max-width: 48rem;
  margin: 0 auto;
}
.cookie-banner__title {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}
.cookie-banner .btn--solid {
  border: none;
}
.cookie-banner .btn--line {
  color: var(--banner-fg);
  border-color: rgba(240, 245, 241, 0.45);
}
.cookie-banner a {
  color: #a7f3d0;
}
