/* INFORMATION PAGE — builds on books.css */

/* Page containers align with your site-wide max width & padding */
.policies .site-header,
.policies .site-footer {
  margin: 0 auto;
  max-width: var(--content-max);
  padding: 16px clamp(12px, 3vw, 24px);
}

/* Main wrapper */
.policies-wrap {
  margin: 0 auto;
  max-width: var(--content-max);
  padding: 8px clamp(12px, 3vw, 24px) 48px;
}

/* Two-column grid on desktop; single column on mobile */
.policies-grid {
  display: grid;
  grid-template-columns: 320px 1fr; /* left = signup, right = content */
  gap: 28px;
}
@media (max-width: 900px) {
  .policies-grid { grid-template-columns: 1fr; }
}

/* Default (mobile/tablet): part of normal flow, not sticky */
.policies-signup {
  align-self: start;
  position: static;
  display: flex;
  flex-direction: column;
  z-index: auto;
  margin-top: 0;
}

/* Desktop only: sticky column that never clips content */
@media (min-width: 901px) {
  .policies-signup {
    position: sticky;
    top: 50px;                         /* small top gutter */
    margin-top: 0;
    padding-bottom: 10px;              /* small bottom gutter */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;

    /* Key: constrain to viewport height and allow its own scroll if needed */
    max-height: calc(100vh - 20px);    /* 10 top + 10 bottom */
    overflow: auto;                    /* left column scrolls if content > viewport */
    overscroll-behavior: contain;      /* prevents page jump while scrolling the column */
  }
}




.signup__heading {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
}
.signup__dek {
  margin: 0 0 14px;
  color: var(--muted);
}

/* Push the blurb to the bottom of the left column */
.policies-blurb {
  margin-top: auto;              /* this pushes it to the bottom in the flex column */
  padding-top: 50px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Email in your accent color (no bold) */
.policies-blurb__email {
  color: #7851A9;
  text-decoration: none;
}
.policies-blurb__email:hover { text-decoration: underline; }

/* Right column (content) — match site typography */
.policies-content h1 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}
.policies-content h2 { margin: 22px 0 8px; font-size: 1.1rem; }
.policies-content h3 { margin: 16px 0 6px; font-size: 1rem; }
.policies-content p,
.policies-content li { line-height: 1.6; }
.policies-content ul { padding-left: 1.1rem; }

/* ——— Zoho form theming (no markup changes) ——— */

/* Root container injected by Zoho — make it match your site and keep it narrow */
.quick_form_7_css[name="SIGNUP_BODY"] {
  width: 100% !important;
  max-width: 320px !important;         /* smaller column form */
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* Field blocks */
.SIGNUP_FLD {
  width: 100% !important;
  margin: 8px 0 !important;
}

/* Labels above inputs — lighter/smaller */
.SIGNUP_FLD > div {
  font-size: 12px !important;
  color: var(--muted) !important;
  margin-bottom: 4px !important;
}

/* Inputs — smaller font + padding */
.SIGNUP_FLD input[type="text"],
.SIGNUP_FLD input[type="email"] {
  width: 100% !important;
  padding: 8px 10px !important;        /* reduced height */
  font-size: 13px !important;          /* reduced type size */
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #f6f6f6 !important;
  color: var(--text) !important;
  outline: none !important;
}

/* Submit button — compact & centered */
#zcWebOptin {
  display: block !important;
  margin: 12px auto 0 !important;      /* center */
  width: auto !important;               /* pill size */
  padding: 10px 14px !important;        /* reduced height */
  font-size: 13px !important;
  font-family: inherit !important;
  background: #6A7F71 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
}
#zcWebOptin:hover { background: #5f7166 !important; }

/* Hide Zoho banners you didn’t want */
#errorMsgDiv,
#unauthPageTitle { display: none !important; }

/* Remove bold sitewide on the Information page */
.policies h1,
.policies h2,
.policies h3,
.policies b,
.policies strong {
  font-weight: 400 !important; /* normal weight */
}

/* Zoho sometimes injects inline bold; neutralize it */
.policies .quick_form_7_css * {
  font-weight: 400 !important;
}

/* Emphasis via color instead of bold */
.policies b,
.policies strong {
  color: #7851A9;         /* your purple */
}

/* Right column typography (no bold) */
.policies-content h1 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400; /* not bold */
}
.policies-content h2 { margin: 22px 0 8px; font-size: 1.1rem; font-weight: 400; }
.policies-content h3 { margin: 16px 0 6px; font-size: 1rem;   font-weight: 400; }

/* Left column heading (signup) */
.signup__heading {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 400; /* not bold */
}

/* Field blocks closer together */
.SIGNUP_FLD { margin: 6px 0 !important; }

/* Labels even lighter */
.SIGNUP_FLD > div {
  font-size: 12px !important;
  margin-bottom: 2px !important;
}

/* Inputs shorter and smaller */
.SIGNUP_FLD input[type="text"],
.SIGNUP_FLD input[type="email"] {
  padding: 6px 8px !important;
  font-size: 12.5px !important;
}

/* Submit button a touch smaller */
#zcWebOptin {
  padding: 8px 12px !important;
  font-size: 12.5px !important;
  margin-top: 10px !important;
}

/* Reuse your existing .back-link look, but make it block-level here */
.policies .back-link--block {
  display: inline-block;
  margin: 0 0 28px;
  text-decoration: none;
  color: inherit;                 /* keeps your site’s text color */
}
.policies .back-link--block:hover { text-decoration: underline; }

/* Mobile: center the left column content */
@media (max-width: 900px) {
  .policies-signup {
    align-items: center;     /* center children horizontally */
    text-align: center;      /* center text for headings/dek/blurb */
    gap: 8px;                /* small vertical rhythm between pieces */
  }

  /* Keep the Zoho form narrow and centered */
  .quick_form_7_css[name="SIGNUP_BODY"] {
    max-width: 360px !important;   /* tweak 320–400px to taste */
    margin: 0 auto !important;     /* centers the form block */
  }

  /* Inputs already 100% width; this keeps the block centered visually */
  .SIGNUP_FLD { margin-left: auto !important; margin-right: auto !important; }

  /* Center the back link at the top of the column (if present) */
  .back-link--block { margin-left: auto; margin-right: auto; }

  /* Blurb centered and a comfortable line length */
  .policies-blurb {
    max-width: 36ch;   /* readable width */
    padding-top: 28px; /* keeps a nice gap above the blurb */
  }
  .policies-blurb__email { display: inline-block; }
}

/* — Headings: slightly bigger & white (no bold already enforced) — */
.policies-content h2 {
  font-size: 1.18rem;     /* a touch larger */
  font-weight: 400;       /* ensure not bold */
}

/* Keep h3 readable (already not bold) */
.policies-content h3 {
  font-size: 1rem;
}

/* — Plain-text email styling (no links) — */
.email-text {
  color: #7851A9;                 /* your purple */
  text-decoration: none;          /* default: no underline */
  cursor: text;                   /* feels like selectable text */
}
.email-text:hover {
  text-decoration: underline;     /* underline on hover even though it’s not a link */
}

/* Remove link from blurb email by styling its span (already swapped in HTML) */
.policies-blurb__email { color: #7851A9; text-decoration: none; }
.policies-blurb__email:hover { text-decoration: underline; } /* if you ever keep it as a span */
