/* Medhya freebie opt-in v2: outcome headline, form above the fold, peek inside, founder note. */

.ov2 {
  --cream: #faf6ef;
  --paper: #fffdf9;
  --ink: #1c2b22;
  --body: #3d4a43;
  --muted: #6b756f;
  --green: #2d4a35;
  --green-btn: #2c3f34;
  --sage: #eaf0e8;
  --honey: #c4893a;
  --line: rgba(28, 43, 34, 0.12);
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

body.ov2 {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.ov2 *,
.ov2 *::before,
.ov2 *::after { box-sizing: border-box; }

.ov2 img { display: block; max-width: 100%; }

.ov2-wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }

/* Returning visitor */
.ov2-back {
  display: none;
  background: var(--green-btn);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 0.7rem 1rem;
}
.ov2-back a { color: #fff; font-weight: 700; margin-left: 0.35rem; }
.ov2-back.is-on { display: block; }

/* Brand bar */
.ov2-brand {
  padding: 1rem 0 0.25rem;
  color: var(--green);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: center;
}

/* Hero */
.ov2-hero {
  display: grid;
  gap: 1.25rem;
  padding: 0.75rem 0 2.25rem;
}

.ov2-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ov2-title {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.1rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.ov2-sub {
  margin: 0;
  color: var(--body);
  font-size: 1.06rem;
  line-height: 1.5;
}

.ov2-sub strong { color: var(--ink); }

/* Form card */
.ov2-card {
  position: relative;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 22px 50px rgba(28, 43, 34, 0.1);
}

.ov2-card__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.ov2-card__cover {
  flex: 0 0 76px;
  width: 76px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(28, 43, 34, 0.18);
  transform: rotate(-3deg);
}

.ov2-card__name {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
}

.ov2-card__meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

.ov2 .optin-form { display: flex; flex-direction: column; gap: 0.65rem; }

.ov2 .optin-form input {
  width: 100%;
  height: 54px;
  padding: 0 1rem;
  border: 1px solid rgba(28, 43, 34, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
.ov2 .optin-form input::placeholder { color: #93998f; }
.ov2 .optin-form input:focus { outline: 2px solid rgba(45, 74, 53, 0.35); outline-offset: 1px; }

.ov2 .optin-form button {
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--green-btn);
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(44, 63, 52, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}
.ov2 .optin-form button:hover { background: #22322a; transform: translateY(-1px); }
.ov2 .optin-form button:disabled { cursor: wait; opacity: 0.75; transform: none; }

.ov2 .optin-form__error { margin: 0; color: #8a3a2a; font-size: 13.5px; text-align: center; }

.ov2-assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.9rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12.5px;
}
.ov2-assure li::before { content: "✓ "; color: var(--green); font-weight: 700; }

.ov2 .optin-sent { margin: 0.25rem 0 0.75rem; color: var(--ink); font-size: 1.02rem; line-height: 1.45; text-align: center; }
.ov2 .optin-sent__open {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  background: var(--green-btn);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.ov2 .optin-sent__keep { margin: 0.7rem 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.ov2-proof { margin: 0.9rem 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.ov2-proof strong { color: var(--ink); }

/* Sections */
.ov2-section { padding: 2.5rem 0; border-top: 1px solid var(--line); }

.ov2-h2 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.ov2-lead { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.02rem; }

/* Peek: fanned pages */
.ov2-peek {
  position: relative;
  height: 250px;
  margin: 0 auto 1.75rem;
  max-width: 22rem;
}
.ov2-peek img {
  position: absolute;
  top: 0;
  width: 46%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(28, 43, 34, 0.16);
  background: #fff;
}
.ov2-peek img:nth-child(1) { left: 2%; transform: rotate(-7deg); top: 18px; }
.ov2-peek img:nth-child(2) { left: 27%; z-index: 2; }
.ov2-peek img:nth-child(3) { right: 2%; transform: rotate(7deg); top: 18px; }

.ov2-inside { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.ov2-inside li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.ov2-inside__n {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.ov2-inside h3 { margin: 0 0 0.15rem; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.ov2-inside p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* Founder */
.ov2-founder {
  padding: 1.5rem 1.25rem;
  border-radius: 22px;
  background: var(--sage);
}
.ov2-founder__eyebrow { margin: 0 0 0.5rem; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ov2-founder h2 { margin: 0 0 0.75rem; color: var(--ink); font-family: var(--display); font-size: clamp(1.45rem, 5.5vw, 1.95rem); font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; }
.ov2-founder p { margin: 0 0 0.75rem; color: var(--body); }
.ov2-founder__sign { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.ov2-founder__mono {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-btn); color: #fff;
  font-family: var(--display); font-size: 20px; font-weight: 650;
  display: grid; place-items: center;
}
.ov2-founder__name { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.2; }
.ov2-founder__role { margin: 0; color: var(--muted); font-size: 13px; }

/* Final */
.ov2-final { text-align: center; }
.ov2-final .ov2-card { text-align: left; max-width: 28rem; margin: 0 auto; }

.ov2-foot { padding: 2rem 0 6rem; color: var(--muted); font-size: 12px; text-align: center; }

/* Sticky mobile CTA */
.ov2-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.ov2-sticky.is-on { transform: none; }
.ov2-sticky a {
  display: block;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0.95rem;
  border-radius: 999px;
  background: var(--green-btn);
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.optin-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Desktop */
@media (min-width: 880px) {
  .ov2-wrap { padding: 0 2rem; }
  .ov2-brand { padding-top: 1.5rem; text-align: left; }
  .ov2-hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
    padding: 2.5rem 0 4rem;
  }
  .ov2-card { padding: 1.5rem; }
  .ov2-section { padding: 4rem 0; }
  .ov2-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
  .ov2-peek { height: 330px; max-width: 26rem; margin: 0; }
  .ov2-founder { padding: 2.5rem; max-width: 46rem; margin: 0 auto; }
  .ov2-sticky { display: none; }
}

.ov2-proof--hero { margin-top: 1rem; text-align: left; }
.ov2-peek--one { height: auto; }
.ov2-peek--one img { position: static; width: 58%; margin: 0 auto; transform: rotate(-3deg); }
