/* =====================================================
   PP UTILITY PAGES — About, FAQ, Contact, Newsletter,
   Privacy, Terms
   Shared with ppv2 design tokens (pp-courses.css)
   ===================================================== */

/* =====================================================
   HUBSPOT FORM EMBEDS
   ===================================================== */
.hs-form-frame,
.hs-form-frame iframe {
  width: 100% !important;
}

/* =====================================================
   UTILITY HERO — compact, centered
   ===================================================== */
.util-hero {
  background: var(--gradient-brand);
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.util-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(124,58,237,0.15), transparent);
  pointer-events: none;
}
.util-hero .overline { margin-bottom: 12px; }
.util-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 16px;
}
.util-hero__sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light-80);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   CONTENT SECTIONS
   ===================================================== */
.util-section {
  padding: 80px 0;
}
.util-section--warm {
  background: var(--warm-bg);
}
.util-section--white {
  background: #fff;
}
.util-section--dark {
  background: var(--deep-1);
}

.util-section__header {
  margin-bottom: 48px;
}
.util-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.util-section--dark .util-section__title {
  color: var(--text-light);
}
.util-section__desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark-70);
  max-width: 60ch;
}
.util-section--dark .util-section__desc {
  color: var(--text-light-60);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-grid-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(auto, 540px) 1fr;
  gap: 48px;
  align-items: stretch;
}
/* At <=1023 the minmax(auto, 540px) + 1fr layout squeezes the visual
   card column to ~130px, narrower than its CTA button. Stack instead. */
@media (max-width: 1023px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.about-grid__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-70);
  margin-bottom: 16px;
}
.about-grid__text p:last-child { margin-bottom: 0; }

.about-card {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.about-card__icon {
  width: 48px; height: 48px;
  background: rgba(124,58,237,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.about-card__icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.about-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.about-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark-70);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.neovation-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.neovation-block__text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.neovation-block__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-70);
  margin-bottom: 12px;
}
.util-section--dark .neovation-block__text h3 {
  color: var(--text-light);
}
.util-section--dark .neovation-block__text p {
  color: rgba(255, 255, 255, 0.82);
}
.neovation-block__card {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-light);
  text-align: center;
}
.neovation-block__card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.neovation-block__card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light-80);
  margin-bottom: 20px;
}
.neovation-block__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}
.neovation-block__stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  display: block;
}
.neovation-block__stat-label {
  font-size: 0.82rem;
  color: var(--text-light-60);
}

/* =====================================================
   ABOUT — Intro Card (Meet Neovation)
   ===================================================== */
.about-intro-card {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.about-intro-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.about-intro-card--visual {
  position: relative;
  border: none;
}
.about-intro-card--visual .about-intro-card__img {
  height: 100%;
  min-height: 320px;
}
.about-intro-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(15, 10, 30, 0.7) 0%, transparent 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.about-intro-card__body {
  padding: 28px 32px 32px;
  flex: 1;
}
.about-intro-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.about-intro-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark-70);
  margin-bottom: 20px;
}

/* =====================================================
   ABOUT — Who We Are: Team carousel (replaces static image)
   ===================================================== */
.who-we-are__wrapper {
  position: relative;
}
.who-we-are__carousel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
  z-index: 1;
  pointer-events: none;
}
.who-we-are__row {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: auto;
}
/* Mask's transparent zone (0 → 540px) hides photos that pass behind the text
   block. Hard cutoff at 540px (matches the text block's max-width) so photos
   appear and disappear cleanly without a soft fade. */
.who-we-are__row--top,
.who-we-are__row--bottom {
  -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 540px, black 540px, black 100%);
  mask-image: linear-gradient(to right, transparent 0, transparent 540px, black 540px, black 100%);
}
.who-we-are__track {
  display: flex;
  gap: 20px;
  width: max-content;
  height: 100%;
  will-change: transform;
}
.who-we-are__track--left {
  animation: teamScrollLeft 45s linear infinite;
}
.who-we-are__track--right {
  animation: teamScrollRight 55s linear infinite;
}
.who-we-are__carousel:hover .who-we-are__track,
.who-we-are__carousel:focus-within .who-we-are__track {
  animation-play-state: paused;
}

@keyframes teamScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes teamScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.team-member {
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 3 / 4;
  height: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(124, 58, 237, 0.06);
}
.team-member__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-member__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 20px 18px;
  background: linear-gradient(to top, rgba(15, 10, 30, 0.88) 0%, rgba(15, 10, 30, 0.35) 55%, transparent 100%);
  color: var(--text-light);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.team-member:hover .team-member__info,
.team-member:focus-within .team-member__info {
  opacity: 1;
}
.team-member__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.team-member__title {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

/* Text block is intentionally transparent. Photos behind it are hidden by the
   row-level mask (see above), so the text doesn't need a background fill that
   could mismatch the surrounding section. */
.who-we-are__text {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 8px 48px 8px 0;
}
.who-we-are__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-70);
  margin-bottom: 16px;
}
.who-we-are__text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}
.who-we-are__cta {
  margin-top: 28px;
}

