:root {
  --brand-purple: #661CC4;
  --brand-offpurple: #9D5AF2;
  --brand-light-purple: #9D5AF230;
  --brand-offwhite: #f6f6f9;
  --brand-offblack: #131216;
  --brand-green: #26E8AD;
  --brand-red: #EB1E74;
  --text-default: #101010;
  --text-muted: #878787;
  --text-courant: #737272;
  --stroke: #E5E4E4;
  --stroke-muted: #F6F6F9;
  --background: #FFFFFF;
  --background-card: #F6F6F9;
  --background-feature: #E5E4E4;
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-full: 9999px;
  --font-body: 'SuisseIntl', sans-serif;
  --font-mono: 'SuisseIntlMono', monospace;
}

/* ===================== GLOBAL PAGE SHELL ===================== */

.ekubo-page {
  min-height: 100vh;
  background-color: var(--background);
  color: var(--text-default);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.ekubo-page *,
.ekubo-page *::before,
.ekubo-page *::after {
  box-sizing: border-box;
}

/* ===================== SITE HEADER (subpages) ===================== */

.ekubo-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  width: 100%;
  background-color: var(--background);
  border-bottom: 1px solid var(--stroke-muted);
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  min-height: 56px;
  gap: 1rem;
}

.ekubo-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-default);
  flex-shrink: 0;
}

.ekubo-header__logo svg {
  width: 2rem;
  height: 2rem;
}

.ekubo-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.ekubo-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  font-family: var(--font-body);
}

.ekubo-header__link:hover {
  background: rgba(34, 34, 34, 0.05);
  color: var(--text-default);
}

.ekubo-header__link--active {
  color: var(--text-default);
}

/* ===================== MAIN CONTENT WRAPPER ===================== */

.ekubo-main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

@media (min-width: 480px) {
  .ekubo-main {
    padding: 3rem 1.5rem 5rem;
  }
}

@media (min-width: 768px) {
  .ekubo-main {
    padding: 4rem 2rem 6rem;
  }
}

/* ===================== FOOTER (subpages) ===================== */

.ekubo-footer {
  width: 100%;
  border-top: 1px solid var(--stroke-muted);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.ekubo-footer__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ekubo-footer__link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s;
}

.ekubo-footer__link:hover {
  color: var(--brand-offpurple);
}

/* ===================== SECTION HEADINGS ===================== */

.ekubo-section-title {
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-default);
  line-height: 1.25;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .ekubo-section-title {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .ekubo-section-title {
    font-size: 2.25rem;
  }
}

.ekubo-section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-courant);
  line-height: 1.6;
  margin: 0 0 2rem;
}

.ekubo-section-label {
  display: inline-flex;
  align-items: center;
  background: var(--background-card);
  border-radius: var(--border-radius-full);
  padding: 0.25rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-offpurple);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===================== FAQ SECTION (index.html) ===================== */

.faq-section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin-top: 4rem;
  padding: 3rem 1.25rem 3rem;
  background: var(--background);
  border-top: 1px solid var(--stroke-muted);
}

@media (min-width: 480px) {
  .faq-section {
    padding: 3.5rem 1.5rem 3.5rem;
  }
}

@media (min-width: 768px) {
  .faq-section {
    padding: 4rem 2rem 4rem;
  }
}

.faq-section__inner {
  max-width: 640px;
  margin: 0 auto;
}

/* ---- h1 hero heading inside FAQ section ---- */

.faq-section__h1 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-default);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 0.625rem;
}

@media (min-width: 480px) {
  .faq-section__h1 {
    font-size: 2.4rem;
  }
}

@media (min-width: 768px) {
  .faq-section__h1 {
    font-size: 2.75rem;
  }
}

