/* FAQIR Institute — main page styles
 * Emphasis: typography, generous white space, restrained, coral only as sparse accent
 */

.page { background: #fff; color: var(--fq-ink-2); }

/* Hero — left-aligned, typographic */
.hero {
  padding: 88px 48px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  background: linear-gradient(180deg, #F6F9FF 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -200px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,96,221,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy h1 {
  font-family: var(--fq-font-display);
  font-weight: 300;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fq-ink);
  margin: 0 0 28px;
}
.hero-copy h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--fq-blue-deep);
}
.hero-copy h1 .coral-dot {
  color: var(--fq-red);
  font-weight: 500;
}
.hero-copy .lead {
  max-width: 480px;
  margin-bottom: 36px;
  font-size: 19px;
  color: var(--fq-ink-2);
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 40px; }
.hero-meta { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--fq-border); }
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fq-ink-3); font-weight: 600; }
.hero-meta .value { font-family: var(--fq-font-display); font-size: 15px; font-weight: 500; color: var(--fq-ink); }

/* Hero art — composed photo card stack */
.hero-art {
  position: relative;
  height: 520px;
}
.hero-photo {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(16,24,40,0.18);
}
.hero-photo-1 {
  top: 0; right: 0;
  width: 320px; height: 380px;
}
.hero-photo-2 {
  bottom: 20px; left: 0;
  width: 280px; height: 220px;
}
.hero-card {
  position: absolute;
  bottom: 40px; right: 40px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 12px 32px -8px rgba(16,24,40,0.14);
  display: flex; align-items: center; gap: 14px;
  min-width: 220px;
  z-index: 2;
}
.hero-card img { width: 44px; height: 44px; }
.hero-card .label { font-size: 11px; color: var(--fq-blue); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-card .value { font-family: var(--fq-font-display); font-size: 24px; font-weight: 600; color: var(--fq-ink); line-height: 1; margin-top: 2px; }

/* Trust strip */
.trust {
  padding: 40px 48px;
  background: #fff;
  border-top: 1px solid var(--fq-border);
  border-bottom: 1px solid var(--fq-border);
}
.trust-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.trust-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fq-ink-3); font-weight: 600;
  white-space: nowrap;
}
/* Continuous marquee: two identical tracks chained side-by-side,
   translated -50% so the second copy slides into the first's slot
   and the loop restarts seamlessly. */
.trust-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trust-marquee-row {
  display: flex;
  width: max-content;
  animation: trust-marquee 48s linear infinite;
}
.trust-marquee:hover .trust-marquee-row,
.trust-marquee:focus-within .trust-marquee-row {
  animation-play-state: paused;
}
.trust-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;          /* keep the seam-gap consistent */
  flex: 0 0 auto;
}
.trust-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.trust-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity .2s ease, filter .2s ease;
}
.trust-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes trust-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-row { animation: none; }
  .trust-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* About */
.about { padding: 88px 48px; }
.about-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; align-items: start; }
.about h2 {
  font-family: var(--fq-font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fq-ink);
  margin: 16px 0 0;
}
.about h2 em { font-style: normal; color: var(--fq-blue); font-weight: 500; }
.about-body p { font-size: 19px; line-height: 1.6; color: var(--fq-ink-2); margin: 0 0 24px; }
.about-body p:first-child::first-letter {
  font-family: var(--fq-font-display);
  font-weight: 400;
  font-size: 72px;
  float: left;
  line-height: 0.9;
  padding: 8px 12px 0 0;
  color: var(--fq-blue-deep);
}
.about-body p strong { color: var(--fq-ink); font-weight: 600; }
.about-sig {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--fq-border);
  display: flex; align-items: center; gap: 16px;
}
.about-sig-avatars { display: flex; }
.about-sig-avatar,
.about-sig-avatars .photo-placeholder {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 2px 4px rgba(16,24,40,0.08);
  object-fit: cover;
  display: block;
}
.about-sig-avatars .about-sig-avatar:first-child,
.about-sig-avatars .photo-placeholder:first-child { margin-left: 0; }
.about-sig-avatars .photo-placeholder::after { display: none; }
.about-sig-text { font-size: 13px; color: var(--fq-ink-3); }
.about-sig-text strong { color: var(--fq-ink); font-weight: 600; display: block; margin-bottom: 2px; }

