:root {
  --twa-ink: #15161b;
  --twa-muted: #646b7a;
  --twa-purple: #5d56f1;
  --twa-purple-dark: #4b43df;
  --twa-purple-soft: #f4f3ff;
  --twa-bg: #ffffff;
  --twa-bg-soft: #f9f9fc;
  --twa-line: #e3e6f0;
  --twa-shadow: 0 16px 48px rgba(21, 22, 27, 0.06);
  --twa-shadow-hover: 0 24px 64px rgba(93, 86, 241, 0.12);
}

html {
  scroll-behavior: smooth;
}

.twa-animate-on-load {
  opacity: 0;
  transform: translateY(24px);
  animation: twaFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.twa-fade-in-scale {
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  animation: twaFadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.twa-animate {
  opacity: 0 !important;
  transform: translateY(32px) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.twa-animate.twa-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.twa-delay-1 { transition-delay: 0.1s !important; animation-delay: 0.1s !important; }
.twa-delay-2 { transition-delay: 0.2s !important; animation-delay: 0.2s !important; }
.twa-delay-3 { transition-delay: 0.3s !important; animation-delay: 0.3s !important; }
.twa-delay-4 { transition-delay: 0.4s !important; animation-delay: 0.4s !important; }

@keyframes twaFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twaFadeInScale {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.twa-page,
.twa-page * {
  box-sizing: border-box;
  font-family: "Manrope", sans-serif !important;
}

.twa-page {
  color: var(--twa-ink);
  background: var(--twa-bg);
  font-family: "Manrope", sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  overflow: hidden;
}

.twa-page h1,
.twa-page h2,
.twa-page h3,
.twa-page h4 {
  color: var(--twa-ink);
  font-weight: 800;
  margin: 0;
}

.twa-page a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

.twa-page img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.twa-section-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.twa-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--twa-purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  line-height: 1;
  text-transform: uppercase;
}

.twa-hero {
  position: relative;
  padding: 86px 0 80px;
  background:
    linear-gradient(90deg, rgba(93, 86, 241, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(93, 86, 241, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 0%, rgba(93, 86, 241, 0.12), transparent 34%),
    #fbfcff;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.twa-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 64px;
  align-items: center;
}

.twa-hero-copy h1,
.twa-section-heading h2,
.twa-story-copy h2,
.twa-cta-panel h2 {
  margin: 0;
  color: var(--twa-ink);
  letter-spacing: 0;
  line-height: 1.02;
}

.twa-hero-copy h1 {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 800;
}

.twa-hero-copy p {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--twa-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.78;
}

.twa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.twa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.twa-btn:hover {
  transform: translateY(-2px);
}

.twa-btn-primary {
  background: var(--twa-purple);
  color: #ffffff !important;
  box-shadow: 0 18px 36px rgba(93, 86, 241, 0.26);
}

.twa-btn-primary:hover {
  background: var(--twa-purple-dark);
  color: #ffffff !important;
}

.twa-btn-ghost {
  border: 1px solid var(--twa-line);
  background: #ffffff;
  color: var(--twa-ink) !important;
}

.twa-btn-ghost:hover {
  border-color: rgba(93, 86, 241, 0.25);
  background: var(--twa-purple-soft);
  color: var(--twa-purple) !important;
}

.twa-hero-visual {
  position: relative;
  min-height: 560px;
}

.twa-main-photo {
  width: 100%;
  height: 560px;
  display: block;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--twa-shadow);
}

.twa-floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(21, 22, 27, 0.14);
  backdrop-filter: blur(16px);
}

.twa-floating-card strong {
  color: var(--twa-ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.twa-floating-card span {
  color: var(--twa-muted);
  font-size: 13px;
  font-weight: 800;
}

.twa-card-top {
  top: 32px;
  left: -34px;
}

.twa-card-bottom {
  right: -24px;
  bottom: 42px;
  background: var(--twa-purple);
}

.twa-card-bottom strong,
.twa-card-bottom span {
  color: #ffffff;
}

.twa-stats-section,
.twa-values-section,
.twa-team-section,
.twa-process-section {
  padding: 88px 0;
  background: var(--twa-bg-soft);
}

.twa-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.twa-stat-card,
.twa-value-card,
.twa-team-card,
.twa-process-step,
.twa-partner-card {
  border: 1px solid rgba(231, 233, 244, 0.88);
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(21, 22, 27, 0.045);
}

.twa-stat-card {
  min-height: 178px;
  display: grid;
  place-items: center;
  gap: 10px;
  border-radius: 28px;
  padding: 28px 20px;
  text-align: center;
}

.twa-stat-card strong {
  color: var(--twa-ink);
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 800;
  line-height: 1;
}

.twa-stat-card span {
  color: var(--twa-muted);
  font-size: 15px;
  font-weight: 800;
}

.twa-story-section {
  padding: 102px 0;
  background: #ffffff;
}

.twa-story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: 68px;
  align-items: center;
}

.twa-story-media {
  position: relative;
}

.twa-story-media::before {
  content: "";
  position: absolute;
  inset: 34px -22px -22px 34px;
  border-radius: 32px;
  background: var(--twa-purple-soft);
}

.twa-story-media img {
  position: relative;
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--twa-shadow);
}

.twa-story-copy h2,
.twa-section-heading h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.2vw, 50px);
  font-weight: 800;
  line-height: 1.12;
}

.twa-section-heading p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--twa-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.twa-story-copy p {
  margin: 24px 0 0;
  color: var(--twa-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}

.twa-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin-top: 34px;
}

.twa-check-grid span {
  position: relative;
  color: var(--twa-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  padding-left: 34px;
}

.twa-check-grid span::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--twa-purple);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.28);
}

