:root {
  --black: #090909;
  --yellow: #ffc900;
  --yellow-dark: #eab900;
  --white: #ffffff;
  --off-white: #faf9f5;
  --text: #151515;
  --muted: #626262;
  --border: #dedede;

  --heading-font: "Poppins", sans-serif;
  --body-font: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--text);
  background: var(--off-white);
}


/* HEADER */

.header {
  width: 100%;
  min-height: 105px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.brand {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--white);
  text-decoration: none;
}

.brand-icon {
  width: 58px;
  height: 70px;
  display: flex;
  align-items: center;
  color: var(--yellow);
}

.brand-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-divider {
  width: 1px;
  height: 62px;
  background: rgba(255,255,255,.55);
}

.brand-words {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--heading-font);
  line-height: 1;
}

.brand-words strong {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.3px;
}

.brand-words span {
  margin-top: 5px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 8px;
  padding-left: 8px;
}


/* PAGE */

.page {
  min-height: calc(100vh - 105px);
  padding: 55px 25px 75px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background:
    radial-gradient(ellipse at 50% 35%, #ffffff 0%, transparent 70%),
    var(--off-white);
}

.guide-card {
  width: 100%;
  max-width: 1250px;
  padding: 55px 65px 65px;
  border: 1px solid #e4e0d6;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(0,0,0,.035);
}


/* HEADING */

.guide-heading {
  max-width: 1050px;
  margin: 0 auto 45px;
  text-align: center;
}

.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 65px;
  height: 2px;
  background: var(--yellow);
}

.eyebrow strong {
  padding: 9px 25px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .5px;
}

.guide-heading h1 {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.2px;
  color: var(--black);
}


/* CONTENT LAYOUT */

.guide-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 55px;
}


/* GUIDE IMAGE */

.guide-image {
  min-height: 420px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide-image img {
  width: 100%;
  max-width: 490px;
  max-height: 440px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 17px 15px rgba(0,0,0,.18));
}

.book-shadow {
  position: absolute;
  width: 65%;
  height: 65%;
  left: 17%;
  top: 20%;
  border-radius: 50%;
  background: rgba(0,0,0,.055);
  filter: blur(45px);
}


/* BENEFITS */

.guide-details {
  padding-left: 45px;
  border-left: 1px solid #d7d7d7;
}

.benefits {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
}

.check-icon {
  width: 35px;
  height: 35px;
  min-width: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
}

.check-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* EMAIL FORM */

.download-form {
  width: 100%;
}

.email-field {
  width: 100%;
  min-height: 66px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1.5px solid #c9c9c9;
  border-radius: 8px;
  background: white;
  transition: border-color .2s, box-shadow .2s;
}

.email-field:focus-within {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(255,201,0,.15);
}

.email-field svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: none;
  stroke: #454545;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.email-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-family: var(--body-font);
  font-size: 17px;
}

.email-field input::placeholder {
  color: #999999;
}


.download-button {
  width: 100%;
  min-height: 76px;
  margin-top: 22px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 0;
  border-radius: 8px;
  color: var(--black);
  background: var(--yellow);
  box-shadow: 0 7px 16px rgba(0,0,0,.09);
  font-family: var(--heading-font);
  font-size: 23px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.download-button:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.download-button:active {
  transform: translateY(0);
}

.button-arrow {
  font-family: var(--body-font);
  font-size: 32px;
  line-height: 1;
}

.form-note {
  margin-top: 17px;
  color: #555;
  font-size: 15px;
  text-align: center;
}

.form-message {
  min-height: 20px;
  margin-top: 12px;
  color: #4b6500;
  font-size: 13px;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  clip-path: inset(50%);
}


/* TABLET */

@media (max-width: 900px) {

  .guide-card {
    padding: 45px 35px;
  }

  .guide-content {
    gap: 30px;
  }

  .guide-details {
    padding-left: 28px;
  }

  .benefits li {
    font-size: 16px;
    gap: 13px;
  }

  .download-button {
    font-size: 19px;
  }

}


/* MOBILE */

@media (max-width: 650px) {

  .header {
    min-height: 85px;
    padding: 12px;
  }

  .brand {
    gap: 11px;
  }

  .brand-icon {
    width: 43px;
    height: 55px;
  }

  .brand-divider {
    height: 45px;
  }

  .brand-words strong {
    font-size: 25px;
  }

  .brand-words span {
    font-size: 13px;
    letter-spacing: 6px;
  }

  .page {
    padding: 25px 12px 40px;
  }

  .guide-card {
    padding: 32px 20px;
    border-radius: 9px;
  }

  .guide-heading {
    margin-bottom: 25px;
  }

  .eyebrow {
    gap: 8px;
    margin-bottom: 15px;
  }

  .eyebrow span {
    width: 20px;
  }

  .eyebrow strong {
    padding: 8px 12px;
    font-size: 10px;
  }

  .guide-heading h1 {
    font-size: 25px;
    letter-spacing: -.7px;
  }

  .guide-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .guide-image {
    min-height: 280px;
  }

  .guide-image img {
    max-height: 300px;
    max-width: 330px;
  }

  .guide-details {
    padding: 28px 0 0;
    border-left: 0;
    border-top: 1px solid #dedede;
  }

  .benefits {
    gap: 17px;
    margin-bottom: 28px;
  }

  .benefits li {
    gap: 13px;
    font-size: 15px;
    line-height: 1.5;
  }

  .check-icon {
    width: 29px;
    height: 29px;
    min-width: 29px;
  }

  .check-icon svg {
    width: 18px;
    height: 18px;
  }

  .email-field {
    min-height: 57px;
    padding: 0 14px;
  }

  .email-field svg {
    width: 23px;
    height: 23px;
  }

  .email-field input {
    font-size: 14px;
  }

  .download-button {
    min-height: 62px;
    margin-top: 15px;
    padding: 12px;
    gap: 10px;
    font-size: 16px;
  }

  .button-arrow {
    font-size: 25px;
  }

  .form-note {
    font-size: 13px;
  }

}

/* =========================================================
   BREVO FORM — Visionary Gazette guide page
   Additions override Brevo's default form styling.
   ========================================================= */

.guide-card .guide-details .sib-form {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

.guide-card .guide-details #sib-form-container {
  width: 100% !important;
  max-width: none !important;
}

.guide-card .guide-details #sib-container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guide-card .guide-details #sib-form {
  width: 100% !important;
  margin: 0 !important;
}