.faq-section__h1 span {
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-offpurple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-section__description {
  font-size: 0.9375rem;
  color: var(--text-courant);
  line-height: 1.65;
  margin: 0 0 2.5rem;
}

/* ---- FAQ heading label ---- */

.faq-section__faq-label {
  display: inline-flex;
  align-items: center;
  background: var(--brand-light-purple);
  border-radius: var(--border-radius-full);
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-offpurple);
  margin-bottom: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- accordion list ---- */

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ---- accordion item ---- */

.faq-item {
  background: var(--background-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--stroke-muted);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--stroke);
}

.faq-item.is-open {
  border-color: rgba(157, 90, 242, 0.3);
  box-shadow: 0 0 0 3px rgba(157, 90, 242, 0.06);
}

/* ---- question button (h2) ---- */

.faq-item__question {
  margin: 0;
  padding: 0;
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-default);
  line-height: 1.4;
  transition: color 0.15s;
}

.faq-item__btn:hover {
  color: var(--brand-offpurple);
}

.faq-item.is-open .faq-item__btn {
  color: var(--brand-offpurple);
}

/* ---- chevron icon ---- */

.faq-item__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-feature);
  border-radius: var(--border-radius-full);
  transition: background 0.2s, transform 0.25s;
}

.faq-item__icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.25s;
}

.faq-item.is-open .faq-item__icon {
  background: var(--brand-offpurple);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-item__icon svg {
  color: #fff;
}

/* ---- answer (h3) ---- */

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-item__answer {
  max-height: 800px;
}

.faq-item__answer-inner {
  padding: 0 1.25rem 1.25rem;
}

.faq-item__answer-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-courant);
  line-height: 1.7;
}

/* ---- divider inside open item ---- */

.faq-item.is-open .faq-item__answer-inner {
  border-top: 1px solid var(--stroke-muted);
  padding-top: 1rem;
}

/* ---- bottom links ---- */

.faq-section__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.faq-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-offpurple);
  padding: 0.5rem 1.125rem;
  border-radius: var(--border-radius-full);
  background: var(--brand-light-purple);
  border: 1px solid rgba(157, 90, 242, 0.18);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.faq-section__link:hover {
  background: var(--brand-offpurple);
  color: #fff;
  border-color: var(--brand-offpurple);
}

.faq-section__link svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* ===================== ABOUT PAGE STYLES ===================== */

/* hero */
.about-hero {
  margin-bottom: 2.5rem;
}

.about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--brand-light-purple);
  border-radius: var(--border-radius-full);
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-offpurple);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-hero__h1 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-default);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}

@media (min-width: 480px) {
  .about-hero__h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .about-hero__h1 {
    font-size: 2.625rem;
  }
}

.about-hero__h1 span {
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-offpurple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero__lead {
  font-size: 1rem;
  color: var(--text-courant);
  line-height: 1.7;
  margin: 0;
}

/* about content blocks */
.about-block {
  margin-bottom: 2rem;
  background: var(--background-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--stroke-muted);
  padding: 1.5rem;
}

@media (min-width: 480px) {
  .about-block {
    padding: 1.75rem 2rem;
  }
}

.about-block__h2 {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.about-block__h2::before {
  content: '';
  display: inline-block;
  width: 0.25rem;
  height: 1em;
  background: var(--brand-offpurple);
  border-radius: 2px;
  margin-right: 0.625rem;
  vertical-align: middle;
  margin-top: -2px;
}

.about-block__p {
  font-size: 0.9rem;
  color: var(--text-courant);
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.about-block__p:last-child {
  margin-bottom: 0;
}

/* feature grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 2rem;
}

@media (min-width: 500px) {
  .about-features {
    grid-template-columns: 1fr 1fr;
  }
}

.about-feature {
  background: var(--background-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--stroke-muted);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.about-feature:hover {
  border-color: rgba(157, 90, 242, 0.3);
  box-shadow: 0 0 0 3px rgba(157, 90, 242, 0.05);
}

.about-feature__icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--brand-light-purple);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature__icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--brand-offpurple);
}

.about-feature__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-default);
  margin: 0;
}

.about-feature__text {
  font-size: 0.8375rem;
  color: var(--text-courant);
  line-height: 1.6;
  margin: 0;
}

/* stats row */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.about-stat {
  flex: 1 1 120px;
  background: var(--background-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--stroke-muted);
  padding: 1.125rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-stat__value {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-offpurple);
  line-height: 1.15;
}

.about-stat__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* cta row */
.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stroke-muted);
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  transition: background 0.18s, color 0.18s;
}

.about-cta__btn--primary {
  background: var(--brand-offpurple);
  color: #fff;
}

.about-cta__btn--primary:hover {
  background: #a76bf3;
}

.about-cta__btn--secondary {
  background: var(--background-card);
  color: var(--brand-offpurple);
  border: 1px solid rgba(157, 90, 242, 0.25);
}

.about-cta__btn--secondary:hover {
  background: var(--brand-light-purple);
}

/* ===================== FAQ PAGE STYLES ===================== */

.faq-page-hero {
  margin-bottom: 2.25rem;
}

.faq-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--brand-light-purple);
  border-radius: var(--border-radius-full);
  padding: 0.25rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-offpurple);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faq-page-hero__h1 {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-default);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}

