/* -----------------------------------
   Global resets & base styles
----------------------------------- */
html, body {
  width: 100%;
  height: 100%;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; /* was 400 */
  color: #333;
}

body {
  margin: 0;
}

/* -----------------------------------
   Typography
----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400; /* was 500 */
}

.page-section h1 {
  font-size: 1.89rem; /* was 2.1rem */
  font-weight: 500;   /* was 600 */
  margin-bottom: 1.375rem; /* was 1.25rem +10% */
}

.page-section h2 {
  font-size: 1.35rem; /* was 1.5rem */
  font-weight: 500;   /* was 600 */
  margin: 2.2rem 0 1.1rem; /* margins +10% */
}

.page-section p,
.agent-card p {
  font-size: 0.945rem; /* was 1.05rem */
  line-height: 1.65;
  font-weight: 300;    /* unchanged */
  margin-bottom: 1.375rem; /* was 1.25rem +10% */
}

.lead {
  font-size: 1.035rem; /* was 1.15rem */
  line-height: 1.6;
  font-weight: 350;    /* was 400 */
}

/* -----------------------------------
   Layout containers
----------------------------------- */
/* Product blocks */
.product-block {
  padding: 80px 60px;            /* more breathing room around */
  border-bottom: 1px solid #e0e0e0;
}

.product-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;           /* center text with image vertically */
  justify-content: center;       /* keep everything balanced */
  gap: 48px;                     /* extra space between text & image */
  max-width: 1200px;             /* keep content narrow */
  margin: 0 auto;                /* center in page */
}

.product-text {
  flex: 1 1 45%;
  max-width: 500px;
  min-width: 280px;
  text-align: left;              /* align text neatly */
}

.product-image {
  flex: 1 1 40%;
  max-width: 450px;              /* smaller image block */
  display: flex;
  justify-content: center;
}

.product-img {
  width: 100%;                    /* smaller than full container */
  max-width: 450px;              /* hard cap */
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .product-flex {
    flex-direction: column;
    gap: 24px;                   /* less gap on small screens */
    padding: 40px 20px;
    text-align: center;
  }

  .product-text {
    max-width: 100%;
    text-align: center;
  }

  .product-img {
    width: 70%;
    max-width: 260px;            /* smaller on phones */
  }
}

/* -----------------------------------
   Navbar
----------------------------------- */
.navbar {
  background-color: #728aac !important;
  border-bottom: 1px solid #e0cfc7;
}

.navbar-brand,
.nav-link {
  color: #ffffff !important;
  font-size: 16.2px !important; /* was 18px -10% */
  font-weight: 250 !important; /* was 300 */
}

.nav-link:hover {
  color: #351312 !important;
}

.rounded-logo {
  border-radius: 20%;
  width: 36px;
  height: 36px;
  object-fit: cover; /* ensures it doesn't stretch */
}

/* -----------------------------------
   Cards
----------------------------------- */
.agent-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.65rem; /* was 1.5rem +10% */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: none;
  transition: box-shadow 0.2s ease;
}

.agent-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.agent-card h3 {
  font-size: 1.125rem; /* was 1.25rem -10% */
  font-weight: 500;    /* was 600 */
  margin-bottom: 0.66rem; /* was 0.6rem +10% */
  color: #b95667;
}


/* -----------------------------------
   Footer
----------------------------------- */
footer {
  padding: 13.2px 0; /* was 12px +10% */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px; /* was 20px +10% */
}

.footer-left, .footer-right {
  flex: 1 1 200px;
}

.footer-overlay {
  background-color:#728aac;
  padding: 35px; /* was 32px +10% */
  border-radius: 8px;
}

.site-footer a {
  color: #f0f0f0;
  text-decoration: underline;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1em; /* was 1em +10% */
  display: flex;
  flex-wrap: wrap;
  gap: 1.1em; /* was 1em +10% */
}

.footer-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-overlay {
    padding: 20px; /* reduce vertical & horizontal padding */
  }

  .footer-left,
  .footer-right {
    flex: 1 1 auto; /* allow more flexible sizing */
  }
}

/* -----------------------------------
   Banners & hero
----------------------------------- */

