@charset "utf-8";

/* ==========================================================
   ALIGNIFY PLATFORM PAGE — VERSION 2.0
   Load after css/styles.css
========================================================== */

.platform-page-eyebrow,
.platform-section-label {
  display: block;
  color: var(--alignify-gold);
  font-family: var(--alignify-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* Hero */
.platform-page-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(38, 87, 145, 0.34), transparent 48%),
    linear-gradient(180deg, #072443 0%, #082a4a 62%, #061f3a 100%);
}

.platform-page-hero__content {
  max-width: 980px;
  margin: 0 auto 54px;
  text-align: center;
}

.platform-page-hero h1 {
  max-width: 920px;
  margin: 18px auto 24px;
  color: #fff;
  font-size: clamp(3.6rem, 6.5vw, 6.3rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.platform-page-hero__lead {
  max-width: 760px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.platform-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.platform-page-hero a.btn.btn-primary,
.platform-page-hero a.btn.btn-primary:visited {
  color: #fff;
  background: var(--alignify-gold);
  border-color: var(--alignify-gold);
}

.platform-page-hero a.btn.btn-primary:hover,
.platform-page-hero a.btn.btn-primary:focus {
  color: #fff;
  background: var(--alignify-gold-dark);
  border-color: var(--alignify-gold-dark);
}

.platform-page-hero a.btn.btn-outline,
.platform-page-hero a.btn.btn-outline:visited {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.76);
}

.platform-page-hero a.btn.btn-outline:hover,
.platform-page-hero a.btn.btn-outline:focus {
  color: var(--alignify-navy);
  background: #fff;
  border-color: #fff;
}

.platform-hero-product {
  position: relative;
  z-index: 2;
  padding-bottom: 96px;
}

/* Browser frames */
.product-browser {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(8,42,74,.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(4,31,66,.14);
}

.product-browser--hero {
  width: min(980px, 92%);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 36px 90px rgba(0,0,0,.24);
}

.product-browser--feature {
  width: min(620px, 100%);
  margin-inline: auto;
}

.product-browser--feature-small {
  width: min(560px, 100%);
}

.product-browser--feature-medium {
  width: min(600px, 100%);
}

.product-browser--showcase {
    width: min(860px, 84%);
    margin: 0 auto;
    box-shadow: 0 30px 74px rgba(4,31,66,.18);
}
.platform-feature__full-header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.product-browser--dark {
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.product-browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 15px;
  background: #f1f4f7;
  border-bottom: 1px solid #dfe5e9;
}

.product-browser__bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c2cad1;
}

.product-browser__address {
  min-width: 180px;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--alignify-muted);
  font-size: 0.66rem;
  line-height: 1;
}

.product-browser__screen {
  position: relative;
  background: #eef3f7;
}

.product-browser__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* Intro */
.platform-page-intro {
  padding: 104px 0;
  background: #fff;
}

.platform-page-intro__grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: 80px;
  align-items: start;
}

.platform-page-intro h2 {
  max-width: 610px;
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.02;
}

.platform-page-intro p {
  max-width: 650px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.9;
}

/* Features */
.platform-feature {
  padding: 112px 0;
  background: #f7f9fc;
}

.platform-feature--alternate {
  background: #fff;
}

.platform-feature--dark {
  background:
    radial-gradient(circle at 70% 30%, rgba(35,79,130,.28), transparent 38%),
    linear-gradient(115deg, #061f3d, #082a4a 58%, #061f3d);
}

.platform-feature--strategic {
  background: #f7f9fc;
}

.platform-feature__grid {
  display: grid;
  grid-template-columns: minmax(360px,.9fr) minmax(520px,1.1fr);
  gap: clamp(58px, 7vw, 96px);
  align-items: center;
}

.platform-feature__grid--reverse .platform-feature__content { order: 2; }
.platform-feature__grid--reverse .platform-feature__visual { order: 1; }

.platform-feature__content {
  position: relative;
  max-width: 560px;
}

.platform-feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-feature__number {
  display: block;
  margin-bottom: 16px;
  color: rgba(183,139,45,.48);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.platform-feature h2 {
  max-width: 560px;
  margin: 16px 0 24px;
  font-size: clamp(2.65rem, 4.15vw, 4.25rem);
  font-weight: 300;
  line-height: 1.04;
  text-wrap: balance;
}

.platform-feature__content > p,
.platform-feature__full-header p {
  font-size: 1.02rem;
  line-height: 1.8;
}

.platform-feature__content > p {
  max-width: 560px;
  margin-bottom: 28px;
}

.platform-feature__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-feature__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-body);
  font-size: .96rem;
  line-height: 1.55;
}

.platform-feature__list li::before {
  content: "";
  position: absolute;
  top: .45em;
  left: 0;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--alignify-gold);
  border-bottom: 2px solid var(--alignify-gold);
  transform: rotate(-45deg);
}

.platform-feature__full-header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}
.platform-feature__full-header h2 {
  max-width: 760px;
  margin-inline: auto;
}

.platform-feature__full-header p {
  max-width: 660px;
  margin: 0 auto;
}

.platform-feature--dark h2,
.platform-feature--dark .platform-feature__full-header p {
  color: #fff;
}

