/*
Theme Name:         Sage Starter Theme
Theme URI:          https://roots.io/sage/
Description:        Sage is a WordPress starter theme.
Version:            11.0.1
Author:             Roots
Author URI:         https://roots.io/
Text Domain:        sage
License:            MIT License
License URI:        https://opensource.org/licenses/MIT
Requires PHP:       8.2
Requires at least:  6.6
*/

/* ==========================================================================
   AI Landing - Hero Banner
   ========================================================================== */
.ai-hero-banner {
  position: relative;
  overflow: hidden;
  background-color: #FAFAFA;
  padding: 60px 0;
}

@media (min-width: 1024px) {
  .ai-hero-banner {
    padding: 90px 0;
  }
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ai-hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

.ai-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff3a1e;
  background-color: rgba(255, 58, 30, 0.1);
  border: 1px solid rgba(255, 58, 30, 0.2);
  border-radius: 9999px;
  padding: 4px 14px;
  margin-bottom: 1rem;
  width: -moz-fit-content;
  width: fit-content;
}

.ai-lead {
  font-size: 18px;
  color: #5C6B82;
  line-height: 28px;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.ai-lead p {
  margin-bottom: 1rem;
}

.ai-lead p:last-child {
  margin-bottom: 0;
}

.ai-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ai-textlink {
  color: #142239;
  font-weight: 700;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: #ff3a1e;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-textlink:hover {
  color: #ff3a1e;
}

.ai-heroimg {
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .ai-heroimg {
    justify-content: flex-end;
  }
}

.ai-heroimg img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   Home V2 - Results List Checkmarks
   ========================================================================== */
.fp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 15px;
  color: #454545;
  line-height: 22px;
}

.fp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 1rem;
  height: 1rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ff3a1e'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.fp-list li a {
  color: #ff3a1e;
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   AI Landing - Section & Panel Styles
   ========================================================================== */
.ai-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

@media (min-width: 1024px) {
  .ai-section {
    padding: 90px 0;
  }
}

/* Background Color Variants */
.ai-section.ai-dark,
.ai-section.is-dark {
  background-color: #142239;
  color: #9AAEC4;
}

.ai-section.ai-dark .h2-pipeline,
.ai-section.ai-dark h2,
.ai-section.is-dark .h2-pipeline,
.ai-section.is-dark h2 {
  color: #FFFFFF;
}

.ai-section.ai-dark p,
.ai-section.is-dark p {
  color: #9AAEC4;
}

.ai-section.ai-dark .ai-panel,
.ai-section.is-dark .ai-panel {
  background-color: #192B47;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.ai-section.ai-dark .ai-panel h3,
.ai-section.is-dark .ai-panel h3 {
  color: #FFFFFF;
}

.ai-section.ai-dark .ai-list li,
.ai-section.is-dark .ai-list li {
  color: #E2E8F0;
}

.ai-section.ai-dark .ai-textlink,
.ai-section.is-dark .ai-textlink {
  color: #FFFFFF;
}

/* Light & White Variants */
.ai-section.ai-light {
  background-color: #FAFAFA;
  color: #5C6B82;
}

.ai-section.ai-white {
  background-color: #FFFFFF;
  color: #5C6B82;
}

.ai-section.ai-light .h2-pipeline,
.ai-section.ai-light h2,
.ai-section.ai-white .h2-pipeline,
.ai-section.ai-white h2,
.ai-section.is-light .h2-pipeline,
.ai-section.is-light h2 {
  color: #142239;
}

.ai-section.ai-light p,
.ai-section.ai-white p,
.ai-section.is-light p {
  color: #5C6B82;
}

.ai-section.ai-light .ai-panel,
.ai-section.is-light .ai-panel {
  background-color: #FFFFFF;
  border: 1px solid #E9EDF2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ai-section.ai-white .ai-panel {
  background-color: #FAFAFA;
  border: 1px solid #E9EDF2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.ai-section.ai-light .ai-panel h3,
.ai-section.ai-white .ai-panel h3,
.ai-section.is-light .ai-panel h3 {
  color: #142239;
}

.ai-section.ai-light .ai-list li,
.ai-section.ai-white .ai-list li,
.ai-section.is-light .ai-list li {
  color: #454545;
}

.ai-section.ai-light .ai-textlink,
.ai-section.ai-white .ai-textlink,
.ai-section.is-light .ai-textlink {
  color: #142239;
}

/* AI Grid Layouts */
.ai-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ai-two {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3.5rem;
  }

  .ai-two > :first-child {
    grid-column: span 7 / span 7;
  }

  .ai-two > .ai-panel {
    grid-column: span 5 / span 5;
  }

  .ai-two.layout-equal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-two.layout-equal > :first-child,
  .ai-two.layout-equal > .ai-panel {
    grid-column: span 1 / span 1;
  }
}

/* AI Panel Styling */
.ai-panel {
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .ai-panel {
    padding: 40px 36px;
  }
}

.ai-panel h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.ai-panel h3:not(:first-child) {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-section.ai-light .ai-panel h3:not(:first-child),
.ai-section.ai-white .ai-panel h3:not(:first-child),
.ai-section.is-light .ai-panel h3:not(:first-child) {
  border-top: 1px solid #E9EDF2;
}

/* AI List with SVG Checkmarks */
.ai-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.ai-list:last-child {
  margin-bottom: 0;
}

.ai-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 12px;
}

.ai-list li:last-child {
  margin-bottom: 0;
}

.ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ff3a1e'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.ai-list li a {
  color: #ff3a1e;
  font-weight: 600;
  text-decoration: underline;
}

/* Buttons and Links */
.ai-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.ai-textlink {
  font-weight: 700;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: #ff3a1e;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-textlink:hover {
  color: #ff3a1e !important;
}

/* WYSIWYG Content inside AI Section */
.ai-content-body p {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .ai-content-body p {
    font-size: 17px;
  }
}

.ai-content-body p:last-child {
  margin-bottom: 0;
}

.ai-content-body a {
  color: #ff3a1e;
  text-decoration: underline;
}

/* ==========================================================================
   AI Landing - CTA Band Styles
   ========================================================================== */
.ai-band {
  background-color: #F6F8FA;
  border-top: 1px solid #E9EDF2;
  border-bottom: 1px solid #E9EDF2;
}

.ai-band h2,
.ai-band .h2-pipeline {
  color: #142239;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .ai-band h2,
  .ai-band .h2-pipeline {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .ai-band h2,
  .ai-band .h2-pipeline {
    font-size: 42px;
  }
}

.ai-band p,
.ai-band-desc p {
  font-size: 16px;
  line-height: 28px;
  color: #5C6B82;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .ai-band p,
  .ai-band-desc p {
    font-size: 18px;
  }
}

.ai-band-desc p:last-child {
  margin-bottom: 0;
}

.ai-code {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ff3a1e;
  background-color: rgba(255, 58, 30, 0.1);
  border: 1px solid rgba(255, 58, 30, 0.2);
  border-radius: 9999px;
  padding: 4px 14px;
  margin-bottom: 16px;
  width: -moz-fit-content;
  width: fit-content;
}

@media (min-width: 1024px) {
  .ai-code {
    font-size: 13px;
  }
}