.intro-header {
  background: url(../img/calyn_banner.png) no-repeat center center;
  background-size: cover;
  aspect-ratio: 16 / 5;   /* adjust to your image ratio */
  max-width: 1600px;
  margin: 0 auto 0;
  margin-top: 80px;
  border-bottom: 5px solid #728aac; /* only bottom border */
}

@media (max-width: 768px) {
  .intro-header {
    background: url(../img/calyn_banner_mobile.png) no-repeat center center;
    background-size: cover;
    min-height: 235px;     /* shrink for phones */
    max-height: 300px;
    margin-top: 80px;
    margin-bottom: -10px;
    border-bottom: 5px solid #728aac; /* only bottom border */
  }
}

.banner {
  padding: 44px 0; /* was 40px +10% */
  background: url(../img/footer.png) no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
}

/* -----------------------------------
   Legal pages
----------------------------------- */
.legal-page {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem; /* was 1rem -10% */
  line-height: 1.8;
  padding: 88px 0 44px; /* was 80/40 +10% */
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500; /* was bold / 700 */
  margin-top: 2.2em; /* was 2em +10% */
}

.legal-page strong,
.legal-page b {
  font-weight: 700;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.legal-page h1 { font-size: 2rem; }
.legal-page h2 { font-size: 1.5rem; }
.legal-page h3 { font-size: 1.25rem; }

.legal-page p {
  margin-bottom: 1.65em; /* was 1.5em +10% */
}

.legal-page ul,
.legal-page ol {
  padding-left: 2.2em; /* was 2em +10% */
  margin-bottom: 1.65em; /* was 1.5em +10% */
}

.legal-page a {
  color: #004085;
  text-decoration: underline;
}

/* -----------------------------------
   Calyn Page
----------------------------------- */

.calyn-page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  margin-top: 100px;   /* leave room for navbar */
}

.calyn-section {
  margin-bottom: 2rem;
  border-radius: 12px;
}

.calyn-full-divider {
  width: 100%;             /* fills container only */
  max-width: 1000px;       /* match your page container width */
  height: 1px;
  background-color: #e0cfc7;
  margin: 3rem auto;       /* centers it */
}

.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.5rem; /* Adds vertical spacing between rows */
}

.pricing-table th,
.pricing-table td {
  text-align: center;
  padding: 1rem;
  border: 0.5px solid #ddd;
  vertical-align: middle;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
}

.pricing-table th {
  background-color: #f8f8f8;
  font-weight: 600;
  padding: 0 1rem; /* adds horizontal padding on all devices */
}

.pricing-table td {
  background-color: #fff;
}

.pricing-table tr td:nth-child(2),
.pricing-table tr td:nth-child(3) {
  min-width: 100px;
}

.pricing-table strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricing-table {
    padding: 0 1.25rem; /* slightly more padding for phones */
  }

  .pricing-table table {
    width: 100%;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem; /* optional: slightly smaller padding on mobile */
  }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 across on desktop */
  gap: 2rem;
}

.video-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-item video {
  width: auto;            /* don't stretch */
  max-width: 320px;       /* cap size (adjust as needed) */
  height: auto;
  max-height: 400px;
  border-radius: 12px;
  object-fit: contain;
}

.video-caption {
  font-size: 1.05rem;      /* bigger */
  font-weight: 700;        /* bold */
  margin-bottom: 0.75rem;
  text-align: center;
  color: #b95667;
}

/* Tablet (2 per row) */
@media (max-width: 991px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (1 per row) */
@media (max-width: 599px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------
   Calyn Post
----------------------------------- */

.screenshot-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* force 3 across */
  gap: 2rem;
  margin-top: 1rem;
}

.screenshot-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot-feature img {
  display: block;
  margin: 0 auto;
  width: auto;           /* don’t stretch to 100% of cell */
  max-width: 220px;      /* cap width */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Tablet fallback (2 per row) */
@media (max-width: 991px) {
  .screenshot-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile fallback (1 per row) */
@media (max-width: 599px) {
  .screenshot-feature-grid {
    grid-template-columns: 1fr;
  }
}

.screenshot-feature h4 {
  margin-bottom: 1rem; /* add space between caption and screenshot */
  font-weight: 500;
}