/* olm-pages.css — Page-specific layout, hero sections, sub-page layouts */

/* ═══════════════════════════════════════════
   HERO CONTENT WRAPPER
═══════════════════════════════════════════ */
.olm-hero__content {
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════
   HERO — INDEX (dark, split layout)
═══════════════════════════════════════════ */
.olm-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px; /* nav height */
  background: var(--olm-bg-dark);
  overflow: hidden;
}
.olm-hero__inner {
  max-width: var(--olm-container-max);
  margin: 0 auto;
  padding: 60px clamp(16px, 4vw, 48px) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.olm-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olm-accent-aa-dark);
  margin-bottom: 16px;
  display: block;
}
.olm-hero__headline {
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--olm-fg-dark-primary);
  line-height: 1.1;
  margin-bottom: 20px;
}
.olm-hero__headline span {
  background: linear-gradient(135deg, #A5B4FC, #6C5CE8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.olm-hero__subhead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--olm-fg-dark-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 520px;
}
.olm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.olm-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .olm-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px clamp(16px,4vw,48px) 56px;
  }
  .olm-hero__subhead { max-width: 100%; }
  .olm-hero__actions { justify-content: center; }
  .olm-hero__visual { margin-top: 24px; }
}

/* ═══════════════════════════════════════════
   HERO — SUB-PAGES (light or dark)
═══════════════════════════════════════════ */
.olm-subhero {
  padding-top: calc(64px + 56px);
  padding-bottom: 56px;
}
.olm-subhero__inner {
  max-width: var(--olm-container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.olm-subhero--light {
  background: var(--olm-bg-light);
}
.olm-subhero--dark {
  background: var(--olm-bg-dark);
}
/* Split subhero */
.olm-subhero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.olm-subhero--dark .olm-subhero__headline {
  color: var(--olm-fg-dark-primary);
}
.olm-subhero--dark .olm-subhero__sub {
  color: var(--olm-fg-dark-secondary);
}
.olm-subhero--light .olm-subhero__headline {
  color: var(--olm-fg-light-primary);
}
.olm-subhero--light .olm-subhero__sub {
  color: var(--olm-fg-light-secondary);
}
.olm-subhero__headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.olm-subhero__sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}
@media (max-width: 768px) {
  .olm-subhero__split {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   INTEGRATION MARQUEE BAND
═══════════════════════════════════════════ */
.olm-marquee-band {
  background: var(--olm-bg-dark-alt);
  padding: 28px 0;
  border-top: 1px solid var(--olm-border-dark);
  border-bottom: 1px solid var(--olm-border-dark);
  overflow: hidden;
}
.olm-marquee-band__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--olm-fg-dark-secondary);
  margin-bottom: 18px;
}
.olm-marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS (3-step)
═══════════════════════════════════════════ */
.olm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.olm-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.olm-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--olm-accent-aa-light);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.olm-step__icon {
  width: 52px;
  height: 52px;
  background: rgba(67, 56, 202, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.olm-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--olm-fg-light-primary);
  margin-bottom: 6px;
}
.olm-step__body {
  font-size: 0.9375rem;
  color: var(--olm-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .olm-steps { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FEATURES ALTERNATING
═══════════════════════════════════════════ */
.olm-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--olm-border-light);
}
.olm-feature-row:last-child { border-bottom: none; }
.olm-feature-row--reversed .olm-feature-row__visual {
  order: -1;
}
.olm-feature-row__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olm-accent-aa-light);
  margin-bottom: 10px;
  display: block;
}
.olm-feature-row__title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--olm-fg-light-primary);
  margin-bottom: 14px;
}
.olm-feature-row__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.olm-feature-row__body {
  font-size: 1rem;
  color: var(--olm-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.olm-feature-row__visual {
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 840px) {
  .olm-feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .olm-feature-row--reversed .olm-feature-row__visual { order: 0; }
}

/* ═══════════════════════════════════════════
   RELIABILITY STATS BAND
═══════════════════════════════════════════ */
.olm-stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 36px 0;
}
.olm-stat {
  text-align: center;
  min-width: 160px;
}
.olm-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--olm-fg-dark-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.olm-stat__label {
  font-size: 0.875rem;
  color: var(--olm-fg-dark-secondary);
}

/* ═══════════════════════════════════════════
   AUTH PAGES
═══════════════════════════════════════════ */
.olm-auth-page {
  min-height: 100vh;
  background: var(--olm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px clamp(16px, 4vw, 48px) 48px;
}
.olm-auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(45,31,110,0.15);
}
.olm-auth-form {
  background: var(--olm-bg-white);
  padding: 48px 40px;
}
.olm-auth-aside {
  background: var(--olm-bg-dark);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.olm-auth-aside h2 {
  color: var(--olm-fg-dark-primary);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.olm-auth-aside p {
  color: var(--olm-fg-dark-secondary);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}
.olm-auth-aside__bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--olm-fg-dark-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.olm-auth-aside__bullet i {
  color: var(--olm-node-green);
  width: 18px;
  flex-shrink: 0;
}
.olm-auth-form__logo {
  margin-bottom: 32px;
}
.olm-auth-form__logo img {
  height: 28px;
  width: auto;
}
.olm-auth-form__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olm-fg-light-primary);
  margin-bottom: 6px;
}
.olm-auth-form__sub {
  font-size: 0.9rem;
  color: var(--olm-fg-light-secondary);
  margin-bottom: 28px;
}
.olm-auth-form__sub a { color: var(--olm-accent-aa-light); }
@media (max-width: 700px) {
  .olm-auth-wrap { grid-template-columns: 1fr; }
  .olm-auth-aside { display: none; }
}

/* ═══════════════════════════════════════════
   CUSTOMERS PAGE
═══════════════════════════════════════════ */
.olm-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.olm-customer-card {
  background: var(--olm-bg-white);
  border: 1px solid var(--olm-border-light);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.olm-customer-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--olm-accent-aa-light);
}
.olm-customer-card__company {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--olm-fg-light-primary);
}
.olm-customer-card__usecase {
  font-size: 0.9375rem;
  color: var(--olm-fg-light-secondary);
  line-height: 1.65;
  flex: 1;
}
.olm-customer-card__quote {
  font-size: 1.0625rem;
  color: var(--olm-fg-light-primary);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--olm-accent-decorative);
  padding-left: 16px;
}
@media (max-width: 720px) {
  .olm-customer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.olm-about-founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.olm-about-founder__photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--olm-bg-light);
}
.olm-about-founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .olm-about-founder { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   SECTION HEADINGS GROUP
═══════════════════════════════════════════ */
.olm-section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.olm-section-heading h2 {
  margin-bottom: 14px;
}
.olm-section-heading p {
  font-size: 1.0625rem;
  color: var(--olm-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}
.olm-section--dark .olm-section-heading h2,
.olm-section--dark-alt .olm-section-heading h2 {
  color: var(--olm-fg-dark-primary);
}
.olm-section--dark .olm-section-heading p,
.olm-section--dark-alt .olm-section-heading p {
  color: var(--olm-fg-dark-secondary);
}

/* ═══════════════════════════════════════════
   SOLUTIONS PAGE
═══════════════════════════════════════════ */
.olm-solutions-use-case {
  padding: 36px 0;
  border-bottom: 1px solid var(--olm-border-light);
}
.olm-solutions-use-case:last-child { border-bottom: none; }
.olm-solutions-use-case__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--olm-accent-aa-light);
  margin-bottom: 6px;
}
.olm-solutions-use-case h3 {
  font-size: 1.25rem;
  color: var(--olm-fg-light-primary);
  margin-bottom: 10px;
}
.olm-solutions-use-case p {
  font-size: 0.9375rem;
  color: var(--olm-fg-light-secondary);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 640px;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.olm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.olm-contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}