/* Pillars — editorial 3-col with hairline dividers */
.pillars { padding: 88px 48px; background: var(--fq-blue-tint); }
.pillars-inner { max-width: 1180px; margin: 0 auto; }
.pillars-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: end; margin-bottom: 72px; }
.pillars-head h2 { font-family: var(--fq-font-display); font-weight: 400; font-size: 52px; line-height: 1.05; letter-spacing: -0.025em; color: var(--fq-ink); margin: 16px 0 0; }
.pillars-head h2 em { font-style: normal; color: var(--fq-blue); font-weight: 500; }
.pillars-head .lead { font-size: 18px; color: var(--fq-ink-3); padding-bottom: 10px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--fq-border-strong); }
.pillar {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--fq-border-strong);
  display: flex; flex-direction: column;
  gap: 14px;
}
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar:not(:first-child) { padding-left: 32px; padding-right: 32px; }
.pillar:last-child { padding-left: 32px; }
.pillar-num {
  font-family: var(--fq-font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: var(--fq-blue);
  letter-spacing: -0.02em;
}
.pillar .tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fq-ink-3); font-weight: 600; }
.pillar h3 { font-family: var(--fq-font-display); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--fq-ink); margin: 0; }
.pillar p { font-size: 15px; line-height: 1.6; color: var(--fq-ink-2); margin: 0; }
.pillar-link {
  margin-top: auto;
  font-size: 13px; font-weight: 600;
  color: var(--fq-blue);
  padding-top: 24px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pillar-link:hover { color: var(--fq-blue-light); }
.pillar.heart .pillar-num { color: var(--fq-red); }

/* Products */
.products { padding: 88px 48px; background: #fff; }
.products-inner { max-width: 1180px; margin: 0 auto; }
.product-card {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--fq-border);
}
.product-card:last-child { border-bottom: 1px solid var(--fq-border); }
.product-copy .tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fq-blue); font-weight: 700;
  padding: 6px 10px;
  background: var(--fq-blue-pale);
  border-radius: 6px;
  margin-bottom: 18px;
}
.product-copy h3 {
  font-family: var(--fq-font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fq-ink);
  margin: 0 0 16px;
}
.product-copy h3 em { font-style: normal; font-weight: 500; color: var(--fq-blue-deep); }
.product-copy p { font-size: 17px; line-height: 1.55; color: var(--fq-ink-2); margin: 0 0 24px; max-width: 460px; }
.product-feats { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.product-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--fq-ink-2); }
.product-feats li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: var(--fq-blue-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232260DD' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0; margin-top: 3px;
}
.product-mock {
  background: var(--fq-blue-tint);
  border-radius: 14px;
  padding: 28px;
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fq-border);
}
.product-mock-qwenda {
  background: linear-gradient(135deg, #233F82 0%, #2260DD 100%);
  color: #fff;
  padding: 0;
}
.product-card.reverse { grid-template-columns: 1.2fr 1fr; }
.product-card.reverse .product-copy { order: 2; }

/* Stats */
.stats { padding: 72px 48px; background: var(--fq-ink); color: #fff; }
.stats-inner { max-width: 1180px; margin: 0 auto; }
.stats-head { text-align: center; margin-bottom: 40px; }
.stats-head .eyebrow { color: var(--fq-red); }
.stats-head .eyebrow::before { background: currentColor; }
.stats-head h2 {
  font-family: var(--fq-font-display); font-weight: 300;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; margin: 16px auto 0; max-width: 720px;
}
.stats-head h2 em { font-style: normal; font-weight: 500; color: var(--fq-blue-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--fq-font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}
.stat-num .suffix { font-size: 28px; color: var(--fq-red); margin-left: 4px; font-weight: 400; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* Timeline — centred nodes joined by a horizontal gradient line.
   Restored from the develop branch (see Appendix B item B2). */
.timeline { padding: 88px 48px; background: #fff; }
.timeline-inner { max-width: 1180px; margin: 0 auto; }
.timeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 72px;
}
/* Line runs from the centre of the first column (10% of the rail)
 * to the centre of the last column (100% - 10%). */
.timeline-rail::before {
  content: '';
  position: absolute;
  top: 6px;       /* aligns with dot centre (14px dot + 3px ring → centre at 7px) */
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--fq-blue) 0%, var(--fq-blue-light) 50%, var(--fq-red) 100%);
  z-index: 0;
}
.timeline-node {
  position: relative;
  padding: 28px 16px 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.timeline-dot {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--fq-blue), 0 0 0 8px rgba(34,96,221,0.15);
  z-index: 2;
}
.timeline-node:last-child .timeline-dot { box-shadow: 0 0 0 3px var(--fq-red), 0 0 0 8px rgba(234,81,59,0.15); }
.timeline-year {
  font-family: var(--fq-font-display);
  font-size: 15px; font-weight: 600;
  color: var(--fq-blue);
  margin-bottom: 6px;
}
.timeline-node:last-child .timeline-year { color: var(--fq-red); }
.timeline-title {
  font-family: var(--fq-font-display);
  font-size: 17px; font-weight: 600;
  color: var(--fq-ink);
  line-height: 1.25;
  margin-bottom: 6px;
  max-width: 180px;
}
.timeline-body { font-size: 13px; line-height: 1.5; color: var(--fq-ink-3); max-width: 180px; }

/* Closing summary block below the timeline */
.timeline-closing {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
}
.timeline-closing h3 {
  font-family: var(--fq-font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--fq-ink);
  margin: 0 0 10px;
}
.timeline-closing p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fq-ink-2);
  margin: 0;
}


/* Founders */
.founders { padding: 88px 48px; background: #fff; }
.founders-inner { max-width: 1180px; margin: 0 auto; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 60px; }
.founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}
.founder-photo {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8eef9 0%, #d3dff0 100%);
}
.founder-name {
  font-family: var(--fq-font-display);
  font-weight: 500;
  font-size: 24px;
  color: var(--fq-ink);
  line-height: 1.2;
  margin: 0 0 4px;
}
.founder-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fq-blue);
  margin-bottom: 16px;
}
.founder-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fq-ink-2);
  margin: 0 0 16px;
}
.founder-links { display: flex; gap: 14px; font-size: 13px; }
.founder-links a { color: var(--fq-blue); font-weight: 600; cursor: pointer; }
.founder-links a:hover { color: var(--fq-blue-light); }

