:root {
  --cn-navy: #0A2D64;
  --cn-teal: #1CA7A3;
  --cn-bg: #F5F8FC;
  --cn-text: #24324A;
  --cn-muted: #667085;
  --cn-border: #E4EAF2;
  --cn-white: #FFFFFF;
  --cn-gold: #F4B942;
  --cn-shadow: 0 22px 55px rgba(10, 45, 100, 0.12);
}

.founding-hero {
  padding: 110px 7%;
  background:
    radial-gradient(circle at top right, rgba(28, 167, 163, 0.2), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef5fb 100%);
  text-align: center;
}

.founding-hero__inner {
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cn-teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founding-hero h1 {
  margin: 0 0 22px;
  color: var(--cn-navy);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.founding-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--cn-muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

.founding-status {
  width: fit-content;
  margin: 34px auto 28px;
  padding: 18px 28px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--cn-border);
  box-shadow: var(--cn-shadow);
}

.founding-status strong {
  display: block;
  color: var(--cn-navy);
  font-size: 1.45rem;
  line-height: 1.1;
}

.founding-status span {
  color: var(--cn-muted);
  font-weight: 700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--cn-navy);
  color: white;
  font-weight: 900;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(10, 45, 100, 0.24);
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #082653;
  transform: translateY(-2px);
}

.founding-section,
.members-section {
  padding: 90px 7%;
  background: white;
}

.section-header {
  max-width: 840px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header h2,
.history-content h2,
.final-cta h2,
.founding-wall__header h2 {
  margin: 0 0 16px;
  color: var(--cn-navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-header p,
.history-content p,
.final-cta p,
.founding-wall__header p {
  color: var(--cn-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.perk-card {
  padding: 30px;
  border-radius: 26px;
  background: var(--cn-bg);
  border: 1px solid var(--cn-border);
}

.perk-card h3 {
  margin: 0 0 12px;
  color: var(--cn-navy);
  font-size: 1.25rem;
}

.perk-card p {
  margin: 0;
  color: var(--cn-muted);
  line-height: 1.7;
}

.history-section {
  margin: 0 7%;
  padding: 76px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(10, 45, 100, 0.97), rgba(10, 45, 100, 0.9)),
    radial-gradient(circle at top right, rgba(28, 167, 163, 0.38), transparent 34%);
}

.history-content {
  max-width: 820px;
}

.history-content h2,
.history-content p {
  color: white;
}

.history-content p {
  opacity: 0.92;
}

.founding-wall__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.founding-wall__header > div:first-child {
  max-width: 780px;
}

.founding-wall__controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.founding-scroll-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--cn-border);
  border-radius: 50%;
  background: white;
  color: var(--cn-navy);
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.founding-scroll-btn:hover {
  background: var(--cn-navy);
  color: white;
  transform: translateY(-2px);
}

.founding-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 18px;
  scrollbar-width: none;
}

.founding-carousel::-webkit-scrollbar {
  display: none;
}

.founding-member-card {
  flex: 0 0 300px;
  min-height: 210px;
  padding: 22px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--cn-border);
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
  scroll-snap-align: start;
}

.founding-member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cn-shadow);
  border-color: rgba(28, 167, 163, 0.45);
}

.founding-carousel {
  cursor: grab;
}

.founding-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.founding-member-card {
  user-select: none;
}

.founding-member-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cn-navy);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.3rem;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founding-number {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(10, 45, 100, 0.08);
  color: var(--cn-navy);
  font-size: 1rem;
  font-weight: 900;
}

.member-info h3 {
  margin: 0 0 4px;
  color: var(--cn-navy);
  font-size: 1.08rem;
}

.member-info p {
  margin: 0 0 12px;
  color: var(--cn-muted);
  font-size: 0.94rem;
}

.badge {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.18);
  color: #8A5A00;
  font-size: 0.75rem;
  font-weight: 900;
}

.empty-state {
  width: 100%;
  padding: 44px;
  border-radius: 26px;
  background: var(--cn-bg);
  border: 1px dashed var(--cn-border);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--cn-navy);
}

.empty-state p {
  margin: 0;
  color: var(--cn-muted);
}

.final-cta {
  margin: 0 7% 90px;
  padding: 70px 40px;
  border-radius: 34px;
  background: var(--cn-bg);
  border: 1px solid var(--cn-border);
  text-align: center;
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.founding-disclaimer-section {
    padding: 0 1.5rem 2rem;
}

.founding-disclaimer {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(10, 45, 100, 0.04);
    border: 1px solid rgba(10, 45, 100, 0.08);
}

.founding-disclaimer p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5b6475;
}

@media (max-width: 1100px) {
  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .founding-wall__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .founding-hero,
  .founding-section,
  .members-section {
    padding: 64px 20px;
  }

  .history-section,
  .final-cta {
    margin-left: 20px;
    margin-right: 20px;
    padding: 42px 24px;
    border-radius: 26px;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }

  .founding-status {
    width: 100%;
    border-radius: 22px;
  }

  .btn-primary {
    width: 100%;
  }

  .founding-member-card {
    flex-basis: 82%;
  }

  .founding-wall__controls {
    display: none;
  }
}