.twa-section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.twa-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.twa-mission-section {
  padding: 96px 0;
  background: #ffffff;
}

.twa-mission-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: end;
  padding: 58px;
  border: 1px solid var(--twa-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(93, 86, 241, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8f8ff 100%);
  box-shadow: var(--twa-shadow);
}

.twa-mission-panel h2 {
  margin-top: 18px;
  max-width: 760px;
  color: var(--twa-ink);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
}

.twa-mission-panel p {
  margin: 0;
  color: var(--twa-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
}

.twa-value-card {
  min-height: 340px;
  border-radius: 30px;
  padding: 42px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.twa-value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93, 86, 241, 0.28);
  box-shadow: 0 30px 70px rgba(93, 86, 241, 0.11);
}

.twa-team-section {
  background: #ffffff;
}

.twa-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.twa-team-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  padding: 14px 14px 30px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.twa-team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(93, 86, 241, 0.3);
  box-shadow: var(--twa-shadow-hover);
}

.twa-team-photo {
  position: relative;
  height: 235px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--twa-purple-soft);
}

.twa-team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 22, 27, 0) 35%, rgba(21, 22, 27, 0.64) 100%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.twa-team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  filter: saturate(0.96);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.twa-team-card:hover .twa-team-photo img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.twa-team-card:hover .twa-team-photo::after {
  opacity: 1;
}

.twa-team-socials {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.twa-team-card:hover .twa-team-socials {
  opacity: 1;
  transform: translateY(0);
}

.twa-team-socials a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--twa-ink) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  backdrop-filter: blur(12px);
}

.twa-team-socials a:hover {
  background: var(--twa-purple);
  color: #ffffff !important;
}

.twa-team-card > span {
  display: inline-flex;
  margin: 22px 18px 0;
  color: var(--twa-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.twa-team-card h3 {
  margin: 10px 18px 12px;
  color: var(--twa-ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
}

.twa-team-card p {
  margin: 0 18px;
  color: var(--twa-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.twa-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--twa-purple-soft);
  color: var(--twa-purple);
}

.twa-icon svg {
  width: 34px;
  height: 34px;
}

.twa-value-card h3 {
  margin: 34px 0 14px;
  color: var(--twa-ink);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
}

.twa-value-card p,
.twa-process-step p,
.twa-cta-panel p {
  margin: 0;
  color: var(--twa-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.twa-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.twa-process-step {
  min-height: 280px;
  border-radius: 28px;
  padding: 32px;
}

.twa-process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--twa-purple);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.twa-process-step h3 {
  margin: 32px 0 12px;
  color: var(--twa-ink);
  font-size: 25px;
  font-weight: 800;
}

.twa-partners-section {
  padding: 96px 0;
  background: #ffffff;
}

.twa-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.twa-partner-card {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--twa-ink);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.twa-partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93, 86, 241, 0.28);
  box-shadow: var(--twa-shadow-hover);
  color: var(--twa-purple);
}

.twa-cta-section {
  padding: 96px 0 110px;
  background: #ffffff;
}

.twa-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: 66px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(93, 86, 241, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8f8ff 100%);
  border: 1px solid var(--twa-line);
  box-shadow: var(--twa-shadow);
}

.twa-cta-panel h2 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(36px, 4.1vw, 64px);
  font-weight: 800;
}

