/* —— Home hero —— */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: stretch;
  background-color: var(--navy-deep);
  background-image: url("../images/home/home-banner.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 27, 61, 0.96) 0%,
    rgba(11, 34, 64, 0.9) 38%,
    rgba(11, 34, 64, 0.45) 62%,
    rgba(11, 34, 64, 0.12) 100%
  );
  pointer-events: none;
}

.hero-home::after {
  content: none;
}

.hero-home-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
}

.hero-copy h1 {
  color: var(--white);
  max-width: 14ch;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--gold-bright);
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-top: 1rem;
}

.hero-copy .lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-visual {
  display: none;
}

.hero-animate {
  animation: heroIn 0.9s var(--ease) both;
}

.hero-animate-delay {
  animation: heroIn 0.9s var(--ease) 0.15s both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.products-section {
  background: linear-gradient(180deg, #f7f4ee 0%, var(--ivory) 40%, #f3f7f8 100%);
}

.trust-section {
  background: linear-gradient(180deg, #f3f7f8 0%, var(--cream) 100%);
}

/* —— Page heroes (inner) —— */
.page-hero {
  padding: 3.25rem 0 2.75rem;
  background: var(--cream);
}

.page-hero.dark {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  color: var(--white);
}

.page-hero.dark h1,
.page-hero.dark .breadcrumb {
  color: var(--white);
}

.page-hero.dark .lead {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-grid-flip {
  grid-template-columns: 0.95fr 1.05fr;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.page-hero.dark .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-photo-block {
  min-height: 280px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  background: var(--sky-soft);
}

.hero-photo-block img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.hero-photo-block .float-tag {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.hero-photo-block .float-tag:nth-child(1) {
  top: 18%;
  left: 8%;
}

.hero-photo-block .float-tag:nth-child(2) {
  top: 42%;
  right: 10%;
}

.hero-photo-block .float-tag:nth-child(3) {
  bottom: 18%;
  left: 22%;
}

.icon-asset {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.icon-asset.lg {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.75rem;
}

.outcome-item .icon-asset {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
}

.trust-point .icon-asset {
  width: 2.5rem;
  height: 2.5rem;
}

/* Audience / feature grids */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.audience-card {
  border-radius: var(--radius);
  padding: 1.35rem;
}

.audience-card.blue {
  background: var(--sky-soft);
}

.audience-card.mint {
  background: var(--mint-soft);
}

.audience-card.sand {
  background: var(--sand-soft);
}

.audience-card h3 {
  font-size: 1.1rem;
  margin: 0.65rem 0 0.4rem;
}

.audience-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.feature-item h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin: 0 0 0.15rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.deploy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.solution-card {
  border-radius: var(--radius);
  padding: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 280px;
  overflow: hidden;
}

.solution-card-body {
  padding: 1.5rem 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.solution-card-media {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem 0 0 0.5rem;
}

.solution-card-media img {
  width: 100%;
  max-width: 210px;
  height: auto;
  max-height: 92%;
  object-fit: cover;
  object-position: left top;
  border-radius: 10px 0 0 0;
  box-shadow: var(--shadow-card);
  display: block;
}

.solution-card.blue {
  background: var(--sky-soft);
}

.solution-card.sand {
  background: var(--sand-soft);
}

.solution-card.mint {
  background: var(--mint-soft);
}

.solution-card.lilac {
  background: var(--lilac-soft);
}

.solution-card .product-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0.5rem 0 0.35rem;
}

.solution-card h3 {
  margin-bottom: 0.45rem;
}

.solution-card-body > p:not(.product-tag) {
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.path-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.path-card:hover {
  text-decoration: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.path-card.path-dual {
  border: none;
  position: relative;
  overflow: hidden;
  min-height: 7.5rem;
  padding-left: 1.6rem;
}

.path-card.path-dual-navy {
  background:
    linear-gradient(var(--navy), var(--navy-soft)) left / 8px 100% no-repeat,
    linear-gradient(135deg, var(--sky-soft) 0%, #dceaf6 100%);
  color: var(--text);
}

.path-card.path-dual-navy h3 {
  color: var(--navy);
}

.path-card.path-dual-navy .arrow {
  color: var(--navy);
  background: rgba(11, 34, 64, 0.08);
}

.path-card.path-dual-gold {
  background:
    linear-gradient(var(--gold-dark), var(--gold)) left / 8px 100% no-repeat,
    linear-gradient(135deg, var(--sand-soft) 0%, #ebe0cc 100%);
  color: var(--text);
}

.path-card.path-dual-gold h3 {
  color: var(--navy);
}

.path-card.path-dual-gold .arrow {
  color: var(--gold-dark);
  background: rgba(197, 154, 95, 0.2);
}

.path-card.path-dual > div {
  position: relative;
  z-index: 1;
  margin-left: 0;
  max-width: 26rem;
}

.path-card.path-dual:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.path-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.path-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.path-card .arrow {
  font-size: 1.4rem;
  color: var(--gold-dark);
}

.path-card.path-dual .arrow {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

/* —— Contact page —— */
.contact-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 88% 18%, rgba(232, 244, 244, 0.7) 0%, transparent 42%),
    linear-gradient(180deg, var(--cream) 0%, #f4f0e8 100%);
  overflow: hidden;
  padding: 2.75rem 0 2rem;
}

.contact-hero-inner {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.contact-hero-copy {
  max-width: 34rem;
  position: relative;
  z-index: 2;
}

.contact-hero-copy h1 {
  max-width: 14ch;
}

.contact-hero-copy .lead {
  color: var(--muted);
  max-width: 32rem;
}

.contact-hero-visual {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-hero-glow {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 70%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 154, 95, 0.18) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.contact-hero-frame {
  position: relative;
  margin: 0;
  width: min(100%, 460px);
  border-radius: 18px 18px 18px 72px;
  overflow: hidden;
  box-shadow:
    0 24px 48px rgba(11, 34, 64, 0.12),
    0 0 0 1px rgba(11, 34, 64, 0.04);
  transform: rotate(-1.5deg);
  animation: contactFloat 7s var(--ease) infinite alternate;
}

.contact-hero-frame img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 78% center;
  display: block;
}

.contact-hero-chip {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.contact-hero-chip-1 {
  left: 4%;
  top: 22%;
  animation: contactFloat 6s var(--ease) 0.4s infinite alternate;
}

.contact-hero-chip-2 {
  right: 2%;
  bottom: 16%;
  animation: contactFloat 6.5s var(--ease) 0.8s infinite alternate;
}

@keyframes contactFloat {
  from { transform: translateY(0) rotate(-1.5deg); }
  to { transform: translateY(-8px) rotate(-1deg); }
}

.contact-hero-chip-1,
.contact-hero-chip-2 {
  transform: none;
}

.contact-hero-chip-1 {
  animation-name: contactChipFloat;
}

.contact-hero-chip-2 {
  animation-name: contactChipFloat;
}

@keyframes contactChipFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.contact-main {
  padding-top: 0.5rem;
  background: linear-gradient(180deg, #f4f0e8 0%, var(--ivory) 28%, var(--ivory) 100%);
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(11, 34, 64, 0.06);
  background: var(--white);
}

.contact-form-pane {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2rem 1.85rem 2rem 2rem;
}

.contact-form-pane h2 {
  font-size: 1.55rem;
  margin: 0 0 0.35rem;
}

.contact-form-lead {
  margin: 0 0 1.25rem;
}

.contact-form-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-form-grid .form-field.full {
  grid-column: 1 / -1;
}

.contact-aside {
  border-radius: 0;
  padding: 2rem 1.6rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 110% -10%, rgba(197, 154, 95, 0.22) 0%, transparent 45%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
}

.contact-aside::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.aside-step .num {
  background: rgba(232, 244, 244, 0.95);
  color: var(--navy);
}

.aside-contact-box {
  margin-top: 0.5rem;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 0.75rem;
}

.aside-contact-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.aside-contact-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.aside-contact-row:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.aside-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(197, 154, 95, 0.18);
  color: var(--gold-bright);
}

.aside-contact-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.aside-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.aside-panel h2 {
  color: var(--white);
  font-size: 1.45rem;
}

.aside-steps {
  display: grid;
  gap: 1.1rem;
  margin: 1.25rem 0 1.5rem;
  position: relative;
}

.aside-steps::before {
  content: "";
  position: absolute;
  left: 0.82rem;
  top: 1.75rem;
  bottom: 1.75rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.aside-step {
  display: flex;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.aside-step .num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.aside-step h4 {
  margin: 0 0 0.2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.aside-step p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.aside-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.15rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.aside-contact a {
  color: var(--gold-bright);
  text-decoration: none;
}

.aside-contact a:hover {
  text-decoration: underline;
}

.faq-band {
  background: var(--teal-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.integration-ribbon {
  background: var(--teal-soft);
  text-align: center;
  padding: 1rem;
  font-size: 0.98rem;
  color: var(--navy);
}

.integration-ribbon a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}

.how-works {
  background: var(--ivory);
}

.how-works .section-head.center h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.how-works .section-head.center h2::before,
.how-works .section-head.center h2::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.ek-preview {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.q-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.q-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.q-item h4 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.q-item p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.preview-tabs {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.preview-tabs span {
  padding-bottom: 0.75rem;
  color: var(--muted);
}

.preview-tabs .active {
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--navy);
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
}

.preview-list button {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
}

.preview-list button.active {
  background: var(--sky-soft);
  font-weight: 600;
  color: var(--navy);
}

.preview-answer {
  padding: 1rem;
  background: #f7fafc;
}

.preview-answer h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.preview-answer .answer-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.flow-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-piece {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.85rem;
  width: min(160px, 100%);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.flow-piece.phone {
  background: #efeae2;
  color: var(--text);
  border-color: transparent;
}

@media (max-width: 900px) {
  .hero-home-inner,
  .page-hero-grid,
  .audience-grid,
  .feature-grid,
  .deploy-grid,
  .solution-grid,
  .path-grid,
  .contact-layout,
  .contact-shell,
  .contact-hero-inner,
  .faq-layout,
  .ek-preview,
  .preview-body {
    grid-template-columns: 1fr;
  }

  .page-hero-grid-flip {
    grid-template-columns: 1fr;
  }

  .solution-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .solution-card-media {
    justify-content: center;
    padding: 0 1.25rem 1.25rem;
  }

  .solution-card-media img {
    max-width: 240px;
    border-radius: 10px;
    max-height: 220px;
  }

  .hero-home {
    min-height: auto;
    background-position: 70% center;
  }

  .hero-home-inner {
    padding: 2.5rem 0 2rem;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .how-works .section-head.center h2::before,
  .how-works .section-head.center h2::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .path-card.path-dual-navy {
    background:
      linear-gradient(var(--navy), var(--navy-soft)) top / 100% 6px no-repeat,
      linear-gradient(135deg, var(--sky-soft) 0%, #dceaf6 100%);
  }

  .path-card.path-dual-gold {
    background:
      linear-gradient(var(--gold-dark), var(--gold)) top / 100% 6px no-repeat,
      linear-gradient(135deg, var(--sand-soft) 0%, #ebe0cc 100%);
  }

  .path-card.path-dual > div {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .contact-hero-inner,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-hero-visual {
    min-height: 200px;
    justify-content: center;
  }

  .contact-hero-frame {
    width: min(100%, 420px);
    transform: none;
    border-radius: 16px;
    animation: none;
  }

  .contact-hero-frame img {
    height: 220px;
  }

  .contact-hero-chip {
    display: none;
  }

  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aside-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-pane,
  .contact-aside {
    padding: 1.35rem 1.15rem;
  }

  .contact-hero-copy h1 {
    max-width: none;
  }
}

/* —— School Stories —— */
.stories-hero {
  padding: 3rem 0 3.5rem;
  background:
    linear-gradient(105deg, rgba(253, 249, 243, 0.97) 0%, rgba(253, 249, 243, 0.88) 42%, rgba(253, 249, 243, 0.45) 70%, transparent 100%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.stories-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.stories-hero-media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.stories-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.stories-hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11, 34, 64, 0.35));
  pointer-events: none;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.framework-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.framework-card .step-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.framework-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.framework-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 34, 64, 0.12);
}

.story-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sky-soft);
}

.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}

.story-card-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-card-body .product-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.story-card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.story-card-body p {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.story-card-body .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

.stories-invite {
  background: var(--ivory);
}

.invite-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .stories-hero-grid,
  .framework-grid,
  .story-cards,
  .invite-panel {
    grid-template-columns: 1fr;
  }
}

/* —— SchoolAdminCE product page —— */
.sac-hero {
  padding: 3.25rem 0 2.5rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #163a5c 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sac-hero h1,
.sac-hero .breadcrumb,
.sac-hero .breadcrumb a {
  color: var(--white);
}

.sac-hero .breadcrumb a {
  opacity: 0.75;
}

.sac-hero .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}

.sac-dash {
  background: #f5f8fb;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  color: var(--text);
  transform: translateY(1.25rem);
}

.sac-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: #102a4a;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
}

.sac-dash-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 220px;
}

.sac-dash-side {
  background: #0d223d;
  padding: 0.75rem 0.5rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.sac-dash-side span {
  height: 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.sac-dash-main {
  padding: 0.85rem;
  background: linear-gradient(180deg, #f7fafc, #eef3f8);
}

.sac-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.sac-dash-stat {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
}

.sac-dash-stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.sac-dash-stat span {
  font-size: 0.62rem;
  color: var(--muted);
}

.sac-dash-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.sac-dash-panel {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem;
  min-height: 72px;
}

.sac-dash-panel .label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.sac-dash-panel .bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
}

.sac-dash-panel .bars i {
  display: block;
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #0d7377;
  opacity: 0.75;
}

.sac-trust {
  background: linear-gradient(90deg, #f7efe3, #f3ebe0 50%, #eef4f2);
  border-bottom: 1px solid var(--border);
}

.sac-trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 1.15rem 0;
}

.sac-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.35rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.sac-trust-item + .sac-trust-item {
  border-left: 1px solid rgba(11, 34, 64, 0.12);
}

.sac-trust-item .icon-asset {
  width: 2.25rem;
  height: 2.25rem;
}

.sac-audience {
  background: #f4f6f8;
}

.sac-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.sac-audience-stack {
  display: grid;
  gap: 0.85rem;
}

.sac-audience-stack .audience-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 6px 20px rgba(11, 34, 64, 0.04);
}

.sac-audience-stack .audience-card h3 {
  margin: 0 0 0.3rem;
}

.sac-features {
  background: var(--cream);
}

.sac-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sac-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sac-feature:hover {
  text-decoration: none;
  border-color: #b7d4d5;
  box-shadow: 0 10px 24px rgba(11, 34, 64, 0.06);
  transform: translateY(-2px);
}

.sac-feature .icon-asset {
  width: 2.4rem;
  height: 2.4rem;
}

.sac-feature h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin: 0 0 0.15rem;
}

.sac-feature p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.sac-feature .chev {
  margin-left: auto;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sac-deploy {
  background: linear-gradient(135deg, #eaf5f2 0%, #e8f1f8 55%, #f3efe7 100%);
}

.sac-deploy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
}

.sac-deploy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.sac-deploy-cards .deploy-card {
  border: none;
  box-shadow: 0 10px 28px rgba(11, 34, 64, 0.06);
  border-radius: 14px;
}

.sac-start {
  background: var(--white);
}

.sac-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sac-start-card {
  border-radius: 14px;
  padding: 1.35rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(11, 34, 64, 0.04);
}

.sac-start-card.sky {
  background: linear-gradient(165deg, #eef6fb, #e3eff7);
  border-color: transparent;
}

.sac-start-card.mint {
  background: linear-gradient(165deg, #eaf6f1, #dff0e8);
  border-color: transparent;
}

.sac-start-card.sand {
  background: linear-gradient(165deg, #fbf6ee, #f4ebe0);
  border-color: transparent;
}

.sac-start-card h3 {
  font-size: 1.1rem;
  margin: 0.55rem 0 0.4rem;
}

.sac-start-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .sac-split,
  .sac-deploy-grid,
  .sac-deploy-cards,
  .sac-feature-grid,
  .sac-trust-inner,
  .sac-start-grid,
  .sac-dash-stats,
  .sac-dash-panels {
    grid-template-columns: 1fr;
  }

  .sac-trust-item + .sac-trust-item {
    border-left: none;
    border-top: 1px solid rgba(11, 34, 64, 0.1);
    padding-top: 0.85rem;
    margin-top: 0.35rem;
  }

  .sac-dash {
    transform: none;
  }

  .sac-dash-body {
    grid-template-columns: 1fr;
  }

  .sac-dash-side {
    display: none;
  }
}

/* —— eKTextAI product page —— */
.ek-page {
  --ek-cream: #f7f4ee;
  --ek-cream-2: #fbf9f4;
  --ek-sage: #e7efe8;
  --ek-ink: #0b2240;
}

.ek-page h1,
.ek-page h2,
.ek-page h3,
.ek-page h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ek-page .btn {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
}

.ek-hero {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
  display: flex;
  align-items: center;
  background-color: #06182e;
  background-image: url("../images/products/ektextai.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

.ek-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 3.25rem 0;
}

.ek-hero .breadcrumb,
.ek-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.ek-hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 600;
  max-width: 16ch;
  line-height: 1.18;
}

.ek-hero .ek-line {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.ek-hero .ek-accent {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
}

.ek-hero .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  font-weight: 400;
  max-width: 34rem;
  line-height: 1.55;
}

.ek-how {
  background: var(--ek-cream);
}

.ek-lined-title {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.ek-lined-title::before,
.ek-lined-title::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.ek-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.ek-step {
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(229, 225, 216, 0.9);
  border-radius: 14px;
  padding: 1.25rem 1rem;
}

.ek-step-num {
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  background: #efe6d4;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ek-step .icon-asset {
  margin: 0 auto 0.55rem;
  width: 2.4rem;
  height: 2.4rem;
}

.ek-step h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.ek-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.ek-step-arrow {
  color: #b7a48a;
  font-size: 1.2rem;
  padding-top: 2.4rem;
}

.ek-questions {
  background: var(--ek-cream-2);
}

.ek-preview-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.ek-questions h2 {
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.ek-app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(11, 34, 64, 0.08);
  overflow: hidden;
}

.ek-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(90deg, #0b2240, #163456);
  color: var(--white);
}

.ek-app-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ek-app-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 7px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ek-app-brand strong {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.ek-app-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.ek-app-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--border);
  background: #fbfcfa;
}

.ek-app-tabs button {
  appearance: none;
  border: none;
  background: none;
  padding: 0.85rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.ek-app-tabs button.is-active {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--navy);
}

.ek-tab-panel {
  display: none;
  padding: 1.15rem;
}

.ek-tab-panel.is-active {
  display: block;
}

.ek-overview-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.ek-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ek-overview-grid > div {
  background: #f7faf9;
  border: 1px solid #e7eeeb;
  border-radius: 10px;
  padding: 0.85rem;
}

.ek-overview-grid h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.ek-overview-grid p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 400;
}

.ek-overview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ek-overview-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
}

.ek-overview-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.ek-questions-body {
  min-height: 240px;
}

.ek-source-link {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
}

.ek-sources-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.ek-source-item {
  background: #f7faf9;
  border: 1px solid #e7eeeb;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
}

.ek-source-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.ek-source-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 400;
}

.ek-sources-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--sand-soft);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
}

.ek-integration {
  background: var(--ek-sage);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.98rem;
  color: var(--navy);
  font-weight: 500;
}

.ek-integration a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}

.ek-bottom-cta {
  text-align: center;
  background:
    linear-gradient(180deg, var(--ek-cream-2) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 100%, #e8dfd0 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, #dfe8df 0%, transparent 50%),
    var(--ek-cream);
  padding-bottom: 4rem;
}

.ek-bottom-cta h2 {
  font-weight: 600;
}

.ek-bottom-cta .muted {
  max-width: 32rem;
  margin: 0.5rem auto 1.25rem;
  font-weight: 400;
}

@media (max-width: 900px) {
  .ek-preview-layout,
  .ek-overview-grid,
  .ek-steps {
    grid-template-columns: 1fr;
  }

  .ek-step-arrow,
  .ek-lined-title::before,
  .ek-lined-title::after {
    display: none;
  }

  .ek-hero {
    min-height: 420px;
    background-position: 72% center;
  }

  .ek-hero h1 {
    max-width: none;
  }

  .ek-app-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ek-questions-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ek-hero {
    background-position: 82% center;
  }

  .ek-hero-inner {
    max-width: none;
    background: rgba(6, 24, 46, 0.82);
    border-radius: var(--radius-sm);
    padding: 1.6rem 1.15rem;
    margin-block: 1.75rem;
  }
}

/* —— Resources page —— */
.resources-hero {
  position: relative;
  min-height: clamp(280px, 38vw, 420px);
  display: flex;
  align-items: center;
  background-color: #fdf9f3;
  background-image: url("../images/resources/resources-banner-text-free.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  overflow: hidden;
}

.resources-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 3rem 0;
}

.resources-hero h1 {
  color: var(--navy);
  max-width: 16ch;
}

.resources-hero .lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 28rem;
  margin-top: 0.75rem;
}

.resources-section {
  padding-top: 1.5rem;
}

@media (max-width: 900px) {
  .resources-hero {
    min-height: 320px;
    background-position: 70% center;
  }

  .resources-hero-inner {
    padding: 2.5rem 0;
    background: linear-gradient(90deg, rgba(253, 249, 243, 0.96) 0%, rgba(253, 249, 243, 0.88) 70%, transparent 100%);
  }
}

@media (max-width: 600px) {
  .resources-hero {
    background-position: 78% center;
  }

  .resources-hero-inner {
    max-width: none;
    background: rgba(253, 249, 243, 0.92);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.1rem;
    margin-block: 1.5rem;
  }

  .resources-hero h1 {
    max-width: none;
  }
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.resource-filter {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.resource-filter:hover {
  border-color: var(--navy);
}

.resource-filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.resource-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.resource-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.resource-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.resource-card.is-hidden,
.resource-link.is-hidden {
  display: none;
}

.resource-demo-grid:not(:has([data-resource-cat]:not(.is-hidden))),
.resource-guide-grid:not(:has([data-resource-cat]:not(.is-hidden))),
.resource-links:not(:has([data-resource-cat]:not(.is-hidden))) {
  display: none;
}

.resource-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sky-soft);
  overflow: hidden;
}

.resource-card-demo .resource-card-media {
  aspect-ratio: 16 / 9;
}

.resource-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resource-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(11, 34, 64, 0.22);
}

.resource-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent var(--navy);
}

.resource-card-body {
  position: relative;
  padding: 1.1rem 1.25rem 1.25rem;
  padding-right: 2.75rem;
}

.resource-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.resource-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
}

.resource-card-guide .resource-card-body h3 {
  font-size: 1.05rem;
}

.resource-arrow {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 1.15rem;
  line-height: 1;
}

.resource-card-body .resource-arrow {
  top: auto;
  bottom: 1.25rem;
  transform: none;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #eef2f5;
  border-radius: var(--radius);
  overflow: hidden;
}

.resource-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid rgba(11, 34, 64, 0.08);
  transition: background 0.2s var(--ease);
}

.resource-link:last-child {
  border-right: none;
}

.resource-link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
}

.resource-link-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: block;
  flex-shrink: 0;
}

.resource-link h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.resource-link p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

.resource-link .resource-arrow {
  position: static;
  transform: none;
}

@media (max-width: 900px) {
  .resource-demo-grid,
  .resource-guide-grid,
  .resource-links {
    grid-template-columns: 1fr;
  }

  .resource-link {
    border-right: none;
    border-bottom: 1px solid rgba(11, 34, 64, 0.08);
  }

  .resource-link:last-child {
    border-bottom: none;
  }
}

/* —— Pricing page —— */
.pricing-hero {
  position: relative;
  min-height: clamp(280px, 36vw, 400px);
  display: flex;
  align-items: center;
  background-color: var(--navy-deep);
  background-image: url("../images/resources/pricing-banner.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: 3rem 0;
}

.pricing-hero-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.pricing-hero-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.pricing-hero h1 {
  color: var(--white);
  max-width: 16ch;
}

.pricing-hero .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 30rem;
  margin-top: 0.75rem;
}

.pricing-section {
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
}

.pricing-section-ek {
  padding-top: 1rem;
  background: transparent;
}

.pricing-group {
  border-radius: 16px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 2.4fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
}

.pricing-group-ce {
  background: var(--sky-soft);
}

.pricing-group-ek {
  background: var(--sand-soft);
}

.pricing-group-intro {
  max-width: 22rem;
  padding-top: 0.25rem;
}

.pricing-footnote {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-product-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.pricing-product-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.pricing-product-icon.navy {
  background: var(--navy);
}

.pricing-product-icon.teal {
  background: var(--teal);
}

.pricing-group-intro h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.pricing-tagline {
  margin: 0 0 0.55rem;
  font-weight: 600;
  color: var(--navy);
}

.pricing-group-intro .muted {
  margin: 0;
  max-width: 34rem;
}

.pricing-plans {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.pricing-plans-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-plans-4 {
  grid-template-columns: repeat(4, 1fr);
}

.plan-card {
  background: var(--white);
  border: 1px solid rgba(11, 34, 64, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  min-height: 100%;
}

.plan-card-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--sky-soft);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pricing-group-ek .plan-card-icon {
  background: #f7efd9;
  color: var(--gold-dark);
}

.plan-card-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.plan-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
}

.plan-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.plan-card .check-list {
  flex: 1;
  margin-top: 0.9rem;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
  font-size: 0.88rem;
  padding: 0.8rem 0.9rem;
  text-align: center;
}

.plan-card-featured {
  border: 2px solid var(--teal);
  position: relative;
  padding-top: 1.75rem;
}

.plan-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin: 0;
}

.pricing-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.pricing-choice {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pricing-choice:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.pricing-choice-ce {
  background: var(--sky-soft);
}

.pricing-choice-ek {
  background: var(--sand-soft);
}

.pricing-choice-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
  background: rgba(11, 34, 64, 0.08);
  color: var(--navy);
}

.pricing-choice-ek .pricing-choice-icon {
  background: rgba(197, 154, 95, 0.18);
  color: var(--gold-dark);
}

.pricing-choice-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.pricing-choice .eyebrow {
  margin: 0;
}

.pricing-choice-ek .eyebrow {
  color: var(--gold-dark);
}

.pricing-choice h3 {
  margin: 0;
  font-size: 1.35rem;
}

.pricing-choice p:not(.eyebrow) {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-choice .btn {
  align-self: flex-start;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .pricing-plans-4 {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .pricing-hero {
    min-height: 300px;
    background-position: 80% center;
  }

  .pricing-plans-3,
  .pricing-plans-4,
  .pricing-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-hero-inner {
    max-width: none;
    background: rgba(0, 27, 61, 0.72);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.1rem;
    margin-block: 1.5rem;
  }

  .pricing-hero h1 {
    max-width: none;
  }

  .pricing-group {
    padding: 1.25rem;
  }
}