/* MaoPython — clean light squeeze page. Same copy, refined type + spacing. */
:root {
  --ink: #0f172a;
  --body: #3f4c63;
  --muted: #68778f;
  --line: #e5ebf3;
  --panel: #f6f8fb;
  --blue: #1d4ed8;
  --green: #00c853;
  --radius: clamp(16px, 2.5vw, 24px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--body);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 32px);
  background: linear-gradient(135deg, #f7f9fc 0%, #dbe3ef 60%, #c3cfe2 100%);
  -webkit-font-smoothing: antialiased;
}

.page { width: min(1020px, 100%); }

.container {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(15, 23, 42, 0.25);
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
}

.squeeze-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

/* ---------- Cover ---------- */
.content__image-section { display: flex; justify-content: center; }

.book { position: relative; }
.book::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18px;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.25), transparent 70%);
  filter: blur(7px);
}

.pdf-cover-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 50px -14px rgba(15, 23, 42, 0.35);
}

/* ---------- Type ---------- */
.content__text-section { min-width: 0; }

h1 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(1.6rem, 1.25rem + 1.8vw, 2.15rem);
  margin-bottom: 14px;
  text-wrap: balance;
}

.sub-headline {
  color: var(--muted);
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.12rem);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 44ch;
}

.pitch {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.1rem);
  line-height: 1.7;
  color: var(--body);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 13px 13px 0;
  padding: 16px 18px;
  margin-bottom: 24px;
  max-width: 52ch;
}

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

/* ---------- Form ---------- */
.form-wrap { margin-top: 26px; min-height: 50px; }
.form-wrap .formkit-form,
.form-wrap [data-uid],
.form-wrap iframe { max-width: 100% !important; width: 100% !important; }

/* ---------- All screens ---------- */
@media (max-width: 860px) {
  .squeeze-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
  .pdf-cover-image { max-width: 240px; }
}

@media (max-width: 720px) {
  body { align-items: flex-start; }
  .squeeze-grid { grid-template-columns: 1fr; text-align: center; }
  h1 { margin-inline: auto; }
  .sub-headline { margin-inline: auto; }
  .pdf-cover-image { width: min(56vw, 235px); }
  .pitch { text-align: left; }
}

@media (max-width: 420px) {
  body { padding: 10px; }
  .pdf-cover-image { width: min(60vw, 195px); }
  .pitch { padding: 14px 15px; }
}

@media (max-width: 340px) {
  .container { padding: 24px 15px; }
  h1 { font-size: 1.5rem; }
}

@media (min-width: 1200px) {
  .container { padding: 64px 68px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
