/* Glow & Flow Pilates — shared styles
   Palette: pink (#E6299B) + warm yellow (#FFBA52) + white
*/
:root {
  --bg: #ffffff;            /* white */
  --surface: #ffffff;
  --surface-2: #fff5e6;     /* soft yellow tint */
  --ink: #2a1a24;           /* deep plum-ink (AA on white & yellow) */
  --ink-soft: #4a3340;
  --muted: #6b5a64;
  --sage: #D82C91;          /* primary pink (matches logo bg) */
  --sage-deep: #ad2173;     /* deeper pink for hover/AA contrast */
  --gold: #FFBA52;          /* accent yellow */
  --gold-deep: #e09430;
  --line: #f3dce9;          /* soft pink line */
  --focus: #b81f7a;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(230, 41, 155, 0.10);
  --container: 1180px;
  --header-h: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

/* Skip link — accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sage-deep); color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 0; font-weight: 600; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #FADADD;
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid #f1bcc4;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 600; color: var(--ink);
  text-decoration: none; letter-spacing: 0.02em;
  display: inline-flex; align-items: center;
}
.brand span { color: var(--sage-deep); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 0.96rem; font-weight: 500; padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--sage-deep); border-bottom-color: var(--sage-deep);
}
.nav-cta {
  background: var(--sage); color: #fff !important;
  padding: 10px 18px !important; border-radius: 999px;
  border-bottom: none !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--sage-deep); color: #fff !important; border-bottom: none !important; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(0,0,0,0.25);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav { gap: 24px; }
  .brand img { height: 56px !important; max-width: 55vw; object-fit: contain; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #FADADD; border-bottom: 1px solid #f1bcc4;
    padding: 12px 24px 20px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .nav-cta { margin-top: 10px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-size: 1rem; cursor: pointer; line-height: 1.2;
}
.btn-primary { background: var(--sage-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--sage-deep); border-color: var(--sage-deep); }
.btn-secondary:hover { background: var(--sage-deep); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff5e6 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center; padding: 80px 0 96px;
}
.hero h1 .accent { color: var(--sage-deep); font-style: italic; }
.hero p.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 56ch; }
.hero-image {
  position: relative; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero-image img { aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 64px; }
}

/* Image w/ AI badge */
.img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ai-badge {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(47, 58, 46, 0.78); color: #fff;
  font-size: 0.72rem; padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.02em; font-weight: 500;
}

/* Cards */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid-5 { grid-template-columns: repeat(6, 1fr); }
.card-grid-5 .card { grid-column: span 2; }
.card-grid-5 .card:nth-child(4) { grid-column: 2 / span 2; }
.card-grid-5 .card:nth-child(5) { grid-column: 4 / span 2; }
.card-grid-5 .card { padding: 20px; }
.card-grid-5 .card h3 { font-size: 1.1rem; }
.card-grid-5 .card p { font-size: 0.92rem; }
@media (max-width: 1100px) { .card-grid-5 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
@media (max-width: 1100px) {
  .card-grid-5 .card,
  .card-grid-5 .card:nth-child(4),
  .card-grid-5 .card:nth-child(5) { grid-column: auto; }
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--sage-deep); margin-bottom: 8px; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); color: var(--sage-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}

/* Two-up section */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .two-up { grid-template-columns: 1fr; gap: 32px; } }

