/* Daily Pill of AI — join pages (variants A and B share this stylesheet) */
/* Light theme per Rohith: white background, black text, teal/pink accents */

:root {
  --bg: #FFFFFF;
  --surface: #F5F7FA;
  --border: #232B3D;
  --accent: #0284C7;
  --pink: #FF2D87;
  --body: #0B0E14;
  --muted: #5A6472;
}

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

html, body {
  background: var(--bg);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grid children must be allowed to shrink below content width */
.fold > * { min-width: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.fold {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

.copy { max-width: 520px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.logo-img {
  width: 60px;
  height: auto;
  border-radius: 12px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #0B0E14;
  letter-spacing: -0.3px;
}

h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0B0E14;
  margin-bottom: 18px;
}

.sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-slot {
  margin-bottom: 12px;
  min-height: 350px;   /* iframe's known height — page loads into final layout, no pop-in shift */
}
.form-slot iframe,
.form-slot div {
  width: 100% !important;
  max-width: 100% !important;
}

.micro {
  font-size: 13px;
  color: #8A93A6;
  text-align: center;
}

.visual svg {
  width: 100%;
  height: auto;
  display: block;
}

/* arrow + tagline climb the ladder once on page load */
.climb {
  animation: climb-up 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
  will-change: transform;
}

@keyframes climb-up {
  from { transform: translateY(530px); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .climb { animation: none; }
}

.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #8A93A6;
}

.footer a { color: #8A93A6; text-decoration: none; }
.footer a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .fold {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .copy { max-width: 100%; }
  .brand { margin-bottom: 20px; }
  .logo-img { width: 48px; }
  .brand-name { font-size: 19px; }
  h1 { font-size: 30px; }
  .sub { font-size: 16px; }
  .visual { max-width: 440px; margin: 0 auto; }
}