.guide-card .guide-details #sib-form > div {
  padding: 0 !important;
  margin: 0 !important;
}

.guide-card .guide-details #sib-form .sib-input,
.guide-card .guide-details #sib-form .form__entry,
.guide-card .guide-details #sib-form .form__label-row {
  width: 100% !important;
  margin: 0 !important;
}

.guide-card .guide-details #sib-form .entry__label,
.guide-card .guide-details #sib-form .entry__specification {
  display: none !important;
}

.guide-card .guide-details #sib-form .entry__field {
  position: relative !important;
  width: 100% !important;
  min-height: 58px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.guide-card .guide-details #sib-form .entry__field::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23454545' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.guide-card .guide-details #sib-form input#EMAIL {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  padding: 0 18px 0 57px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #151515 !important;
  box-shadow: none !important;
  font-family: var(--body-font) !important;
  font-size: 15px !important;
  line-height: normal !important;
}

.guide-card .guide-details #sib-form input#EMAIL::placeholder {
  color: #999 !important;
  opacity: 1 !important;
  font-family: var(--body-font) !important;
  font-size: 15px !important;
}

.guide-card .guide-details #sib-form .entry__field:focus-within {
  border-color: var(--yellow-dark) !important;
  box-shadow: 0 0 0 3px rgba(255, 201, 0, .15) !important;
}

.guide-card .guide-details #sib-form .entry__error {
  display: block;
  margin-top: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #b42318 !important;
  font-family: var(--body-font) !important;
  font-size: 12px !important;
}

.guide-card .guide-details #sib-form .sib-form-block:has(> button) {
  margin-top: 18px !important;
  padding: 0 !important;
  text-align: center !important;
}

.guide-card .guide-details #sib-form button.sib-form-block__button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 14px 22px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--yellow) !important;
  color: var(--black) !important;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .09) !important;
  text-align: center !important;
  font-family: var(--heading-font) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: background .2s, transform .2s, box-shadow .2s !important;
}

.guide-card .guide-details #sib-form button.sib-form-block__button:hover {
  background: var(--yellow-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .12) !important;
}

.guide-card .guide-details #sib-form button.sib-form-block__button .main-text-btn {
  display: inline !important;
  color: var(--black) !important;
  font-family: var(--heading-font) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.guide-card .guide-details #sib-form button.sib-form-block__button .main-text-btn::after {
  content: "  →";
  margin-left: 10px;
  font-family: var(--body-font);
  font-size: 26px;
  font-weight: 500;
  vertical-align: -2px;
}

.guide-card .guide-details #sib-form button.sib-form-block__button .sub-text-btn,
.guide-card .guide-details #sib-form button.sib-form-block__button .progress-indicator__icon {
  display: none !important;
}

/* Small reassurance line beneath the yellow button */
.guide-card .guide-details #sib-form .sib-form-block:has(> button)::after {
  content: "Instant access to the marketing guide.";
  display: block;
  margin-top: 14px;
  color: #555;
  text-align: center;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.guide-card .guide-details .sib-form-message-panel {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 14px !important;
  padding: 12px 14px !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  font-family: var(--body-font) !important;
  font-size: 13px !important;
}

/* Brevo mobile spacing */
@media (max-width: 650px) {
  .guide-card .guide-details #sib-form .entry__field {
    min-height: 55px !important;
  }

  .guide-card .guide-details #sib-form input#EMAIL {
    height: 53px !important;
    min-height: 53px !important;
    padding-left: 50px !important;
    font-size: 14px !important;
  }

  .guide-card .guide-details #sib-form .entry__field::before {
    left: 15px;
    width: 20px;
    height: 20px;
  }

  .guide-card .guide-details #sib-form button.sib-form-block__button {
    min-height: 60px !important;
    margin-top: 15px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
  }

  .guide-card .guide-details #sib-form button.sib-form-block__button .main-text-btn {
    font-size: 15px !important;
  }

  .guide-card .guide-details #sib-form button.sib-form-block__button .main-text-btn::after {
    font-size: 22px;
    margin-left: 5px;
  }
}