/* Pricing */
.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.price.featured { border-color: var(--sage-deep); box-shadow: var(--shadow); transform: translateY(-4px); }
.price .amount { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--sage-deep); font-weight: 600; }
.price .amount small { font-size: 0.95rem; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.price ul { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.price li { padding: 8px 0 8px 24px; position: relative; color: var(--ink-soft); }
.price li::before { content: "✓"; color: var(--sage-deep); position: absolute; left: 0; font-weight: 700; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  color: #fff; border-radius: var(--radius); padding: 48px;
  text-align: center; box-shadow: var(--shadow);
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.92); max-width: 60ch; margin: 0 auto 24px; }
.cta-strip .btn-primary { background: #fff; color: var(--sage-deep); }
.cta-strip .btn-primary:hover { background: var(--bg); color: var(--ink); }

/* Footer */
.site-footer {
  background: #2a1a24; color: #ffe9d2;
  padding: 56px 0 28px; margin-top: 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer a { color: #ffd9b0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.88rem; color: #d9c2b0;
}
.powered-by { font-weight: 500; color: #ffd9b0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page header (non-home) */
.page-header {
  background: linear-gradient(180deg, #fff5e6 0%, var(--bg) 100%);
  padding: 64px 0 48px; text-align: center;
}
.page-header p { color: var(--ink-soft); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }

/* Mindbody widget container */
.widget-frame {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; min-height: 600px;
  box-shadow: var(--shadow);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
/* ===== Pricing page ===== */
.founders-hero {
  position: relative;
  background: linear-gradient(135deg, var(--sage-deep) 0%, var(--sage) 55%, var(--gold) 130%);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 20px 50px rgba(173,33,115,0.28);
  overflow: hidden;
}
.founders-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,186,82,0.35), transparent 50%);
  pointer-events: none;
}
.founders-hero > * { position: relative; }
.founders-hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.founders-hero h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}
.founders-hero .price-display {
  display: flex; align-items: baseline; gap: 12px;
  margin: 20px 0 10px;
  font-family: 'Cormorant Garamond', serif;
}
.founders-hero .price-display .big {
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.founders-hero .price-display .per { font-size: 1.2rem; opacity: 0.92; font-family: 'Inter', sans-serif; }
.founders-hero .savings-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #ffba52, #ff7a45);
  color: #2a1500;
  padding: 12px 20px; border-radius: 999px;
  margin: 6px 0 4px;
  box-shadow: 0 10px 24px -8px rgba(255,122,69,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  font-weight: 600; font-size: 1rem; line-height: 1.25;
  max-width: 100%;
}
.founders-hero .savings-badge .flame {
  font-size: 1.3rem; animation: flicker 1.6s ease-in-out infinite;
}
.founders-hero .savings-badge .flame:last-child { animation-delay: 0.4s; }
.founders-hero .savings-badge .savings-sub { font-weight: 500; opacity: 0.85; }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.15) rotate(3deg); }
}
@media (max-width: 520px) {
  .founders-hero .savings-badge { font-size: 0.92rem; padding: 10px 16px; }
  .founders-hero .savings-badge .savings-sub { display: block; margin-top: 2px; }
}
.founders-hero .features {
  list-style: none; padding: 0; margin: 24px 0 28px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px;
}
.founders-hero .features li {
  padding-left: 28px; position: relative;
  font-size: 1.02rem;
}
.founders-hero .features li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-size: 1.1rem;
}
.founders-hero .scarcity {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; margin-top: 6px;
}
.founders-hero .scarcity .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(255,186,82,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,186,82,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255,186,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,186,82,0); }
}
.founders-hero .btn-primary {
  background: #fff; color: var(--sage-deep); margin-top: 8px;
}
.founders-hero .btn-primary:hover { background: var(--ink); color: #fff; }
@media (max-width: 720px) {
  .founders-hero { padding: 40px 26px; }
  .founders-hero .features { grid-template-columns: 1fr; }
}

/* Pricing tables */
.pricing-block { margin-bottom: 48px; }
.pricing-block h3 {
  font-size: 1.6rem; color: var(--sage-deep);
  margin-bottom: 6px;
}
.pricing-block .block-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.pricing-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table th, .pricing-table td {
  text-align: left; padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.pricing-table thead th {
  background: var(--surface-2);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: #fff9f0; }
.pricing-table td.price-col {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--sage-deep);
  white-space: nowrap;
}
.pricing-table td.name-col { font-weight: 500; }

/* Membership cards */
.membership-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 1100px) {
  .membership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .membership-grid { grid-template-columns: 1fr; }
}
.membership-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.membership-card.ultimate {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff9ee 0%, #fff 100%);
  position: relative;
}
.membership-card.ultimate::after {
  content: "Includes Spray Tan";
  position: absolute; top: -12px; right: 18px;
  background: var(--gold); color: var(--ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.membership-card h3 {
  font-size: 1.3rem; color: var(--ink); margin-bottom: 6px;
}
.membership-card .m-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; color: var(--sage-deep); font-weight: 600;
  line-height: 1; margin: 8px 0 4px;
}
.membership-card .m-price small {
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: var(--muted); font-weight: 400;
}
.membership-card .m-commit {
  font-size: 0.85rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.membership-card ul {
  list-style: none; padding: 0; margin: 0 0 20px;
  border-top: 1px solid var(--line);
}
.membership-card li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.membership-card li span:last-child {
  color: var(--sage-deep); font-weight: 600;
}
.membership-card .btn { margin-top: auto; align-self: flex-start; }

.fine-print {
  background: var(--surface-2);
  border-left: 4px solid var(--sage);
  border-radius: 10px;
  padding: 20px 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.fine-print strong { color: var(--ink); }