/* Stack on tablet/mobile: text above, carousel below at a fixed height.
   Carousel is first in DOM (for desktop absolute overlay), so reverse the
   flex column to render text-first on mobile. */
@media (max-width: 1023px) {
  .who-we-are__wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px;
  }
  .who-we-are__carousel {
    position: relative;
    inset: auto;
    margin-top: 0;
    height: 420px;
    padding: 0;
  }
  .who-we-are__text {
    max-width: 100%;
    padding: 0;
  }
  .who-we-are__row--top,
  .who-we-are__row--bottom {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }
}

/* Touch devices: no hover, so always show name + title and keep animation running. */
@media (hover: none) {
  .team-member__info { opacity: 1; }
}

/* Honor reduced-motion: pause the carousel entirely, show a static strip. */
@media (prefers-reduced-motion: reduce) {
  .who-we-are__track--left,
  .who-we-are__track--right {
    animation: none;
    transform: translateX(0);
  }
  .team-member__info { opacity: 1; }
}

/* =====================================================
   ABOUT — Why Section (full-bleed background image)
   ===================================================== */
.about-why-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
}
.about-why-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 30, 0.75);
  pointer-events: none;
}
.about-why-section__content {
  position: relative;
  max-width: 640px;
}
.about-why-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--text-light);
  margin-bottom: 16px;
}
.about-why-section__content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
  margin-top: 28px;
  margin-bottom: 12px;
}
.about-why-section__content p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}
.about-why-section__content p:last-child { margin-bottom: 0; }
.about-why-section__content em {
  font-style: italic;
  color: #fff;
  font-weight: 500;
}

/* =====================================================
   ABOUT — Enterprise Grid (Leaders section)
   ===================================================== */
.about-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-enterprise-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.about-enterprise-card .about-card__icon {
  background: rgba(124, 58, 237, 0.2);
}
.about-enterprise-card .about-card__icon svg {
  stroke: #a78bfa;
}
.about-enterprise-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.about-enterprise-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  .about-enterprise-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   ABOUT — Why section: split layout variant
   ===================================================== */
.about-why-section--split {
  background-image: none !important;
  background: var(--deep-1);
  padding: 96px 0;
}
.about-why-section--split .about-why-section__overlay { display: none; }
.about-why-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
  position: relative;
}
.about-why-split__text { max-width: 640px; }
.about-why-split__text .overline { margin-bottom: 12px; display: inline-block; }
.about-why-split__text .about-why-section__title { margin-bottom: 20px; }
.about-why-split__text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}
.about-why-split__text p:last-child { margin-bottom: 0; }
.about-why-split__text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin-top: 28px;
  margin-bottom: 12px;
}
.about-why-split__text p strong { color: #fff; font-weight: 700; }
.about-why-split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-why-split__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scaleX(-1); /* face turned toward the text */
}
@media (max-width: 900px) {
  .about-why-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-why-split__media {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
}

/* =====================================================
   ABOUT — Stat strip (Who We Are)
   ===================================================== */
.about-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 24px;
  margin: 24px 0 28px;
  background: rgba(124, 58, 237, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
}
.about-stat { flex: 1 1 auto; min-width: 120px; }
.about-stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1.1;
}
.about-stat__label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dark-70);
  margin-top: 4px;
}
@media (max-width: 600px) {
  .about-stat-strip { gap: 16px; padding: 16px 20px; }
  .about-stat__value { font-size: 1.25rem; }
}

/* Bolded ledes inside about paragraphs */
.about-grid__text p strong,
.about-why-split__text p strong {
  font-weight: 700;
}
.about-grid__text p strong { color: var(--text-dark); }

/* =====================================================
   ABOUT — Embedded org banner variant (inside dark section)
   ===================================================== */
.util-section--dark .org__inner--embedded {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.util-section--dark .org__inner--embedded .org__text { flex: 1; }
.util-section--dark .org__inner--embedded .org__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 640px;
}
@media (max-width: 767px) {
  .util-section--dark .org__inner--embedded {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }
  .util-section--dark .org__inner--embedded .org__desc { margin-bottom: 16px; }
}

/* =====================================================
   ABOUT — Pull Quote
   ===================================================== */
.about-pullquote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.about-pullquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 20px;
}
.about-pullquote p em {
  font-style: italic;
  color: var(--accent-light);
}
.about-pullquote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-light-60);
}

/* =====================================================
   FAQ PAGE — Accordion
   ===================================================== */
