/* Weightoo — light, soft-green iOS aesthetic */

:root {
  --w-bg: #fbfcf9;
  --w-bg-alt: #f4f7f1;
  --w-surface: #ffffff;
  --w-border: rgba(122, 168, 137, 0.16);
  --w-border-strong: rgba(122, 168, 137, 0.28);
  --w-text: #1a2a20;
  --w-muted: #6b7772;
  --w-accent: #7ba889;
  --w-accent-2: #5f9070;
  --w-accent-soft: rgba(122, 168, 137, 0.10);
  --w-shadow: 0 12px 40px rgba(28, 60, 40, 0.06);
  --w-shadow-lg: 0 24px 80px rgba(28, 60, 40, 0.10);
  --w-radius: 22px;
  --w-radius-sm: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--w-bg);
  color: var(--w-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.w-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient background blobs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}
body::before {
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(122, 168, 137, 0.35), transparent 70%);
}
body::after {
  bottom: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(180, 210, 190, 0.30), transparent 70%);
}

/* Navigation */
.w-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251, 252, 249, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.w-nav.scrolled {
  border-bottom-color: var(--w-border);
  background: rgba(251, 252, 249, 0.88);
}
.w-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.w-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--w-text);
}
.w-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--w-accent), var(--w-accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 6px 16px rgba(122, 168, 137, 0.35);
}
.w-brand-mark svg { width: 18px; height: 18px; }
.w-brand em { color: var(--w-accent); font-style: normal; }

.w-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--w-text);
  color: white;
  transition: transform .2s, background .2s;
}
.w-nav-cta:hover { transform: translateY(-1px); background: var(--w-accent-2); }

/* Buttons */
.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s, box-shadow .2s;
  cursor: pointer;
}
.w-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.w-btn-primary {
  background: var(--w-accent);
  color: white;
  box-shadow: 0 10px 30px rgba(122, 168, 137, 0.35);
}
.w-btn-primary:hover {
  transform: translateY(-2px);
  background: var(--w-accent-2);
  box-shadow: 0 14px 40px rgba(122, 168, 137, 0.45);
}
.w-btn-ghost {
  background: white;
  color: var(--w-text);
  border-color: var(--w-border-strong);
}
.w-btn-ghost:hover { border-color: var(--w-accent); }

/* Hero */
.w-hero {
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
}
.w-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-accent-2);
  padding: 8px 16px;
  border: 1px solid var(--w-border-strong);
  border-radius: 999px;
  background: var(--w-surface);
  margin-bottom: 28px;
  box-shadow: var(--w-shadow);
}
.w-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.3); }
}

.w-hero h1 {
  font-size: clamp(38px, 6.5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.w-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--w-accent), var(--w-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.w-hero p.lead {
  color: var(--w-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 620px;
  margin: 0 auto 36px;
}

.w-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.w-trust {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--w-muted);
  font-size: 13.5px;
  margin-top: 8px;
}
.w-trust .stars { color: #f5b93b; letter-spacing: 1px; }

.w-hero-mockup {
  margin: 56px auto 0;
  max-width: 1000px;
  position: relative;
}
.w-hero-mockup img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(28, 60, 40, 0.15));
}

/* Store badges */
.w-stores {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.w-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--w-text);
  color: white;
  transition: transform .2s, background .2s;
  min-width: 200px;
}
.w-store:hover { transform: translateY(-2px); background: var(--w-accent-2); }
.w-store svg { width: 28px; height: 28px; flex-shrink: 0; }
.w-store-text { text-align: left; line-height: 1.15; }
.w-store-text small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}
.w-store-text strong {
  font-size: 16px;
  font-weight: 600;
}

/* Section */
.w-section { padding: 100px 0; position: relative; }
.w-section-alt { background: var(--w-bg-alt); }

.w-section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.w-section-head .tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w-accent-2);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--w-accent-soft);
  margin-bottom: 18px;
  font-weight: 600;
}
.w-section-head h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
}
.w-section-head p {
  color: var(--w-muted);
  font-size: 17px;
}

/* Features grid */
.w-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.w-feature {
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  padding: 32px 26px;
  box-shadow: var(--w-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.w-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--w-shadow-lg);
}
.w-feature .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--w-accent), var(--w-accent-2));
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(122, 168, 137, 0.30);
}
.w-feature .icon svg { width: 26px; height: 26px; }
.w-feature h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.w-feature p { color: var(--w-muted); font-size: 15px; }

