/* ---- tokens.css ---- */
:root {
  --navy: #0b2240;
  --navy-deep: #001b3d;
  --navy-soft: #163456;
  --gold: #c59a5f;
  --gold-bright: #e8b84a;
  --gold-dark: #9a7540;
  --teal: #0d7377;
  --teal-soft: #e8f4f4;
  --sky-soft: #eef5fb;
  --mint-soft: #e8f3ee;
  --sand-soft: #f5efe4;
  --lilac-soft: #f0eef6;
  --ivory: #f9f8f3;
  --cream: #fdf9f3;
  --white: #ffffff;
  --text: #1a2332;
  --muted: #5a6577;
  --border: #e5e1d8;
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1120px;
  --header-h: 72px;
  --shadow-soft: 0 12px 40px rgba(11, 34, 64, 0.08);
  --shadow-card: 0 8px 28px rgba(11, 34, 64, 0.1);
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
/* ---- base.css ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.muted {
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.is-revealed {
  opacity: 1 !important;
  transform: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-animate {
    animation: none !important;
  }
}
/* ---- layout.css ---- */
/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(11, 34, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.05;
  min-width: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wm-marvel {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.wm-soft {
  font-family: var(--font-body);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Footer brand — white + gold Soft (mock pattern, refined) */
.brand-footer .brand-mark {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
}

.brand-footer .wm-marvel {
  color: var(--white);
  font-size: 1.55rem;
}

.brand-footer .wm-soft {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.brand-footer .brand-tag {
  color: rgba(255, 255, 255, 0.62);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav-list > li {
  position: relative;
}

.nav-list a,
.nav-link-btn {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0.35rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-list a:hover,
.nav-link-btn:hover,
.nav-list a.is-active {
  color: var(--navy);
  text-decoration: none;
}

.nav-list a.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-link-btn svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--text);
}

.dropdown a:hover {
  background: var(--sky-soft);
  text-decoration: none;
  color: var(--navy);
}

.dropdown a strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

.dropdown a span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.header-cta {
  flex-shrink: 0;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* —— Footer CTA band (content-width card, like stories invite) —— */
.cta-band {
  background: transparent;
  color: var(--white);
  padding: 0 0 2.5rem;
  margin: 0;
  position: relative;
  overflow: visible;
}

.cta-band::before {
  display: none;
}

.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}

@media (max-width: 640px) {
  .cta-band {
    padding: 0 0 1.75rem;
  }

  .cta-band-inner {
    padding: 1.5rem 1.25rem;
  }
}

/* —— Site footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
  margin: 0;
  border-top: none;
}

.cta-band ~ .site-footer {
  margin-top: 0;
}

main {
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.85rem;
  font-size: 0.95rem;
  max-width: 18rem;
}

.footer-brand .brand {
  margin-bottom: 0.25rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  padding: 0.28rem 0;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer-bottom > span:last-child {
  margin-right: 30px;
}

@media (max-width: 800px) {
  .footer-bottom > span:last-child {
    display: none;
  }

  /* Hide web chat launcher on tablet/mobile; keep WhatsApp + voice */
  #cbw-launcher-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.socials svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a,
  .nav-link-btn {
    padding: 0.75rem 0;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--sky-soft);
    margin: 0 0 0.5rem;
    min-width: 0;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
    transform: none;
  }

  .header-cta {
    display: inline-flex;
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    flex-shrink: 0;
  }

  .brand-tag {
    display: none;
  }

  .wm-marvel {
    font-size: 1.2rem;
  }

  .wm-soft {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark img {
    width: 26px;
    height: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* ---- components.css ---- */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-teal:hover {
  background: #0a5f62;
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 34, 64, 0.35);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  padding-inline: 0;
  border: none;
}

.btn-ghost:hover {
  color: var(--navy);
  transform: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Checklist */
.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.25rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%230d7377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.check-list.gold li::before {
  background-color: #f7efd9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%239a7540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Icon bubble */
.icon-bubble {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-bubble svg {
  width: 1.2rem;
  height: 1.2rem;
}

.icon-bubble.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.icon-bubble.gold {
  background: #f7efd9;
  color: var(--gold-dark);
}

.icon-bubble.navy {
  background: var(--sky-soft);
  color: var(--navy);
}

/* Outcome strip */
.outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 0 0;
}

.outcome-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.outcome-item svg {
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0.9;
  flex-shrink: 0;
}

.outcome-strip-light {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcome-strip-light .outcome-strip {
  padding: 1.1rem 0;
}

.outcome-strip-light .outcome-item {
  color: var(--navy);
  justify-content: center;
}

/* Product path cards */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 10px 32px rgba(11, 34, 64, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 34, 64, 0.1);
}

.product-card.tint-sky {
  background: linear-gradient(165deg, #eef6fb 0%, #e4f0f8 55%, #dceaf4 100%);
}

.product-card.tint-sand {
  background: linear-gradient(165deg, #fbf6ee 0%, #f7efe3 55%, #f3e8d8 100%);
}

.product-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.product-card-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product-card-head p {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.product-card .visual {
  margin-top: auto;
  padding-top: 1.25rem;
}

/* Home proof / workflows band */
.proof-band {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.proof-intro h2 {
  margin-bottom: 0.65rem;
}

.proof-intro p {
  color: var(--muted);
  margin: 0;
  max-width: 22rem;
}

.workflow-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 8px 28px rgba(11, 34, 64, 0.05);
}

.workflow-card .icon-asset {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.workflow-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.workflow-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.workflow-card .btn {
  margin-top: 0.85rem;
}

.trust-panel {
  background: linear-gradient(165deg, #e8f4f1 0%, #dceee9 100%);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 8px 28px rgba(13, 115, 119, 0.06);
}

.trust-panel .trust-point {
  align-items: center;
}

.trust-panel .trust-point h4 {
  margin: 0;
  font-size: 0.95rem;
}

.trust-panel .trust-point p {
  display: none;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.trust-points {
  display: grid;
  gap: 1.1rem;
}

.trust-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.trust-point h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.trust-point p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

/* CSS product UI mock */
.ui-panel {
  background: linear-gradient(160deg, #f4f7fb, #eef2f7);
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
}

.ui-panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
}

.ui-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.ui-panel-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 160px;
}

.ui-side {
  background: #102a4a;
  padding: 0.65rem 0.4rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.ui-side span {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.ui-main {
  padding: 0.75rem;
}

.ui-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.ui-stat {
  background: var(--white);
  border-radius: 6px;
  padding: 0.45rem;
  border: 1px solid #e4eaf1;
}

.ui-stat strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
}

.ui-stat span {
  font-size: 0.62rem;
  color: var(--muted);
}

.ui-chart {
  height: 54px;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent 20%, rgba(13, 115, 119, 0.12)),
    repeating-linear-gradient(
      90deg,
      #0d7377 0 10px,
      transparent 10px 18px
    );
  background-size: 100% 100%, 100% 70%;
  background-position: bottom;
  background-repeat: no-repeat;
  border: 1px solid #e4eaf1;
  background-color: var(--white);
}

/* Chat mock */
.chat-mock {
  background: #efeae2;
  border-radius: 14px;
  padding: 0.85rem;
  max-width: 260px;
  margin-inline: auto;
  box-shadow: var(--shadow-card);
}

.chat-mock-head {
  background: #075e54;
  color: var(--white);
  border-radius: 10px 10px 0 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin: -0.85rem -0.85rem 0.75rem;
}

.bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.bubble.in {
  background: var(--white);
  margin-right: auto;
}

.bubble.out {
  background: #dcf8c6;
  margin-left: auto;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(197, 154, 95, 0.45);
  border-color: var(--gold);
}

.form-field .error {
  color: #b42318;
  font-size: 0.8rem;
  display: none;
}

.form-field.is-invalid .error {
  display: block;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #b42318;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--mint-soft);
  color: var(--navy);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.form-error {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #fde8e8;
  color: #8a1f1f;
  margin-bottom: 1rem;
}

.form-error.is-visible {
  display: block;
}

/* Accordion */
.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.accordion-trigger::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--gold-dark);
}

.accordion-item.is-open .accordion-trigger::after {
  content: "–";
}

.accordion-panel {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 0.85rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .product-grid,
  .trust-grid,
  .proof-band,
  .outcome-strip,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .outcome-item {
    justify-content: flex-start;
  }
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(0, 27, 61, 0.92), var(--navy-deep));
  color: var(--white);
  box-shadow: 0 -12px 40px rgba(11, 34, 64, 0.28);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.cookie-consent-copy p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 44rem;
}

.cookie-consent-copy a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-copy a:hover {
  color: var(--white);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-consent .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.cookie-consent .btn-outline:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Hide eKTextAI chat / voice / WhatsApp widgets while cookie banner is up */
body.cookie-consent-open #cbw-launcher-button,
body.cookie-consent-open .wa-widget-button,
body.cookie-consent-open .widget-position-whatsapp,
body.cookie-consent-open #ek-voice-fab,
body.cookie-consent-open .widget-position-voice,
body.cookie-consent-open [data-widget="voice"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.cookie-consent-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1050;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cookie-consent-reopen:hover {
  background: var(--ivory);
  border-color: var(--navy);
}

.cookie-consent-reopen:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1 1 auto;
  }

  .cookie-consent-reopen {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}
/* —— "Also from MarvelSoft" add-on band (includes/admission-enquiry-form-addon.php) —— */
.addon-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.addon-band-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
}

.addon-band-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.addon-band .eyebrow {
  margin-bottom: 0.3rem;
}

.addon-band h2,
.addon-band h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.addon-band h2 a,
.addon-band h3 a {
  color: var(--navy);
  text-decoration: none;
}

.addon-band h2 a:hover,
.addon-band h3 a:hover {
  text-decoration: underline;
}

.addon-band-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.addon-band-copy .addon-band-price {
  margin-top: 0.5rem;
  color: var(--text);
}

.addon-band-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  min-width: 13rem;
  text-align: center;
}

.addon-band-free {
  font-size: 0.85rem;
  color: var(--teal);
}

@media (max-width: 900px) {
  .addon-band {
    grid-template-columns: auto 1fr;
    padding: 1.25rem;
  }

  .addon-band-actions {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .addon-band {
    grid-template-columns: 1fr;
  }
}

/* ---- pages.css ---- */
/* —— 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.webp");
  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(6, 1fr);
}

.contact-form-grid > .form-field {
  grid-column: span 2;
}

.contact-form-grid .form-field.full {
  grid-column: 1 / -1;
}

.contact-form-grid .form-field.half {
  grid-column: span 3;
}

.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;
}

.contact-local {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 0.7rem;
}

.contact-local-map {
  position: relative;
  min-height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.contact-local-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-local-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact-local-address {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.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: repeat(2, 1fr);
  }

  .contact-form-grid > .form-field,
  .contact-form-grid .form-field.half {
    grid-column: span 1;
  }

  .contact-form-grid .form-field.full {
    grid-column: 1 / -1;
  }

  .aside-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid > .form-field,
  .contact-form-grid .form-field.half,
  .contact-form-grid .form-field.full {
    grid-column: 1 / -1;
  }

  .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;
}

.reviews-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(232, 244, 244, 0.9) 0%, transparent 42%),
    radial-gradient(circle at 92% 88%, rgba(245, 239, 228, 0.85) 0%, transparent 40%),
    var(--cream);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}

.review-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(11, 34, 64, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 8.6rem;
  right: 0.85rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(197, 154, 95, 0.22);
  pointer-events: none;
  z-index: 1;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.review-card:nth-child(4),
.review-card:nth-child(5) {
  grid-column: span 3;
}

.review-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sky-soft), var(--sand-soft));
  overflow: hidden;
}

.review-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card-media-logo {
  background: #0b1220;
}

.review-card-media-logo img {
  object-fit: contain;
  padding: 0.85rem 1.1rem;
}

.review-card-top,
.review-card blockquote,
.review-meta {
  padding-inline: 1.25rem;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.15rem;
}

.review-stars {
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  line-height: 1;
}

.review-source {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-card blockquote {
  margin: 0;
  flex: 1;
}

.review-card blockquote p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.85rem 1.25rem 1.2rem;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.review-name {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.review-role {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.reviews-footnote {
  margin: 1.5rem 0 0;
  text-align: center;
}

.reviews-footnote a {
  font-weight: 600;
  color: var(--teal);
}

.reviews-footnote a:hover {
  color: var(--navy);
}

.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,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card,
  .review-card:nth-child(4),
  .review-card:nth-child(5) {
    grid-column: auto;
  }
}

/* —— 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-hero-media {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(0.5rem);
}

.sac-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.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 {
    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-hero-media {
    transform: 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.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 93%;
  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.webp");
  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;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, 0.72);
  cursor: pointer;
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  background: var(--navy-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
}

.video-modal-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.video-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.video-modal-close:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body.video-modal-open {
  overflow: hidden;
}

/* Page dialog (release notes, etc.) */
.page-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  place-items: center;
  padding: 1.25rem;
}

.page-modal[hidden] {
  display: none !important;
}

.page-modal.is-open,
.page-modal:not([hidden]) {
  display: grid;
}

.page-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, 0.72);
  cursor: pointer;
}

.page-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.page-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  background: var(--navy-deep);
  flex-shrink: 0;
}

.page-modal-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.page-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-modal-external {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
  white-space: nowrap;
}

.page-modal-external:hover {
  color: var(--white);
  text-decoration: none;
}

.page-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.page-modal-close:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.page-modal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 1.25rem 1.2rem 1.5rem;
  background: var(--white);
}

.page-modal-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.page-modal-note a {
  font-weight: 600;
  color: var(--teal);
}

.release-block {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.release-block:first-child {
  padding-top: 0;
}

.release-block:last-of-type {
  border-bottom: none;
}

.release-block-head {
  margin-bottom: 0.55rem;
}

.release-block-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.release-block-head p {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.release-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.release-block li + li {
  margin-top: 0.35rem;
}

.page-modal-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.docs-section {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
}

.docs-section:first-of-type {
  padding-top: 0;
}

.docs-section:last-of-type {
  border-bottom: none;
}

.docs-section h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: var(--navy);
}

.docs-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.docs-link-list a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.docs-link-list a:hover {
  background: var(--teal-soft);
  color: var(--teal);
  text-decoration: none;
}

.page-modal-dialog-wide {
  width: min(100%, 920px);
}

.support-dialog-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.support-form-grid {
  grid-template-columns: 1fr 1fr;
}

.support-form-grid .form-field.full {
  grid-column: 1 / -1;
}

.support-dialog-aside {
  padding: 1.1rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 0.7rem;
}

.support-aside-title {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.support-aside-row {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.support-aside-row:hover {
  color: var(--gold-bright);
  text-decoration: none;
}

.support-aside-address {
  margin: 0.35rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 760px) {
  .support-dialog-layout,
  .support-form-grid {
    grid-template-columns: 1fr;
  }
}

body.page-modal-open {
  overflow: hidden;
}

button.resource-link {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 600px) {
  .page-modal {
    padding: 0.5rem;
  }

  .page-modal-dialog {
    max-height: min(94vh, 900px);
  }

  .page-modal-external {
    display: 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.webp");
  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-intro-actions {
  margin-top: 1.1rem;
}

.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);
}

/* Prices on the cards themselves: the popups are hidden, so crawlers and AI assistants miss them */
.plan-price {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.plan-price small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  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;
  }
}

/* SchoolAdminCE price modal */
.price-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.price-modal[hidden] {
  display: none;
}

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 61, 0.72);
  cursor: pointer;
}

.price-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.price-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 1;
}

.price-modal-header-ek {
  background: linear-gradient(135deg, #0a5f62 0%, var(--teal) 100%);
}

.price-modal-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.price-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.price-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.price-modal-close:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.price-modal-body {
  padding: 1.25rem 1.15rem 1.5rem;
}

.price-modal-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-modal-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.price-table th,
.price-table td {
  padding: 0.85rem 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.price-table thead th {
  background: var(--sky-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-table tbody th {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(238, 245, 251, 0.45);
}

body.price-modal-open {
  overflow: hidden;
}