.platform-feature--dark .platform-feature__full-header p {
  color: rgba(255,255,255,.78);
}

.platform-feature--dark .platform-section-label {
  color: var(--alignify-gold-light);
}

.platform-feature__full-header--light {
  max-width: 760px;
}

/* Workflow */
.platform-workflow {
  padding: 120px 0;
  background: #fff;
}

.platform-workflow__header {
  max-width: 880px;
  margin: 0 auto 68px;
  text-align: center;
}

.platform-workflow__header h2 {
  margin: 16px auto 20px;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
}

.platform-workflow__header p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.03rem;
  line-height: 1.8;
}

.platform-workflow__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(22px, 1fr) 46px) minmax(22px, 1fr);
  align-items: stretch;
}

.platform-workflow__rail article {
  min-width: 0;
  min-height: 235px;
  padding: 30px 26px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #f7f9fc;
  box-shadow: var(--shadow-small);
}

.platform-workflow__rail article > span {
  display: block;
  margin-bottom: 24px;
  color: var(--alignify-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.platform-workflow__rail strong {
  display: block;
  margin-bottom: 8px;
  color: var(--alignify-gold-dark);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.platform-workflow__rail h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
}

.platform-workflow__rail p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.65;
}

.platform-workflow__rail i {
  position: relative;
  align-self: center;
  height: 1px;
  background: var(--alignify-gold);
}

.platform-workflow__rail i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--alignify-gold);
  border-right: 1.5px solid var(--alignify-gold);
  transform: translateY(-50%) rotate(45deg);
}

/* Foundation */
.platform-page-foundation {
  padding: 112px 0;
  background: #f2f5f8;
}

.platform-page-foundation__header {
  max-width: 820px;
  margin-bottom: 56px;
}

.platform-page-foundation__header h2 {
  margin: 16px 0 0;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
}

.platform-page-foundation__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
}

.platform-page-foundation__grid article {
  min-height: 230px;
  padding: 36px 32px;
  border-right: 1px solid var(--border-medium);
}

.platform-page-foundation__grid article:last-child { border-right: 0; }

.platform-page-foundation__grid article > span {
  display: block;
  margin-bottom: 26px;
  color: var(--alignify-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.platform-page-foundation__grid h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
}

.platform-page-foundation__grid p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
}

/* CTA */
.platform-page-cta {
  padding: 112px 0;
  background:
    radial-gradient(circle at center, rgba(35,79,130,.3), transparent 50%),
    linear-gradient(110deg, #061f3d, #0a315b 55%, #061f3d);
}

.platform-page-cta__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.platform-page-cta__inner > span {
  color: var(--alignify-gold-light);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.platform-page-cta h2 {
  margin: 18px auto 20px;
  color: #fff;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
}

.platform-page-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.8);
  font-size: 1.03rem;
  line-height: 1.8;
}

.platform-page-cta a.btn.platform-page-cta__button,
.platform-page-cta a.btn.platform-page-cta__button:visited {
  color: var(--alignify-navy);
  background: #fff;
  border-color: #fff;
}

.platform-page-cta a.btn.platform-page-cta__button:hover,
.platform-page-cta a.btn.platform-page-cta__button:focus {
  color: #fff;
  background: var(--alignify-gold);
  border-color: var(--alignify-gold);
}

/* Footer */
.platform-page-footer {
  padding: 36px 0;
  background: #041b32;
}

.platform-page-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.platform-page-footer .site-logo { color: #fff; }
.platform-page-footer p { margin: 0; color: rgba(255,255,255,.62); font-size: .84rem; }

/* Responsive */
@media (max-width: 1180px) {
  .platform-feature__grid,
  .platform-feature__grid--reverse {
    grid-template-columns: 1fr;
  }

  .platform-feature__grid--reverse .platform-feature__content,
  .platform-feature__grid--reverse .platform-feature__visual {
    order: initial;
  }

  .platform-feature__content {
    max-width: 760px;
  }

  .platform-feature__visual {
    justify-content: flex-start;
  }

  .platform-workflow__rail {
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
  }

  .platform-workflow__rail i { display: none; }

  .platform-page-foundation__grid {
    grid-template-columns: repeat(2,1fr);
  }

  .platform-page-foundation__grid article:nth-child(2) { border-right: 0; }
  .platform-page-foundation__grid article:nth-child(-n + 2) { border-bottom: 1px solid var(--border-medium); }
}

@media (max-width: 900px) {
  .platform-page-intro__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-browser--hero,
  .product-browser--showcase {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .platform-page-hero { padding-top: 88px; }
  .platform-page-hero__actions { flex-direction: column; }
  .platform-page-hero__actions .btn { width: 100%; }

  .platform-page-intro,
  .platform-feature,
  .platform-workflow,
  .platform-page-foundation,
  .platform-page-cta {
    padding: 82px 0;
  }

  .product-browser__bar { height: 38px; }
  .product-browser__address {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .platform-workflow__rail,
  .platform-page-foundation__grid {
    grid-template-columns: 1fr;
  }

  .platform-page-foundation__grid article,
  .platform-page-foundation__grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border-medium);
  }

  .platform-page-foundation__grid article:last-child { border-bottom: 0; }

  .platform-page-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
