/* =========================================================
   Loopengine — static site stylesheet
   Hand-written plain CSS (no framework, no build step)
   ========================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(138, 79, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fcfbff 0%, #f7f3ff 100%);
  color: #1A1A1A;
  font-family: "Stack", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { text-decoration: none; }

:root {
  --brand-indigo: #25084E;
  --brand-violet: #8A4FFF;
  --brand-teal: #09A4AC;
  --brand-dark: #1A1A1A;
  --purple: #6E3FCC;
  --purple-deep: #452880;
  --lilac-border: #E8DCFF;
  --grey-border: #E2E2E2;
  --body-grey: #191919;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --shadow-soft: 0 16px 50px -24px rgba(37, 8, 78, 0.28);
}

/* ---------- Layout helpers ---------- */
.page { min-height: 100vh; background: #fff; }
.page--flex { display: flex; flex-direction: column; }
.wrap { max-width: 1280px; width: min(100%, 1280px); margin: 0 auto; padding-left: clamp(16px, 3vw, 32px); padding-right: clamp(16px, 3vw, 32px); }
.wrap-center { max-width: 1280px; margin: 0 auto; padding-left: clamp(16px, 3vw, 32px); padding-right: clamp(16px, 3vw, 32px); }
.pad { padding-left: clamp(20px, 4vw, 90px); padding-right: clamp(20px, 4vw, 40px); }
.pad-56 { padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }

/* ---------- Gradient text ---------- */
.grad,
.section-label {
  background: linear-gradient(90deg, #8A4FFF, #09A4AC);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-blue {
  background: linear-gradient(90deg, #8A4FFF, #4A7DFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-label {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  display: inline-block;
  margin: 0;
}
.section-label--mb { margin-bottom: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(69, 40, 128, 0.06);
  transition: background-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px -24px rgba(37, 8, 78, 0.3);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 0;
  padding-right: 32px;
}

.brand { display: flex; flex-direction: column; align-items: flex-start; margin-left: -24px; }
.brand-logo { height: 36px; width: auto; object-fit: contain; }
.brand-tag { height: 9px; width: auto; object-fit: contain; margin-top: 3px; margin-left: 40px; }

.nav-desktop { display: none; align-items: center; gap: 16px; }
.nav-link {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: #1A1A1A;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--brand-indigo); }
.nav-link::after {
  content: "";
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  height: 3px;
  width: 100%;
  border-radius: 2px 2px 0 0;
  background-color: transparent;
}
.nav-link.is-active::after { background-color: #6E3FCC; }

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }

.btn-login {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid #452880;
  color: #452880;
  border-radius: 4px;
  transition: background-color 0.15s;
}
.btn-login:hover { background-color: rgba(69, 40, 128, 0.05); }

.btn-register {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  background-color: #C5A7FF;
  color: #452880;
  border-radius: 4px;
  transition: opacity 0.15s;
}
.btn-register:hover { opacity: 0.9; }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: 0;
  padding: 0;
  color: var(--brand-indigo);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid #f3f4f6;
  padding: 20px;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a.nav-link-mobile { font-weight: 700; font-size: 18px; color: #1A1A1A; }
.mobile-menu-actions { display: flex; gap: 12px; padding-top: 8px; }
.mobile-menu-actions .btn-register { padding: 8px 16px; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.15s;
  box-shadow: 0 10px 24px -18px rgba(37, 8, 78, 0.45);
}
.btn:hover { opacity: 0.95; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #6E3FCC 0%, #4A2A8A 100%); color: #ffffff; font-size: 18px; padding: 12px 24px; border-radius: 999px; }
.btn-primary--r12 { border-radius: 999px; }
.btn-mint { background: linear-gradient(135deg, #E7F9F8 0%, #C9ECEA 100%); color: #07838A; font-size: 18px; padding: 12px 24px; border-radius: 999px; }
.btn-mint--r12 { border-radius: 999px; }
.nowrap { white-space: nowrap; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 243, 255, 0.94) 45%, rgba(237, 247, 248, 0.96) 100%);
}
.hero-inner { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.badge-trusted {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  background-color: #EDE8F7;
  color: #452880;
  padding: 4px 8px;
  border-radius: 4px;
}

.hero-title {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  color: var(--brand-indigo);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-sub {
  color: #191919;
  font-weight: 300;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 36px;
  max-width: 32rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -48px;
}
.hero-art .pattern { width: 100%; object-fit: contain; max-width: 1246px; margin-left: -48px; }
.hero-art .shot { position: absolute; z-index: 10; object-fit: contain; width: 948px; max-width: 100%; filter: drop-shadow(0 24px 60px rgba(37, 8, 78, 0.2)); }

.trust-strip { padding: 0 24px 24px; }
.trust-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(138, 79, 255, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px -24px rgba(37, 8, 78, 0.28);
}
.trust-strip-inner span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(69, 40, 128, 0.06);
  color: #452880;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Section headings ---------- */
.sec { background: #fff; }
.sec-head-lg { margin-bottom: 56px; }
.sec-head-md { margin-bottom: 24px; }
.sec-head-sm { margin-bottom: 40px; }

.executive-brief {
  padding-top: 16px;
  padding-bottom: 24px;
}
.executive-brief-inner {
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid rgba(138, 79, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(250, 247, 255, 0.98), rgba(240, 248, 251, 0.98));
  padding: 36px;
  box-shadow: 0 24px 70px -32px rgba(37, 8, 78, 0.24);
}
.executive-copy { margin-bottom: 24px; }
.executive-grid {
  display: grid;
  gap: 16px;
}
.executive-card {
  border-radius: 16px;
  border: 1px solid rgba(138, 79, 255, 0.16);
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 22px;
}
.executive-card h3 {
  font-size: 18px;
  color: var(--brand-indigo);
  margin-bottom: 8px;
}
.executive-card p {
  color: #4b5563;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .executive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.h2-display {
  font-weight: 700;
  font-size: 36px;
  color: var(--brand-indigo);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
@media (min-width: 1024px) { .h2-display { font-size: 48px; } }
.h2-display--nomb { margin-bottom: 0; }

.lede {
  font-weight: 500;
  font-size: 20px;
  color: #191919;
  line-height: 25px;
}
.lede--4xl { max-width: 56rem; }

/* ---------- Industries ---------- */
.industries-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.industry-card {
  border: 1px solid var(--lilac-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  padding: 20px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -24px rgba(37, 8, 78, 0.32);
}
.industry-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.industry-head svg { color: var(--brand-violet); flex-shrink: 0; }
.industry-name { font-weight: 600; font-size: 20px; color: #1A1A1A; }
.industry-desc { font-weight: 400; font-size: 14px; color: #191919; line-height: 1.7; flex: 1; margin-bottom: 16px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.industry-tag {
  align-self: flex-start;
  white-space: nowrap;
  font-weight: 700;
  background-color: #E8F5F0;
  color: #1A4A4A;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 8px;
}

/* ---------- Architecture / module tabs ---------- */
.module-tabs { display: flex; overflow-x: auto; margin-bottom: 32px; scrollbar-width: none; }
.module-tabs::-webkit-scrollbar { display: none; }

.module-tab {
  flex-shrink: 0;
  padding: 12px 16px;
  text-align: left;
  background: #fff;
  box-shadow: none;
  border: 2px solid #e5e7eb;
  position: relative;
  z-index: 0;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
}
.module-tab + .module-tab { margin-left: -1px; }
.module-tab:first-child { border-radius: 8px 0 0 8px; }
.module-tab:last-child { border-radius: 0 8px 8px 0; }
.module-tab.is-active { border-color: #9970E7; z-index: 1; color: #191919; }
.module-tab:hover { transform: translateY(-1px); border-color: #6E3FCC; }
.module-tab .tab-label { display: block; font-size: 14px; color: #8D8D8D; margin-bottom: 2px; }
.module-tab.is-active .tab-label { color: #9970E7; }
.module-tab .tab-name { font-weight: 700; font-size: 14px; }

.module-grid { display: grid; gap: 40px; align-items: start; min-height: 400px; }
@media (min-width: 1024px) { .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.module-title { font-weight: 700; font-size: 24px; color: var(--brand-indigo); margin-bottom: 16px; }
.module-copy { font-weight: 500; font-size: 18px; color: #191919; line-height: 25px; white-space: pre-line; }

.module-panel { background: #fff; border: 1px solid var(--lilac-border); border-radius: 8px; padding: 20px; }
.module-panel > * + * { margin-top: 16px; }
.module-panel img { width: 100%; height: auto; }

.review-card { border: 1px solid var(--lilac-border); border-radius: 8px; padding: 16px; background: #fff; }
.review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.review-name { font-weight: 600; font-size: 14px; color: #1A1A1A; }
.stars { display: flex; gap: 2px; }
.stars svg { color: #e5e7eb; fill: #e5e7eb; }
.stars svg.on { color: #fbbf24; fill: #fbbf24; }
.review-match { font-size: 12px; font-weight: 600; color: #0DBA57; }
.review-match svg { color: #0DBA57; vertical-align: -1px; margin-right: 2px; }
.review-loc { font-weight: 600; font-size: 12px; color: #5F5F5F; margin-bottom: 8px; }
.review-body { font-weight: 300; font-size: 14px; color: #4b5563; line-height: 1.625; }

/* ---------- Business impact ---------- */
.metrics-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.metric-card {
  border: 1px solid var(--lilac-border);
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  box-shadow: var(--shadow-soft);
}
.metric-value { font-weight: 700; font-size: 22px; color: #1A1A1A; line-height: 1; margin-bottom: 4px; }
.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #8A4FFF 0%, #5B21B6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.metric-title { font-weight: 700; font-size: 17px; color: var(--brand-indigo); line-height: 1.375; margin-bottom: 12px; }
.metric-desc { font-weight: 300; font-size: 14px; color: #6b7280; line-height: 1.7; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.testimonial-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  display: flex;
  flex-direction: column;
  padding: 32px;
  height: 100%;
  border: 1px solid var(--lilac-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.testimonial-card img { width: 44px; height: auto; margin-bottom: 20px; flex-shrink: 0; }
.testimonial-quote {
  flex: 1;
  margin-bottom: 24px;
  font-weight: 400;
  font-size: 18px;
  color: #513971;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.testimonial-role { font-weight: 500; font-size: 14px; color: #5F5F5F; }

.dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; }
.dot {
  height: 6px;
  width: 20px;
  border-radius: 3px;
  background-color: #D8C8F5;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.dot.is-active { width: 28px; background-color: #8A4FFF; }

/* ---------- FAQ ---------- */
.faq-item {
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 4px;
  border: none;
  background-color: #F3EDFF;
  transition: all 0.3s;
}
.faq-item.is-open { border: 1px solid var(--lilac-border); background-color: #ffffff; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  padding: 0 20px;
  min-height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
}
.faq-q span:first-child { font-weight: 500; font-size: 16px; color: #1A1A1A; }
.faq-sign { flex-shrink: 0; color: #452880; font-size: 20px; line-height: 1; font-weight: 300; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; }
.faq-body p { font-weight: 400; font-size: 15px; color: #1A1A1A; line-height: 1.7; padding: 0 20px 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 238, 255, 0.96) 100%);
  border-top: 1px solid rgba(138, 79, 255, 0.16);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 90px);
}
@media (min-width: 1024px) {
  .cta-inner { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
}
.cta-text { flex: 1; min-width: min(780px, 100%); }
.cta-title { font-weight: 700; font-size: clamp(30px, 4vw, 50px); color: #055256; line-height: 1.1; margin-bottom: 16px; white-space: normal; }
.cta-title--42 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-sub { font-weight: 400; font-size: clamp(18px, 2vw, 23px); color: #055256; line-height: 1.25; }
.cta-actions { display: flex; flex-direction: row; align-items: center; gap: 12px; flex-shrink: 0; margin-bottom: -8px; padding-bottom: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: rgba(255, 255, 255, 0.9); padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 90px) 28px; border-top: 1px solid rgba(138, 79, 255, 0.12); }
.footer-grid { max-width: 1280px; display: grid; gap: 24px 32px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-blurb { font-weight: 400; font-size: 15px; color: #1A1A1A; line-height: 1.6; margin-bottom: 20px; max-width: 260px; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--grey-border);
  color: #1A1A1A;
  transition: background-color 0.15s;
}
.footer-social a:hover { background-color: #f3f4f6; }
.footer-col h4 { font-weight: 700; font-size: 15px; color: #1A1A1A; margin-bottom: 16px; }
.footer-col li + li { margin-top: 8px; }
.footer-col--wide li + li { margin-top: 12px; }
.footer-col a { font-weight: 400; font-size: 14px; color: #1A1A1A; transition: color 0.15s; }
.footer-col a:hover { color: var(--brand-indigo); }
.footer-bottom {
  max-width: 1280px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  row-gap: 4px;
  font-size: 12px;
  text-align: center;
}
.footer-bottom .muted { color: #6B7280; }
.footer-bottom .dotsep { color: #d1d5db; }
.footer-bottom .ok { color: #0DBA57; }

@media (max-width: 767px) {
  .site-footer {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
    margin-bottom: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-blurb {
    max-width: none;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 30px;
    height: 30px;
  }

  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .footer-col li + li,
  .footer-col--wide li + li {
    margin-top: 6px;
  }

  .footer-col a {
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 16px;
    font-size: 11px;
    letter-spacing: 0.01em;
    column-gap: 6px;
  }
}

/* ---------- Products page ---------- */
.subhero { position: relative; overflow: hidden; padding-top: 128px; padding-bottom: 48px; }
.subhero-title { font-weight: 700; font-size: 42px; color: var(--brand-indigo); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 16px; }
.subhero-title .grad, .subhero-title .grad-blue { font-size: 48px; }
.subhero-sub { color: #191919; font-weight: 300; font-size: 18px; line-height: 26px; margin-bottom: 24px; max-width: 36rem; }
.subhero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.subhero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.subhero-art img {
  position: absolute;
  z-index: 10;
  object-fit: contain;
  border-radius: 8px;
  width: 760px;
  max-width: 100%;
  max-height: 360px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.subhero-art img.shadowed { box-shadow: 0 20px 60px -20px rgba(37, 8, 78, 0.25); }

.product-sec { background: #fff; padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 90px); }
.product-sec--first { padding-top: 8px; }
.product-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .product-grid .order-1 { order: 1; }
  .product-grid .order-2 { order: 2; }
}
.product-name-block { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.product-name { font-weight: 700; font-size: 20px; color: var(--brand-indigo); letter-spacing: -0.025em; }
.product-tag { font-weight: 300; font-size: 14px; color: #6E3FCC; }
.product-para { font-weight: 400; font-size: 16px; color: #1A1A1A; line-height: 1.5; margin-bottom: 16px; }
.product-highlights { display: grid; gap: 12px; margin: 16px 0 18px; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 79, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 255, 0.92));
  box-shadow: 0 10px 24px -18px rgba(37, 8, 78, 0.35);
}
.highlight-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6E3FCC, #09A4AC);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #452880;
  transition: color 0.2s;
}
.product-cta:hover { color: #6E3FCC; }
.module-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.module-highlight-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(138, 79, 255, 0.16);
  color: #452880;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px -16px rgba(37, 8, 78, 0.3);
}
.module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #452880;
}
.module-link:hover { color: #6E3FCC; }
.product-art { display: flex; align-items: center; justify-content: center; }

.contact-hero { padding-top: 132px; padding-bottom: 48px; }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.05fr 0.95fr; } }
.contact-card {
  border: 1px solid rgba(138, 79, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fcfbff 100%);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: #25084E; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(138, 79, 255, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: #1A1A1A;
  background: #fff;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { border: 0; cursor: pointer; }
.contact-panel {
  border: 1px solid rgba(138, 79, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  box-shadow: 0 14px 36px -24px rgba(37, 8, 78, 0.3);
}
.contact-highlights {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: #452880;
  font-weight: 600;
}
.form-success {
  display: none;
  margin-top: 6px;
  color: #055256;
  font-weight: 700;
}
.form-success.is-visible { display: block; }
.product-art img { width: 100%; height: auto; object-fit: contain; max-width: 520px; }
.product-rule { max-width: 1280px; margin-top: 48px; border-top: 1px solid var(--lilac-border); }

/* ---------- Pricing page ---------- */
.pricing-hero { padding-top: 128px; }
.pricing-hero-grid { max-width: 1280px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .pricing-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pricing-title { font-weight: 700; font-size: 42px; color: #1A1A1A; line-height: 1.15; margin: 0; }
.pricing-title .grad-blue { font-size: 48px; }
.pricing-lede { font-weight: 400; font-size: 17px; color: #1A1A1A; line-height: 1.5; margin-top: 16px; }
.pricing-hero-art { display: flex; justify-content: flex-end; }
.pricing-hero-art img { width: 100%; height: auto; object-fit: contain; max-width: 780px; border-radius: 12px; }

.toggle-row { max-width: 1280px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.toggle-row span { font-size: 15px; color: #1A1A1A; font-weight: 400; }
.toggle-row span.is-on { font-weight: 700; }
.toggle-btn { display: inline-flex; line-height: 0; background: none; border: 0; padding: 0; cursor: pointer; }
.toggle-btn img { width: 71px; height: 31px; }
.toggle-btn img.flip { transform: scaleX(-1); }

.plans { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1400px; margin: 0 auto; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 605px;
  border: 1px solid var(--grey-border);
  border-radius: 10px;
  background: #fff;
  padding: 24px;
}
.plan-badge { position: absolute; top: -12px; right: -12px; width: 75px; height: 75px; z-index: 10; }
.plan-name { font-weight: 700; font-size: 18px; color: #1A1A1A; margin: 0; }
.plan-desc { font-weight: 400; font-size: 16px; color: #1A1A1A; line-height: 1.35; margin-top: 8px; }
.plan-price { display: flex; align-items: baseline; margin-top: 16px; }
.plan-price img { width: 9px; height: 13px; margin-right: 4px; }
.plan-amount { font-weight: 700; font-size: 42px; color: #452880; line-height: 1; }
.plan-billed { font-weight: 400; font-size: 13px; color: #1A1A1A; margin-left: 6px; }
.plan-discount {
  display: none;
  align-items: center;
  margin-left: 8px;
  padding: 3px 10px 3px 14px;
  background-color: #16A34A;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
}
.plan-price.is-annual .plan-discount { display: inline-flex; }
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
  transition: opacity 0.15s;
}
.plan-cta:hover { opacity: 0.9; }
.plan-cta.filled { background-color: #6E3FCC; color: #ffffff; border: none; }
.plan-cta.outline { background-color: #ffffff; color: #452880; border: 1px solid var(--grey-border); }
.plan-features { display: flex; flex-direction: column; margin-top: 16px; gap: 7px; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; }
.plan-features img { width: 13px; height: 13px; margin-top: 3px; flex-shrink: 0; }
.plan-features span { font-weight: 400; font-size: 13px; color: #1A1A1A; line-height: 1.3; }

.tailored-kicker { font-weight: 700; font-size: 13px; color: #6E3FCC; letter-spacing: 0.14em; margin: 0; }
.tailored-title { font-weight: 700; font-size: 42px; color: #25084E; line-height: 1.15; margin-top: 12px; }
.tailored-lede { font-weight: 400; font-size: 17px; color: #1A1A1A; line-height: 1.5; margin-top: 16px; max-width: 56rem; }
.tailored-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; max-width: 56rem; }
.tailored-tag { font-weight: 600; background-color: #EAF8F0; color: #055256; font-size: 13px; padding: 8px 14px; border-radius: 6px; }
.btn-strategy { margin-top: 32px; background-color: #6E3FCC; color: #fff; font-size: 17px; padding: 14px 24px; border-radius: 8px; }

/* ---------- About page ---------- */
.principles-grid { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 640px) { .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .principles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.principle-card { padding: 24px; border: 1px solid var(--grey-border); border-radius: 10px; background: #fff; }
.principle-card h3 { font-weight: 700; font-size: 17px; color: #1A1A1A; line-height: 1.3; margin: 0; }
.principle-card p { font-weight: 400; font-size: 15px; color: #1A1A1A; line-height: 1.5; margin-top: 8px; }

.about-h2 { font-weight: 700; font-size: 42px; color: var(--brand-indigo); letter-spacing: -0.025em; line-height: 1.15; margin-top: 24px; }
.about-lede { font-weight: 400; font-size: 16px; color: #1A1A1A; line-height: 1.5; margin-top: 16px; max-width: 56rem; }
.about-lede--wide { max-width: 64rem; }

.team-grid { display: grid; gap: 48px; margin-top: 32px; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team-member { display: flex; align-items: flex-start; gap: 20px; }
.team-member img { width: 108px; height: 132px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.team-name { font-weight: 700; font-size: 16px; color: #1A1A1A; margin: 0; }
.team-role { font-weight: 700; font-size: 14px; color: #6E3FCC; margin-top: 2px; }
.team-bio { font-weight: 400; font-size: 15px; color: #1A1A1A; line-height: 1.5; margin-top: 10px; }

/* ---------- Register page ---------- */
.reg-band {
  position: relative;
  padding-top: 96px;
  background-image: url("../assets/Header_BG_Join_as_a_Business.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.reg-band-inner { padding: 24px 56px 40px; }
.reg-crumb { font-size: 14px; color: #1A1A1A; margin-bottom: 16px; }
.reg-crumb a { color: inherit; }
.reg-crumb a:hover { text-decoration: underline; }
.reg-crumb .sep { margin: 0 4px; color: #9ca3af; }
.reg-crumb .current { font-weight: 600; }
.reg-title { font-size: 36px; font-weight: 700; color: #111827; line-height: 1.25; margin-bottom: 16px; }
@media (min-width: 1024px) { .reg-title { font-size: 48px; } }
.reg-sub { color: #6b7280; font-size: 16px; line-height: 1.625; }
.reg-rule { height: 1px; width: 100%; background: #DCCAFF; }

.stepper-sec { padding: 48px 56px 0; }
.stepper { position: relative; }
.stepper-line { position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: #E8DCFF; }
.stepper-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  background: none;
  border: 0;
  cursor: pointer;
}
.step:first-child { align-items: flex-start; text-align: left; }
.step:last-child { align-items: flex-end; text-align: right; }
.step .bullet { width: 17px; height: 17px; margin-bottom: 16px; transition: transform 0.15s; }
.step:hover .bullet { transform: scale(1.1); }
.step .bullet-dot { border-radius: 9999px; background: #A88CE0; }
.step h3 { font-size: 14px; margin-bottom: 4px; font-weight: 600; color: #1A1A1A; }
.step.is-active h3 { font-weight: 700; }
.step p { font-size: 12px; color: #6b7280; max-width: 220px; }
.step .bullet-active { display: none; }
.step.is-active .bullet-active { display: block; }
.step.is-active .bullet-dot { display: none; }

.reg-form { flex: 1; padding: 48px 56px 64px; }
.reg-step { display: none; }
.reg-step.is-active { display: block; }

.field-label { display: block; font-size: 14px; font-weight: 600; color: #1A1A1A; margin-bottom: 12px; }
.field-label.mt { margin-top: 16px; }
.text-input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  margin-bottom: 4px;
  border-radius: 6px;
  border: 1px solid #E8DCFF;
  transition: border-color 0.15s;
}
.text-input:focus { outline: none; border-color: #6E3FCC; }
.text-input.has-error { border-color: #f87171; }
.field-error { font-size: 12px; color: #ef4444; margin-bottom: 12px; }
.field-error:empty { display: none; }

.step0-row { display: flex; flex-direction: column; gap: 32px; max-width: 64rem; }
@media (min-width: 768px) { .step0-row { flex-direction: row; align-items: flex-start; } }
.step0-col { flex: 1; }
.or-div { display: flex; align-items: center; justify-content: center; font-size: 14px; color: #1A1A1A; }
@media (min-width: 768px) { .or-div { padding-top: 40px; } .step0-social { padding-top: 24px; } }
.step0-social { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.social-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 16px;
  font-size: 14px; font-weight: 600; color: #1A1A1A;
  border: 1px solid #E8DCFF; border-radius: 6px; background: #fff;
  cursor: pointer; transition: background-color 0.15s;
}
.social-btn:hover { background: #f9fafb; }

.btn-solid {
  padding: 12px 32px; font-size: 14px; font-weight: 600; color: #fff;
  background: #6E3FCC; border: 0; border-radius: 6px; cursor: pointer;
  transition: background-color 0.15s;
}
.btn-solid:hover { background: #5a30ac; }
.btn-solid--inline { display: inline-flex; align-items: center; padding: 12px 24px; margin-top: 32px; }
.btn-outline {
  padding: 12px 32px; font-size: 14px; font-weight: 600; color: #6E3FCC;
  background: #fff; border: 1px solid #6E3FCC; border-radius: 6px; cursor: pointer;
  transition: background-color 0.15s;
}
.btn-outline:hover { background: #F3EDFF; }
.signin-note { margin-top: 16px; font-size: 14px; color: #6b7280; }
.signin-note a { font-weight: 600; color: #6E3FCC; }
.signin-note a:hover { text-decoration: underline; }

.step1-grid { display: grid; grid-template-columns: 1fr; column-gap: 48px; row-gap: 32px; max-width: 72rem; }
@media (min-width: 768px) { .step1-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step1-actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .step1-actions { grid-column: span 3; } }
.radio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; column-gap: 16px; }
.opt-btn {
  display: flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 14px; color: #1A1A1A; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.opt-btn img { width: 17px; height: 17px; flex-shrink: 0; }
.select-wrap { position: relative; }
.select-input {
  width: 100%; font-family: inherit; font-size: 14px;
  padding: 12px 40px 12px 16px; border-radius: 6px;
  border: 1px solid #E8DCFF; background: #fff;
  appearance: none; -webkit-appearance: none;
  color: #9ca3af; transition: border-color 0.15s;
}
.select-input.has-value { color: #1A1A1A; }
.select-input:focus { outline: none; border-color: #6E3FCC; }
.select-arrow { pointer-events: none; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 13px; }

.step2-row { display: flex; flex-direction: column; column-gap: 96px; row-gap: 32px; }
@media (min-width: 768px) { .step2-row { flex-direction: row; } }
.roles-col { flex-shrink: 0; }
@media (min-width: 768px) { .roles-col { width: 220px; } }
.roles-col > p { font-size: 14px; font-weight: 600; color: #1A1A1A; margin-bottom: 16px; }
.roles-list { display: flex; flex-direction: column; row-gap: 12px; }
.role-item { display: flex; flex-direction: column; row-gap: 8px; }
.other-role-wrap { display: none; }
.other-role-wrap.is-visible { display: block; }
.goals-col { flex: 1; min-width: 0; }
.goals-head { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; }
.goals-head p { font-size: 14px; font-weight: 600; color: #1A1A1A; }
.goals-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 32px;
  row-gap: 12px;
}
@media (min-width: 768px) {
  .goals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; }
  .opt-btn span { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .goals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); }
}
.step2-actions { display: flex; align-items: center; gap: 16px; margin-top: 40px; }

/* =========================================================
   Responsive layer — mobile & tablet only.
   Desktop (>=1024px) is intentionally untouched.
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---------- Tablet: 768px – 1023px ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  main > section,
  .site-footer,
  .site-header > .header-inner {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  main img {
    max-width: 100%;
    height: auto;
  }
}


/* =========================================================
   Mobile refinements — 24px gutter baseline
   ========================================================= */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .pad,
  .site-header > .header-inner,
  .mobile-menu {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .site-footer {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .site-header .logo img.logo-mark {
    height: 30px;
  }

  .mobile-menu {
    background: #fff;
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .mobile-menu a,
  .nav-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .mobile-menu-actions {
    display: flex;
    gap: 12px;
  }

  /* CTA band: matches 24px section gutter; button spans text width with 24px side margins */
  .cta-band {
    padding-left: 24px;
    padding-right: 24px;
  }
  .cta-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions > a.cta-btn {
    width: calc(100% - 48px) !important;
    margin-left: 24px;
    margin-right: 24px;
  }
  .mobile-menu-actions > a {
    flex: 1;
    justify-content: center;
  }

  /* Hero imagery removed on mobile */
  .hero-art,
  .subhero-art,
  .pricing-hero-art {
    display: none !important;
  }

  /* Headings reduced so nothing truncates */
  h1 {
    font-size: clamp(28px, 8.4vw, 36px) !important;
    line-height: 1.15 !important;
  }
  h2 {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  h3 {
    font-size: 19px !important;
  }

  /* Single column grids */
  .hero-grid,
  .industry-grid,
  .module-grid,
  .plans,
  .principles-grid,
  .team-grid,
  .testimonial-grid,
  .products-grid,
  .step1-grid,
  .radio-grid,
  .goals-grid,
  .locations-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    display: grid !important;
  }

  /* Full-width CTAs inside the 24px gutter */
  .hero-actions,
  .cta-actions,
  .subhero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions > a,
  .cta-actions > a,
  .subhero-actions > a,
  .plan-cta,
  .reg-actions > button,
  .btn-block {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Cards use available width */
  .plan-card,
  .industry-card,
  .principle-card,
  .team-card,
  .testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Architecture tabs swipe horizontally, page does not */
  .module-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .module-tabs::-webkit-scrollbar {
    display: none;
  }
  .module-tabs > .module-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* Register stepper */
  .stepper-row .step p,
  .steps .step p,
  .step-desc {
    display: none;
  }
  .reg-band-inner,
  .stepper-sec,
  .reg-form {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .stepper-row .step {
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: center !important;
    text-align: center !important;
  }
  .stepper-row .step h3 {
    font-size: 12px !important;
  }
  .btn-solid--inline,
  .step1-actions button,
  .step2-actions button {
    width: 100% !important;
    justify-content: center;
    text-align: center;
  }
  .step1-actions,
  .step2-actions {
    flex-direction: column;
    align-items: stretch;
  }


  /* FAQ: consistent vertical spacing above question and below answer */
  .faq-q {
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: 0;
  }
  .faq-body p {
    padding-bottom: 16px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* Bottom CTA button: same width as text above with 24px side margins */
  .cta-band .cta-actions > a.cta-btn {
    width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
  }
}

/* Bottom CTA band — mobile: full-bleed background, 16px top/bottom breathing room */
@media (max-width: 767px) {
  .cta-band {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .cta-inner {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    gap: 16px !important;
  }
  .cta-text {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 767px) {
  .cta-actions {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .cta-band .cta-actions > a.cta-btn {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
