/* Shared style for the Her Vital Season program page and the free class page. Loaded after legal.css. */
:root { --plum-soft: #EBDFE6; --sage: #A9B08F; }
.top, .end { max-width: 1040px; }
.page { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: clamp(48px, 7vw, 88px) 0; }
section + section { border-top: 1px solid var(--line); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin: 12px 0 18px; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.1rem); margin: 10px 0 14px; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--plum); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--olive); background: var(--olive); color: #FBF8F3; font-family: var(--body); cursor: pointer; }
.btn:hover { background: #3F4829; border-color: #3F4829; }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: #FBF8F3; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.cta .note { font-size: 0.9rem; color: var(--muted); }
.pill { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); background: var(--plum-soft); padding: 5px 12px; border-radius: 999px; }

/* Hero with photo */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 400px; width: 100%; justify-self: center; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Lists and panels */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF8F3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.panel { background: var(--oat); border-radius: 20px; padding: clamp(24px, 4vw, 36px); }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; margin: 0 0 8px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 600; text-align: right; }
.price { font-family: var(--display); font-size: 2.2rem; color: var(--olive); line-height: 1; }

/* Problem cards */
.feel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.feel p { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; color: var(--ink); }

/* Three steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; counter-reset: step; }
.steps div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.steps .when { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }
.steps h3 { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin: 6px 0 8px; color: var(--olive); }
.steps p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.faq div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.faq h3 { font-family: var(--display); font-weight: 400; font-size: 1.1rem; margin: 0 0 6px; }
.faq p { margin: 0; color: var(--muted); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.quotes figure { margin: 0; background: var(--plum-soft); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.quotes blockquote { margin: 0; font-family: var(--display); font-size: 1.02rem; line-height: 1.6; }
.quotes figcaption { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--plum); }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* Story */
.story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.story .photo { max-width: 380px; position: sticky; top: 24px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.creds span { font-size: 0.85rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); }

/* Final CTA */
.final { background: var(--olive); color: #FBF8F3; border-radius: 24px; padding: clamp(32px, 6vw, 64px); text-align: center; margin: clamp(48px, 7vw, 88px) 0; }
.final h2 { color: #FBF8F3; margin-top: 0; }
.final h2 em { color: #E6D3DE; }
.final p { color: rgba(251,248,243,.85); max-width: 34em; margin-left: auto; margin-right: auto; }
.final .btn { background: #FBF8F3; color: var(--olive); border-color: #FBF8F3; }
.final .btn:hover { background: #fff; }
.final .cta { justify-content: center; }
.final .note { color: rgba(251,248,243,.75); }

/* Sign-up form (class page) */
.signup-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 36px); box-shadow: 0 24px 48px -28px rgba(59,42,34,.35); }
.signup-card h2 { font-size: 1.5rem; margin-top: 0; }
.when-box { display: grid; gap: 4px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--oat); }
.when-box strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.when-box span { font-size: 0.92rem; color: var(--muted); }
form.reg { display: grid; gap: 10px; }
form.reg label { font-size: 0.85rem; font-weight: 600; }
form.reg input { font: inherit; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
form.reg input:focus { outline: none; border-color: var(--olive); }
form.reg .btn { margin-top: 6px; width: 100%; }
form.reg button[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 12px 0 0; }
.form-done { font-size: 0.95rem; color: var(--olive); font-weight: 600; margin: 12px 0 0; }
.form-error { font-size: 0.95rem; color: var(--plum); font-weight: 600; margin: 12px 0 0; }

@media (max-width: 820px) {
  .hero, .two, .story { grid-template-columns: 1fr; }
  .photo { max-width: 320px; }
  .story .photo { position: static; max-width: 300px; }
  .feel, .quotes, .faq, .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