.twa-cta-panel p {
  max-width: 660px;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .twa-hero-grid,
  .twa-story-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .twa-hero-visual {
    min-height: auto;
  }

  .twa-main-photo,
  .twa-story-media img {
    height: 460px;
  }

  .twa-card-top {
    left: 24px;
  }

  .twa-card-bottom {
    right: 24px;
  }

  .twa-stat-grid,
  .twa-team-grid,
  .twa-process-grid,
  .twa-partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .twa-mission-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .twa-section-inner {
    width: min(100% - 32px, 1200px);
  }

  .twa-hero,
  .twa-story-section,
  .twa-stats-section,
  .twa-values-section,
  .twa-team-section,
  .twa-mission-section,
  .twa-process-section,
  .twa-partners-section,
  .twa-cta-section {
    padding: 64px 0;
  }

  .twa-hero-copy h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .twa-values-grid,
  .twa-mission-panel,
  .twa-cta-panel {
    grid-template-columns: 1fr;
  }

  .twa-mission-panel,
  .twa-cta-panel {
    padding: 42px;
  }

  .twa-team-photo {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .twa-section-inner {
    width: min(100% - 24px, 1200px);
  }

  .twa-hero-copy p,
  .twa-story-copy p {
    font-size: 16px;
  }

  .twa-hero-actions {
    display: grid;
  }

  .twa-btn {
    width: 100%;
  }

  .twa-main-photo,
  .twa-story-media img {
    height: 360px;
    border-radius: 24px;
  }

  .twa-floating-card {
    position: static;
    margin-top: 14px;
    border-radius: 20px;
  }

  .twa-stat-grid,
  .twa-check-grid,
  .twa-team-grid,
  .twa-process-grid {
    grid-template-columns: 1fr;
  }

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

  .twa-value-card,
  .twa-team-card,
  .twa-mission-panel,
  .twa-process-step,
  .twa-cta-panel {
    padding: 28px;
    border-radius: 24px;
  }

  .twa-team-card {
    padding: 12px 12px 26px;
  }

  .twa-team-photo {
    height: 250px;
    border-radius: 20px;
  }

  .twa-team-photo img {
    border-radius: 20px;
  }

  .twa-value-card {
    min-height: auto;
  }

  .twa-team-card,
  .twa-process-step {
    min-height: auto;
  }

  .twa-partner-card {
    min-height: 92px;
    font-size: 19px;
  }

  .twa-section-heading h2,
  .twa-story-copy h2,
  .twa-mission-panel h2,
  .twa-cta-panel h2 {
    font-size: clamp(30px, 9vw, 42px);
  }
}

/* Final responsive polish for tablet and narrow desktop devices */
.twa-page {
  overflow-x: hidden;
}

@media (min-width: 901px) and (max-width: 1180px) and (orientation: landscape) {
  .twa-section-inner {
    width: min(100% - 44px, 1080px);
  }

  .twa-hero {
    padding: 76px 0 82px;
  }

  .twa-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 34px;
    align-items: center;
  }

  .twa-hero-copy h1 {
    max-width: 650px;
    font-size: clamp(42px, 4.6vw, 58px);
    line-height: 1.02;
  }

  .twa-hero-copy p {
    max-width: 650px;
    font-size: 17px;
  }

  .twa-main-photo {
    height: 430px;
  }

  .twa-card-top {
    left: 18px;
    top: 18px;
  }

  .twa-card-bottom {
    right: 18px;
    bottom: 18px;
  }

  .twa-stats-section,
  .twa-values-section,
  .twa-team-section,
  .twa-process-section,
  .twa-partners-section,
  .twa-cta-section {
    padding: 78px 0;
  }

  .twa-section-heading h2,
  .twa-story-copy h2,
  .twa-mission-panel h2 {
    font-size: clamp(34px, 4vw, 50px);
  }

  .twa-values-grid,
  .twa-team-grid,
  .twa-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .twa-section-inner {
    width: min(100% - 40px, 820px);
  }

  .twa-hero {
    padding: 70px 0 76px;
  }

  .twa-hero-grid,
  .twa-story-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .twa-hero-copy h1 {
    font-size: clamp(44px, 8vw, 66px);
    line-height: 1.02;
  }

  .twa-main-photo,
  .twa-story-media img {
    height: 430px;
  }

  .twa-stat-grid,
  .twa-values-grid,
  .twa-team-grid,
  .twa-process-grid,
  .twa-partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .twa-cta-panel {
    grid-template-columns: 1fr;
    padding: 44px;
  }
}

@media (max-width: 480px) {
  .twa-hero {
    padding: 54px 0 58px;
  }

  .twa-hero-copy h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .twa-section-heading h2,
  .twa-story-copy h2,
  .twa-mission-panel h2,
  .twa-cta-panel h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .twa-partner-grid {
    grid-template-columns: 1fr;
  }
}