@media (min-width: 480px) {
  .faq-page-hero__h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .faq-page-hero__h1 {
    font-size: 2.625rem;
  }
}

.faq-page-hero__h1 span {
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-offpurple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-page-hero__lead {
  font-size: 0.9375rem;
  color: var(--text-courant);
  line-height: 1.7;
  margin: 0;
}

/* faq page category heading */
.faq-page-category {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-offpurple);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  padding-left: 0.25rem;
}

/* faq page list reuses .faq-list / .faq-item classes above */

/* faq page cta bottom */
.faq-page-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stroke-muted);
}

.faq-page-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-full);
  transition: background 0.18s, color 0.18s;
}

.faq-page-cta__btn--primary {
  background: var(--brand-offpurple);
  color: #fff;
}

.faq-page-cta__btn--primary:hover {
  background: #a76bf3;
}

.faq-page-cta__btn--secondary {
  background: var(--background-card);
  color: var(--brand-offpurple);
  border: 1px solid rgba(157, 90, 242, 0.25);
}

.faq-page-cta__btn--secondary:hover {
  background: var(--brand-light-purple);
}

/* ===================== SHARED UTILITIES ===================== */

.ekubo-divider {
  border: none;
  border-top: 1px solid var(--stroke-muted);
  margin: 2rem 0;
  opacity: 0.7;
}

.ekubo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ekubo-badge--purple {
  background: var(--brand-light-purple);
  color: var(--brand-offpurple);
}

.ekubo-badge--green {
  background: rgba(38, 232, 173, 0.12);
  color: #1fcc98;
}

.ekubo-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* text helpers */
.ekubo-text-muted {
  color: var(--text-muted);
}

.ekubo-text-purple {
  color: var(--brand-offpurple);
}

.ekubo-text-sm {
  font-size: 0.875rem;
}

.ekubo-text-xs {
  font-size: 0.8125rem;
}

.ekubo-fw-bold {
  font-weight: 700;
}

.ekubo-fw-medium {
  font-weight: 500;
}

/* link reset helper */
.ekubo-link {
  color: var(--brand-offpurple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.ekubo-link:hover {
  color: var(--brand-purple);
  text-decoration: underline;
}

/* ===================== RESPONSIVE TWEAKS ===================== */

@media (max-width: 479px) {
  .faq-item__btn {
    font-size: 0.875rem;
    padding: 1rem;
  }

  .faq-item__answer-inner {
    padding: 0 1rem 1rem;
  }

  .about-block {
    padding: 1.25rem;
  }

  .about-cta,
  .faq-page-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-cta__btn,
  .faq-page-cta__btn {
    width: 100%;
    justify-content: center;
  }
}