/* Coach cards */
.w-coaches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.w-coach {
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--w-shadow);
  transition: transform .3s ease, border-color .3s;
}
.w-coach:hover { transform: translateY(-4px); border-color: var(--w-accent); }
.w-coach .avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: white;
}
.w-coach:nth-child(1) .avatar { background: linear-gradient(135deg, #a3c9b0, #7ba889); }
.w-coach:nth-child(2) .avatar { background: linear-gradient(135deg, #4a6b57, #2f4a3b); }
.w-coach:nth-child(3) .avatar { background: linear-gradient(135deg, #ffb26b, #ff8a3d); }
.w-coach:nth-child(4) .avatar { background: linear-gradient(135deg, #86b9c9, #4d8fa3); }
.w-coach h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.w-coach .role {
  color: var(--w-accent-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.w-coach p { color: var(--w-muted); font-size: 13.5px; line-height: 1.5; }

/* How it works */
.w-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.w-step {
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  padding: 32px;
  box-shadow: var(--w-shadow);
  counter-increment: step;
  position: relative;
}
.w-step::before {
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--w-text);
  color: white;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 6px 16px rgba(28, 60, 40, 0.20);
}
.w-step h3 { font-size: 20px; margin-bottom: 8px; margin-top: 10px; letter-spacing: -0.015em; }
.w-step p { color: var(--w-muted); font-size: 15px; }

/* FAQ */
.w-faq { max-width: 780px; margin: 0 auto; }
.w-faq details {
  background: var(--w-surface);
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius-sm);
  padding: 22px 26px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.w-faq details[open] {
  border-color: var(--w-accent);
  box-shadow: var(--w-shadow);
}
.w-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.005em;
}
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--w-accent-soft);
  color: var(--w-accent-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: transform .3s;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%235f9070' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.w-faq details[open] summary::after { transform: rotate(45deg); }
.w-faq details p {
  color: var(--w-muted);
  padding-top: 14px;
  font-size: 15px;
  line-height: 1.65;
}

/* Final CTA */
.w-final {
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.w-final-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 40px;
  background: linear-gradient(135deg, var(--w-surface), var(--w-bg-alt));
  border: 1px solid var(--w-border);
  border-radius: 32px;
  box-shadow: var(--w-shadow-lg);
  position: relative;
  overflow: hidden;
}
.w-final-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122, 168, 137, 0.20), transparent 70%);
  border-radius: 50%;
}
.w-final-card > * { position: relative; z-index: 1; }
.w-final-card h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.w-final-card p {
  color: var(--w-muted);
  margin-bottom: 32px;
  font-size: 17px;
}

/* Footer */
.w-footer {
  padding: 44px 0 56px;
  color: var(--w-muted);
  font-size: 14px;
  border-top: 1px solid var(--w-border);
  background: var(--w-bg-alt);
}
.w-foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.w-foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.w-foot-links a { transition: color .2s; }
.w-foot-links a:hover { color: var(--w-accent-2); }

/* Reveal animation */
.w-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94),
              transform .8s cubic-bezier(.25,.46,.45,.94);
}
.w-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ App switcher (in nav) ============ */
.w-nav-inner-3 {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.w-nav-inner-3 > .w-brand { flex: 0 0 auto; }
.w-nav-inner-3 > .w-app-switch {
  flex: 0 0 auto;
  margin: 0 auto;
}
.w-nav-inner-3 > .w-nav-cta { flex: 0 0 auto; }

.w-app-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--w-border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.w-app-switch a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--w-muted);
  transition: background .2s, color .2s;
  line-height: 1;
  white-space: nowrap;
}
.w-app-switch a:hover { color: var(--w-text); }
.w-app-switch a.active {
  background: linear-gradient(135deg, var(--w-accent), var(--w-accent-2));
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(122, 168, 137, 0.35);
}

@media (max-width: 720px) {
  .w-nav-inner-3 {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
  .w-nav-inner-3 > .w-brand { order: 1; margin-right: auto; }
  .w-nav-inner-3 > .w-nav-cta { order: 2; }
  .w-nav-inner-3 > .w-app-switch { order: 3; flex-basis: 100%; justify-content: center; margin: 0; }
}

/* ============ Legal pages (light) ============ */
main.w-legal {
  display: block;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 72px 24px 96px !important;
  box-sizing: border-box;
}
.w-legal > h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.w-legal .updated {
  color: var(--w-muted);
  margin-bottom: 32px;
  font-size: 14px;
}
.w-legal .toc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--w-border);
}
.w-legal .toc a {
  padding: 8px 16px;
  border: 1px solid var(--w-border-strong);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--w-muted);
  background: var(--w-surface);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.w-legal .toc a:hover {
  color: var(--w-text);
  border-color: var(--w-accent);
  box-shadow: 0 4px 12px rgba(122, 168, 137, 0.15);
}
.w-legal section + section {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--w-border);
}
.w-legal section > h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.w-legal h2 {
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  color: var(--w-text);
}
.w-legal p,
.w-legal li {
  color: #3d4a44;
  font-size: 15.5px;
  margin-bottom: 12px;
}
.w-legal ul,
.w-legal ol { padding-left: 22px; }
.w-legal a {
  color: var(--w-accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.w-legal a:hover { color: var(--w-text); }
.w-legal strong { color: var(--w-text); }

.w-contact-card {
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  background: var(--w-surface);
  box-shadow: var(--w-shadow);
}

/* Responsive */
@media (max-width: 900px) {
  .w-features { grid-template-columns: 1fr; }
  .w-coaches  { grid-template-columns: repeat(2, 1fr); }
  .w-steps    { grid-template-columns: 1fr; }
  .w-section  { padding: 72px 0; }
  .w-hero     { padding: 56px 0 24px; }
  .w-final    { padding: 80px 0; }
  .w-final-card { padding: 48px 24px; }
  .w-store    { min-width: 0; flex: 1 1 100%; }
}