.faq-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.faq-cat-pill {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid var(--warm-border);
  background: #fff;
  color: var(--text-dark-70);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.faq-cat-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.faq-cat-pill--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.faq-group { margin-bottom: 40px; }
.faq-group__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.faq-item {
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.25s;
}
.faq-item:hover { border-color: var(--accent-light); }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  line-height: 1.4;
}
.faq-item__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.faq-item__icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.faq-item--open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.faq-item--open .faq-item__answer {
  max-height: 500px;
}
.faq-item__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark-70);
}
.faq-item__answer-inner a {
  color: var(--accent);
  text-decoration: underline;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-70);
  margin-bottom: 24px;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-info__icon {
  width: 40px; height: 40px;
  background: rgba(124,58,237,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.contact-info__text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.contact-info__text span {
  font-size: 0.875rem;
  color: var(--text-dark-70);
}

/* Form */
.util-form {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.util-form__group {
  margin-bottom: 20px;
}
.util-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.util-form__input,
.util-form__select,
.util-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--warm-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--warm-bg);
  transition: border-color 0.2s;
  outline: none;
}
.util-form__input:focus,
.util-form__select:focus,
.util-form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.util-form__textarea { resize: vertical; min-height: 120px; }
.util-form__select { cursor: pointer; }

.util-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Form feedback messages --- */
.form-feedback {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 600;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: formFeedbackIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
.form-feedback--success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.form-feedback--error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
@keyframes formFeedbackIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Button loading state --- */
.btn-loading {
  pointer-events: none;
  opacity: 0.75;
  position: relative;
}
.btn-loading .btn-label { visibility: hidden; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* =====================================================
   NEWSLETTER PAGE
   ===================================================== */
.util-hero--compact {
  padding: 120px 24px 56px;
}

/* Newsletter — Form card section */
.nl-card-section {
  background: var(--warm-bg);
  padding: 80px 0 100px;
}
.nl-card-section > .container {
  width: 100%;
}
.nl-card {
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
}
.nl-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.nl-card__sub {
  font-size: 0.95rem;
  color: var(--text-dark-70);
  line-height: 1.5;
  margin-bottom: 28px;
}
.nl-card__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.nl-card__form-row .util-form__group {
  margin-bottom: 0;
  text-align: left;
}
.nl-card__btn {
  width: 100%;
  justify-content: center;
  height: 48px;
}
.nl-card__note {
  font-size: 0.78rem;
  color: var(--text-dark-50, rgba(26,16,51,0.5));
  margin-top: 10px;
}

/* Newsletter — What's inside */
.nl-inside {
  padding-top: 40px;
  text-align: center;
}
.nl-inside__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 24px;
}
.nl-inside__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.nl-inside__item {
  text-align: center;
}
.nl-inside__icon {
  width: 40px; height: 40px;
  background: rgba(124,58,237,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.nl-inside__icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent);
}
.nl-inside__item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.nl-inside__item p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-dark-70);
}

/* =====================================================
   LEGAL PAGES (Privacy / Terms)
   ===================================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark-70);
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 24px;
  color: var(--text-dark-70);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-content .legal-updated {
  font-size: 0.875rem;
  color: var(--text-dark-50);
  margin-bottom: 32px;
}

/* =====================================================
   LEGAL PAGE — Sidebar Layout
   ===================================================== */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* Tab navigation for Privacy / Terms */
.legal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}
.legal-tab {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1px solid var(--warm-border);
  background: #fff;
  color: var(--text-dark-70);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.legal-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.legal-tab--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.legal-panel { display: none; }
.legal-panel--active { display: block; }

/* Sidebar */
.legal-sidebar {
  position: sticky;
  top: 100px;
}
.legal-sidebar__card {
  background: #fff;
  border: 1px solid var(--warm-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.legal-sidebar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.legal-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.legal-sidebar__item:last-child { margin-bottom: 0; }
.legal-sidebar__icon {
  width: 36px; height: 36px;
  background: rgba(124,58,237,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.legal-sidebar__icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.legal-sidebar__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.legal-sidebar__value {
  font-size: 0.875rem;
  color: var(--text-dark-70);
  line-height: 1.5;
}
.legal-sidebar__value a {
  color: var(--accent);
  text-decoration: none;
}
.legal-sidebar__value a:hover { text-decoration: underline; }

.legal-sidebar__cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s;
}
.legal-sidebar__cta:hover {
  background: var(--accent-dark, #6D28D9);
}

/* =====================================================
   CTA BANNER — reusable across utility pages
   ===================================================== */
.util-cta {
  background: var(--gradient-brand);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.util-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(20,184,166,0.15), transparent);
  pointer-events: none;
}
.util-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: 12px;
}
.util-cta__desc {
  font-size: 1.05rem;
  color: var(--text-light-80);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.util-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 767px) {
  .util-hero { padding: 120px 20px 60px; }
  .util-section { padding: 56px 0; }

  .about-grid,
  .contact-grid,
  .neovation-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-why-section {
    padding: 64px 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .util-hero--compact { padding: 100px 20px 40px; }
  .nl-card {
    padding: 32px 24px;
  }
  .nl-card__form-row {
    grid-template-columns: 1fr;
  }
  .nl-inside__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .util-form { padding: 24px; }
  .util-form__row { grid-template-columns: 1fr; }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-sidebar {
    position: static;
  }
  .legal-tabs {
    flex-wrap: wrap;
  }
  .util-cta { padding: 56px 0; }
}