.olm-contact-info__icon {
  width: 42px;
  height: 42px;
  background: rgba(67, 56, 202, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olm-accent-aa-light);
  flex-shrink: 0;
}
.olm-contact-info__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--olm-fg-light-secondary);
  margin-bottom: 4px;
}
.olm-contact-info__value {
  font-size: 0.9375rem;
  color: var(--olm-fg-light-primary);
  line-height: 1.5;
}
.olm-contact-info__value a {
  color: var(--olm-accent-aa-light);
}
@media (max-width: 768px) {
  .olm-contact-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   INTEGRATIONS GRID
═══════════════════════════════════════════ */
.olm-int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.olm-int-card {
  background: var(--olm-bg-white);
  border: 1px solid var(--olm-border-light);
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.olm-int-card:hover {
  box-shadow: 0 4px 12px rgba(45,31,110,0.08);
}
.olm-int-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--olm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--olm-accent-aa-light);
}
.olm-int-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olm-fg-light-primary);
}
.olm-int-card__cat {
  font-size: 0.75rem;
  color: var(--olm-fg-light-secondary);
}

/* ═══════════════════════════════════════════
   SECTION DIVIDER / SPACER
═══════════════════════════════════════════ */
.olm-divider {
  height: 1px;
  background: var(--olm-border-light);
  margin: 0;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS GRID
═══════════════════════════════════════════ */
.olm-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--olm-gap);
  margin-top: 48px;
}
@media (max-width: 840px) {
  .olm-testimonials-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   LEGAL SUBHERO
═══════════════════════════════════════════ */
.olm-legal-hero {
  padding-top: calc(64px + 48px);
  padding-bottom: 40px;
  background: var(--olm-bg-light);
}
.olm-legal-hero__inner {
  max-width: var(--olm-container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.olm-legal-hero h1 {
  font-size: 2rem;
  color: var(--olm-fg-light-primary);
}
.olm-legal-content {
  padding: 48px 0 80px;
  background: var(--olm-bg-white);
}

/* ═══════════════════════════════════════════
   PRODUCT DETAIL PAGES
═══════════════════════════════════════════ */
.olm-feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.olm-feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--olm-fg-light-primary);
}
.olm-feature-bullet i {
  color: var(--olm-node-green);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   WORKFLOW BUILDER PAGE
═══════════════════════════════════════════ */
.olm-node-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.olm-node-type {
  background: var(--olm-bg-light);
  border: 1px solid var(--olm-border-light);
  border-radius: 10px;
  padding: 20px;
}
.olm-node-type__icon {
  font-size: 1.25rem;
  color: var(--olm-accent-aa-light);
  margin-bottom: 10px;
}
.olm-node-type__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--olm-fg-light-primary);
  margin-bottom: 6px;
}
.olm-node-type__desc {
  font-size: 0.875rem;
  color: var(--olm-fg-light-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   RELIABILITY PAGE
═══════════════════════════════════════════ */
.olm-reliability-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.olm-reliability-feature {
  background: var(--olm-bg-white);
  border: 1px solid var(--olm-border-light);
  border-radius: 12px;
  padding: 28px;
}
.olm-reliability-feature__icon {
  width: 48px;
  height: 48px;
  background: rgba(67,56,202,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--olm-accent-aa-light);
  margin-bottom: 16px;
}
.olm-reliability-feature h3 {
  font-size: 1.0625rem;
  color: var(--olm-fg-light-primary);
  margin-bottom: 8px;
}
.olm-reliability-feature p {
  font-size: 0.9rem;
  color: var(--olm-fg-light-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .olm-reliability-features { grid-template-columns: 1fr; }
  .olm-node-types-grid { grid-template-columns: 1fr; }
}
