:root {
  --purple: #5B2D8E;
  --dark: #1A1A2E;
  --teal: #00A89D;
  --grey: #6B7280;
  --light-green: #EDFAF8;
  --light-grey: #D9D9D9;
  --medium-purple: #B08AC7;
  --light-purple: #F3EDF9;
  --white: #FFFFFF;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Libre Baskerville', Georgia, 'Times New Roman', serif;

  --container-width: 1280px;
  --gutter: clamp(24px, 5vw, 60px);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, p { margin: 0; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary { background: var(--teal); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
  font-size: 13px;
  padding: 10px 24px;
}

.btn-white { background: var(--white); color: var(--teal); font-size: 13px; padding: 12px 24px; }

/* ---------- Hero (full width) ---------- */
.hero { position: relative; }

.hero-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px var(--gutter);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
}

.hero-body {
  display: flex;
  align-items: flex-start;
}

.hero-left {
  flex: 1 1 480px;
  max-width: 620px;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: clamp(96px, 11vw, 130px) var(--gutter) 48px;
}

.logo-container { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 52px; height: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-word {
  font-family: var(--font-logo);
  font-style: italic;
  font-size: 32px;
  color: #60C5B3;
  line-height: 1;
}
.logo-tagline {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 8px;
  color: #828282;
  letter-spacing: 0.02em;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.15;
  color: var(--purple);
}

.hero-desc { font-size: 16px; line-height: 1.5; color: var(--dark); }

.mini-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.mini-services li {
  font-weight: 700;
  font-size: 13px;
  color: var(--teal);
}
.mini-services li.dot { width: 4px; height: 4px; }
.mini-services li.dot img { width: 4px; height: 4px; }

.trust-disclaimer {
  font-size: 12px;
  line-height: 1.4;
  color: var(--grey);
  max-width: 418px;
}

.hero-right {
  flex: 1 1 45%;
  min-width: 320px;
}
.hero-right picture { display: block; width: 100%; }
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.location-badge {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.location-badge img { width: 11px; height: 12px; flex-shrink: 0; }
.location-badge span {
  font-weight: 700;
  font-size: 11px;
  color: var(--purple);
  white-space: nowrap;
}

.lang-switch {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 11px;
}
.lang-switch .lang-current { color: var(--purple); }
.lang-switch .lang-sep { color: var(--grey); }
.lang-switch a {
  color: var(--grey);
  text-decoration: none;
}
.lang-switch a:hover,
.lang-switch a:focus-visible { color: var(--purple); text-decoration: underline; }

.mobile-location-bar { display: none; }

/* ---------- Value props bar ---------- */
.value-props { background: var(--light-green); margin-top: 40px; padding: 28px 0; }
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prop-item { display: flex; align-items: center; gap: 16px; }
.prop-icon { width: 62px; height: 62px; flex-shrink: 0; }
.prop-copy h3 { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.prop-copy p { font-size: 11px; line-height: 1.4; color: var(--grey); }

/* ---------- Services ---------- */
.services { padding: 56px 0; text-align: center; }
.services h2 {
  font-weight: 800;
  font-size: 24px;
  color: var(--purple);
  margin-bottom: 32px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.service-card {
  border: 1px solid var(--light-grey);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card.reveal {
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.service-card:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(91, 45, 142, 0.12);
}
.service-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
}
.service-icon-wrap img { max-width: 100%; max-height: 100%; }
.service-card:hover .service-icon-wrap { background-color: var(--light-green); }
.service-card h3 { font-weight: 700; font-size: 15px; color: var(--purple); transition: color 0.25s ease; }
.service-card:hover h3 { color: var(--teal); }
.service-card p { font-size: 12px; line-height: 1.4; color: var(--grey); }

/* ---------- Support ---------- */
.support { padding: 48px 0 56px; }
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 429px) 2px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.support-left-wrap { display: flex; align-items: center; gap: 16px; }
.support-left { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; width: 243px; }
.support-left h2 { font-weight: 800; font-size: 18px; line-height: 1.3; color: var(--purple); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon img { width: 10px; height: 10px; }
.checklist li span { font-size: 13px; line-height: 1.4; color: var(--dark); }
.support-illustration { width: 186px; height: 186px; flex-shrink: 0; }

.support-divider {
  width: 2px;
  background: var(--light-grey);
  align-self: stretch;
}

.support-right { display: flex; gap: 20px; align-items: flex-start; }
.trust-text-block { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.trust-text-block h2 { font-weight: 800; font-size: 18px; color: var(--purple); }
.trust-text-block p { font-size: 13px; line-height: 1.5; color: var(--dark); }

.stat-photo { position: relative; width: 181px; flex-shrink: 0; padding-bottom: 70px; }
.room-photo { width: 181px; height: 181px; object-fit: cover; border-radius: 200px; }
.stat-badge {
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 109px;
  height: 109px;
  border-radius: 50%;
  background: var(--light-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}
.stat-number { font-weight: 700; font-size: 30px; color: var(--purple); }
.stat-label { font-size: 8px; line-height: 1.4; color: var(--purple); }

/* ---------- Getting started ---------- */
.getting-started { padding: 48px 0; text-align: center; }
.getting-started h2 { font-weight: 800; font-size: 20px; color: var(--purple); margin-bottom: 24px; }
.steps-row {
  border: 1px solid var(--light-grey);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}
.step { display: flex; gap: 12px; align-items: flex-start; flex: 1; min-width: 0; }
.step-number {
  width: 24px;
  height: 24px;
  border-radius: 12px;
  background: var(--medium-purple);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-icon { width: 40px; height: auto; flex-shrink: 0; }
.step-copy h3 { font-weight: 700; font-size: 13px; color: var(--dark); margin-bottom: 4px; }
.step-copy p { font-size: 12px; line-height: 1.4; color: var(--grey); }
.step-line { width: 1px; align-self: stretch; background: var(--light-grey); flex-shrink: 0; }
.step-cta { flex-shrink: 0; }
.step-cta .btn { font-size: 13px; padding: 12px 20px; width: 100%; text-align: center; }

/* ---------- Toronto banner ---------- */
.toronto-banner { padding: 0 0 48px; }
.banner-card {
  background: var(--light-purple);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.banner-icon { width: 62px; height: 62px; flex-shrink: 0; }
.banner-left { flex: 1.4; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.banner-left h2 { font-weight: 800; font-size: 16px; color: var(--purple); }
.banner-left p { font-size: 12px; line-height: 1.5; color: var(--dark); }
.banner-divider { width: 1px; align-self: stretch; background: var(--light-grey); flex-shrink: 0; }
.banner-cities { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.banner-cities h3 { font-weight: 700; font-size: 12px; color: var(--purple); }
.banner-cities p { font-size: 11px; line-height: 1.4; color: var(--dark); }

/* ---------- FAQ ---------- */
.faq { padding: 32px 0 48px; text-align: center; }
.faq h2 { font-weight: 800; font-size: 20px; color: var(--purple); margin-bottom: 24px; }
.faq-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: left;
}
.faq-item {
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 74px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.faq-question span { flex: 1 0 0; font-weight: 700; font-size: 12px; line-height: 1.3; color: var(--purple); }
.faq-chevron { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 16px 16px; font-size: 12px; line-height: 1.4; color: var(--grey); }
.faq-item.open .faq-answer { max-height: 200px; }

/* ---------- CTA footer ---------- */
.cta-footer { padding: 0 0 24px; }
.cta-banner {
  background: linear-gradient(90deg, var(--teal) 0%, var(--medium-purple) 70%);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.banner-logo { width: 88px; height: auto; flex-shrink: 0; }
.banner-text-block { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; color: var(--white); }
.banner-text-block h2 { font-weight: 800; font-size: 20px; }
.banner-text-block p { font-size: 12px; line-height: 1.4; opacity: 0.9; }
.banner-contact-info { display: flex; flex-direction: column; gap: 6px; }
.banner-contact-info p { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--white); }
.banner-contact-info img { width: 12px; height: 12px; }
.banner-contact-info a { color: var(--white); }
.banner-contact-info a:hover { text-decoration: underline; }

/* ---------- Bottom footer ---------- */
.bottom-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px 32px;
  text-align: center;
}
.bottom-footer p { font-size: 11px; color: var(--medium-purple); }
.bottom-footer img { width: 19px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.value-props-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.value-props-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

.services-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }

.steps-row > .reveal:nth-child(3) { transition-delay: 0.1s; }
.steps-row > .reveal:nth-child(5) { transition-delay: 0.2s; }
.steps-row > .reveal:nth-child(7) { transition-delay: 0.3s; }

.faq-row > .reveal:nth-child(2) { transition-delay: 0.08s; }
.faq-row > .reveal:nth-child(3) { transition-delay: 0.16s; }
.faq-row > .reveal:nth-child(4) { transition-delay: 0.24s; }
.faq-row > .reveal:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-body { flex-direction: column; }
  .hero-right { order: -1; flex: none; width: 100%; }
  .hero-left { flex: none; width: 100%; max-width: 100%; padding-top: 32px; }
  .hero-title, .hero-desc, .trust-disclaimer { max-width: 100%; }
  .hero-topbar { padding: 15px var(--gutter) 0; }
  .location-badge { display: none; }

  .mobile-location-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background: var(--white);
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .mobile-location-bar.is-visible { transform: translateY(0); }
  .mobile-location-bar img { width: 12px; height: 13px; flex-shrink: 0; }
  .mobile-location-bar span {
    font-weight: 700;
    font-size: 13px;
    color: var(--purple);
    white-space: nowrap;
  }

  .value-props-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .value-props-grid::-webkit-scrollbar { display: none; }
  .prop-item {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .support-grid { grid-template-columns: 1fr; }
  .support-divider { display: none; }
  .support-left-wrap { flex-direction: column; gap: 24px; }
  .support-left { width: 100%; }
  .support-illustration { order: -1; align-self: center; }
  .support-right { flex-direction: column; gap: 24px; }
  .stat-photo { order: -1; align-self: center; }

  .steps-row { flex-direction: column; gap: 20px; }
  .step {
    flex-basis: auto;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid var(--light-grey);
  }
  .step:first-child { padding-top: 0; border-top: none; }
  .step-line { display: none; }
  .step-cta { flex-basis: 100%; width: 100%; }
  .step-cta .btn { width: auto; }

  .banner-card { flex-wrap: wrap; }
  .banner-divider { display: none; }
  .banner-left { order: -1; flex-basis: 100%; width: 100%; }

  .cta-banner { flex-direction: column; align-items: flex-start; }
  .banner-logo { align-self: center; }
  .cta-banner .btn-white { width: 100%; }

  .faq-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero-title { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .faq-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 24px; }
}
